Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AbiClient ¶
type Client ¶
type Client interface { DexClient BuildNormalRequestBlock(params RequestTxParams, prev *ledger.HashHeight) (block *api.AccountBlock, err error) BuildRequestCreateContractBlock(params RequestCreateContractParams, prev *ledger.HashHeight) (block *api.AccountBlock, err error) BuildResponseBlock(params ResponseTxParams, prev *ledger.HashHeight) (block *api.AccountBlock, err error) GetBalance(addr types.Address, tokenId types.TokenTypeId) (*big.Int, *big.Int, error) GetBalanceAll(addr types.Address) (*api.RpcAccountInfo, *api.RpcAccountInfo, error) SignData(wallet *entropystore.Manager, block *api.AccountBlock) error SignDataWithPriKey(key *derivation.Key, block *api.AccountBlock) error SignDataWithEd25519Key(key ed25519.PrivateKey, block *api.AccountBlock) error }
type DexClient ¶
type DexClient interface { BuildRequestNewOrderBlock(param *dex.ParamPlaceOrder, selfAddr types.Address, prev *ledger.HashHeight) (block *api.AccountBlock, err error) BuildRequestCancelOrderBlock(param *dex.ParamDexCancelOrder, selfAddr types.Address, prev *ledger.HashHeight) (block *api.AccountBlock, err error) }
type RequestTxParams ¶
type ResponseTxParams ¶
Click to show internal directories.
Click to hide internal directories.