Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BalanceChange ¶
type BasicChainHandler ¶
type BasicChainHandler interface {
GetHeight(ctx context.Context) (string, error)
GetBalance(ctx context.Context, address, contractAddress, blockNumber string) (string, error)
SendTx(ctx context.Context, signedHex string) (string, error)
CheckTx(ctx context.Context, hash string) (*TxResult, error)
CallContract(ctx context.Context, contractAddress, params, blockNumber string) ([]byte, error)
InquireChain(ctx context.Context, instruction, params string) (string, error)
}
type BasicEvmTx ¶
type EvmLog ¶
type TxTransfers ¶
type TxTransfers struct {
Hash string `json:"hash"`
Rejected bool `json:"rejected"`
ErrMsg string `json:"errMsg"`
Transfers []*Transfer `json:"transfers"`
BalanceChange []*BalanceChange `json:"balanceChange"`
}
Click to show internal directories.
Click to hide internal directories.