pancakeRouter

package
Version: v1.65.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 19, 2021 License: BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const IERC20ABI = "" /* 2898-byte string literal not displayed */

IERC20ABI is the input ABI used to generate the binding from.

View Source
const IPancakeFactoryABI = "" /* 2176-byte string literal not displayed */

IPancakeFactoryABI is the input ABI used to generate the binding from.

View Source
const IPancakePairABI = "" /* 8750-byte string literal not displayed */

IPancakePairABI is the input ABI used to generate the binding from.

View Source
const IPancakeRouter01ABI = "" /* 10718-byte string literal not displayed */

IPancakeRouter01ABI is the input ABI used to generate the binding from.

View Source
const IPancakeRouter02ABI = "" /* 13814-byte string literal not displayed */

IPancakeRouter02ABI is the input ABI used to generate the binding from.

View Source
const IWETHABI = "" /* 589-byte string literal not displayed */

IWETHABI is the input ABI used to generate the binding from.

View Source
const PancakeLibraryABI = "" /* 573-byte string literal not displayed */

PancakeLibraryABI is the input ABI used to generate the binding from.

View Source
const PancakeRouterABI = "" /* 14607-byte string literal not displayed */

PancakeRouterABI is the input ABI used to generate the binding from.

View Source
const SafeMathABI = "[]"

SafeMathABI is the input ABI used to generate the binding from.

View Source
const TransferHelperABI = "[]"

TransferHelperABI is the input ABI used to generate the binding from.

View Source
const WETH9ABI = "" /* 3645-byte string literal not displayed */

WETH9ABI is the input ABI used to generate the binding from.

Variables

View Source
var IERC20FuncSigs = map[string]string{
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"313ce567": "decimals()",
	"06fdde03": "name()",
	"95d89b41": "symbol()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

IERC20FuncSigs maps the 4-byte function signature to its string representation.

View Source
var IPancakeFactoryFuncSigs = map[string]string{
	"1e3dd18b": "allPairs(uint256)",
	"574f2ba3": "allPairsLength()",
	"c9c65396": "createPair(address,address)",
	"017e7e58": "feeTo()",
	"094b7415": "feeToSetter()",
	"e6a43905": "getPair(address,address)",
	"f46901ed": "setFeeTo(address)",
	"a2e74af6": "setFeeToSetter(address)",
}

IPancakeFactoryFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IPancakePairFuncSigs = map[string]string{
	"3644e515": "DOMAIN_SEPARATOR()",
	"ba9a7a56": "MINIMUM_LIQUIDITY()",
	"30adf81f": "PERMIT_TYPEHASH()",
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"89afcb44": "burn(address)",
	"313ce567": "decimals()",
	"c45a0155": "factory()",
	"0902f1ac": "getReserves()",
	"485cc955": "initialize(address,address)",
	"7464fc3d": "kLast()",
	"6a627842": "mint(address)",
	"06fdde03": "name()",
	"7ecebe00": "nonces(address)",
	"d505accf": "permit(address,address,uint256,uint256,uint8,bytes32,bytes32)",
	"5909c0d5": "price0CumulativeLast()",
	"5a3d5493": "price1CumulativeLast()",
	"bc25cf77": "skim(address)",
	"022c0d9f": "swap(uint256,uint256,address,bytes)",
	"95d89b41": "symbol()",
	"fff6cae9": "sync()",
	"0dfe1681": "token0()",
	"d21220a7": "token1()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
}

IPancakePairFuncSigs maps the 4-byte function signature to its string representation.

View Source
var IPancakeRouter01FuncSigs = map[string]string{
	"ad5c4648": "WETH()",
	"e8e33700": "addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256)",
	"f305d719": "addLiquidityETH(address,uint256,uint256,uint256,address,uint256)",
	"c45a0155": "factory()",
	"85f8c259": "getAmountIn(uint256,uint256,uint256)",
	"054d50d4": "getAmountOut(uint256,uint256,uint256)",
	"1f00ca74": "getAmountsIn(uint256,address[])",
	"d06ca61f": "getAmountsOut(uint256,address[])",
	"ad615dec": "quote(uint256,uint256,uint256)",
	"baa2abde": "removeLiquidity(address,address,uint256,uint256,uint256,address,uint256)",
	"02751cec": "removeLiquidityETH(address,uint256,uint256,uint256,address,uint256)",
	"ded9382a": "removeLiquidityETHWithPermit(address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32)",
	"2195995c": "removeLiquidityWithPermit(address,address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32)",
	"fb3bdb41": "swapETHForExactTokens(uint256,address[],address,uint256)",
	"7ff36ab5": "swapExactETHForTokens(uint256,address[],address,uint256)",
	"18cbafe5": "swapExactTokensForETH(uint256,uint256,address[],address,uint256)",
	"38ed1739": "swapExactTokensForTokens(uint256,uint256,address[],address,uint256)",
	"4a25d94a": "swapTokensForExactETH(uint256,uint256,address[],address,uint256)",
	"8803dbee": "swapTokensForExactTokens(uint256,uint256,address[],address,uint256)",
}

IPancakeRouter01FuncSigs maps the 4-byte function signature to its string representation.

View Source
var IPancakeRouter02FuncSigs = map[string]string{
	"ad5c4648": "WETH()",
	"e8e33700": "addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256)",
	"f305d719": "addLiquidityETH(address,uint256,uint256,uint256,address,uint256)",
	"c45a0155": "factory()",
	"85f8c259": "getAmountIn(uint256,uint256,uint256)",
	"054d50d4": "getAmountOut(uint256,uint256,uint256)",
	"1f00ca74": "getAmountsIn(uint256,address[])",
	"d06ca61f": "getAmountsOut(uint256,address[])",
	"ad615dec": "quote(uint256,uint256,uint256)",
	"baa2abde": "removeLiquidity(address,address,uint256,uint256,uint256,address,uint256)",
	"02751cec": "removeLiquidityETH(address,uint256,uint256,uint256,address,uint256)",
	"af2979eb": "removeLiquidityETHSupportingFeeOnTransferTokens(address,uint256,uint256,uint256,address,uint256)",
	"ded9382a": "removeLiquidityETHWithPermit(address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32)",
	"5b0d5984": "removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32)",
	"2195995c": "removeLiquidityWithPermit(address,address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32)",
	"fb3bdb41": "swapETHForExactTokens(uint256,address[],address,uint256)",
	"7ff36ab5": "swapExactETHForTokens(uint256,address[],address,uint256)",
	"b6f9de95": "swapExactETHForTokensSupportingFeeOnTransferTokens(uint256,address[],address,uint256)",
	"18cbafe5": "swapExactTokensForETH(uint256,uint256,address[],address,uint256)",
	"791ac947": "swapExactTokensForETHSupportingFeeOnTransferTokens(uint256,uint256,address[],address,uint256)",
	"38ed1739": "swapExactTokensForTokens(uint256,uint256,address[],address,uint256)",
	"5c11d795": "swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256,uint256,address[],address,uint256)",
	"4a25d94a": "swapTokensForExactETH(uint256,uint256,address[],address,uint256)",
	"8803dbee": "swapTokensForExactTokens(uint256,uint256,address[],address,uint256)",
}

IPancakeRouter02FuncSigs maps the 4-byte function signature to its string representation.

View Source
var IWETHFuncSigs = map[string]string{
	"d0e30db0": "deposit()",
	"a9059cbb": "transfer(address,uint256)",
	"2e1a7d4d": "withdraw(uint256)",
}

IWETHFuncSigs maps the 4-byte function signature to its string representation.

View Source
var PancakeLibraryBin = "" /* 1856-byte string literal not displayed */

PancakeLibraryBin is the compiled bytecode used for deploying new contracts.

View Source
var PancakeLibraryFuncSigs = map[string]string{
	"ecefc705": "FEE_BASE()",
	"5afbc4a8": "FEE_FACTOR()",
	"71aad10d": "toString(bytes)",
}

PancakeLibraryFuncSigs maps the 4-byte function signature to its string representation.

View Source
var PancakeRouterBin = "" /* 38162-byte string literal not displayed */

PancakeRouterBin is the compiled bytecode used for deploying new contracts.

View Source
var PancakeRouterFuncSigs = map[string]string{
	"ad5c4648": "WETH()",
	"e8e33700": "addLiquidity(address,address,uint256,uint256,uint256,uint256,address,uint256)",
	"f305d719": "addLiquidityETH(address,uint256,uint256,uint256,address,uint256)",
	"b64284d3": "addLpTimes()",
	"36e4ccb6": "callName()",
	"c45a0155": "factory()",
	"85f8c259": "getAmountIn(uint256,uint256,uint256)",
	"054d50d4": "getAmountOut(uint256,uint256,uint256)",
	"1f00ca74": "getAmountsIn(uint256,address[])",
	"d06ca61f": "getAmountsOut(uint256,address[])",
	"ad615dec": "quote(uint256,uint256,uint256)",
	"baa2abde": "removeLiquidity(address,address,uint256,uint256,uint256,address,uint256)",
	"02751cec": "removeLiquidityETH(address,uint256,uint256,uint256,address,uint256)",
	"af2979eb": "removeLiquidityETHSupportingFeeOnTransferTokens(address,uint256,uint256,uint256,address,uint256)",
	"ded9382a": "removeLiquidityETHWithPermit(address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32)",
	"5b0d5984": "removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32)",
	"2195995c": "removeLiquidityWithPermit(address,address,uint256,uint256,uint256,address,uint256,bool,uint8,bytes32,bytes32)",
	"c925ab1c": "setCallName(string)",
	"fb3bdb41": "swapETHForExactTokens(uint256,address[],address,uint256)",
	"7ff36ab5": "swapExactETHForTokens(uint256,address[],address,uint256)",
	"b6f9de95": "swapExactETHForTokensSupportingFeeOnTransferTokens(uint256,address[],address,uint256)",
	"18cbafe5": "swapExactTokensForETH(uint256,uint256,address[],address,uint256)",
	"791ac947": "swapExactTokensForETHSupportingFeeOnTransferTokens(uint256,uint256,address[],address,uint256)",
	"38ed1739": "swapExactTokensForTokens(uint256,uint256,address[],address,uint256)",
	"5c11d795": "swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256,uint256,address[],address,uint256)",
	"4a25d94a": "swapTokensForExactETH(uint256,uint256,address[],address,uint256)",
	"8803dbee": "swapTokensForExactTokens(uint256,uint256,address[],address,uint256)",
}

PancakeRouterFuncSigs maps the 4-byte function signature to its string representation.

View Source
var SafeMathBin = "" /* 244-byte string literal not displayed */

SafeMathBin is the compiled bytecode used for deploying new contracts.

View Source
var TransferHelperBin = "" /* 244-byte string literal not displayed */

TransferHelperBin is the compiled bytecode used for deploying new contracts.

View Source
var WETH9Bin = "" /* 4328-byte string literal not displayed */

WETH9Bin is the compiled bytecode used for deploying new contracts.

View Source
var WETH9FuncSigs = map[string]string{
	"dd62ed3e": "allowance(address,address)",
	"095ea7b3": "approve(address,uint256)",
	"70a08231": "balanceOf(address)",
	"313ce567": "decimals()",
	"d0e30db0": "deposit()",
	"06fdde03": "name()",
	"95d89b41": "symbol()",
	"18160ddd": "totalSupply()",
	"a9059cbb": "transfer(address,uint256)",
	"23b872dd": "transferFrom(address,address,uint256)",
	"2e1a7d4d": "withdraw(uint256)",
}

WETH9FuncSigs maps the 4-byte function signature to its string representation.

Functions

This section is empty.

Types

type IERC20

type IERC20 struct {
	IERC20Caller     // Read-only binding to the contract
	IERC20Transactor // Write-only binding to the contract
	IERC20Filterer   // Log filterer for contract events
}

IERC20 is an auto generated Go binding around an Ethereum contract.

func NewIERC20

func NewIERC20(address common.Address, backend bind.ContractBackend) (*IERC20, error)

NewIERC20 creates a new instance of IERC20, bound to a specific deployed contract.

type IERC20Approval

type IERC20Approval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IERC20Approval represents a Approval event raised by the IERC20 contract.

type IERC20ApprovalIterator

type IERC20ApprovalIterator struct {
	Event *IERC20Approval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IERC20 contract.

func (*IERC20ApprovalIterator) Close

func (it *IERC20ApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IERC20ApprovalIterator) Error

func (it *IERC20ApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20ApprovalIterator) Next

func (it *IERC20ApprovalIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IERC20Caller

type IERC20Caller struct {
	// contains filtered or unexported fields
}

IERC20Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewIERC20Caller

func NewIERC20Caller(address common.Address, caller bind.ContractCaller) (*IERC20Caller, error)

NewIERC20Caller creates a new read-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Caller) Allowance

func (_IERC20 *IERC20Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20Caller) BalanceOf

func (_IERC20 *IERC20Caller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*IERC20Caller) Decimals

func (_IERC20 *IERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*IERC20Caller) Name

func (_IERC20 *IERC20Caller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*IERC20Caller) Symbol

func (_IERC20 *IERC20Caller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*IERC20Caller) TotalSupply

func (_IERC20 *IERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IERC20CallerRaw

type IERC20CallerRaw struct {
	Contract *IERC20Caller // Generic read-only contract binding to access the raw methods on
}

IERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*IERC20CallerRaw) Call

func (_IERC20 *IERC20CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type IERC20CallerSession

type IERC20CallerSession struct {
	Contract *IERC20Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

IERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*IERC20CallerSession) Allowance

func (_IERC20 *IERC20CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20CallerSession) BalanceOf

func (_IERC20 *IERC20CallerSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*IERC20CallerSession) Decimals

func (_IERC20 *IERC20CallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*IERC20CallerSession) Name

func (_IERC20 *IERC20CallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*IERC20CallerSession) Symbol

func (_IERC20 *IERC20CallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*IERC20CallerSession) TotalSupply

func (_IERC20 *IERC20CallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IERC20Filterer

type IERC20Filterer struct {
	// contains filtered or unexported fields
}

IERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewIERC20Filterer

func NewIERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*IERC20Filterer, error)

NewIERC20Filterer creates a new log filterer instance of IERC20, bound to a specific deployed contract.

func (*IERC20Filterer) FilterApproval

func (_IERC20 *IERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IERC20ApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) FilterTransfer

func (_IERC20 *IERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IERC20TransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IERC20Filterer) ParseApproval

func (_IERC20 *IERC20Filterer) ParseApproval(log types.Log) (*IERC20Approval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) ParseTransfer

func (_IERC20 *IERC20Filterer) ParseTransfer(log types.Log) (*IERC20Transfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IERC20Filterer) WatchApproval

func (_IERC20 *IERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IERC20Approval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IERC20Filterer) WatchTransfer

func (_IERC20 *IERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IERC20Transfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type IERC20Raw

type IERC20Raw struct {
	Contract *IERC20 // Generic contract binding to access the raw methods on
}

IERC20Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*IERC20Raw) Call

func (_IERC20 *IERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*IERC20Raw) Transact

func (_IERC20 *IERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IERC20Raw) Transfer

func (_IERC20 *IERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IERC20Session

type IERC20Session struct {
	Contract     *IERC20           // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

IERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*IERC20Session) Allowance

func (_IERC20 *IERC20Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IERC20Session) Approve

func (_IERC20 *IERC20Session) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*IERC20Session) BalanceOf

func (_IERC20 *IERC20Session) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*IERC20Session) Decimals

func (_IERC20 *IERC20Session) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*IERC20Session) Name

func (_IERC20 *IERC20Session) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*IERC20Session) Symbol

func (_IERC20 *IERC20Session) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view returns(string)

func (*IERC20Session) TotalSupply

func (_IERC20 *IERC20Session) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*IERC20Session) Transfer

func (_IERC20 *IERC20Session) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IERC20Session) TransferFrom

func (_IERC20 *IERC20Session) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IERC20Transactor

type IERC20Transactor struct {
	// contains filtered or unexported fields
}

IERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewIERC20Transactor

func NewIERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*IERC20Transactor, error)

NewIERC20Transactor creates a new write-only instance of IERC20, bound to a specific deployed contract.

func (*IERC20Transactor) Approve

func (_IERC20 *IERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*IERC20Transactor) Transfer

func (_IERC20 *IERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IERC20Transactor) TransferFrom

func (_IERC20 *IERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IERC20TransactorRaw

type IERC20TransactorRaw struct {
	Contract *IERC20Transactor // Generic write-only contract binding to access the raw methods on
}

IERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*IERC20TransactorRaw) Transact

func (_IERC20 *IERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IERC20TransactorRaw) Transfer

func (_IERC20 *IERC20TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IERC20TransactorSession

type IERC20TransactorSession struct {
	Contract     *IERC20Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

IERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*IERC20TransactorSession) Approve

func (_IERC20 *IERC20TransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*IERC20TransactorSession) Transfer

func (_IERC20 *IERC20TransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IERC20TransactorSession) TransferFrom

func (_IERC20 *IERC20TransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IERC20Transfer

type IERC20Transfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

IERC20Transfer represents a Transfer event raised by the IERC20 contract.

type IERC20TransferIterator

type IERC20TransferIterator struct {
	Event *IERC20Transfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IERC20 contract.

func (*IERC20TransferIterator) Close

func (it *IERC20TransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IERC20TransferIterator) Error

func (it *IERC20TransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IERC20TransferIterator) Next

func (it *IERC20TransferIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IPancakeFactory

type IPancakeFactory struct {
	IPancakeFactoryCaller     // Read-only binding to the contract
	IPancakeFactoryTransactor // Write-only binding to the contract
	IPancakeFactoryFilterer   // Log filterer for contract events
}

IPancakeFactory is an auto generated Go binding around an Ethereum contract.

func NewIPancakeFactory

func NewIPancakeFactory(address common.Address, backend bind.ContractBackend) (*IPancakeFactory, error)

NewIPancakeFactory creates a new instance of IPancakeFactory, bound to a specific deployed contract.

type IPancakeFactoryCaller

type IPancakeFactoryCaller struct {
	// contains filtered or unexported fields
}

IPancakeFactoryCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewIPancakeFactoryCaller

func NewIPancakeFactoryCaller(address common.Address, caller bind.ContractCaller) (*IPancakeFactoryCaller, error)

NewIPancakeFactoryCaller creates a new read-only instance of IPancakeFactory, bound to a specific deployed contract.

func (*IPancakeFactoryCaller) AllPairs

func (_IPancakeFactory *IPancakeFactoryCaller) AllPairs(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address pair)

func (*IPancakeFactoryCaller) AllPairsLength

func (_IPancakeFactory *IPancakeFactoryCaller) AllPairsLength(opts *bind.CallOpts) (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*IPancakeFactoryCaller) FeeTo

func (_IPancakeFactory *IPancakeFactoryCaller) FeeTo(opts *bind.CallOpts) (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*IPancakeFactoryCaller) FeeToSetter

func (_IPancakeFactory *IPancakeFactoryCaller) FeeToSetter(opts *bind.CallOpts) (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*IPancakeFactoryCaller) GetPair

func (_IPancakeFactory *IPancakeFactoryCaller) GetPair(opts *bind.CallOpts, tokenA common.Address, tokenB common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address tokenA, address tokenB) view returns(address pair)

type IPancakeFactoryCallerRaw

type IPancakeFactoryCallerRaw struct {
	Contract *IPancakeFactoryCaller // Generic read-only contract binding to access the raw methods on
}

IPancakeFactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*IPancakeFactoryCallerRaw) Call

func (_IPancakeFactory *IPancakeFactoryCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type IPancakeFactoryCallerSession

type IPancakeFactoryCallerSession struct {
	Contract *IPancakeFactoryCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts          // Call options to use throughout this session
}

IPancakeFactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*IPancakeFactoryCallerSession) AllPairs

func (_IPancakeFactory *IPancakeFactoryCallerSession) AllPairs(arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address pair)

func (*IPancakeFactoryCallerSession) AllPairsLength

func (_IPancakeFactory *IPancakeFactoryCallerSession) AllPairsLength() (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*IPancakeFactoryCallerSession) FeeTo

func (_IPancakeFactory *IPancakeFactoryCallerSession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*IPancakeFactoryCallerSession) FeeToSetter

func (_IPancakeFactory *IPancakeFactoryCallerSession) FeeToSetter() (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*IPancakeFactoryCallerSession) GetPair

func (_IPancakeFactory *IPancakeFactoryCallerSession) GetPair(tokenA common.Address, tokenB common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address tokenA, address tokenB) view returns(address pair)

type IPancakeFactoryFilterer

type IPancakeFactoryFilterer struct {
	// contains filtered or unexported fields
}

IPancakeFactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewIPancakeFactoryFilterer

func NewIPancakeFactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*IPancakeFactoryFilterer, error)

NewIPancakeFactoryFilterer creates a new log filterer instance of IPancakeFactory, bound to a specific deployed contract.

func (*IPancakeFactoryFilterer) FilterPairCreated

func (_IPancakeFactory *IPancakeFactoryFilterer) FilterPairCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address) (*IPancakeFactoryPairCreatedIterator, error)

FilterPairCreated is a free log retrieval operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

func (*IPancakeFactoryFilterer) ParsePairCreated

func (_IPancakeFactory *IPancakeFactoryFilterer) ParsePairCreated(log types.Log) (*IPancakeFactoryPairCreated, error)

ParsePairCreated is a log parse operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

func (*IPancakeFactoryFilterer) WatchPairCreated

func (_IPancakeFactory *IPancakeFactoryFilterer) WatchPairCreated(opts *bind.WatchOpts, sink chan<- *IPancakeFactoryPairCreated, token0 []common.Address, token1 []common.Address) (event.Subscription, error)

WatchPairCreated is a free log subscription operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.

Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)

type IPancakeFactoryPairCreated

type IPancakeFactoryPairCreated struct {
	Token0 common.Address
	Token1 common.Address
	Pair   common.Address
	Arg3   *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

IPancakeFactoryPairCreated represents a PairCreated event raised by the IPancakeFactory contract.

type IPancakeFactoryPairCreatedIterator

type IPancakeFactoryPairCreatedIterator struct {
	Event *IPancakeFactoryPairCreated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IPancakeFactoryPairCreatedIterator is returned from FilterPairCreated and is used to iterate over the raw logs and unpacked data for PairCreated events raised by the IPancakeFactory contract.

func (*IPancakeFactoryPairCreatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*IPancakeFactoryPairCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*IPancakeFactoryPairCreatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IPancakeFactoryRaw

type IPancakeFactoryRaw struct {
	Contract *IPancakeFactory // Generic contract binding to access the raw methods on
}

IPancakeFactoryRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*IPancakeFactoryRaw) Call

func (_IPancakeFactory *IPancakeFactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*IPancakeFactoryRaw) Transact

func (_IPancakeFactory *IPancakeFactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IPancakeFactoryRaw) Transfer

func (_IPancakeFactory *IPancakeFactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IPancakeFactorySession

type IPancakeFactorySession struct {
	Contract     *IPancakeFactory  // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

IPancakeFactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*IPancakeFactorySession) AllPairs

func (_IPancakeFactory *IPancakeFactorySession) AllPairs(arg0 *big.Int) (common.Address, error)

AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.

Solidity: function allPairs(uint256 ) view returns(address pair)

func (*IPancakeFactorySession) AllPairsLength

func (_IPancakeFactory *IPancakeFactorySession) AllPairsLength() (*big.Int, error)

AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.

Solidity: function allPairsLength() view returns(uint256)

func (*IPancakeFactorySession) CreatePair

func (_IPancakeFactory *IPancakeFactorySession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*IPancakeFactorySession) FeeTo

func (_IPancakeFactory *IPancakeFactorySession) FeeTo() (common.Address, error)

FeeTo is a free data retrieval call binding the contract method 0x017e7e58.

Solidity: function feeTo() view returns(address)

func (*IPancakeFactorySession) FeeToSetter

func (_IPancakeFactory *IPancakeFactorySession) FeeToSetter() (common.Address, error)

FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.

Solidity: function feeToSetter() view returns(address)

func (*IPancakeFactorySession) GetPair

func (_IPancakeFactory *IPancakeFactorySession) GetPair(tokenA common.Address, tokenB common.Address) (common.Address, error)

GetPair is a free data retrieval call binding the contract method 0xe6a43905.

Solidity: function getPair(address tokenA, address tokenB) view returns(address pair)

func (*IPancakeFactorySession) SetFeeTo

func (_IPancakeFactory *IPancakeFactorySession) SetFeeTo(arg0 common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address ) returns()

func (*IPancakeFactorySession) SetFeeToSetter

func (_IPancakeFactory *IPancakeFactorySession) SetFeeToSetter(arg0 common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address ) returns()

type IPancakeFactoryTransactor

type IPancakeFactoryTransactor struct {
	// contains filtered or unexported fields
}

IPancakeFactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewIPancakeFactoryTransactor

func NewIPancakeFactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*IPancakeFactoryTransactor, error)

NewIPancakeFactoryTransactor creates a new write-only instance of IPancakeFactory, bound to a specific deployed contract.

func (*IPancakeFactoryTransactor) CreatePair

func (_IPancakeFactory *IPancakeFactoryTransactor) CreatePair(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*IPancakeFactoryTransactor) SetFeeTo

func (_IPancakeFactory *IPancakeFactoryTransactor) SetFeeTo(opts *bind.TransactOpts, arg0 common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address ) returns()

func (*IPancakeFactoryTransactor) SetFeeToSetter

func (_IPancakeFactory *IPancakeFactoryTransactor) SetFeeToSetter(opts *bind.TransactOpts, arg0 common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address ) returns()

type IPancakeFactoryTransactorRaw

type IPancakeFactoryTransactorRaw struct {
	Contract *IPancakeFactoryTransactor // Generic write-only contract binding to access the raw methods on
}

IPancakeFactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*IPancakeFactoryTransactorRaw) Transact

func (_IPancakeFactory *IPancakeFactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IPancakeFactoryTransactorRaw) Transfer

func (_IPancakeFactory *IPancakeFactoryTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IPancakeFactoryTransactorSession

type IPancakeFactoryTransactorSession struct {
	Contract     *IPancakeFactoryTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts          // Transaction auth options to use throughout this session
}

IPancakeFactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*IPancakeFactoryTransactorSession) CreatePair

func (_IPancakeFactory *IPancakeFactoryTransactorSession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)

CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.

Solidity: function createPair(address tokenA, address tokenB) returns(address pair)

func (*IPancakeFactoryTransactorSession) SetFeeTo

func (_IPancakeFactory *IPancakeFactoryTransactorSession) SetFeeTo(arg0 common.Address) (*types.Transaction, error)

SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.

Solidity: function setFeeTo(address ) returns()

func (*IPancakeFactoryTransactorSession) SetFeeToSetter

func (_IPancakeFactory *IPancakeFactoryTransactorSession) SetFeeToSetter(arg0 common.Address) (*types.Transaction, error)

SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.

Solidity: function setFeeToSetter(address ) returns()

type IPancakePair

type IPancakePair struct {
	IPancakePairCaller     // Read-only binding to the contract
	IPancakePairTransactor // Write-only binding to the contract
	IPancakePairFilterer   // Log filterer for contract events
}

IPancakePair is an auto generated Go binding around an Ethereum contract.

func NewIPancakePair

func NewIPancakePair(address common.Address, backend bind.ContractBackend) (*IPancakePair, error)

NewIPancakePair creates a new instance of IPancakePair, bound to a specific deployed contract.

type IPancakePairApproval

type IPancakePairApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IPancakePairApproval represents a Approval event raised by the IPancakePair contract.

type IPancakePairApprovalIterator

type IPancakePairApprovalIterator struct {
	Event *IPancakePairApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IPancakePairApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the IPancakePair contract.

func (*IPancakePairApprovalIterator) Close

func (it *IPancakePairApprovalIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IPancakePairApprovalIterator) Error

func (it *IPancakePairApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IPancakePairApprovalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IPancakePairBurn

type IPancakePairBurn struct {
	Sender  common.Address
	Amount0 *big.Int
	Amount1 *big.Int
	To      common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

IPancakePairBurn represents a Burn event raised by the IPancakePair contract.

type IPancakePairBurnIterator

type IPancakePairBurnIterator struct {
	Event *IPancakePairBurn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IPancakePairBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the IPancakePair contract.

func (*IPancakePairBurnIterator) Close

func (it *IPancakePairBurnIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IPancakePairBurnIterator) Error

func (it *IPancakePairBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IPancakePairBurnIterator) Next

func (it *IPancakePairBurnIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IPancakePairCaller

type IPancakePairCaller struct {
	// contains filtered or unexported fields
}

IPancakePairCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewIPancakePairCaller

func NewIPancakePairCaller(address common.Address, caller bind.ContractCaller) (*IPancakePairCaller, error)

NewIPancakePairCaller creates a new read-only instance of IPancakePair, bound to a specific deployed contract.

func (*IPancakePairCaller) Allowance

func (_IPancakePair *IPancakePairCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IPancakePairCaller) BalanceOf

func (_IPancakePair *IPancakePairCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*IPancakePairCaller) DOMAINSEPARATOR

func (_IPancakePair *IPancakePairCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*IPancakePairCaller) Decimals

func (_IPancakePair *IPancakePairCaller) Decimals(opts *bind.CallOpts) (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() pure returns(uint8)

func (*IPancakePairCaller) Factory

func (_IPancakePair *IPancakePairCaller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*IPancakePairCaller) GetReserves

func (_IPancakePair *IPancakePairCaller) GetReserves(opts *bind.CallOpts) (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast)

func (*IPancakePairCaller) KLast

func (_IPancakePair *IPancakePairCaller) KLast(opts *bind.CallOpts) (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*IPancakePairCaller) MINIMUMLIQUIDITY

func (_IPancakePair *IPancakePairCaller) MINIMUMLIQUIDITY(opts *bind.CallOpts) (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() pure returns(uint256)

func (*IPancakePairCaller) Name

func (_IPancakePair *IPancakePairCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() pure returns(string)

func (*IPancakePairCaller) Nonces

func (_IPancakePair *IPancakePairCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*IPancakePairCaller) PERMITTYPEHASH

func (_IPancakePair *IPancakePairCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() pure returns(bytes32)

func (*IPancakePairCaller) Price0CumulativeLast

func (_IPancakePair *IPancakePairCaller) Price0CumulativeLast(opts *bind.CallOpts) (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*IPancakePairCaller) Price1CumulativeLast

func (_IPancakePair *IPancakePairCaller) Price1CumulativeLast(opts *bind.CallOpts) (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*IPancakePairCaller) Symbol

func (_IPancakePair *IPancakePairCaller) Symbol(opts *bind.CallOpts) (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() pure returns(string)

func (*IPancakePairCaller) Token0

func (_IPancakePair *IPancakePairCaller) Token0(opts *bind.CallOpts) (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*IPancakePairCaller) Token1

func (_IPancakePair *IPancakePairCaller) Token1(opts *bind.CallOpts) (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*IPancakePairCaller) TotalSupply

func (_IPancakePair *IPancakePairCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IPancakePairCallerRaw

type IPancakePairCallerRaw struct {
	Contract *IPancakePairCaller // Generic read-only contract binding to access the raw methods on
}

IPancakePairCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*IPancakePairCallerRaw) Call

func (_IPancakePair *IPancakePairCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type IPancakePairCallerSession

type IPancakePairCallerSession struct {
	Contract *IPancakePairCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

IPancakePairCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*IPancakePairCallerSession) Allowance

func (_IPancakePair *IPancakePairCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IPancakePairCallerSession) BalanceOf

func (_IPancakePair *IPancakePairCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*IPancakePairCallerSession) DOMAINSEPARATOR

func (_IPancakePair *IPancakePairCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*IPancakePairCallerSession) Decimals

func (_IPancakePair *IPancakePairCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() pure returns(uint8)

func (*IPancakePairCallerSession) Factory

func (_IPancakePair *IPancakePairCallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*IPancakePairCallerSession) GetReserves

func (_IPancakePair *IPancakePairCallerSession) GetReserves() (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast)

func (*IPancakePairCallerSession) KLast

func (_IPancakePair *IPancakePairCallerSession) KLast() (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*IPancakePairCallerSession) MINIMUMLIQUIDITY

func (_IPancakePair *IPancakePairCallerSession) MINIMUMLIQUIDITY() (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() pure returns(uint256)

func (*IPancakePairCallerSession) Name

func (_IPancakePair *IPancakePairCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() pure returns(string)

func (*IPancakePairCallerSession) Nonces

func (_IPancakePair *IPancakePairCallerSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*IPancakePairCallerSession) PERMITTYPEHASH

func (_IPancakePair *IPancakePairCallerSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() pure returns(bytes32)

func (*IPancakePairCallerSession) Price0CumulativeLast

func (_IPancakePair *IPancakePairCallerSession) Price0CumulativeLast() (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*IPancakePairCallerSession) Price1CumulativeLast

func (_IPancakePair *IPancakePairCallerSession) Price1CumulativeLast() (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*IPancakePairCallerSession) Symbol

func (_IPancakePair *IPancakePairCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() pure returns(string)

func (*IPancakePairCallerSession) Token0

func (_IPancakePair *IPancakePairCallerSession) Token0() (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*IPancakePairCallerSession) Token1

func (_IPancakePair *IPancakePairCallerSession) Token1() (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*IPancakePairCallerSession) TotalSupply

func (_IPancakePair *IPancakePairCallerSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type IPancakePairFilterer

type IPancakePairFilterer struct {
	// contains filtered or unexported fields
}

IPancakePairFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewIPancakePairFilterer

func NewIPancakePairFilterer(address common.Address, filterer bind.ContractFilterer) (*IPancakePairFilterer, error)

NewIPancakePairFilterer creates a new log filterer instance of IPancakePair, bound to a specific deployed contract.

func (*IPancakePairFilterer) FilterApproval

func (_IPancakePair *IPancakePairFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*IPancakePairApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IPancakePairFilterer) FilterBurn

func (_IPancakePair *IPancakePairFilterer) FilterBurn(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*IPancakePairBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*IPancakePairFilterer) FilterMint

func (_IPancakePair *IPancakePairFilterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*IPancakePairMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*IPancakePairFilterer) FilterSwap

func (_IPancakePair *IPancakePairFilterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*IPancakePairSwapIterator, error)

FilterSwap is a free log retrieval operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*IPancakePairFilterer) FilterSync

func (_IPancakePair *IPancakePairFilterer) FilterSync(opts *bind.FilterOpts) (*IPancakePairSyncIterator, error)

FilterSync is a free log retrieval operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*IPancakePairFilterer) FilterTransfer

func (_IPancakePair *IPancakePairFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*IPancakePairTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IPancakePairFilterer) ParseApproval

func (_IPancakePair *IPancakePairFilterer) ParseApproval(log types.Log) (*IPancakePairApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IPancakePairFilterer) ParseBurn

func (_IPancakePair *IPancakePairFilterer) ParseBurn(log types.Log) (*IPancakePairBurn, error)

ParseBurn is a log parse operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*IPancakePairFilterer) ParseMint

func (_IPancakePair *IPancakePairFilterer) ParseMint(log types.Log) (*IPancakePairMint, error)

ParseMint is a log parse operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*IPancakePairFilterer) ParseSwap

func (_IPancakePair *IPancakePairFilterer) ParseSwap(log types.Log) (*IPancakePairSwap, error)

ParseSwap is a log parse operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*IPancakePairFilterer) ParseSync

func (_IPancakePair *IPancakePairFilterer) ParseSync(log types.Log) (*IPancakePairSync, error)

ParseSync is a log parse operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*IPancakePairFilterer) ParseTransfer

func (_IPancakePair *IPancakePairFilterer) ParseTransfer(log types.Log) (*IPancakePairTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*IPancakePairFilterer) WatchApproval

func (_IPancakePair *IPancakePairFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *IPancakePairApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*IPancakePairFilterer) WatchBurn

func (_IPancakePair *IPancakePairFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *IPancakePairBurn, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.

Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)

func (*IPancakePairFilterer) WatchMint

func (_IPancakePair *IPancakePairFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *IPancakePairMint, sender []common.Address) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.

Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)

func (*IPancakePairFilterer) WatchSwap

func (_IPancakePair *IPancakePairFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *IPancakePairSwap, sender []common.Address, to []common.Address) (event.Subscription, error)

WatchSwap is a free log subscription operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.

Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)

func (*IPancakePairFilterer) WatchSync

func (_IPancakePair *IPancakePairFilterer) WatchSync(opts *bind.WatchOpts, sink chan<- *IPancakePairSync) (event.Subscription, error)

WatchSync is a free log subscription operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*IPancakePairFilterer) WatchTransfer

func (_IPancakePair *IPancakePairFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *IPancakePairTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type IPancakePairMint

type IPancakePairMint struct {
	Sender  common.Address
	Amount0 *big.Int
	Amount1 *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

IPancakePairMint represents a Mint event raised by the IPancakePair contract.

type IPancakePairMintIterator

type IPancakePairMintIterator struct {
	Event *IPancakePairMint // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IPancakePairMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the IPancakePair contract.

func (*IPancakePairMintIterator) Close

func (it *IPancakePairMintIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IPancakePairMintIterator) Error

func (it *IPancakePairMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IPancakePairMintIterator) Next

func (it *IPancakePairMintIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IPancakePairRaw

type IPancakePairRaw struct {
	Contract *IPancakePair // Generic contract binding to access the raw methods on
}

IPancakePairRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*IPancakePairRaw) Call

func (_IPancakePair *IPancakePairRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*IPancakePairRaw) Transact

func (_IPancakePair *IPancakePairRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IPancakePairRaw) Transfer

func (_IPancakePair *IPancakePairRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IPancakePairSession

type IPancakePairSession struct {
	Contract     *IPancakePair     // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

IPancakePairSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*IPancakePairSession) Allowance

func (_IPancakePair *IPancakePairSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*IPancakePairSession) Approve

func (_IPancakePair *IPancakePairSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*IPancakePairSession) BalanceOf

func (_IPancakePair *IPancakePairSession) BalanceOf(owner common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address owner) view returns(uint256)

func (*IPancakePairSession) Burn

func (_IPancakePair *IPancakePairSession) Burn(to common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x89afcb44.

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*IPancakePairSession) DOMAINSEPARATOR

func (_IPancakePair *IPancakePairSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*IPancakePairSession) Decimals

func (_IPancakePair *IPancakePairSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() pure returns(uint8)

func (*IPancakePairSession) Factory

func (_IPancakePair *IPancakePairSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() view returns(address)

func (*IPancakePairSession) GetReserves

func (_IPancakePair *IPancakePairSession) GetReserves() (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast uint32
}, error)

GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.

Solidity: function getReserves() view returns(uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast)

func (*IPancakePairSession) Initialize

func (_IPancakePair *IPancakePairSession) Initialize(arg0 common.Address, arg1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address , address ) returns()

func (*IPancakePairSession) KLast

func (_IPancakePair *IPancakePairSession) KLast() (*big.Int, error)

KLast is a free data retrieval call binding the contract method 0x7464fc3d.

Solidity: function kLast() view returns(uint256)

func (*IPancakePairSession) MINIMUMLIQUIDITY

func (_IPancakePair *IPancakePairSession) MINIMUMLIQUIDITY() (*big.Int, error)

MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.

Solidity: function MINIMUM_LIQUIDITY() pure returns(uint256)

func (*IPancakePairSession) Mint

func (_IPancakePair *IPancakePairSession) Mint(to common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address to) returns(uint256 liquidity)

func (*IPancakePairSession) Name

func (_IPancakePair *IPancakePairSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() pure returns(string)

func (*IPancakePairSession) Nonces

func (_IPancakePair *IPancakePairSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*IPancakePairSession) PERMITTYPEHASH

func (_IPancakePair *IPancakePairSession) PERMITTYPEHASH() ([32]byte, error)

PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.

Solidity: function PERMIT_TYPEHASH() pure returns(bytes32)

func (*IPancakePairSession) Permit

func (_IPancakePair *IPancakePairSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*IPancakePairSession) Price0CumulativeLast

func (_IPancakePair *IPancakePairSession) Price0CumulativeLast() (*big.Int, error)

Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.

Solidity: function price0CumulativeLast() view returns(uint256)

func (*IPancakePairSession) Price1CumulativeLast

func (_IPancakePair *IPancakePairSession) Price1CumulativeLast() (*big.Int, error)

Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.

Solidity: function price1CumulativeLast() view returns(uint256)

func (*IPancakePairSession) Skim

func (_IPancakePair *IPancakePairSession) Skim(to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*IPancakePairSession) Swap

func (_IPancakePair *IPancakePairSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*IPancakePairSession) Symbol

func (_IPancakePair *IPancakePairSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() pure returns(string)

func (*IPancakePairSession) Sync

func (_IPancakePair *IPancakePairSession) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*IPancakePairSession) Token0

func (_IPancakePair *IPancakePairSession) Token0() (common.Address, error)

Token0 is a free data retrieval call binding the contract method 0x0dfe1681.

Solidity: function token0() view returns(address)

func (*IPancakePairSession) Token1

func (_IPancakePair *IPancakePairSession) Token1() (common.Address, error)

Token1 is a free data retrieval call binding the contract method 0xd21220a7.

Solidity: function token1() view returns(address)

func (*IPancakePairSession) TotalSupply

func (_IPancakePair *IPancakePairSession) TotalSupply() (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

func (*IPancakePairSession) Transfer

func (_IPancakePair *IPancakePairSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IPancakePairSession) TransferFrom

func (_IPancakePair *IPancakePairSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IPancakePairSwap

type IPancakePairSwap struct {
	Sender     common.Address
	Amount0In  *big.Int
	Amount1In  *big.Int
	Amount0Out *big.Int
	Amount1Out *big.Int
	To         common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

IPancakePairSwap represents a Swap event raised by the IPancakePair contract.

type IPancakePairSwapIterator

type IPancakePairSwapIterator struct {
	Event *IPancakePairSwap // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IPancakePairSwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the IPancakePair contract.

func (*IPancakePairSwapIterator) Close

func (it *IPancakePairSwapIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IPancakePairSwapIterator) Error

func (it *IPancakePairSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IPancakePairSwapIterator) Next

func (it *IPancakePairSwapIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IPancakePairSync

type IPancakePairSync struct {
	Reserve0 *big.Int
	Reserve1 *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

IPancakePairSync represents a Sync event raised by the IPancakePair contract.

type IPancakePairSyncIterator

type IPancakePairSyncIterator struct {
	Event *IPancakePairSync // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IPancakePairSyncIterator is returned from FilterSync and is used to iterate over the raw logs and unpacked data for Sync events raised by the IPancakePair contract.

func (*IPancakePairSyncIterator) Close

func (it *IPancakePairSyncIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IPancakePairSyncIterator) Error

func (it *IPancakePairSyncIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IPancakePairSyncIterator) Next

func (it *IPancakePairSyncIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IPancakePairTransactor

type IPancakePairTransactor struct {
	// contains filtered or unexported fields
}

IPancakePairTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewIPancakePairTransactor

func NewIPancakePairTransactor(address common.Address, transactor bind.ContractTransactor) (*IPancakePairTransactor, error)

NewIPancakePairTransactor creates a new write-only instance of IPancakePair, bound to a specific deployed contract.

func (*IPancakePairTransactor) Approve

func (_IPancakePair *IPancakePairTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*IPancakePairTransactor) Burn

func (_IPancakePair *IPancakePairTransactor) Burn(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x89afcb44.

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*IPancakePairTransactor) Initialize

func (_IPancakePair *IPancakePairTransactor) Initialize(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address , address ) returns()

func (*IPancakePairTransactor) Mint

func (_IPancakePair *IPancakePairTransactor) Mint(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address to) returns(uint256 liquidity)

func (*IPancakePairTransactor) Permit

func (_IPancakePair *IPancakePairTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*IPancakePairTransactor) Skim

func (_IPancakePair *IPancakePairTransactor) Skim(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*IPancakePairTransactor) Swap

func (_IPancakePair *IPancakePairTransactor) Swap(opts *bind.TransactOpts, amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*IPancakePairTransactor) Sync

func (_IPancakePair *IPancakePairTransactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*IPancakePairTransactor) Transfer

func (_IPancakePair *IPancakePairTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IPancakePairTransactor) TransferFrom

func (_IPancakePair *IPancakePairTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IPancakePairTransactorRaw

type IPancakePairTransactorRaw struct {
	Contract *IPancakePairTransactor // Generic write-only contract binding to access the raw methods on
}

IPancakePairTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*IPancakePairTransactorRaw) Transact

func (_IPancakePair *IPancakePairTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IPancakePairTransactorRaw) Transfer

func (_IPancakePair *IPancakePairTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IPancakePairTransactorSession

type IPancakePairTransactorSession struct {
	Contract     *IPancakePairTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

IPancakePairTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*IPancakePairTransactorSession) Approve

func (_IPancakePair *IPancakePairTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*IPancakePairTransactorSession) Burn

func (_IPancakePair *IPancakePairTransactorSession) Burn(to common.Address) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x89afcb44.

Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)

func (*IPancakePairTransactorSession) Initialize

func (_IPancakePair *IPancakePairTransactorSession) Initialize(arg0 common.Address, arg1 common.Address) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0x485cc955.

Solidity: function initialize(address , address ) returns()

func (*IPancakePairTransactorSession) Mint

func (_IPancakePair *IPancakePairTransactorSession) Mint(to common.Address) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x6a627842.

Solidity: function mint(address to) returns(uint256 liquidity)

func (*IPancakePairTransactorSession) Permit

func (_IPancakePair *IPancakePairTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*IPancakePairTransactorSession) Skim

func (_IPancakePair *IPancakePairTransactorSession) Skim(to common.Address) (*types.Transaction, error)

Skim is a paid mutator transaction binding the contract method 0xbc25cf77.

Solidity: function skim(address to) returns()

func (*IPancakePairTransactorSession) Swap

func (_IPancakePair *IPancakePairTransactorSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x022c0d9f.

Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()

func (*IPancakePairTransactorSession) Sync

func (_IPancakePair *IPancakePairTransactorSession) Sync() (*types.Transaction, error)

Sync is a paid mutator transaction binding the contract method 0xfff6cae9.

Solidity: function sync() returns()

func (*IPancakePairTransactorSession) Transfer

func (_IPancakePair *IPancakePairTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IPancakePairTransactorSession) TransferFrom

func (_IPancakePair *IPancakePairTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)

type IPancakePairTransfer

type IPancakePairTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

IPancakePairTransfer represents a Transfer event raised by the IPancakePair contract.

type IPancakePairTransferIterator

type IPancakePairTransferIterator struct {
	Event *IPancakePairTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

IPancakePairTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the IPancakePair contract.

func (*IPancakePairTransferIterator) Close

func (it *IPancakePairTransferIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*IPancakePairTransferIterator) Error

func (it *IPancakePairTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*IPancakePairTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type IPancakeRouter01

type IPancakeRouter01 struct {
	IPancakeRouter01Caller     // Read-only binding to the contract
	IPancakeRouter01Transactor // Write-only binding to the contract
	IPancakeRouter01Filterer   // Log filterer for contract events
}

IPancakeRouter01 is an auto generated Go binding around an Ethereum contract.

func NewIPancakeRouter01

func NewIPancakeRouter01(address common.Address, backend bind.ContractBackend) (*IPancakeRouter01, error)

NewIPancakeRouter01 creates a new instance of IPancakeRouter01, bound to a specific deployed contract.

type IPancakeRouter01Caller

type IPancakeRouter01Caller struct {
	// contains filtered or unexported fields
}

IPancakeRouter01Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewIPancakeRouter01Caller

func NewIPancakeRouter01Caller(address common.Address, caller bind.ContractCaller) (*IPancakeRouter01Caller, error)

NewIPancakeRouter01Caller creates a new read-only instance of IPancakeRouter01, bound to a specific deployed contract.

func (*IPancakeRouter01Caller) Factory

func (_IPancakeRouter01 *IPancakeRouter01Caller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() pure returns(address)

func (*IPancakeRouter01Caller) GetAmountIn

func (_IPancakeRouter01 *IPancakeRouter01Caller) GetAmountIn(opts *bind.CallOpts, amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*IPancakeRouter01Caller) GetAmountOut

func (_IPancakeRouter01 *IPancakeRouter01Caller) GetAmountOut(opts *bind.CallOpts, amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*IPancakeRouter01Caller) Quote

func (_IPancakeRouter01 *IPancakeRouter01Caller) Quote(opts *bind.CallOpts, amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*IPancakeRouter01Caller) WETH

func (_IPancakeRouter01 *IPancakeRouter01Caller) WETH(opts *bind.CallOpts) (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() pure returns(address)

type IPancakeRouter01CallerRaw

type IPancakeRouter01CallerRaw struct {
	Contract *IPancakeRouter01Caller // Generic read-only contract binding to access the raw methods on
}

IPancakeRouter01CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*IPancakeRouter01CallerRaw) Call

func (_IPancakeRouter01 *IPancakeRouter01CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type IPancakeRouter01CallerSession

type IPancakeRouter01CallerSession struct {
	Contract *IPancakeRouter01Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts           // Call options to use throughout this session
}

IPancakeRouter01CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*IPancakeRouter01CallerSession) Factory

func (_IPancakeRouter01 *IPancakeRouter01CallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() pure returns(address)

func (*IPancakeRouter01CallerSession) GetAmountIn

func (_IPancakeRouter01 *IPancakeRouter01CallerSession) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*IPancakeRouter01CallerSession) GetAmountOut

func (_IPancakeRouter01 *IPancakeRouter01CallerSession) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*IPancakeRouter01CallerSession) Quote

func (_IPancakeRouter01 *IPancakeRouter01CallerSession) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*IPancakeRouter01CallerSession) WETH

func (_IPancakeRouter01 *IPancakeRouter01CallerSession) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() pure returns(address)

type IPancakeRouter01Filterer

type IPancakeRouter01Filterer struct {
	// contains filtered or unexported fields
}

IPancakeRouter01Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewIPancakeRouter01Filterer

func NewIPancakeRouter01Filterer(address common.Address, filterer bind.ContractFilterer) (*IPancakeRouter01Filterer, error)

NewIPancakeRouter01Filterer creates a new log filterer instance of IPancakeRouter01, bound to a specific deployed contract.

type IPancakeRouter01Raw

type IPancakeRouter01Raw struct {
	Contract *IPancakeRouter01 // Generic contract binding to access the raw methods on
}

IPancakeRouter01Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*IPancakeRouter01Raw) Call

func (_IPancakeRouter01 *IPancakeRouter01Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*IPancakeRouter01Raw) Transact

func (_IPancakeRouter01 *IPancakeRouter01Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IPancakeRouter01Raw) Transfer

func (_IPancakeRouter01 *IPancakeRouter01Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IPancakeRouter01Session

type IPancakeRouter01Session struct {
	Contract     *IPancakeRouter01 // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

IPancakeRouter01Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*IPancakeRouter01Session) AddLiquidity

func (_IPancakeRouter01 *IPancakeRouter01Session) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*IPancakeRouter01Session) AddLiquidityETH

func (_IPancakeRouter01 *IPancakeRouter01Session) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*IPancakeRouter01Session) Factory

func (_IPancakeRouter01 *IPancakeRouter01Session) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() pure returns(address)

func (*IPancakeRouter01Session) GetAmountIn

func (_IPancakeRouter01 *IPancakeRouter01Session) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*IPancakeRouter01Session) GetAmountOut

func (_IPancakeRouter01 *IPancakeRouter01Session) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*IPancakeRouter01Session) GetAmountsIn

func (_IPancakeRouter01 *IPancakeRouter01Session) GetAmountsIn(amountOut *big.Int, path []common.Address) (*types.Transaction, error)

GetAmountsIn is a paid mutator transaction binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) returns(uint256[] amounts)

func (*IPancakeRouter01Session) GetAmountsOut

func (_IPancakeRouter01 *IPancakeRouter01Session) GetAmountsOut(amountIn *big.Int, path []common.Address) (*types.Transaction, error)

GetAmountsOut is a paid mutator transaction binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) returns(uint256[] amounts)

func (*IPancakeRouter01Session) Quote

func (_IPancakeRouter01 *IPancakeRouter01Session) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*IPancakeRouter01Session) RemoveLiquidity

func (_IPancakeRouter01 *IPancakeRouter01Session) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*IPancakeRouter01Session) RemoveLiquidityETH

func (_IPancakeRouter01 *IPancakeRouter01Session) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*IPancakeRouter01Session) RemoveLiquidityETHWithPermit

func (_IPancakeRouter01 *IPancakeRouter01Session) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*IPancakeRouter01Session) RemoveLiquidityWithPermit

func (_IPancakeRouter01 *IPancakeRouter01Session) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*IPancakeRouter01Session) SwapETHForExactTokens

func (_IPancakeRouter01 *IPancakeRouter01Session) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IPancakeRouter01Session) SwapExactETHForTokens

func (_IPancakeRouter01 *IPancakeRouter01Session) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IPancakeRouter01Session) SwapExactTokensForETH

func (_IPancakeRouter01 *IPancakeRouter01Session) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter01Session) SwapExactTokensForTokens

func (_IPancakeRouter01 *IPancakeRouter01Session) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter01Session) SwapTokensForExactETH

func (_IPancakeRouter01 *IPancakeRouter01Session) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter01Session) SwapTokensForExactTokens

func (_IPancakeRouter01 *IPancakeRouter01Session) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter01Session) WETH

func (_IPancakeRouter01 *IPancakeRouter01Session) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() pure returns(address)

type IPancakeRouter01Transactor

type IPancakeRouter01Transactor struct {
	// contains filtered or unexported fields
}

IPancakeRouter01Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewIPancakeRouter01Transactor

func NewIPancakeRouter01Transactor(address common.Address, transactor bind.ContractTransactor) (*IPancakeRouter01Transactor, error)

NewIPancakeRouter01Transactor creates a new write-only instance of IPancakeRouter01, bound to a specific deployed contract.

func (*IPancakeRouter01Transactor) AddLiquidity

func (_IPancakeRouter01 *IPancakeRouter01Transactor) AddLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*IPancakeRouter01Transactor) AddLiquidityETH

func (_IPancakeRouter01 *IPancakeRouter01Transactor) AddLiquidityETH(opts *bind.TransactOpts, token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*IPancakeRouter01Transactor) GetAmountsIn

func (_IPancakeRouter01 *IPancakeRouter01Transactor) GetAmountsIn(opts *bind.TransactOpts, amountOut *big.Int, path []common.Address) (*types.Transaction, error)

GetAmountsIn is a paid mutator transaction binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) returns(uint256[] amounts)

func (*IPancakeRouter01Transactor) GetAmountsOut

func (_IPancakeRouter01 *IPancakeRouter01Transactor) GetAmountsOut(opts *bind.TransactOpts, amountIn *big.Int, path []common.Address) (*types.Transaction, error)

GetAmountsOut is a paid mutator transaction binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) returns(uint256[] amounts)

func (*IPancakeRouter01Transactor) RemoveLiquidity

func (_IPancakeRouter01 *IPancakeRouter01Transactor) RemoveLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*IPancakeRouter01Transactor) RemoveLiquidityETH

func (_IPancakeRouter01 *IPancakeRouter01Transactor) RemoveLiquidityETH(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*IPancakeRouter01Transactor) RemoveLiquidityETHWithPermit

func (_IPancakeRouter01 *IPancakeRouter01Transactor) RemoveLiquidityETHWithPermit(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*IPancakeRouter01Transactor) RemoveLiquidityWithPermit

func (_IPancakeRouter01 *IPancakeRouter01Transactor) RemoveLiquidityWithPermit(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*IPancakeRouter01Transactor) SwapETHForExactTokens

func (_IPancakeRouter01 *IPancakeRouter01Transactor) SwapETHForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IPancakeRouter01Transactor) SwapExactETHForTokens

func (_IPancakeRouter01 *IPancakeRouter01Transactor) SwapExactETHForTokens(opts *bind.TransactOpts, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IPancakeRouter01Transactor) SwapExactTokensForETH

func (_IPancakeRouter01 *IPancakeRouter01Transactor) SwapExactTokensForETH(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter01Transactor) SwapExactTokensForTokens

func (_IPancakeRouter01 *IPancakeRouter01Transactor) SwapExactTokensForTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter01Transactor) SwapTokensForExactETH

func (_IPancakeRouter01 *IPancakeRouter01Transactor) SwapTokensForExactETH(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter01Transactor) SwapTokensForExactTokens

func (_IPancakeRouter01 *IPancakeRouter01Transactor) SwapTokensForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

type IPancakeRouter01TransactorRaw

type IPancakeRouter01TransactorRaw struct {
	Contract *IPancakeRouter01Transactor // Generic write-only contract binding to access the raw methods on
}

IPancakeRouter01TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*IPancakeRouter01TransactorRaw) Transact

func (_IPancakeRouter01 *IPancakeRouter01TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IPancakeRouter01TransactorRaw) Transfer

func (_IPancakeRouter01 *IPancakeRouter01TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IPancakeRouter01TransactorSession

type IPancakeRouter01TransactorSession struct {
	Contract     *IPancakeRouter01Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts           // Transaction auth options to use throughout this session
}

IPancakeRouter01TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*IPancakeRouter01TransactorSession) AddLiquidity

func (_IPancakeRouter01 *IPancakeRouter01TransactorSession) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*IPancakeRouter01TransactorSession) AddLiquidityETH

func (_IPancakeRouter01 *IPancakeRouter01TransactorSession) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*IPancakeRouter01TransactorSession) GetAmountsIn

func (_IPancakeRouter01 *IPancakeRouter01TransactorSession) GetAmountsIn(amountOut *big.Int, path []common.Address) (*types.Transaction, error)

GetAmountsIn is a paid mutator transaction binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) returns(uint256[] amounts)

func (*IPancakeRouter01TransactorSession) GetAmountsOut

func (_IPancakeRouter01 *IPancakeRouter01TransactorSession) GetAmountsOut(amountIn *big.Int, path []common.Address) (*types.Transaction, error)

GetAmountsOut is a paid mutator transaction binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) returns(uint256[] amounts)

func (*IPancakeRouter01TransactorSession) RemoveLiquidity

func (_IPancakeRouter01 *IPancakeRouter01TransactorSession) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*IPancakeRouter01TransactorSession) RemoveLiquidityETH

func (_IPancakeRouter01 *IPancakeRouter01TransactorSession) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*IPancakeRouter01TransactorSession) RemoveLiquidityETHWithPermit

func (_IPancakeRouter01 *IPancakeRouter01TransactorSession) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*IPancakeRouter01TransactorSession) RemoveLiquidityWithPermit

func (_IPancakeRouter01 *IPancakeRouter01TransactorSession) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*IPancakeRouter01TransactorSession) SwapETHForExactTokens

func (_IPancakeRouter01 *IPancakeRouter01TransactorSession) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IPancakeRouter01TransactorSession) SwapExactETHForTokens

func (_IPancakeRouter01 *IPancakeRouter01TransactorSession) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IPancakeRouter01TransactorSession) SwapExactTokensForETH

func (_IPancakeRouter01 *IPancakeRouter01TransactorSession) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter01TransactorSession) SwapExactTokensForTokens

func (_IPancakeRouter01 *IPancakeRouter01TransactorSession) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter01TransactorSession) SwapTokensForExactETH

func (_IPancakeRouter01 *IPancakeRouter01TransactorSession) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter01TransactorSession) SwapTokensForExactTokens

func (_IPancakeRouter01 *IPancakeRouter01TransactorSession) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

type IPancakeRouter02

type IPancakeRouter02 struct {
	IPancakeRouter02Caller     // Read-only binding to the contract
	IPancakeRouter02Transactor // Write-only binding to the contract
	IPancakeRouter02Filterer   // Log filterer for contract events
}

IPancakeRouter02 is an auto generated Go binding around an Ethereum contract.

func NewIPancakeRouter02

func NewIPancakeRouter02(address common.Address, backend bind.ContractBackend) (*IPancakeRouter02, error)

NewIPancakeRouter02 creates a new instance of IPancakeRouter02, bound to a specific deployed contract.

type IPancakeRouter02Caller

type IPancakeRouter02Caller struct {
	// contains filtered or unexported fields
}

IPancakeRouter02Caller is an auto generated read-only Go binding around an Ethereum contract.

func NewIPancakeRouter02Caller

func NewIPancakeRouter02Caller(address common.Address, caller bind.ContractCaller) (*IPancakeRouter02Caller, error)

NewIPancakeRouter02Caller creates a new read-only instance of IPancakeRouter02, bound to a specific deployed contract.

func (*IPancakeRouter02Caller) Factory

func (_IPancakeRouter02 *IPancakeRouter02Caller) Factory(opts *bind.CallOpts) (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() pure returns(address)

func (*IPancakeRouter02Caller) GetAmountIn

func (_IPancakeRouter02 *IPancakeRouter02Caller) GetAmountIn(opts *bind.CallOpts, amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*IPancakeRouter02Caller) GetAmountOut

func (_IPancakeRouter02 *IPancakeRouter02Caller) GetAmountOut(opts *bind.CallOpts, amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*IPancakeRouter02Caller) Quote

func (_IPancakeRouter02 *IPancakeRouter02Caller) Quote(opts *bind.CallOpts, amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*IPancakeRouter02Caller) WETH

func (_IPancakeRouter02 *IPancakeRouter02Caller) WETH(opts *bind.CallOpts) (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() pure returns(address)

type IPancakeRouter02CallerRaw

type IPancakeRouter02CallerRaw struct {
	Contract *IPancakeRouter02Caller // Generic read-only contract binding to access the raw methods on
}

IPancakeRouter02CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*IPancakeRouter02CallerRaw) Call

func (_IPancakeRouter02 *IPancakeRouter02CallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type IPancakeRouter02CallerSession

type IPancakeRouter02CallerSession struct {
	Contract *IPancakeRouter02Caller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts           // Call options to use throughout this session
}

IPancakeRouter02CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*IPancakeRouter02CallerSession) Factory

func (_IPancakeRouter02 *IPancakeRouter02CallerSession) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() pure returns(address)

func (*IPancakeRouter02CallerSession) GetAmountIn

func (_IPancakeRouter02 *IPancakeRouter02CallerSession) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*IPancakeRouter02CallerSession) GetAmountOut

func (_IPancakeRouter02 *IPancakeRouter02CallerSession) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*IPancakeRouter02CallerSession) Quote

func (_IPancakeRouter02 *IPancakeRouter02CallerSession) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*IPancakeRouter02CallerSession) WETH

func (_IPancakeRouter02 *IPancakeRouter02CallerSession) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() pure returns(address)

type IPancakeRouter02Filterer

type IPancakeRouter02Filterer struct {
	// contains filtered or unexported fields
}

IPancakeRouter02Filterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewIPancakeRouter02Filterer

func NewIPancakeRouter02Filterer(address common.Address, filterer bind.ContractFilterer) (*IPancakeRouter02Filterer, error)

NewIPancakeRouter02Filterer creates a new log filterer instance of IPancakeRouter02, bound to a specific deployed contract.

type IPancakeRouter02Raw

type IPancakeRouter02Raw struct {
	Contract *IPancakeRouter02 // Generic contract binding to access the raw methods on
}

IPancakeRouter02Raw is an auto generated low-level Go binding around an Ethereum contract.

func (*IPancakeRouter02Raw) Call

func (_IPancakeRouter02 *IPancakeRouter02Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*IPancakeRouter02Raw) Transact

func (_IPancakeRouter02 *IPancakeRouter02Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IPancakeRouter02Raw) Transfer

func (_IPancakeRouter02 *IPancakeRouter02Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IPancakeRouter02Session

type IPancakeRouter02Session struct {
	Contract     *IPancakeRouter02 // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

IPancakeRouter02Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*IPancakeRouter02Session) AddLiquidity

func (_IPancakeRouter02 *IPancakeRouter02Session) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*IPancakeRouter02Session) AddLiquidityETH

func (_IPancakeRouter02 *IPancakeRouter02Session) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*IPancakeRouter02Session) Factory

func (_IPancakeRouter02 *IPancakeRouter02Session) Factory() (common.Address, error)

Factory is a free data retrieval call binding the contract method 0xc45a0155.

Solidity: function factory() pure returns(address)

func (*IPancakeRouter02Session) GetAmountIn

func (_IPancakeRouter02 *IPancakeRouter02Session) GetAmountIn(amountOut *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountIn is a free data retrieval call binding the contract method 0x85f8c259.

Solidity: function getAmountIn(uint256 amountOut, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountIn)

func (*IPancakeRouter02Session) GetAmountOut

func (_IPancakeRouter02 *IPancakeRouter02Session) GetAmountOut(amountIn *big.Int, reserveIn *big.Int, reserveOut *big.Int) (*big.Int, error)

GetAmountOut is a free data retrieval call binding the contract method 0x054d50d4.

Solidity: function getAmountOut(uint256 amountIn, uint256 reserveIn, uint256 reserveOut) pure returns(uint256 amountOut)

func (*IPancakeRouter02Session) GetAmountsIn

func (_IPancakeRouter02 *IPancakeRouter02Session) GetAmountsIn(amountOut *big.Int, path []common.Address) (*types.Transaction, error)

GetAmountsIn is a paid mutator transaction binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) returns(uint256[] amounts)

func (*IPancakeRouter02Session) GetAmountsOut

func (_IPancakeRouter02 *IPancakeRouter02Session) GetAmountsOut(amountIn *big.Int, path []common.Address) (*types.Transaction, error)

GetAmountsOut is a paid mutator transaction binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) returns(uint256[] amounts)

func (*IPancakeRouter02Session) Quote

func (_IPancakeRouter02 *IPancakeRouter02Session) Quote(amountA *big.Int, reserveA *big.Int, reserveB *big.Int) (*big.Int, error)

Quote is a free data retrieval call binding the contract method 0xad615dec.

Solidity: function quote(uint256 amountA, uint256 reserveA, uint256 reserveB) pure returns(uint256 amountB)

func (*IPancakeRouter02Session) RemoveLiquidity

func (_IPancakeRouter02 *IPancakeRouter02Session) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*IPancakeRouter02Session) RemoveLiquidityETH

func (_IPancakeRouter02 *IPancakeRouter02Session) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*IPancakeRouter02Session) RemoveLiquidityETHSupportingFeeOnTransferTokens

func (_IPancakeRouter02 *IPancakeRouter02Session) RemoveLiquidityETHSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.

Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)

func (*IPancakeRouter02Session) RemoveLiquidityETHWithPermit

func (_IPancakeRouter02 *IPancakeRouter02Session) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*IPancakeRouter02Session) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens

func (_IPancakeRouter02 *IPancakeRouter02Session) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.

Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)

func (*IPancakeRouter02Session) RemoveLiquidityWithPermit

func (_IPancakeRouter02 *IPancakeRouter02Session) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*IPancakeRouter02Session) SwapETHForExactTokens

func (_IPancakeRouter02 *IPancakeRouter02Session) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IPancakeRouter02Session) SwapExactETHForTokens

func (_IPancakeRouter02 *IPancakeRouter02Session) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IPancakeRouter02Session) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_IPancakeRouter02 *IPancakeRouter02Session) SwapExactETHForTokensSupportingFeeOnTransferTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.

Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()

func (*IPancakeRouter02Session) SwapExactTokensForETH

func (_IPancakeRouter02 *IPancakeRouter02Session) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter02Session) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_IPancakeRouter02 *IPancakeRouter02Session) SwapExactTokensForETHSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.

Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*IPancakeRouter02Session) SwapExactTokensForTokens

func (_IPancakeRouter02 *IPancakeRouter02Session) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter02Session) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_IPancakeRouter02 *IPancakeRouter02Session) SwapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.

Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*IPancakeRouter02Session) SwapTokensForExactETH

func (_IPancakeRouter02 *IPancakeRouter02Session) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter02Session) SwapTokensForExactTokens

func (_IPancakeRouter02 *IPancakeRouter02Session) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter02Session) WETH

func (_IPancakeRouter02 *IPancakeRouter02Session) WETH() (common.Address, error)

WETH is a free data retrieval call binding the contract method 0xad5c4648.

Solidity: function WETH() pure returns(address)

type IPancakeRouter02Transactor

type IPancakeRouter02Transactor struct {
	// contains filtered or unexported fields
}

IPancakeRouter02Transactor is an auto generated write-only Go binding around an Ethereum contract.

func NewIPancakeRouter02Transactor

func NewIPancakeRouter02Transactor(address common.Address, transactor bind.ContractTransactor) (*IPancakeRouter02Transactor, error)

NewIPancakeRouter02Transactor creates a new write-only instance of IPancakeRouter02, bound to a specific deployed contract.

func (*IPancakeRouter02Transactor) AddLiquidity

func (_IPancakeRouter02 *IPancakeRouter02Transactor) AddLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*IPancakeRouter02Transactor) AddLiquidityETH

func (_IPancakeRouter02 *IPancakeRouter02Transactor) AddLiquidityETH(opts *bind.TransactOpts, token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*IPancakeRouter02Transactor) GetAmountsIn

func (_IPancakeRouter02 *IPancakeRouter02Transactor) GetAmountsIn(opts *bind.TransactOpts, amountOut *big.Int, path []common.Address) (*types.Transaction, error)

GetAmountsIn is a paid mutator transaction binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) returns(uint256[] amounts)

func (*IPancakeRouter02Transactor) GetAmountsOut

func (_IPancakeRouter02 *IPancakeRouter02Transactor) GetAmountsOut(opts *bind.TransactOpts, amountIn *big.Int, path []common.Address) (*types.Transaction, error)

GetAmountsOut is a paid mutator transaction binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) returns(uint256[] amounts)

func (*IPancakeRouter02Transactor) RemoveLiquidity

func (_IPancakeRouter02 *IPancakeRouter02Transactor) RemoveLiquidity(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*IPancakeRouter02Transactor) RemoveLiquidityETH

func (_IPancakeRouter02 *IPancakeRouter02Transactor) RemoveLiquidityETH(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*IPancakeRouter02Transactor) RemoveLiquidityETHSupportingFeeOnTransferTokens

func (_IPancakeRouter02 *IPancakeRouter02Transactor) RemoveLiquidityETHSupportingFeeOnTransferTokens(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.

Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)

func (*IPancakeRouter02Transactor) RemoveLiquidityETHWithPermit

func (_IPancakeRouter02 *IPancakeRouter02Transactor) RemoveLiquidityETHWithPermit(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*IPancakeRouter02Transactor) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens

func (_IPancakeRouter02 *IPancakeRouter02Transactor) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(opts *bind.TransactOpts, token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.

Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)

func (*IPancakeRouter02Transactor) RemoveLiquidityWithPermit

func (_IPancakeRouter02 *IPancakeRouter02Transactor) RemoveLiquidityWithPermit(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*IPancakeRouter02Transactor) SwapETHForExactTokens

func (_IPancakeRouter02 *IPancakeRouter02Transactor) SwapETHForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IPancakeRouter02Transactor) SwapExactETHForTokens

func (_IPancakeRouter02 *IPancakeRouter02Transactor) SwapExactETHForTokens(opts *bind.TransactOpts, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IPancakeRouter02Transactor) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_IPancakeRouter02 *IPancakeRouter02Transactor) SwapExactETHForTokensSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.

Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()

func (*IPancakeRouter02Transactor) SwapExactTokensForETH

func (_IPancakeRouter02 *IPancakeRouter02Transactor) SwapExactTokensForETH(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter02Transactor) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_IPancakeRouter02 *IPancakeRouter02Transactor) SwapExactTokensForETHSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.

Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*IPancakeRouter02Transactor) SwapExactTokensForTokens

func (_IPancakeRouter02 *IPancakeRouter02Transactor) SwapExactTokensForTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter02Transactor) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_IPancakeRouter02 *IPancakeRouter02Transactor) SwapExactTokensForTokensSupportingFeeOnTransferTokens(opts *bind.TransactOpts, amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.

Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*IPancakeRouter02Transactor) SwapTokensForExactETH

func (_IPancakeRouter02 *IPancakeRouter02Transactor) SwapTokensForExactETH(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter02Transactor) SwapTokensForExactTokens

func (_IPancakeRouter02 *IPancakeRouter02Transactor) SwapTokensForExactTokens(opts *bind.TransactOpts, amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

type IPancakeRouter02TransactorRaw

type IPancakeRouter02TransactorRaw struct {
	Contract *IPancakeRouter02Transactor // Generic write-only contract binding to access the raw methods on
}

IPancakeRouter02TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*IPancakeRouter02TransactorRaw) Transact

func (_IPancakeRouter02 *IPancakeRouter02TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IPancakeRouter02TransactorRaw) Transfer

func (_IPancakeRouter02 *IPancakeRouter02TransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IPancakeRouter02TransactorSession

type IPancakeRouter02TransactorSession struct {
	Contract     *IPancakeRouter02Transactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts           // Transaction auth options to use throughout this session
}

IPancakeRouter02TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*IPancakeRouter02TransactorSession) AddLiquidity

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) AddLiquidity(tokenA common.Address, tokenB common.Address, amountADesired *big.Int, amountBDesired *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidity is a paid mutator transaction binding the contract method 0xe8e33700.

Solidity: function addLiquidity(address tokenA, address tokenB, uint256 amountADesired, uint256 amountBDesired, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB, uint256 liquidity)

func (*IPancakeRouter02TransactorSession) AddLiquidityETH

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) AddLiquidityETH(token common.Address, amountTokenDesired *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

AddLiquidityETH is a paid mutator transaction binding the contract method 0xf305d719.

Solidity: function addLiquidityETH(address token, uint256 amountTokenDesired, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) payable returns(uint256 amountToken, uint256 amountETH, uint256 liquidity)

func (*IPancakeRouter02TransactorSession) GetAmountsIn

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) GetAmountsIn(amountOut *big.Int, path []common.Address) (*types.Transaction, error)

GetAmountsIn is a paid mutator transaction binding the contract method 0x1f00ca74.

Solidity: function getAmountsIn(uint256 amountOut, address[] path) returns(uint256[] amounts)

func (*IPancakeRouter02TransactorSession) GetAmountsOut

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) GetAmountsOut(amountIn *big.Int, path []common.Address) (*types.Transaction, error)

GetAmountsOut is a paid mutator transaction binding the contract method 0xd06ca61f.

Solidity: function getAmountsOut(uint256 amountIn, address[] path) returns(uint256[] amounts)

func (*IPancakeRouter02TransactorSession) RemoveLiquidity

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) RemoveLiquidity(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidity is a paid mutator transaction binding the contract method 0xbaa2abde.

Solidity: function removeLiquidity(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline) returns(uint256 amountA, uint256 amountB)

func (*IPancakeRouter02TransactorSession) RemoveLiquidityETH

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) RemoveLiquidityETH(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETH is a paid mutator transaction binding the contract method 0x02751cec.

Solidity: function removeLiquidityETH(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountToken, uint256 amountETH)

func (*IPancakeRouter02TransactorSession) RemoveLiquidityETHSupportingFeeOnTransferTokens

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) RemoveLiquidityETHSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int) (*types.Transaction, error)

RemoveLiquidityETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xaf2979eb.

Solidity: function removeLiquidityETHSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline) returns(uint256 amountETH)

func (*IPancakeRouter02TransactorSession) RemoveLiquidityETHWithPermit

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) RemoveLiquidityETHWithPermit(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermit is a paid mutator transaction binding the contract method 0xded9382a.

Solidity: function removeLiquidityETHWithPermit(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountToken, uint256 amountETH)

func (*IPancakeRouter02TransactorSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens(token common.Address, liquidity *big.Int, amountTokenMin *big.Int, amountETHMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityETHWithPermitSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5b0d5984.

Solidity: function removeLiquidityETHWithPermitSupportingFeeOnTransferTokens(address token, uint256 liquidity, uint256 amountTokenMin, uint256 amountETHMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountETH)

func (*IPancakeRouter02TransactorSession) RemoveLiquidityWithPermit

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) RemoveLiquidityWithPermit(tokenA common.Address, tokenB common.Address, liquidity *big.Int, amountAMin *big.Int, amountBMin *big.Int, to common.Address, deadline *big.Int, approveMax bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

RemoveLiquidityWithPermit is a paid mutator transaction binding the contract method 0x2195995c.

Solidity: function removeLiquidityWithPermit(address tokenA, address tokenB, uint256 liquidity, uint256 amountAMin, uint256 amountBMin, address to, uint256 deadline, bool approveMax, uint8 v, bytes32 r, bytes32 s) returns(uint256 amountA, uint256 amountB)

func (*IPancakeRouter02TransactorSession) SwapETHForExactTokens

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) SwapETHForExactTokens(amountOut *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapETHForExactTokens is a paid mutator transaction binding the contract method 0xfb3bdb41.

Solidity: function swapETHForExactTokens(uint256 amountOut, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IPancakeRouter02TransactorSession) SwapExactETHForTokens

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) SwapExactETHForTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokens is a paid mutator transaction binding the contract method 0x7ff36ab5.

Solidity: function swapExactETHForTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns(uint256[] amounts)

func (*IPancakeRouter02TransactorSession) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) SwapExactETHForTokensSupportingFeeOnTransferTokens(amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactETHForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0xb6f9de95.

Solidity: function swapExactETHForTokensSupportingFeeOnTransferTokens(uint256 amountOutMin, address[] path, address to, uint256 deadline) payable returns()

func (*IPancakeRouter02TransactorSession) SwapExactTokensForETH

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) SwapExactTokensForETH(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETH is a paid mutator transaction binding the contract method 0x18cbafe5.

Solidity: function swapExactTokensForETH(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter02TransactorSession) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) SwapExactTokensForETHSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForETHSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x791ac947.

Solidity: function swapExactTokensForETHSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*IPancakeRouter02TransactorSession) SwapExactTokensForTokens

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) SwapExactTokensForTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokens is a paid mutator transaction binding the contract method 0x38ed1739.

Solidity: function swapExactTokensForTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter02TransactorSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens(amountIn *big.Int, amountOutMin *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapExactTokensForTokensSupportingFeeOnTransferTokens is a paid mutator transaction binding the contract method 0x5c11d795.

Solidity: function swapExactTokensForTokensSupportingFeeOnTransferTokens(uint256 amountIn, uint256 amountOutMin, address[] path, address to, uint256 deadline) returns()

func (*IPancakeRouter02TransactorSession) SwapTokensForExactETH

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) SwapTokensForExactETH(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactETH is a paid mutator transaction binding the contract method 0x4a25d94a.

Solidity: function swapTokensForExactETH(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

func (*IPancakeRouter02TransactorSession) SwapTokensForExactTokens

func (_IPancakeRouter02 *IPancakeRouter02TransactorSession) SwapTokensForExactTokens(amountOut *big.Int, amountInMax *big.Int, path []common.Address, to common.Address, deadline *big.Int) (*types.Transaction, error)

SwapTokensForExactTokens is a paid mutator transaction binding the contract method 0x8803dbee.

Solidity: function swapTokensForExactTokens(uint256 amountOut, uint256 amountInMax, address[] path, address to, uint256 deadline) returns(uint256[] amounts)

type IWETH

type IWETH struct {
	IWETHCaller     // Read-only binding to the contract
	IWETHTransactor // Write-only binding to the contract
	IWETHFilterer   // Log filterer for contract events
}

IWETH is an auto generated Go binding around an Ethereum contract.

func NewIWETH

func NewIWETH(address common.Address, backend bind.ContractBackend) (*IWETH, error)

NewIWETH creates a new instance of IWETH, bound to a specific deployed contract.

type IWETHCaller

type IWETHCaller struct {
	// contains filtered or unexported fields
}

IWETHCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewIWETHCaller

func NewIWETHCaller(address common.Address, caller bind.ContractCaller) (*IWETHCaller, error)

NewIWETHCaller creates a new read-only instance of IWETH, bound to a specific deployed contract.

type IWETHCallerRaw

type IWETHCallerRaw struct {
	Contract *IWETHCaller // Generic read-only contract binding to access the raw methods on
}

IWETHCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*IWETHCallerRaw) Call

func (_IWETH *IWETHCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type IWETHCallerSession

type IWETHCallerSession struct {
	Contract *IWETHCaller  // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

IWETHCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

type IWETHFilterer

type IWETHFilterer struct {
	// contains filtered or unexported fields
}

IWETHFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewIWETHFilterer

func NewIWETHFilterer(address common.Address, filterer bind.ContractFilterer) (*IWETHFilterer, error)

NewIWETHFilterer creates a new log filterer instance of IWETH, bound to a specific deployed contract.

type IWETHRaw

type IWETHRaw struct {
	Contract *IWETH // Generic contract binding to access the raw methods on
}

IWETHRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*IWETHRaw) Call

func (_IWETH *IWETHRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*IWETHRaw) Transact

func (_IWETH *IWETHRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IWETHRaw) Transfer

func (_IWETH *IWETHRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IWETHSession

type IWETHSession struct {
	Contract     *IWETH            // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

IWETHSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*IWETHSession) Deposit

func (_IWETH *IWETHSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*IWETHSession) Transfer

func (_IWETH *IWETHSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IWETHSession) Withdraw

func (_IWETH *IWETHSession) Withdraw(arg0 *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 ) returns()

type IWETHTransactor

type IWETHTransactor struct {
	// contains filtered or unexported fields
}

IWETHTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewIWETHTransactor

func NewIWETHTransactor(address common.Address, transactor bind.ContractTransactor) (*IWETHTransactor, error)

NewIWETHTransactor creates a new write-only instance of IWETH, bound to a specific deployed contract.

func (*IWETHTransactor) Deposit

func (_IWETH *IWETHTransactor) Deposit(opts *bind.TransactOpts) (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*IWETHTransactor) Transfer

func (_IWETH *IWETHTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IWETHTransactor) Withdraw

func (_IWETH *IWETHTransactor) Withdraw(opts *bind.TransactOpts, arg0 *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 ) returns()

type IWETHTransactorRaw

type IWETHTransactorRaw struct {
	Contract *IWETHTransactor // Generic write-only contract binding to access the raw methods on
}

IWETHTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*IWETHTransactorRaw) Transact

func (_IWETH *IWETHTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*IWETHTransactorRaw) Transfer

func (_IWETH *IWETHTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type IWETHTransactorSession

type IWETHTransactorSession struct {
	Contract     *IWETHTransactor  // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

IWETHTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*IWETHTransactorSession) Deposit

func (_IWETH *IWETHTransactorSession) Deposit() (*types.Transaction, error)

Deposit is a paid mutator transaction binding the contract method 0xd0e30db0.

Solidity: function deposit() payable returns()

func (*IWETHTransactorSession) Transfer

func (_IWETH *IWETHTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 value) returns(bool)

func (*IWETHTransactorSession) Withdraw

func (_IWETH *IWETHTransactorSession) Withdraw(arg0 *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x2e1a7d4d.

Solidity: function withdraw(uint256 ) returns()

type PancakeLibrary

type PancakeLibrary struct {
	PancakeLibraryCaller     // Read-only binding to the contract
	PancakeLibraryTransactor // Write-only binding to the contract
	PancakeLibraryFilterer   // Log filterer for contract events
}

PancakeLibrary is an auto generated Go binding around an Ethereum contract.

func DeployPancakeLibrary

func DeployPancakeLibrary(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *PancakeLibrary, error)

DeployPancakeLibrary deploys a new Ethereum contract, binding an instance of PancakeLibrary to it.

func NewPancakeLibrary

func NewPancakeLibrary(address common.Address, backend bind.ContractBackend) (*PancakeLibrary, error)

NewPancakeLibrary creates a new instance of PancakeLibrary, bound to a specific deployed contract.

type PancakeLibraryCaller

type PancakeLibraryCaller struct {
	// contains filtered or unexported fields
}

PancakeLibraryCaller is an auto generated read-only Go binding around an Ethereum contract.