Documentation ¶
Index ¶
- Constants
- type ERC20
- func (e *ERC20) Address() common.Address
- func (e *ERC20) Allowance(owner, spender common.Address) (*big.Int, error)
- func (e *ERC20) Approve(spender common.Address, limit, gasPrice, gasTipCap, gasFeeCap *big.Int) (common.Hash, error)
- func (e *ERC20) BalanceOf(owner common.Address) (*big.Int, error)
- func (e *ERC20) Decimals() (uint8, error)
- func (e *ERC20) EstimateGasLimit(to common.Address, data []byte, gasPrice, wei *big.Int) (uint64, error)
- func (e *ERC20) SetConfirmation(blockCount int)
- func (e *ERC20) SetTxPollTimeout(txPollTimeout int)
- func (e *ERC20) SyncSendEIP1559Tx(gasTipCap *big.Int, gasFeeCap *big.Int, gasLimit uint64, to common.Address, ...) (*eTypes.Receipt, error)
- func (e *ERC20) SyncSendRawTransactionForTx(gasPrice *big.Int, gasLimit uint64, to common.Address, data []byte, ...) (*eTypes.Receipt, error)
- func (e *ERC20) Transfer(to common.Address, amount, gasPrice, gasTipCap, gasFeeCap *big.Int) (common.Hash, error)
- func (e *ERC20) WaitBlock(blockCount uint64) error
Constants ¶
View Source
const ERC20_ABI = `` /* 4451-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ERC20 ¶
type ERC20 struct {
// contains filtered or unexported fields
}
func (*ERC20) EstimateGasLimit ¶
func (*ERC20) SetConfirmation ¶
func (*ERC20) SetTxPollTimeout ¶
func (*ERC20) SyncSendEIP1559Tx ¶
func (*ERC20) SyncSendRawTransactionForTx ¶
Click to show internal directories.
Click to hide internal directories.