Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Erc ¶
type Erc interface { // BalanceAt 账户的余额 BalanceAt(ctx context.Context, account string) (*big.Int, error) // PendingBalanceAt 待处理的余额 PendingBalanceAt(ctx context.Context, account string) (*big.Int, error) // BalanceAtBlock 某区块时的账户余额 BalanceAtBlock(ctx context.Context, account string, blockNumber int64) (*big.Int, error) // GenerateKey 生成公私钥 GenerateKey() (string, string, error) Contract }
Click to show internal directories.
Click to hide internal directories.