Crate pwasm_std [−] [src]
Standard library for parity wasm contracts
Reexports
pub extern crate bigint; |
pub extern crate parity_hash; |
Modules
| ext |
Safe wrapper around externalities invokes. |
| hash | |
| logger |
Logger extensions for pwasm-std |
| storage |
Storage extensions for pwasm-std |
| str |
Unicode string slices. |
Macros
| format |
Creates a |
| vec |
Creates a |
Structs
| Box |
A pointer type for heap allocation. |
| String |
A UTF-8 encoded, growable string. |
| Vec |
A contiguous growable array type, written |
| WrappedArgs |
Input data of a contract. |
| WrappedResult |
Writeable handle of execution results. |
Functions
| keccak |
Compute keccak hash. |
| parse_args⚠ |
Parse decriptor into wrapped args and result. |
| read_u32 |
Read u32 using native endianness |
| read_u64 |
Read u64 using native endianness |
| write_ptr |
Write ptr using native endianness |
| write_u32 |
Write u32 using native endianness |
| write_u64 |
Write u64 using native endianness |