pancakeproxy

package
v0.0.0-...-c0e0e34 Latest Latest
Warning

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

Go to latest
Published: Jan 5, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PancakeproxyABI = PancakeproxyMetaData.ABI

PancakeproxyABI is the input ABI used to generate the binding from. Deprecated: Use PancakeproxyMetaData.ABI instead.

View Source
var PancakeproxyBin = PancakeproxyMetaData.Bin

PancakeproxyBin is the compiled bytecode used for deploying new contracts. Deprecated: Use PancakeproxyMetaData.Bin instead.

View Source
var PancakeproxyMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"contractIPancakeRouter02\",\"name\":\"_pancake02\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"ETH_CONTRACT_ADDRESS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MAX\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WBNB_CONTRACT_ADDRESS\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pancakeRouter02\",\"outputs\":[{\"internalType\":\"contractIPancakeRouter02\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"srcQty\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"isNative\",\"type\":\"bool\"}],\"name\":\"trade\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"isNative\",\"type\":\"bool\"}],\"name\":\"tradeTokensSupportingFee\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
	Bin: "0x608060405234801561001057600080fd5b506040516118e03803806118e08339818101604052602081101561003357600080fd5b810190808051906020019092919050505080600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663ad5c46486040518163ffffffff1660e01b815260040160206040518083038186803b1580156100ed57600080fd5b505afa158015610101573d6000803e3d6000fd5b505050506040513d602081101561011757600080fd5b81019080805190602001909291905050506000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050611769806101776000396000f3fe6080604052600436106100595760003560e01c806371e13d241461006557806372e94bf614610139578063c83d788b1461017a578063cd2239fb146101bb578063d49d5181146101fc578063f87485361461022757610060565b3661006057005b600080fd5b610106600480360360a081101561007b57600080fd5b810190808035906020019064010000000081111561009857600080fd5b8201836020820111156100aa57600080fd5b803590602001918460208302840111640100000000831117156100cc57600080fd5b90919293919293908035906020019092919080359060200190929190803590602001909291908035151590602001909291905050506102f1565b604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390f35b34801561014557600080fd5b5061014e610cb9565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561018657600080fd5b5061018f610cbe565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156101c757600080fd5b506101d0610ce4565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561020857600080fd5b50610211610d08565b6040518082815260200191505060405180910390f35b6102be6004803603608081101561023d57600080fd5b810190808035906020019064010000000081111561025a57600080fd5b82018360208201111561026c57600080fd5b8035906020019184602083028401116401000000008311171561028e57600080fd5b90919293919293908035906020019092919080359060200190929190803515159060200190929190505050610d2c565b604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390f35b6000806000888890501161036d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f696e76616c69642070617468000000000000000000000000000000000000000081525060200191505060405180910390fd5b600088889050905060606000803414156109875760008b8b600081811061039057fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff169050898173ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b15801561045757600080fd5b505afa15801561046b573d6000803e3d6000fd5b505050506040513d602081101561048157600080fd5b81019080805190602001909291905050501015610610578073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660006040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561052c57600080fd5b505af1158015610540573d6000803e3d6000fd5b505050508073ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156105f757600080fd5b505af115801561060b573d6000803e3d6000fd5b505050505b866107cb57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166338ed17398b8b8f8f338e6040518763ffffffff1660e01b815260040180878152602001868152602001806020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f820116905080830192505050975050505050505050600060405180830381600087803b1580156106ef57600080fd5b505af1158015610703573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250602081101561072d57600080fd5b810190808051604051939291908464010000000082111561074d57600080fd5b8382019150602082018581111561076357600080fd5b825186602082028301116401000000008211171561078057600080fd5b8083526020830192505050908051906020019060200280838360005b838110156107b757808201518184015260208101905061079c565b505050509050016040525050509250610981565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166318cbafe58b8b8f8f338e6040518763ffffffff1660e01b815260040180878152602001868152602001806020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f820116905080830192505050975050505050505050600060405180830381600087803b1580156108a557600080fd5b505af11580156108b9573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f8201168201806040525060208110156108e357600080fd5b810190808051604051939291908464010000000082111561090357600080fd5b8382019150602082018581111561091957600080fd5b825186602082028301116401000000008211171561093657600080fd5b8083526020830192505050908051906020019060200280838360005b8381101561096d578082015181840152602081019050610952565b505050509050016040525050509250600191505b50610b32565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16637ff36ab58a8a8e8e338d6040518763ffffffff1660e01b815260040180868152602001806020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f82011690508083019250505096505050505050506000604051808303818588803b158015610a5957600080fd5b505af1158015610a6d573d6000803e3d6000fd5b50505050506040513d6000823e3d601f19601f820116820180604052506020811015610a9857600080fd5b8101908080516040519392919084640100000000821115610ab857600080fd5b83820191506020820185811115610ace57600080fd5b8251866020820283011164010000000082111715610aeb57600080fd5b8083526020830192505050908051906020019060200280838360005b83811015610b22578082015181840152602081019050610b07565b5050505090500160405250505091505b600282511015610baa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f696e76616c6964206f7574707574732076616c7565000000000000000000000081525060200191505060405180910390fd5b8782600184510381518110610bbb57fe5b602002602001015110158015610be457508882600081518110610bda57fe5b6020026020010151145b610c56576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f657870656374656420616d6f756e74206e6f742072656163680000000000000081525060200191505060405180910390fd5b80610c8c578a8a60018503818110610c6a57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff16610c8f565b60005b82600184510381518110610c9f57fe5b602002602001015194509450505050965096945050505050565b600081565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81565b60008060008787905011610da8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f696e76616c69642070617468000000000000000000000000000000000000000081525060200191505060405180910390fd5b60008787905090506000803414156112e957600089896000818110610dc957fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b158015610e5157600080fd5b505afa158015610e65573d6000803e3d6000fd5b505050506040513d6020811015610e7b57600080fd5b81019080805190602001909291905050509050808273ffffffffffffffffffffffffffffffffffffffff1663dd62ed3e30600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060206040518083038186803b158015610f3657600080fd5b505afa158015610f4a573d6000803e3d6000fd5b505050506040513d6020811015610f6057600080fd5b810190808051906020019092919050505010156110ef578173ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1660006040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b15801561100b57600080fd5b505af115801561101f573d6000803e3d6000fd5b505050508173ffffffffffffffffffffffffffffffffffffffff1663095ea7b3600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff167fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff6040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156110d657600080fd5b505af11580156110ea573d6000803e3d6000fd5b505050505b866111eb57600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16635c11d795828b8e8e308e6040518763ffffffff1660e01b815260040180878152602001868152602001806020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f820116905080830192505050975050505050505050600060405180830381600087803b1580156111ce57600080fd5b505af11580156111e2573d6000803e3d6000fd5b505050506112e2565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663791ac947828b8e8e308e6040518763ffffffff1660e01b815260040180878152602001868152602001806020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f820116905080830192505050975050505050505050600060405180830381600087803b1580156112c557600080fd5b505af11580156112d9573d6000803e3d6000fd5b50505050600192505b50506113d5565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b6f9de9534898c8c308c6040518763ffffffff1660e01b815260040180868152602001806020018473ffffffffffffffffffffffffffffffffffffffff1681526020018381526020018281038252868682818152602001925060200280828437600081840152601f19601f82011690508083019250505096505050505050506000604051808303818588803b1580156113bb57600080fd5b505af11580156113cf573d6000803e3d6000fd5b50505050505b60008161140d578989600185038181106113eb57fe5b9050602002013573ffffffffffffffffffffffffffffffffffffffff16611410565b60005b9050600061141d826114b3565b905088811015611495576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f657870656374656420616d6f756e74206e6f742072656163680000000000000081525060200191505060405180910390fd5b61149f828261159b565b818195509550505050509550959350505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114f157479050611596565b8173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561155857600080fd5b505afa15801561156c573d6000803e3d6000fd5b505050506040513d602081101561158257600080fd5b810190808051906020019092919050505090505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561165657804710156115dd57600080fd5b60003373ffffffffffffffffffffffffffffffffffffffff168260405180600001905060006040518083038185875af1925050503d806000811461163d576040519150601f19603f3d011682016040523d82523d6000602084013e611642565b606091505b505090508061165057600080fd5b506116f1565b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050600060405180830381600087803b1580156116c757600080fd5b505af11580156116db573d6000803e3d6000fd5b505050506116e76116f5565b6116f057600080fd5b5b5050565b600080600090503d60008114611712576020811461171b57611727565b60019150611727565b60206000803e60005191505b5060008114159150509056fea2646970667358221220e668e5bf5a1a0304f6a48b32b09f3a7ba94b076e9a384e87c1c5a5b91ae34b1a64736f6c634300060c0033",
}

PancakeproxyMetaData contains all meta data concerning the Pancakeproxy contract.

View Source
var PancakeproxyrouterABI = PancakeproxyrouterMetaData.ABI

PancakeproxyrouterABI is the input ABI used to generate the binding from. Deprecated: Use PancakeproxyrouterMetaData.ABI instead.

View Source
var PancakeproxyrouterMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"name\":\"WETH\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveOut\",\"type\":\"uint256\"}],\"name\":\"getAmountIn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveOut\",\"type\":\"uint256\"}],\"name\":\"getAmountOut\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOut\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"}],\"name\":\"getAmountsIn\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"}],\"name\":\"getAmountsOut\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveA\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"reserveB\",\"type\":\"uint256\"}],\"name\":\"quote\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountB\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactETHForTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactETHForTokensSupportingFeeOnTransferTokens\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForETH\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForETHSupportingFeeOnTransferTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForTokens\",\"outputs\":[{\"internalType\":\"uint256[]\",\"name\":\"amounts\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountIn\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amountOutMin\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"path\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"name\":\"swapExactTokensForTokensSupportingFeeOnTransferTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

PancakeproxyrouterMetaData contains all meta data concerning the Pancakeproxyrouter contract.

Functions

This section is empty.

Types

type Pancakeproxy

type Pancakeproxy struct {
	PancakeproxyCaller     // Read-only binding to the contract
	PancakeproxyTransactor // Write-only binding to the contract
	PancakeproxyFilterer   // Log filterer for contract events
}

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

func DeployPancakeproxy

func DeployPancakeproxy(auth *bind.TransactOpts, backend bind.ContractBackend, _pancake02 common.Address) (common.Address, *types.Transaction, *Pancakeproxy, error)

DeployPancakeproxy deploys a new Ethereum contract, binding an instance of Pancakeproxy to it.

func NewPancakeproxy

func NewPancakeproxy(address common.Address, backend bind.ContractBackend) (*Pancakeproxy, error)

NewPancakeproxy creates a new instance of Pancakeproxy, bound to a specific deployed contract.

type PancakeproxyCaller

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

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

func NewPancakeproxyCaller

func NewPancakeproxyCaller(address common.Address, caller bind.ContractCaller) (*PancakeproxyCaller, error)

NewPancakeproxyCaller creates a new read-only instance of Pancakeproxy, bound to a specific deployed contract.

func (*PancakeproxyCaller) ETHCONTRACTADDRESS

func (_Pancakeproxy *PancakeproxyCaller) ETHCONTRACTADDRESS(opts *bind.CallOpts) (common.Address, error)

ETHCONTRACTADDRESS is a free data retrieval call binding the contract method 0x72e94bf6.

Solidity: function ETH_CONTRACT_ADDRESS() view returns(address)

func (*PancakeproxyCaller) MAX

func (_Pancakeproxy *PancakeproxyCaller) MAX(opts *bind.CallOpts) (*big.Int, error)

MAX is a free data retrieval call binding the contract method 0xd49d5181.

Solidity: function MAX() view returns(uint256)

func (*PancakeproxyCaller) PancakeRouter02

func (_Pancakeproxy *PancakeproxyCaller) PancakeRouter02(opts *bind.CallOpts) (common.Address, error)

PancakeRouter02 is a free data retrieval call binding the contract method 0xc83d788b.

Solidity: function pancakeRouter02() view returns(address)

func (*PancakeproxyCaller) WBNBCONTRACTADDRESS

func (_Pancakeproxy *PancakeproxyCaller) WBNBCONTRACTADDRESS(opts *bind.CallOpts) (common.Address, error)

WBNBCONTRACTADDRESS is a free data retrieval call binding the contract method 0xcd2239fb.

Solidity: function WBNB_CONTRACT_ADDRESS() view returns(address)

type PancakeproxyCallerRaw

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

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

func (*PancakeproxyCallerRaw) Call

func (_Pancakeproxy *PancakeproxyCallerRaw) 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 PancakeproxyCallerSession

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

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

func (*PancakeproxyCallerSession) ETHCONTRACTADDRESS

func (_Pancakeproxy *PancakeproxyCallerSession) ETHCONTRACTADDRESS() (common.Address, error)

ETHCONTRACTADDRESS is a free data retrieval call binding the contract method 0x72e94bf6.

Solidity: function ETH_CONTRACT_ADDRESS() view returns(address)

func (*PancakeproxyCallerSession) MAX

func (_Pancakeproxy *PancakeproxyCallerSession) MAX() (*big.Int, error)

MAX is a free data retrieval call binding the contract method 0xd49d5181.

Solidity: function MAX() view returns(uint256)

func (*PancakeproxyCallerSession) PancakeRouter02

func (_Pancakeproxy *PancakeproxyCallerSession) PancakeRouter02() (common.Address, error)

PancakeRouter02 is a free data retrieval call binding the contract method 0xc83d788b.

Solidity: function pancakeRouter02() view returns(address)

func (*PancakeproxyCallerSession) WBNBCONTRACTADDRESS

func (_Pancakeproxy *PancakeproxyCallerSession) WBNBCONTRACTADDRESS() (common.Address, error)

WBNBCONTRACTADDRESS is a free data retrieval call binding the contract method 0xcd2239fb.

Solidity: function WBNB_CONTRACT_ADDRESS() view returns(address)

type PancakeproxyFilterer

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

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

func NewPancakeproxyFilterer

func NewPancakeproxyFilterer(address common.Address, filterer bind.ContractFilterer) (*PancakeproxyFilterer, error)

NewPancakeproxyFilterer creates a new log filterer instance of Pancakeproxy, bound to a specific deployed contract.

type PancakeproxyRaw

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

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

func (*PancakeproxyRaw) Call

func (_Pancakeproxy *PancakeproxyRaw) 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 (*PancakeproxyRaw) Transact

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

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

func (*PancakeproxyRaw) Transfer

func (_Pancakeproxy *PancakeproxyRaw) 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 PancakeproxySession

type PancakeproxySession struct {
	Contract     *Pancakeproxy     // 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
}

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

func (*PancakeproxySession) ETHCONTRACTADDRESS

func (_Pancakeproxy *PancakeproxySession) ETHCONTRACTADDRESS() (common.Address, error)

ETHCONTRACTADDRESS is a free data retrieval call binding the contract method 0x72e94bf6.

Solidity: function ETH_CONTRACT_ADDRESS() view returns(address)

func (*PancakeproxySession) MAX

func (_Pancakeproxy *PancakeproxySession) MAX() (*big.Int, error)

MAX is a free data retrieval call binding the contract method 0xd49d5181.

Solidity: function MAX() view returns(uint256)

func (*PancakeproxySession) PancakeRouter02

func (_Pancakeproxy *PancakeproxySession) PancakeRouter02() (common.Address, error)

PancakeRouter02 is a free data retrieval call binding the contract method 0xc83d788b.

Solidity: function pancakeRouter02() view returns(address)

func (*PancakeproxySession) Receive

func (_Pancakeproxy *PancakeproxySession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*PancakeproxySession) Trade

func (_Pancakeproxy *PancakeproxySession) Trade(path []common.Address, srcQty *big.Int, amountOutMin *big.Int, deadline *big.Int, isNative bool) (*types.Transaction, error)

Trade is a paid mutator transaction binding the contract method 0x71e13d24.

Solidity: function trade(address[] path, uint256 srcQty, uint256 amountOutMin, uint256 deadline, bool isNative) payable returns(address, uint256)

func (*PancakeproxySession) TradeTokensSupportingFee

func (_Pancakeproxy *PancakeproxySession) TradeTokensSupportingFee(path []common.Address, amountOutMin *big.Int, deadline *big.Int, isNative bool) (*types.Transaction, error)

TradeTokensSupportingFee is a paid mutator transaction binding the contract method 0xf8748536.

Solidity: function tradeTokensSupportingFee(address[] path, uint256 amountOutMin, uint256 deadline, bool isNative) payable returns(address, uint256)

func (*PancakeproxySession) WBNBCONTRACTADDRESS

func (_Pancakeproxy *PancakeproxySession) WBNBCONTRACTADDRESS() (common.Address, error)

WBNBCONTRACTADDRESS is a free data retrieval call binding the contract method 0xcd2239fb.

Solidity: function WBNB_CONTRACT_ADDRESS() view returns(address)

type PancakeproxyTransactor

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

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

func NewPancakeproxyTransactor

func NewPancakeproxyTransactor(address common.Address, transactor bind.ContractTransactor) (*PancakeproxyTransactor, error)

NewPancakeproxyTransactor creates a new write-only instance of Pancakeproxy, bound to a specific deployed contract.

func (*PancakeproxyTransactor) Receive

func (_Pancakeproxy *PancakeproxyTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*PancakeproxyTransactor) Trade

func (_Pancakeproxy *PancakeproxyTransactor) Trade(opts *bind.TransactOpts, path []common.Address, srcQty *big.Int, amountOutMin *big.Int, deadline *big.Int, isNative bool) (*types.Transaction, error)

Trade is a paid mutator transaction binding the contract method 0x71e13d24.

Solidity: function trade(address[] path, uint256 srcQty, uint256 amountOutMin, uint256 deadline, bool isNative) payable returns(address, uint256)

func (*PancakeproxyTransactor) TradeTokensSupportingFee

func (_Pancakeproxy *PancakeproxyTransactor) TradeTokensSupportingFee(opts *bind.TransactOpts, path []common.Address, amountOutMin *big.Int, deadline *big.Int, isNative bool) (*types.Transaction, error)

TradeTokensSupportingFee is a paid mutator transaction binding the contract method 0xf8748536.

Solidity: function tradeTokensSupportingFee(address[] path, uint256 amountOutMin, uint256 deadline, bool isNative) payable returns(address, uint256)

type PancakeproxyTransactorRaw

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

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

func (*PancakeproxyTransactorRaw) Transact

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

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

func (*PancakeproxyTransactorRaw) Transfer

func (_Pancakeproxy *PancakeproxyTransactorRaw) 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 PancakeproxyTransactorSession

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

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

func (*PancakeproxyTransactorSession) Receive

func (_Pancakeproxy *PancakeproxyTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*PancakeproxyTransactorSession) Trade

func (_Pancakeproxy *PancakeproxyTransactorSession) Trade(path []common.Address, srcQty *big.Int, amountOutMin *big.Int, deadline *big.Int, isNative bool) (*types.Transaction, error)

Trade is a paid mutator transaction binding the contract method 0x71e13d24.

Solidity: function trade(address[] path, uint256 srcQty, uint256 amountOutMin, uint256 deadline, bool isNative) payable returns(address, uint256)

func (*PancakeproxyTransactorSession) TradeTokensSupportingFee

func (_Pancakeproxy *PancakeproxyTransactorSession) TradeTokensSupportingFee(path []common.Address, amountOutMin *big.Int, deadline *big.Int, isNative bool) (*types.Transaction, error)

TradeTokensSupportingFee is a paid mutator transaction binding the contract method 0xf8748536.

Solidity: function tradeTokensSupportingFee(address[] path, uint256 amountOutMin, uint256 deadline, bool isNative) payable returns(address, uint256)

type Pancakeproxyrouter

type Pancakeproxyrouter struct {
	PancakeproxyrouterCaller     // Read-only binding to the contract
	PancakeproxyrouterTransactor // Write-only binding to the contract
	PancakeproxyrouterFilterer   // Log filterer for contract events
}

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

func NewPancakeproxyrouter

func NewPancakeproxyrouter(address common.Address, backend bind.ContractBackend) (*Pancakeproxyrouter, error)

NewPancakeproxyrouter creates a new instance of Pancakeproxyrouter, bound to a specific deployed contract.

type PancakeproxyrouterCaller

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

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

func NewPancakeproxyrouterCaller

func NewPancakeproxyrouterCaller(address common.Address, caller bind.ContractCaller) (*PancakeproxyrouterCaller, error)

NewPancakeproxyrouterCaller creates a new read-only instance of Pancakeproxyrouter, bound to a specific deployed contract.

func (*PancakeproxyrouterCaller) Factory

func (_Pancakeproxyrouter *PancakeproxyrouterCaller) 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 (*PancakeproxyrouterCaller) GetAmountIn

func (_Pancakeproxyrouter *PancakeproxyrouterCaller) 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 (*PancakeproxyrouterCaller) GetAmountOut

func (_Pancakeproxyrouter *PancakeproxyrouterCaller) 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 (*PancakeproxyrouterCaller) GetAmountsIn

func (_Pancakeproxyrouter *PancakeproxyrouterCaller) GetAmountsIn(opts *bind.CallOpts, amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

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

func (*PancakeproxyrouterCaller) GetAmountsOut

func (_Pancakeproxyrouter *PancakeproxyrouterCaller) GetAmountsOut(opts *bind.CallOpts, amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

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

func (*PancakeproxyrouterCaller) Quote

func (_Pancakeproxyrouter *PancakeproxyrouterCaller) 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 (*PancakeproxyrouterCaller) WETH

func (_Pancakeproxyrouter *PancakeproxyrouterCaller) 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 PancakeproxyrouterCallerRaw

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

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

func (*PancakeproxyrouterCallerRaw) Call

func (_Pancakeproxyrouter *PancakeproxyrouterCallerRaw) 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 PancakeproxyrouterCallerSession

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

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

func (*PancakeproxyrouterCallerSession) Factory

func (_Pancakeproxyrouter *PancakeproxyrouterCallerSession) Factory() (common.Address, error)

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

Solidity: function factory() pure returns(address)

func (*PancakeproxyrouterCallerSession) GetAmountIn

func (_Pancakeproxyrouter *PancakeproxyrouterCallerSession) 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 (*PancakeproxyrouterCallerSession) GetAmountOut

func (_Pancakeproxyrouter *PancakeproxyrouterCallerSession) 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 (*PancakeproxyrouterCallerSession) GetAmountsIn

func (_Pancakeproxyrouter *PancakeproxyrouterCallerSession) GetAmountsIn(amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

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

func (*PancakeproxyrouterCallerSession) GetAmountsOut

func (_Pancakeproxyrouter *PancakeproxyrouterCallerSession) GetAmountsOut(amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

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

func (*PancakeproxyrouterCallerSession) Quote

func (_Pancakeproxyrouter *PancakeproxyrouterCallerSession) 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 (*PancakeproxyrouterCallerSession) WETH

func (_Pancakeproxyrouter *PancakeproxyrouterCallerSession) WETH() (common.Address, error)

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

Solidity: function WETH() pure returns(address)

type PancakeproxyrouterFilterer

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

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

func NewPancakeproxyrouterFilterer

func NewPancakeproxyrouterFilterer(address common.Address, filterer bind.ContractFilterer) (*PancakeproxyrouterFilterer, error)

NewPancakeproxyrouterFilterer creates a new log filterer instance of Pancakeproxyrouter, bound to a specific deployed contract.

type PancakeproxyrouterRaw

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

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

func (*PancakeproxyrouterRaw) Call

func (_Pancakeproxyrouter *PancakeproxyrouterRaw) 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 (*PancakeproxyrouterRaw) Transact

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

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

func (*PancakeproxyrouterRaw) Transfer

func (_Pancakeproxyrouter *PancakeproxyrouterRaw) 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 PancakeproxyrouterSession

type PancakeproxyrouterSession struct {
	Contract     *Pancakeproxyrouter // 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
}

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

func (*PancakeproxyrouterSession) Factory

func (_Pancakeproxyrouter *PancakeproxyrouterSession) Factory() (common.Address, error)

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

Solidity: function factory() pure returns(address)

func (*PancakeproxyrouterSession) GetAmountIn

func (_Pancakeproxyrouter *PancakeproxyrouterSession) 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 (*PancakeproxyrouterSession) GetAmountOut

func (_Pancakeproxyrouter *PancakeproxyrouterSession) 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 (*PancakeproxyrouterSession) GetAmountsIn

func (_Pancakeproxyrouter *PancakeproxyrouterSession) GetAmountsIn(amountOut *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsIn is a free data retrieval call binding the contract method 0x1f00ca74.

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

func (*PancakeproxyrouterSession) GetAmountsOut

func (_Pancakeproxyrouter *PancakeproxyrouterSession) GetAmountsOut(amountIn *big.Int, path []common.Address) ([]*big.Int, error)

GetAmountsOut is a free data retrieval call binding the contract method 0xd06ca61f.

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

func (*PancakeproxyrouterSession) Quote

func (_Pancakeproxyrouter *PancakeproxyrouterSession) 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 (*PancakeproxyrouterSession) SwapExactETHForTokens

func (_Pancakeproxyrouter *PancakeproxyrouterSession) 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 (*PancakeproxyrouterSession) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_Pancakeproxyrouter *PancakeproxyrouterSession) 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 (*PancakeproxyrouterSession) SwapExactTokensForETH

func (_Pancakeproxyrouter *PancakeproxyrouterSession) 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 (*PancakeproxyrouterSession) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_Pancakeproxyrouter *PancakeproxyrouterSession) 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 (*PancakeproxyrouterSession) SwapExactTokensForTokens

func (_Pancakeproxyrouter *PancakeproxyrouterSession) 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 (*PancakeproxyrouterSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_Pancakeproxyrouter *PancakeproxyrouterSession) 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 (*PancakeproxyrouterSession) WETH

func (_Pancakeproxyrouter *PancakeproxyrouterSession) WETH() (common.Address, error)

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

Solidity: function WETH() pure returns(address)

type PancakeproxyrouterTransactor

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

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

func NewPancakeproxyrouterTransactor

func NewPancakeproxyrouterTransactor(address common.Address, transactor bind.ContractTransactor) (*PancakeproxyrouterTransactor, error)

NewPancakeproxyrouterTransactor creates a new write-only instance of Pancakeproxyrouter, bound to a specific deployed contract.

func (*PancakeproxyrouterTransactor) SwapExactETHForTokens

func (_Pancakeproxyrouter *PancakeproxyrouterTransactor) 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 (*PancakeproxyrouterTransactor) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_Pancakeproxyrouter *PancakeproxyrouterTransactor) 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 (*PancakeproxyrouterTransactor) SwapExactTokensForETH

func (_Pancakeproxyrouter *PancakeproxyrouterTransactor) 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 (*PancakeproxyrouterTransactor) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_Pancakeproxyrouter *PancakeproxyrouterTransactor) 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 (*PancakeproxyrouterTransactor) SwapExactTokensForTokens

func (_Pancakeproxyrouter *PancakeproxyrouterTransactor) 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 (*PancakeproxyrouterTransactor) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_Pancakeproxyrouter *PancakeproxyrouterTransactor) 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()

type PancakeproxyrouterTransactorRaw

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

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

func (*PancakeproxyrouterTransactorRaw) Transact

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

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

func (*PancakeproxyrouterTransactorRaw) Transfer

func (_Pancakeproxyrouter *PancakeproxyrouterTransactorRaw) 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 PancakeproxyrouterTransactorSession

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

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

func (*PancakeproxyrouterTransactorSession) SwapExactETHForTokens

func (_Pancakeproxyrouter *PancakeproxyrouterTransactorSession) 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 (*PancakeproxyrouterTransactorSession) SwapExactETHForTokensSupportingFeeOnTransferTokens

func (_Pancakeproxyrouter *PancakeproxyrouterTransactorSession) 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 (*PancakeproxyrouterTransactorSession) SwapExactTokensForETH

func (_Pancakeproxyrouter *PancakeproxyrouterTransactorSession) 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 (*PancakeproxyrouterTransactorSession) SwapExactTokensForETHSupportingFeeOnTransferTokens

func (_Pancakeproxyrouter *PancakeproxyrouterTransactorSession) 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 (*PancakeproxyrouterTransactorSession) SwapExactTokensForTokens

func (_Pancakeproxyrouter *PancakeproxyrouterTransactorSession) 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 (*PancakeproxyrouterTransactorSession) SwapExactTokensForTokensSupportingFeeOnTransferTokens

func (_Pancakeproxyrouter *PancakeproxyrouterTransactorSession) 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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL