Crate elrond_wasm[−][src]
Re-exports
pub use elrond_codec; | |
pub use hex_call_data::*; | |
pub use io::*; | |
pub use storage::storage_get; | |
pub use storage::storage_get; | |
pub use storage::storage_set; | |
pub use storage::storage_set; |
Modules
abi | |
api | |
err_msg | |
esdt | |
hex_call_data | |
io | |
log_util | |
non_zero_util | |
storage | |
types |
Macros
contract_call | Handy way of casting to a contract proxy trait.
Would make more sense to be in elrond-wasm-derive, but Rust “cannot export macro_rules! macros from a |
derive_imports | Imports required for deriving serialization and TypeAbi. |
imports | Getting all imports needed for a smart contract. |
mut_storage | Compact way to represent the BorrowedMutStorage type. |
non_zero_usize | Converts usize to NonZeroUsize or returns SCError. |
only_owner | Very compact way of not allowing anyone but the owner to call a function. |
require | Allows us to write Solidity style |
sc_error | Compact way of returning a static error message. |
sc_try | Deprecated Equivalent to the |
Structs
Box | A pointer type for heap allocation. |
String | A UTF-8–encoded, growable string. |
Vec | A contiguous growable array type, written as |