Skip to main content

Crate aelf_contract

Crate aelf_contract 

Source
Expand description

Typed and dynamic contract bindings for the AElf Rust SDK.

Structs§

AedposContract
Typed wrapper for the AEDPoS consensus contract.
CrossChainContract
Typed wrapper for the cross-chain contract.
DynamicContract
Contract handle backed by a descriptor pool fetched from chain.
DynamicContractMethod
Bound dynamic contract method descriptor.
ElectionContract
Typed wrapper for the election contract.
TokenContract
Typed wrapper for the token contract.
VoteContract
Typed wrapper for the vote contract.
ZeroContract
Typed wrapper for the genesis zero contract.

Enums§

ContractError
Errors returned by typed and dynamic contract operations.