pancakeSwapPair

package
v1.1.29 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PancakeSwapPairABI = PancakeSwapPairMetaData.ABI

PancakeSwapPairABI is the input ABI used to generate the binding from. Deprecated: Use PancakeSwapPairMetaData.ABI instead.

View Source
var PancakeSwapPairMetaData = &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\"}]",
}

PancakeSwapPairMetaData contains all meta data concerning the PancakeSwapPair contract.

Functions

This section is empty.

Types

type PancakeSwapPair

type PancakeSwapPair struct {
	PancakeSwapPairCaller     // Read-only binding to the contract
	PancakeSwapPairTransactor // Write-only binding to the contract
	PancakeSwapPairFilterer   // Log filterer for contract events
}

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

func NewPancakeSwapPair

func NewPancakeSwapPair(address common.Address, backend bind.ContractBackend) (*PancakeSwapPair, error)

NewPancakeSwapPair creates a new instance of PancakeSwapPair, bound to a specific deployed contract.

type PancakeSwapPairApproval

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

PancakeSwapPairApproval represents a Approval event raised by the PancakeSwapPair contract.

type PancakeSwapPairApprovalIterator

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

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

func (*PancakeSwapPairApprovalIterator) Close

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

func (*PancakeSwapPairApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*PancakeSwapPairApprovalIterator) 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 PancakeSwapPairBurn

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

PancakeSwapPairBurn represents a Burn event raised by the PancakeSwapPair contract.

type PancakeSwapPairBurnIterator

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

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

func (*PancakeSwapPairBurnIterator) Close

func (it *PancakeSwapPairBurnIterator) Close() error

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

func (*PancakeSwapPairBurnIterator) Error

func (it *PancakeSwapPairBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PancakeSwapPairBurnIterator) Next

func (it *PancakeSwapPairBurnIterator) 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 PancakeSwapPairCaller

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

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

func NewPancakeSwapPairCaller

func NewPancakeSwapPairCaller(address common.Address, caller bind.ContractCaller) (*PancakeSwapPairCaller, error)

NewPancakeSwapPairCaller creates a new read-only instance of PancakeSwapPair, bound to a specific deployed contract.

func (*PancakeSwapPairCaller) Allowance

func (_PancakeSwapPair *PancakeSwapPairCaller) 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 (*PancakeSwapPairCaller) BalanceOf

func (_PancakeSwapPair *PancakeSwapPairCaller) 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 (*PancakeSwapPairCaller) DOMAINSEPARATOR

func (_PancakeSwapPair *PancakeSwapPairCaller) 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 (*PancakeSwapPairCaller) Decimals

func (_PancakeSwapPair *PancakeSwapPairCaller) 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 (*PancakeSwapPairCaller) Factory

func (_PancakeSwapPair *PancakeSwapPairCaller) 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 (*PancakeSwapPairCaller) GetReserves

func (_PancakeSwapPair *PancakeSwapPairCaller) 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 (*PancakeSwapPairCaller) KLast

func (_PancakeSwapPair *PancakeSwapPairCaller) 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 (*PancakeSwapPairCaller) MINIMUMLIQUIDITY

func (_PancakeSwapPair *PancakeSwapPairCaller) 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 (*PancakeSwapPairCaller) Name

func (_PancakeSwapPair *PancakeSwapPairCaller) 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 (*PancakeSwapPairCaller) Nonces

func (_PancakeSwapPair *PancakeSwapPairCaller) 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 (*PancakeSwapPairCaller) PERMITTYPEHASH

func (_PancakeSwapPair *PancakeSwapPairCaller) 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 (*PancakeSwapPairCaller) Price0CumulativeLast

func (_PancakeSwapPair *PancakeSwapPairCaller) 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 (*PancakeSwapPairCaller) Price1CumulativeLast

func (_PancakeSwapPair *PancakeSwapPairCaller) 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 (*PancakeSwapPairCaller) Symbol

func (_PancakeSwapPair *PancakeSwapPairCaller) 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 (*PancakeSwapPairCaller) Token0

func (_PancakeSwapPair *PancakeSwapPairCaller) 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 (*PancakeSwapPairCaller) Token1

func (_PancakeSwapPair *PancakeSwapPairCaller) 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 (*PancakeSwapPairCaller) TotalSupply

func (_PancakeSwapPair *PancakeSwapPairCaller) 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 PancakeSwapPairCallerRaw

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

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

func (*PancakeSwapPairCallerRaw) Call

func (_PancakeSwapPair *PancakeSwapPairCallerRaw) 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 PancakeSwapPairCallerSession

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

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

func (*PancakeSwapPairCallerSession) Allowance

func (_PancakeSwapPair *PancakeSwapPairCallerSession) 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 (*PancakeSwapPairCallerSession) BalanceOf

func (_PancakeSwapPair *PancakeSwapPairCallerSession) 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 (*PancakeSwapPairCallerSession) DOMAINSEPARATOR

func (_PancakeSwapPair *PancakeSwapPairCallerSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*PancakeSwapPairCallerSession) Decimals

func (_PancakeSwapPair *PancakeSwapPairCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*PancakeSwapPairCallerSession) Factory

func (_PancakeSwapPair *PancakeSwapPairCallerSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*PancakeSwapPairCallerSession) GetReserves

func (_PancakeSwapPair *PancakeSwapPairCallerSession) 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 (*PancakeSwapPairCallerSession) KLast

func (_PancakeSwapPair *PancakeSwapPairCallerSession) KLast() (*big.Int, error)

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

Solidity: function kLast() view returns(uint256)

func (*PancakeSwapPairCallerSession) MINIMUMLIQUIDITY

func (_PancakeSwapPair *PancakeSwapPairCallerSession) MINIMUMLIQUIDITY() (*big.Int, error)

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

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*PancakeSwapPairCallerSession) Name

func (_PancakeSwapPair *PancakeSwapPairCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*PancakeSwapPairCallerSession) Nonces

func (_PancakeSwapPair *PancakeSwapPairCallerSession) 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 (*PancakeSwapPairCallerSession) PERMITTYPEHASH

func (_PancakeSwapPair *PancakeSwapPairCallerSession) PERMITTYPEHASH() ([32]byte, error)

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

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*PancakeSwapPairCallerSession) Price0CumulativeLast

func (_PancakeSwapPair *PancakeSwapPairCallerSession) Price0CumulativeLast() (*big.Int, error)

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

Solidity: function price0CumulativeLast() view returns(uint256)

func (*PancakeSwapPairCallerSession) Price1CumulativeLast

func (_PancakeSwapPair *PancakeSwapPairCallerSession) Price1CumulativeLast() (*big.Int, error)

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

Solidity: function price1CumulativeLast() view returns(uint256)

func (*PancakeSwapPairCallerSession) Symbol

func (_PancakeSwapPair *PancakeSwapPairCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*PancakeSwapPairCallerSession) Token0

func (_PancakeSwapPair *PancakeSwapPairCallerSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*PancakeSwapPairCallerSession) Token1

func (_PancakeSwapPair *PancakeSwapPairCallerSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*PancakeSwapPairCallerSession) TotalSupply

func (_PancakeSwapPair *PancakeSwapPairCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type PancakeSwapPairFilterer

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

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

func NewPancakeSwapPairFilterer

func NewPancakeSwapPairFilterer(address common.Address, filterer bind.ContractFilterer) (*PancakeSwapPairFilterer, error)

NewPancakeSwapPairFilterer creates a new log filterer instance of PancakeSwapPair, bound to a specific deployed contract.

func (*PancakeSwapPairFilterer) FilterApproval

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

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

func (_PancakeSwapPair *PancakeSwapPairFilterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*PancakeSwapPairMintIterator, error)

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

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

func (*PancakeSwapPairFilterer) FilterSwap

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

func (_PancakeSwapPair *PancakeSwapPairFilterer) FilterSync(opts *bind.FilterOpts) (*PancakeSwapPairSyncIterator, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*PancakeSwapPairFilterer) FilterTransfer

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

func (_PancakeSwapPair *PancakeSwapPairFilterer) ParseApproval(log types.Log) (*PancakeSwapPairApproval, error)

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

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

func (*PancakeSwapPairFilterer) ParseBurn

func (_PancakeSwapPair *PancakeSwapPairFilterer) ParseBurn(log types.Log) (*PancakeSwapPairBurn, 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 (*PancakeSwapPairFilterer) ParseMint

func (_PancakeSwapPair *PancakeSwapPairFilterer) ParseMint(log types.Log) (*PancakeSwapPairMint, error)

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

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

func (*PancakeSwapPairFilterer) ParseSwap

func (_PancakeSwapPair *PancakeSwapPairFilterer) ParseSwap(log types.Log) (*PancakeSwapPairSwap, 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 (*PancakeSwapPairFilterer) ParseSync

func (_PancakeSwapPair *PancakeSwapPairFilterer) ParseSync(log types.Log) (*PancakeSwapPairSync, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*PancakeSwapPairFilterer) ParseTransfer

func (_PancakeSwapPair *PancakeSwapPairFilterer) ParseTransfer(log types.Log) (*PancakeSwapPairTransfer, error)

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

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

func (*PancakeSwapPairFilterer) WatchApproval

func (_PancakeSwapPair *PancakeSwapPairFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *PancakeSwapPairApproval, 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 (*PancakeSwapPairFilterer) WatchBurn

func (_PancakeSwapPair *PancakeSwapPairFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *PancakeSwapPairBurn, 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 (*PancakeSwapPairFilterer) WatchMint

func (_PancakeSwapPair *PancakeSwapPairFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *PancakeSwapPairMint, 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 (*PancakeSwapPairFilterer) WatchSwap

func (_PancakeSwapPair *PancakeSwapPairFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *PancakeSwapPairSwap, 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 (*PancakeSwapPairFilterer) WatchSync

func (_PancakeSwapPair *PancakeSwapPairFilterer) WatchSync(opts *bind.WatchOpts, sink chan<- *PancakeSwapPairSync) (event.Subscription, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*PancakeSwapPairFilterer) WatchTransfer

func (_PancakeSwapPair *PancakeSwapPairFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *PancakeSwapPairTransfer, 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 PancakeSwapPairMint

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

PancakeSwapPairMint represents a Mint event raised by the PancakeSwapPair contract.

type PancakeSwapPairMintIterator

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

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

func (*PancakeSwapPairMintIterator) Close

func (it *PancakeSwapPairMintIterator) Close() error

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

func (*PancakeSwapPairMintIterator) Error

func (it *PancakeSwapPairMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PancakeSwapPairMintIterator) Next

func (it *PancakeSwapPairMintIterator) 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 PancakeSwapPairRaw

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

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

func (*PancakeSwapPairRaw) Call

func (_PancakeSwapPair *PancakeSwapPairRaw) 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 (*PancakeSwapPairRaw) Transact

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

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

func (*PancakeSwapPairRaw) Transfer

func (_PancakeSwapPair *PancakeSwapPairRaw) 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 PancakeSwapPairSession

type PancakeSwapPairSession struct {
	Contract     *PancakeSwapPair  // 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
}

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

func (*PancakeSwapPairSession) Allowance

func (_PancakeSwapPair *PancakeSwapPairSession) 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 (*PancakeSwapPairSession) Approve

func (_PancakeSwapPair *PancakeSwapPairSession) 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 (*PancakeSwapPairSession) BalanceOf

func (_PancakeSwapPair *PancakeSwapPairSession) 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 (*PancakeSwapPairSession) Burn

func (_PancakeSwapPair *PancakeSwapPairSession) 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 (*PancakeSwapPairSession) DOMAINSEPARATOR

func (_PancakeSwapPair *PancakeSwapPairSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*PancakeSwapPairSession) Decimals

func (_PancakeSwapPair *PancakeSwapPairSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*PancakeSwapPairSession) Factory

func (_PancakeSwapPair *PancakeSwapPairSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*PancakeSwapPairSession) GetReserves

func (_PancakeSwapPair *PancakeSwapPairSession) 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 (*PancakeSwapPairSession) Initialize

func (_PancakeSwapPair *PancakeSwapPairSession) 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 (*PancakeSwapPairSession) KLast

func (_PancakeSwapPair *PancakeSwapPairSession) KLast() (*big.Int, error)

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

Solidity: function kLast() view returns(uint256)

func (*PancakeSwapPairSession) MINIMUMLIQUIDITY

func (_PancakeSwapPair *PancakeSwapPairSession) MINIMUMLIQUIDITY() (*big.Int, error)

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

Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)

func (*PancakeSwapPairSession) Mint

func (_PancakeSwapPair *PancakeSwapPairSession) 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 (*PancakeSwapPairSession) Name

func (_PancakeSwapPair *PancakeSwapPairSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*PancakeSwapPairSession) Nonces

func (_PancakeSwapPair *PancakeSwapPairSession) 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 (*PancakeSwapPairSession) PERMITTYPEHASH

func (_PancakeSwapPair *PancakeSwapPairSession) PERMITTYPEHASH() ([32]byte, error)

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

Solidity: function PERMIT_TYPEHASH() view returns(bytes32)

func (*PancakeSwapPairSession) Permit

func (_PancakeSwapPair *PancakeSwapPairSession) 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 (*PancakeSwapPairSession) Price0CumulativeLast

func (_PancakeSwapPair *PancakeSwapPairSession) Price0CumulativeLast() (*big.Int, error)

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

Solidity: function price0CumulativeLast() view returns(uint256)

func (*PancakeSwapPairSession) Price1CumulativeLast

func (_PancakeSwapPair *PancakeSwapPairSession) Price1CumulativeLast() (*big.Int, error)

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

Solidity: function price1CumulativeLast() view returns(uint256)

func (*PancakeSwapPairSession) Skim

func (_PancakeSwapPair *PancakeSwapPairSession) 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 (*PancakeSwapPairSession) Swap

func (_PancakeSwapPair *PancakeSwapPairSession) 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 (*PancakeSwapPairSession) Symbol

func (_PancakeSwapPair *PancakeSwapPairSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*PancakeSwapPairSession) Sync

func (_PancakeSwapPair *PancakeSwapPairSession) Sync() (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*PancakeSwapPairSession) Token0

func (_PancakeSwapPair *PancakeSwapPairSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*PancakeSwapPairSession) Token1

func (_PancakeSwapPair *PancakeSwapPairSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*PancakeSwapPairSession) TotalSupply

func (_PancakeSwapPair *PancakeSwapPairSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*PancakeSwapPairSession) Transfer

func (_PancakeSwapPair *PancakeSwapPairSession) 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 (*PancakeSwapPairSession) TransferFrom

func (_PancakeSwapPair *PancakeSwapPairSession) 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 PancakeSwapPairSwap

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

PancakeSwapPairSwap represents a Swap event raised by the PancakeSwapPair contract.

type PancakeSwapPairSwapIterator

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

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

func (*PancakeSwapPairSwapIterator) Close

func (it *PancakeSwapPairSwapIterator) Close() error

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

func (*PancakeSwapPairSwapIterator) Error

func (it *PancakeSwapPairSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PancakeSwapPairSwapIterator) Next

func (it *PancakeSwapPairSwapIterator) 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 PancakeSwapPairSync

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

PancakeSwapPairSync represents a Sync event raised by the PancakeSwapPair contract.

type PancakeSwapPairSyncIterator

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

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

func (*PancakeSwapPairSyncIterator) Close

func (it *PancakeSwapPairSyncIterator) Close() error

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

func (*PancakeSwapPairSyncIterator) Error

func (it *PancakeSwapPairSyncIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PancakeSwapPairSyncIterator) Next

func (it *PancakeSwapPairSyncIterator) 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 PancakeSwapPairTransactor

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

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

func NewPancakeSwapPairTransactor

func NewPancakeSwapPairTransactor(address common.Address, transactor bind.ContractTransactor) (*PancakeSwapPairTransactor, error)

NewPancakeSwapPairTransactor creates a new write-only instance of PancakeSwapPair, bound to a specific deployed contract.

func (*PancakeSwapPairTransactor) Approve

func (_PancakeSwapPair *PancakeSwapPairTransactor) 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 (*PancakeSwapPairTransactor) Burn

func (_PancakeSwapPair *PancakeSwapPairTransactor) 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 (*PancakeSwapPairTransactor) Initialize

func (_PancakeSwapPair *PancakeSwapPairTransactor) 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 (*PancakeSwapPairTransactor) Mint

func (_PancakeSwapPair *PancakeSwapPairTransactor) 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 (*PancakeSwapPairTransactor) Permit

func (_PancakeSwapPair *PancakeSwapPairTransactor) 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 (*PancakeSwapPairTransactor) Skim

func (_PancakeSwapPair *PancakeSwapPairTransactor) 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 (*PancakeSwapPairTransactor) Swap

func (_PancakeSwapPair *PancakeSwapPairTransactor) 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 (*PancakeSwapPairTransactor) Sync

func (_PancakeSwapPair *PancakeSwapPairTransactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*PancakeSwapPairTransactor) Transfer

func (_PancakeSwapPair *PancakeSwapPairTransactor) 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 (*PancakeSwapPairTransactor) TransferFrom

func (_PancakeSwapPair *PancakeSwapPairTransactor) 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 PancakeSwapPairTransactorRaw

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

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

func (*PancakeSwapPairTransactorRaw) Transact

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

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

func (*PancakeSwapPairTransactorRaw) Transfer

func (_PancakeSwapPair *PancakeSwapPairTransactorRaw) 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 PancakeSwapPairTransactorSession

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

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

func (*PancakeSwapPairTransactorSession) Approve

func (_PancakeSwapPair *PancakeSwapPairTransactorSession) 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 (*PancakeSwapPairTransactorSession) Burn

func (_PancakeSwapPair *PancakeSwapPairTransactorSession) 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 (*PancakeSwapPairTransactorSession) Initialize

func (_PancakeSwapPair *PancakeSwapPairTransactorSession) 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 (*PancakeSwapPairTransactorSession) Mint

func (_PancakeSwapPair *PancakeSwapPairTransactorSession) 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 (*PancakeSwapPairTransactorSession) Permit

func (_PancakeSwapPair *PancakeSwapPairTransactorSession) 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 (*PancakeSwapPairTransactorSession) Skim

func (_PancakeSwapPair *PancakeSwapPairTransactorSession) 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 (*PancakeSwapPairTransactorSession) Swap

func (_PancakeSwapPair *PancakeSwapPairTransactorSession) 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 (*PancakeSwapPairTransactorSession) Sync

func (_PancakeSwapPair *PancakeSwapPairTransactorSession) Sync() (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*PancakeSwapPairTransactorSession) Transfer

func (_PancakeSwapPair *PancakeSwapPairTransactorSession) 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 (*PancakeSwapPairTransactorSession) TransferFrom

func (_PancakeSwapPair *PancakeSwapPairTransactorSession) 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 PancakeSwapPairTransfer

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

PancakeSwapPairTransfer represents a Transfer event raised by the PancakeSwapPair contract.

type PancakeSwapPairTransferIterator

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

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

func (*PancakeSwapPairTransferIterator) Close

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

func (*PancakeSwapPairTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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