[−][src]Crate near_sdk
Modules
| collections | Collections that offer an alternative to standard containers from |
| env | Blockchain-specific methods available to the smart contract. This is a wrapper around a
low-level |
| json_types | Helper types for JSON serialization. |
Macros
| metadata |
|
| testing_env |
Structs
| Metadata | Metadata of the contract. |
| MethodMetadata | Metadata of a single method. |
| MockedBlockchain | Mocked blockchain that can be used in the tests for the smart contracts.
It implements |
| Promise | A structure representing a result of the scheduled execution on another contract. |
| RuntimeFeesConfig | |
| VMConfig | |
| VMContext | Context for the contract execution. |
Enums
| PromiseOrValue | |
| PromiseResult | 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. |
| ReturnData |
Traits
| BlockchainInterface | A low-level interface of either real or mocked blockchain that contract interacts with. |
Type Definitions
| AccountId | |
| Balance | |
| BlockHeight | |
| EpochHeight | |
| Gas | |
| IteratorIndex | |
| PromiseIndex | |
| PublicKey | |
| ReceiptIndex | |
| StorageUsage |
Attribute Macros
| callback |
|
| callback_vec |
|
| ext_contract | |
| init |
|
| near_bindgen | |
| result_serializer |
|
| serializer |
|