Crate solidity_bindgen

Source

Macros§

contract_abi
Generates a struct which allow you to call contract functions. The output struct will have the same name as the file, and have individual async methods for each contract function with parameters and output corresponding to the ABI.
contract_abis
Generate ABIs for an entire build directory. This is the same as calling contract_abifor each file in the directory.

Structs§

SafeSecretKey
Securely stores a secret key in memory that is zeroized on drop. Care is taken so that when this struct is constructed or moved that additional copies of the secret are not made in memory or disk. https://github.com/veorq/cryptocoding#clean-memory-of-secret-data
Web3Context
Common data associated with multiple contracts.
Web3Provider
Mostly exists to map to the new futures. This is the “untyped” API which the generated types will use.

Traits§

CallProvider
Context
SendProvider