Documentation ¶
Index ¶
- type ERC20Call
- type ERC20Caller
- func (c *ERC20Caller) Allowance(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, ...) (res big.Int, err error)
- func (c *ERC20Caller) Approve(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, ...) (successful bool, err error)
- func (c *ERC20Caller) BalanceOf(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, ...) (balance big.Int, err error)
- func (c *ERC20Caller) TotalSupply(ctx context.Context, bc *bind.BoundContract, blockNumber uint64) (ts big.Int, err error)
- func (c *ERC20Caller) Transfer(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, ...) (successful bool, err error)
- func (c *ERC20Caller) TransferFrom(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, ...) (successful bool, err error)
- type EthereumNodeType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ERC20Call ¶
type ERC20Call interface { TotalSupply(ctx context.Context, bc *bind.BoundContract, blockNumber uint64) (ts big.Int, err error) BalanceOf(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, tokenHolder common.Address) (balance big.Int, err error) Transfer(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, recipient common.Address, amount *big.Int) (successful bool, err error) Allowance(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, owner, spender common.Address) (res big.Int, err error) Approve(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, spender common.Address, amount *big.Int) (successful bool, err error) TransferFrom(ctx context.Context, bc *bind.BoundContract, blockNumber uint64, sender, recipient common.Address, amount *big.Int) (successful bool, err error) }
type ERC20Caller ¶
type ERC20Caller struct {
NodeType EthereumNodeType
}
func (*ERC20Caller) TotalSupply ¶
func (c *ERC20Caller) TotalSupply(ctx context.Context, bc *bind.BoundContract, blockNumber uint64) (ts big.Int, err error)
func (*ERC20Caller) TransferFrom ¶
type EthereumNodeType ¶
type EthereumNodeType uint8
const ( ENTArchive EthereumNodeType = iota ENTRecent )
Click to show internal directories.
Click to hide internal directories.