Collections that offer an alternative to standard containers from
Blockchain-specific methods available to the smart contract. This is a wrapper around a
Helper types for JSON serialization.
Boilerplate for setting up allocator used in Wasm binary.
Metadata of the contract.
Metadata of a single method.
Mocked blockchain that can be used in the tests for the smart contracts.
A structure representing a result of the scheduled execution on another contract.
Context for the contract execution.
When there is a callback attached to one or more contract calls the execution results of these calls are available to the contract invoked through the callback.
A low-level interface of either real or mocked blockchain that contract interacts with.
Converts a Borsh serializable object into a
Converts Self into a
Account identifier. Provides access to user’s state.
Balance is type for storing amounts of tokens.
Height of the block.
Block height delta that measures the difference between
Raw type for 32 bytes of the hash.
Raw type for duration in nanoseconds
Height of the epoch.
Gas is a type for storing amount of gas.
Hash used by a struct implementing the Merkle tree.
Nonce for transactions.
Number of blocks in current group.
Number of seats of validators (block producer or hidden ones) in current group (settlement).
Number of shards in current group.
Shard index, from 0 to NUM_SHARDS - 1.
StorageUsage is used to count the amount of storage used by a contract.
StorageUsageChange is used to count the storage usage within a single contract call.
Raw type for timestamp in nanoseconds
Validator identifier in current group.
Mask which validators participated in multi sign.