pancakev2pair

package
v0.0.0-...-bfe7aad Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Pancakev2pairABI = Pancakev2pairMetaData.ABI

Pancakev2pairABI is the input ABI used to generate the binding from. Deprecated: Use Pancakev2pairMetaData.ABI instead.

View Source
var Pancakev2pairMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0Out\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1Out\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint112\",\"name\":\"reserve0\",\"type\":\"uint112\"},{\"indexed\":false,\"internalType\":\"uint112\",\"name\":\"reserve1\",\"type\":\"uint112\"}],\"name\":\"Sync\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"MINIMUM_LIQUIDITY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getReserves\",\"outputs\":[{\"internalType\":\"uint112\",\"name\":\"_reserve0\",\"type\":\"uint112\"},{\"internalType\":\"uint112\",\"name\":\"_reserve1\",\"type\":\"uint112\"},{\"internalType\":\"uint32\",\"name\":\"_blockTimestampLast\",\"type\":\"uint32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token1\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"kLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"price0CumulativeLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"price1CumulativeLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"skim\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0Out\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Out\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"sync\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"token0\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"token1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

Pancakev2pairMetaData contains all meta data concerning the Pancakev2pair contract.

Functions

This section is empty.

Types

type Pancakev2pair

type Pancakev2pair struct {
	Pancakev2pairCaller     // Read-only binding to the contract
	Pancakev2pairTransactor // Write-only binding to the contract
	Pancakev2pairFilterer   // Log filterer for contract events
}

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

func NewPancakev2pair

func NewPancakev2pair(address common.Address, backend bind.ContractBackend) (*Pancakev2pair, error)

NewPancakev2pair creates a new instance of Pancakev2pair, bound to a specific deployed contract.

type Pancakev2pairApproval

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

Pancakev2pairApproval represents a Approval event raised by the Pancakev2pair contract.

type Pancakev2pairApprovalIterator

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

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

func (*Pancakev2pairApprovalIterator) Close

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

func (*Pancakev2pairApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Pancakev2pairApprovalIterator) 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 Pancakev2pairBurn

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

Pancakev2pairBurn represents a Burn event raised by the Pancakev2pair contract.

type Pancakev2pairBurnIterator

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

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

func (*Pancakev2pairBurnIterator) Close

func (it *Pancakev2pairBurnIterator) Close() error

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

func (*Pancakev2pairBurnIterator) Error

func (it *Pancakev2pairBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Pancakev2pairBurnIterator) Next

func (it *Pancakev2pairBurnIterator) 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 Pancakev2pairCaller

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

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

func NewPancakev2pairCaller

func NewPancakev2pairCaller(address common.Address, caller bind.ContractCaller) (*Pancakev2pairCaller, error)

NewPancakev2pairCaller creates a new read-only instance of Pancakev2pair, bound to a specific deployed contract.

func (*Pancakev2pairCaller) Allowance

func (_Pancakev2pair *Pancakev2pairCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

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

func (*Pancakev2pairCaller) BalanceOf

func (_Pancakev2pair *Pancakev2pairCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

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

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

func (*Pancakev2pairCaller) DOMAINSEPARATOR

func (_Pancakev2pair *Pancakev2pairCaller) 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 (*Pancakev2pairCaller) Decimals

func (_Pancakev2pair *Pancakev2pairCaller) 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 (*Pancakev2pairCaller) Factory

func (_Pancakev2pair *Pancakev2pairCaller) 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 (*Pancakev2pairCaller) GetReserves

func (_Pancakev2pair *Pancakev2pairCaller) 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 (*Pancakev2pairCaller) KLast

func (_Pancakev2pair *Pancakev2pairCaller) 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 (*Pancakev2pairCaller) MINIMUMLIQUIDITY

func (_Pancakev2pair *Pancakev2pairCaller) MINIMUMLIQUIDITY(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*Pancakev2pairCaller) Name

func (_Pancakev2pair *Pancakev2pairCaller) 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 (*Pancakev2pairCaller) Nonces

func (_Pancakev2pair *Pancakev2pairCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

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

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

func (*Pancakev2pairCaller) PERMITTYPEHASH

func (_Pancakev2pair *Pancakev2pairCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

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

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*Pancakev2pairCaller) Price0CumulativeLast

func (_Pancakev2pair *Pancakev2pairCaller) 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 (*Pancakev2pairCaller) Price1CumulativeLast

func (_Pancakev2pair *Pancakev2pairCaller) 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 (*Pancakev2pairCaller) Symbol

func (_Pancakev2pair *Pancakev2pairCaller) 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 (*Pancakev2pairCaller) Token0

func (_Pancakev2pair *Pancakev2pairCaller) 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 (*Pancakev2pairCaller) Token1

func (_Pancakev2pair *Pancakev2pairCaller) 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 (*Pancakev2pairCaller) TotalSupply

func (_Pancakev2pair *Pancakev2pairCaller) 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 Pancakev2pairCallerRaw

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

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

func (*Pancakev2pairCallerRaw) Call

func (_Pancakev2pair *Pancakev2pairCallerRaw) 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 Pancakev2pairCallerSession

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

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

func (*Pancakev2pairCallerSession) Allowance

func (_Pancakev2pair *Pancakev2pairCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

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

func (*Pancakev2pairCallerSession) BalanceOf

func (_Pancakev2pair *Pancakev2pairCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)

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

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

func (*Pancakev2pairCallerSession) DOMAINSEPARATOR

func (_Pancakev2pair *Pancakev2pairCallerSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*Pancakev2pairCallerSession) Decimals

func (_Pancakev2pair *Pancakev2pairCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*Pancakev2pairCallerSession) Factory

func (_Pancakev2pair *Pancakev2pairCallerSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*Pancakev2pairCallerSession) GetReserves

func (_Pancakev2pair *Pancakev2pairCallerSession) 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 (*Pancakev2pairCallerSession) KLast

func (_Pancakev2pair *Pancakev2pairCallerSession) KLast() (*big.Int, error)

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

Solidity: function kLast() view returns(uint256)

func (*Pancakev2pairCallerSession) MINIMUMLIQUIDITY

func (_Pancakev2pair *Pancakev2pairCallerSession) MINIMUMLIQUIDITY() (*big.Int, error)

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

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*Pancakev2pairCallerSession) Name

func (_Pancakev2pair *Pancakev2pairCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Pancakev2pairCallerSession) Nonces

func (_Pancakev2pair *Pancakev2pairCallerSession) Nonces(arg0 common.Address) (*big.Int, error)

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

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

func (*Pancakev2pairCallerSession) PERMITTYPEHASH

func (_Pancakev2pair *Pancakev2pairCallerSession) PERMITTYPEHASH() ([32]byte, error)

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

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*Pancakev2pairCallerSession) Price0CumulativeLast

func (_Pancakev2pair *Pancakev2pairCallerSession) Price0CumulativeLast() (*big.Int, error)

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

Solidity: function price0CumulativeLast() view returns(uint256)

func (*Pancakev2pairCallerSession) Price1CumulativeLast

func (_Pancakev2pair *Pancakev2pairCallerSession) Price1CumulativeLast() (*big.Int, error)

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

Solidity: function price1CumulativeLast() view returns(uint256)

func (*Pancakev2pairCallerSession) Symbol

func (_Pancakev2pair *Pancakev2pairCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*Pancakev2pairCallerSession) Token0

func (_Pancakev2pair *Pancakev2pairCallerSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*Pancakev2pairCallerSession) Token1

func (_Pancakev2pair *Pancakev2pairCallerSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*Pancakev2pairCallerSession) TotalSupply

func (_Pancakev2pair *Pancakev2pairCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type Pancakev2pairFilterer

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

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

func NewPancakev2pairFilterer

func NewPancakev2pairFilterer(address common.Address, filterer bind.ContractFilterer) (*Pancakev2pairFilterer, error)

NewPancakev2pairFilterer creates a new log filterer instance of Pancakev2pair, bound to a specific deployed contract.

func (*Pancakev2pairFilterer) FilterApproval

func (_Pancakev2pair *Pancakev2pairFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*Pancakev2pairApprovalIterator, 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 (*Pancakev2pairFilterer) FilterBurn

func (_Pancakev2pair *Pancakev2pairFilterer) FilterBurn(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*Pancakev2pairBurnIterator, 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 (*Pancakev2pairFilterer) FilterMint

func (_Pancakev2pair *Pancakev2pairFilterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*Pancakev2pairMintIterator, error)

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

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

func (*Pancakev2pairFilterer) FilterSwap

func (_Pancakev2pair *Pancakev2pairFilterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*Pancakev2pairSwapIterator, 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 (*Pancakev2pairFilterer) FilterSync

func (_Pancakev2pair *Pancakev2pairFilterer) FilterSync(opts *bind.FilterOpts) (*Pancakev2pairSyncIterator, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*Pancakev2pairFilterer) FilterTransfer

func (_Pancakev2pair *Pancakev2pairFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*Pancakev2pairTransferIterator, 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 (*Pancakev2pairFilterer) ParseApproval

func (_Pancakev2pair *Pancakev2pairFilterer) ParseApproval(log types.Log) (*Pancakev2pairApproval, error)

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

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

func (*Pancakev2pairFilterer) ParseBurn

func (_Pancakev2pair *Pancakev2pairFilterer) ParseBurn(log types.Log) (*Pancakev2pairBurn, 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 (*Pancakev2pairFilterer) ParseMint

func (_Pancakev2pair *Pancakev2pairFilterer) ParseMint(log types.Log) (*Pancakev2pairMint, error)

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

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

func (*Pancakev2pairFilterer) ParseSwap

func (_Pancakev2pair *Pancakev2pairFilterer) ParseSwap(log types.Log) (*Pancakev2pairSwap, 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 (*Pancakev2pairFilterer) ParseSync

func (_Pancakev2pair *Pancakev2pairFilterer) ParseSync(log types.Log) (*Pancakev2pairSync, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*Pancakev2pairFilterer) ParseTransfer

func (_Pancakev2pair *Pancakev2pairFilterer) ParseTransfer(log types.Log) (*Pancakev2pairTransfer, error)

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

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

func (*Pancakev2pairFilterer) WatchApproval

func (_Pancakev2pair *Pancakev2pairFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *Pancakev2pairApproval, 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 (*Pancakev2pairFilterer) WatchBurn

func (_Pancakev2pair *Pancakev2pairFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *Pancakev2pairBurn, 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 (*Pancakev2pairFilterer) WatchMint

func (_Pancakev2pair *Pancakev2pairFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *Pancakev2pairMint, 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 (*Pancakev2pairFilterer) WatchSwap

func (_Pancakev2pair *Pancakev2pairFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *Pancakev2pairSwap, 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 (*Pancakev2pairFilterer) WatchSync

func (_Pancakev2pair *Pancakev2pairFilterer) WatchSync(opts *bind.WatchOpts, sink chan<- *Pancakev2pairSync) (event.Subscription, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*Pancakev2pairFilterer) WatchTransfer

func (_Pancakev2pair *Pancakev2pairFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *Pancakev2pairTransfer, 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 Pancakev2pairMint

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

Pancakev2pairMint represents a Mint event raised by the Pancakev2pair contract.

type Pancakev2pairMintIterator

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

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

func (*Pancakev2pairMintIterator) Close

func (it *Pancakev2pairMintIterator) Close() error

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

func (*Pancakev2pairMintIterator) Error

func (it *Pancakev2pairMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Pancakev2pairMintIterator) Next

func (it *Pancakev2pairMintIterator) 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 Pancakev2pairRaw

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

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

func (*Pancakev2pairRaw) Call

func (_Pancakev2pair *Pancakev2pairRaw) 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 (*Pancakev2pairRaw) Transact

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

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

func (*Pancakev2pairRaw) Transfer

func (_Pancakev2pair *Pancakev2pairRaw) 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 Pancakev2pairSession

type Pancakev2pairSession struct {
	Contract     *Pancakev2pair    // 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
}

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

func (*Pancakev2pairSession) Allowance

func (_Pancakev2pair *Pancakev2pairSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)

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

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

func (*Pancakev2pairSession) Approve

func (_Pancakev2pair *Pancakev2pairSession) 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 (*Pancakev2pairSession) BalanceOf

func (_Pancakev2pair *Pancakev2pairSession) BalanceOf(arg0 common.Address) (*big.Int, error)

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

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

func (*Pancakev2pairSession) Burn

func (_Pancakev2pair *Pancakev2pairSession) 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 (*Pancakev2pairSession) DOMAINSEPARATOR

func (_Pancakev2pair *Pancakev2pairSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*Pancakev2pairSession) Decimals

func (_Pancakev2pair *Pancakev2pairSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*Pancakev2pairSession) Factory

func (_Pancakev2pair *Pancakev2pairSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*Pancakev2pairSession) GetReserves

func (_Pancakev2pair *Pancakev2pairSession) 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 (*Pancakev2pairSession) Initialize

func (_Pancakev2pair *Pancakev2pairSession) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)

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

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

func (*Pancakev2pairSession) KLast

func (_Pancakev2pair *Pancakev2pairSession) KLast() (*big.Int, error)

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

Solidity: function kLast() view returns(uint256)

func (*Pancakev2pairSession) MINIMUMLIQUIDITY

func (_Pancakev2pair *Pancakev2pairSession) MINIMUMLIQUIDITY() (*big.Int, error)

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

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*Pancakev2pairSession) Mint

func (_Pancakev2pair *Pancakev2pairSession) 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 (*Pancakev2pairSession) Name

func (_Pancakev2pair *Pancakev2pairSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*Pancakev2pairSession) Nonces

func (_Pancakev2pair *Pancakev2pairSession) Nonces(arg0 common.Address) (*big.Int, error)

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

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

func (*Pancakev2pairSession) PERMITTYPEHASH

func (_Pancakev2pair *Pancakev2pairSession) PERMITTYPEHASH() ([32]byte, error)

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

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*Pancakev2pairSession) Permit

func (_Pancakev2pair *Pancakev2pairSession) 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 (*Pancakev2pairSession) Price0CumulativeLast

func (_Pancakev2pair *Pancakev2pairSession) Price0CumulativeLast() (*big.Int, error)

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

Solidity: function price0CumulativeLast() view returns(uint256)

func (*Pancakev2pairSession) Price1CumulativeLast

func (_Pancakev2pair *Pancakev2pairSession) Price1CumulativeLast() (*big.Int, error)

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

Solidity: function price1CumulativeLast() view returns(uint256)

func (*Pancakev2pairSession) Skim

func (_Pancakev2pair *Pancakev2pairSession) 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 (*Pancakev2pairSession) Swap

func (_Pancakev2pair *Pancakev2pairSession) 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 (*Pancakev2pairSession) Symbol

func (_Pancakev2pair *Pancakev2pairSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*Pancakev2pairSession) Sync

func (_Pancakev2pair *Pancakev2pairSession) Sync() (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*Pancakev2pairSession) Token0

func (_Pancakev2pair *Pancakev2pairSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*Pancakev2pairSession) Token1

func (_Pancakev2pair *Pancakev2pairSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*Pancakev2pairSession) TotalSupply

func (_Pancakev2pair *Pancakev2pairSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*Pancakev2pairSession) Transfer

func (_Pancakev2pair *Pancakev2pairSession) 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 (*Pancakev2pairSession) TransferFrom

func (_Pancakev2pair *Pancakev2pairSession) 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 Pancakev2pairSwap

type Pancakev2pairSwap 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
}

Pancakev2pairSwap represents a Swap event raised by the Pancakev2pair contract.

type Pancakev2pairSwapIterator

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

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

func (*Pancakev2pairSwapIterator) Close

func (it *Pancakev2pairSwapIterator) Close() error

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

func (*Pancakev2pairSwapIterator) Error

func (it *Pancakev2pairSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Pancakev2pairSwapIterator) Next

func (it *Pancakev2pairSwapIterator) 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 Pancakev2pairSync

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

Pancakev2pairSync represents a Sync event raised by the Pancakev2pair contract.

type Pancakev2pairSyncIterator

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

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

func (*Pancakev2pairSyncIterator) Close

func (it *Pancakev2pairSyncIterator) Close() error

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

func (*Pancakev2pairSyncIterator) Error

func (it *Pancakev2pairSyncIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Pancakev2pairSyncIterator) Next

func (it *Pancakev2pairSyncIterator) 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 Pancakev2pairTransactor

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

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

func NewPancakev2pairTransactor

func NewPancakev2pairTransactor(address common.Address, transactor bind.ContractTransactor) (*Pancakev2pairTransactor, error)

NewPancakev2pairTransactor creates a new write-only instance of Pancakev2pair, bound to a specific deployed contract.

func (*Pancakev2pairTransactor) Approve

func (_Pancakev2pair *Pancakev2pairTransactor) 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 (*Pancakev2pairTransactor) Burn

func (_Pancakev2pair *Pancakev2pairTransactor) 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 (*Pancakev2pairTransactor) Initialize

func (_Pancakev2pair *Pancakev2pairTransactor) Initialize(opts *bind.TransactOpts, _token0 common.Address, _token1 common.Address) (*types.Transaction, error)

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

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

func (*Pancakev2pairTransactor) Mint

func (_Pancakev2pair *Pancakev2pairTransactor) 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 (*Pancakev2pairTransactor) Permit

func (_Pancakev2pair *Pancakev2pairTransactor) 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 (*Pancakev2pairTransactor) Skim

func (_Pancakev2pair *Pancakev2pairTransactor) 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 (*Pancakev2pairTransactor) Swap

func (_Pancakev2pair *Pancakev2pairTransactor) 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 (*Pancakev2pairTransactor) Sync

func (_Pancakev2pair *Pancakev2pairTransactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*Pancakev2pairTransactor) Transfer

func (_Pancakev2pair *Pancakev2pairTransactor) 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 (*Pancakev2pairTransactor) TransferFrom

func (_Pancakev2pair *Pancakev2pairTransactor) 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 Pancakev2pairTransactorRaw

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

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

func (*Pancakev2pairTransactorRaw) Transact

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

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

func (*Pancakev2pairTransactorRaw) Transfer

func (_Pancakev2pair *Pancakev2pairTransactorRaw) 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 Pancakev2pairTransactorSession

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

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

func (*Pancakev2pairTransactorSession) Approve

func (_Pancakev2pair *Pancakev2pairTransactorSession) 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 (*Pancakev2pairTransactorSession) Burn

func (_Pancakev2pair *Pancakev2pairTransactorSession) 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 (*Pancakev2pairTransactorSession) Initialize

func (_Pancakev2pair *Pancakev2pairTransactorSession) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)

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

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

func (*Pancakev2pairTransactorSession) Mint

func (_Pancakev2pair *Pancakev2pairTransactorSession) 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 (*Pancakev2pairTransactorSession) Permit

func (_Pancakev2pair *Pancakev2pairTransactorSession) 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 (*Pancakev2pairTransactorSession) Skim

func (_Pancakev2pair *Pancakev2pairTransactorSession) 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 (*Pancakev2pairTransactorSession) Swap

func (_Pancakev2pair *Pancakev2pairTransactorSession) 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 (*Pancakev2pairTransactorSession) Sync

func (_Pancakev2pair *Pancakev2pairTransactorSession) Sync() (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*Pancakev2pairTransactorSession) Transfer

func (_Pancakev2pair *Pancakev2pairTransactorSession) 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 (*Pancakev2pairTransactorSession) TransferFrom

func (_Pancakev2pair *Pancakev2pairTransactorSession) 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 Pancakev2pairTransfer

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

Pancakev2pairTransfer represents a Transfer event raised by the Pancakev2pair contract.

type Pancakev2pairTransferIterator

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

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

func (*Pancakev2pairTransferIterator) Close

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

func (*Pancakev2pairTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Pancakev2pairTransferIterator) 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.

Jump to

Keyboard shortcuts

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