Module near_sdk_sim::user[][src]

Re-exports

pub use crate::to_yocto;

Structs

ContractAccount

A account for a contract that includes a reference to the contract proxy and a user account

UserAccount

A user that can sign transactions. It includes a signer and an account id.

UserTransaction

A transaction to be signed by the user which created it. Multiple actions can be chained together and then signed and sumited to be executed.

Constants

DEFAULT_GAS
STORAGE_AMOUNT

Functions

init_simulator

The simulator takes an optional GenesisConfig, which sets up the fees and other settings. It returns the master_account which can then create accounts and deploy contracts.