Documentation ¶
Index ¶
- Constants
- type ERC20PancakeSwap
- func (e *ERC20PancakeSwap) Address() common.Address
- func (e *ERC20PancakeSwap) Allowance(owner, spender common.Address) (*big.Int, error)
- func (e *ERC20PancakeSwap) Approve(spender common.Address, limit, gasPrice, gasTipCap, gasFeeCap *big.Int) (hash common.Hash, ng *big.Int, err error)
- func (e *ERC20PancakeSwap) BalanceOf(owner common.Address) (*big.Int, error)
- func (e *ERC20PancakeSwap) Decimals() (uint8, error)
- func (e *ERC20PancakeSwap) EstimateGasLimit(to common.Address, data []byte, gasPrice, wei *big.Int) (uint64, error)
- func (e *ERC20PancakeSwap) SetConfirmation(blockCount int)
- func (e *ERC20PancakeSwap) SetTxPollTimeout(txPollTimeout int)
- func (e *ERC20PancakeSwap) SwapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn, amountOutMin *big.Int, path []common.Address, to common.Address, ...) (hash common.Hash, ng *big.Int, err error)
- func (e *ERC20PancakeSwap) SwapExactTokensForTokensSupportingFeeOnTransferTokensCall(amountIn, amountOutMin *big.Int, path []common.Address, to common.Address, ...) (common.Hash, error)
- func (e *ERC20PancakeSwap) SwapExactTokensForTokensSupportingFeeOnTransferTokensCallNonce(amountIn, amountOutMin *big.Int, path []common.Address, to common.Address, ...) (common.Hash, error)
- func (e *ERC20PancakeSwap) SwapExactTokensForTokensSupportingFeeOnTransferTokensNonce(amountIn, amountOutMin *big.Int, path []common.Address, to common.Address, ...) (hash common.Hash, ng *big.Int, err error)
- func (e *ERC20PancakeSwap) Symbol() (string, error)
- func (e *ERC20PancakeSwap) SyncSendEIP1559Tx(gasTipCap *big.Int, gasFeeCap *big.Int, gasLimit uint64, to common.Address, ...) (*eTypes.Receipt, error)
- func (e *ERC20PancakeSwap) SyncSendRawTransactionForTx(gasPrice *big.Int, gasLimit uint64, to common.Address, data []byte, ...) (*eTypes.Receipt, error)
- func (e *ERC20PancakeSwap) SyncSendRawTransactionForTxNonce(gasPrice *big.Int, gasLimit uint64, to common.Address, data []byte, ...) (*eTypes.Receipt, error)
- func (e *ERC20PancakeSwap) Transfer(to common.Address, amount, gasPrice, gasTipCap, gasFeeCap *big.Int) (hash common.Hash, err error)
- func (e *ERC20PancakeSwap) WaitBlock(blockCount uint64) error
Constants ¶
View Source
const PancakeSwap_ABI = `` /* 11875-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ERC20PancakeSwap ¶
type ERC20PancakeSwap struct {
// contains filtered or unexported fields
}
func NewERC20PancakeSwap ¶
func NewERC20PancakeSwap(w3 *web3.Web3, contractAddress common.Address) (*ERC20PancakeSwap, error)
func (*ERC20PancakeSwap) Address ¶
func (e *ERC20PancakeSwap) Address() common.Address
func (*ERC20PancakeSwap) Decimals ¶
func (e *ERC20PancakeSwap) Decimals() (uint8, error)
func (*ERC20PancakeSwap) EstimateGasLimit ¶
func (*ERC20PancakeSwap) SetConfirmation ¶
func (e *ERC20PancakeSwap) SetConfirmation(blockCount int)
func (*ERC20PancakeSwap) SetTxPollTimeout ¶
func (e *ERC20PancakeSwap) SetTxPollTimeout(txPollTimeout int)
func (*ERC20PancakeSwap) SwapExactTokensForTokensSupportingFeeOnTransferTokens ¶
func (*ERC20PancakeSwap) SwapExactTokensForTokensSupportingFeeOnTransferTokensCall ¶ added in v1.0.9
func (*ERC20PancakeSwap) SwapExactTokensForTokensSupportingFeeOnTransferTokensCallNonce ¶ added in v1.1.7
func (*ERC20PancakeSwap) SwapExactTokensForTokensSupportingFeeOnTransferTokensNonce ¶ added in v1.1.8
func (*ERC20PancakeSwap) Symbol ¶
func (e *ERC20PancakeSwap) Symbol() (string, error)
func (*ERC20PancakeSwap) SyncSendEIP1559Tx ¶
func (*ERC20PancakeSwap) SyncSendRawTransactionForTx ¶
func (*ERC20PancakeSwap) SyncSendRawTransactionForTxNonce ¶ added in v1.1.7
func (*ERC20PancakeSwap) WaitBlock ¶
func (e *ERC20PancakeSwap) WaitBlock(blockCount uint64) error
Click to show internal directories.
Click to hide internal directories.