Module dharitri_wasm::api

source ·

Structs§

  • An error handler that simply panics whenever signal_error is called. Especially useful for unit tests. Implements ErrorApi.

Enums§

Constants§

Traits§

  • Definition of the BigInt type required by the API.
  • Definition of the BigUint type required by the API. The API doesn’t care about the actual BigInt implementation. The Arwen VM provides an implementation directly in the protocol. For debugging we use a different implementation, based on Rust’s BigInt.
  • CallableContract is the means by which the debugger calls methods in the contract.
  • Interface to be used by the actual smart contract code.
  • ContractWithAbi is the means by which a contract can provide an ABI.
  • Interface to only be used by code generated by the macros. The smart contract code doesn’t have access to these methods directly.
  • Interface to only be used by code generated by the macros. The smart contract code doesn’t have access to these methods directly.
  • Interface to only be used by code generated by the macros. The smart contract code doesn’t have access to these methods directly.
  • API that groups methods that either send MOAX or DCT, or that call other contracts.