traderjoeLp

package
v0.1.22 Latest Latest
Warning

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

Go to latest
Published: Mar 25, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var TraderjoeLpABI = TraderjoeLpMetaData.ABI

TraderjoeLpABI is the input ABI used to generate the binding from. Deprecated: Use TraderjoeLpMetaData.ABI instead.

View Source
var TraderjoeLpMetaData = &bind.MetaData{
	ABI: "[{\"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\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"MINIMUM_LIQUIDITY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getReserves\",\"outputs\":[{\"internalType\":\"uint112\",\"name\":\"reserve0\",\"type\":\"uint112\"},{\"internalType\":\"uint112\",\"name\":\"reserve1\",\"type\":\"uint112\"},{\"internalType\":\"uint32\",\"name\":\"blockTimestampLast\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"price0CumulativeLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"price1CumulativeLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"skim\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"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\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sync\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token0\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"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\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

TraderjoeLpMetaData contains all meta data concerning the TraderjoeLp contract.

Functions

This section is empty.

Types

type TraderjoeLp

type TraderjoeLp struct {
	TraderjoeLpCaller     // Read-only binding to the contract
	TraderjoeLpTransactor // Write-only binding to the contract
	TraderjoeLpFilterer   // Log filterer for contract events
}

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

func NewTraderjoeLp

func NewTraderjoeLp(address common.Address, backend bind.ContractBackend) (*TraderjoeLp, error)

NewTraderjoeLp creates a new instance of TraderjoeLp, bound to a specific deployed contract.

type TraderjoeLpApproval

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

TraderjoeLpApproval represents a Approval event raised by the TraderjoeLp contract.

type TraderjoeLpApprovalIterator

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

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

func (*TraderjoeLpApprovalIterator) Close

func (it *TraderjoeLpApprovalIterator) Close() error

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

func (*TraderjoeLpApprovalIterator) Error

func (it *TraderjoeLpApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TraderjoeLpApprovalIterator) Next

func (it *TraderjoeLpApprovalIterator) 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 TraderjoeLpBurn

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

TraderjoeLpBurn represents a Burn event raised by the TraderjoeLp contract.

type TraderjoeLpBurnIterator

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

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

func (*TraderjoeLpBurnIterator) Close

func (it *TraderjoeLpBurnIterator) Close() error

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

func (*TraderjoeLpBurnIterator) Error

func (it *TraderjoeLpBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TraderjoeLpBurnIterator) Next

func (it *TraderjoeLpBurnIterator) 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 TraderjoeLpCaller

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

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

func NewTraderjoeLpCaller

func NewTraderjoeLpCaller(address common.Address, caller bind.ContractCaller) (*TraderjoeLpCaller, error)

NewTraderjoeLpCaller creates a new read-only instance of TraderjoeLp, bound to a specific deployed contract.

func (*TraderjoeLpCaller) Allowance

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

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

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

func (*TraderjoeLpCaller) BalanceOf

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

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

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

func (*TraderjoeLpCaller) DOMAINSEPARATOR

func (_TraderjoeLp *TraderjoeLpCaller) 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 (*TraderjoeLpCaller) Decimals

func (_TraderjoeLp *TraderjoeLpCaller) Decimals(opts *bind.CallOpts) (uint8, error)

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

Solidity: function decimals() pure returns(uint8)

func (*TraderjoeLpCaller) Factory

func (_TraderjoeLp *TraderjoeLpCaller) 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 (*TraderjoeLpCaller) GetReserves

func (_TraderjoeLp *TraderjoeLpCaller) 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 (*TraderjoeLpCaller) KLast

func (_TraderjoeLp *TraderjoeLpCaller) 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 (*TraderjoeLpCaller) MINIMUMLIQUIDITY

func (_TraderjoeLp *TraderjoeLpCaller) MINIMUMLIQUIDITY(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function MINIMUM_LIQUIDITY() pure returns(uint256)

func (*TraderjoeLpCaller) Name

func (_TraderjoeLp *TraderjoeLpCaller) Name(opts *bind.CallOpts) (string, error)

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

Solidity: function name() pure returns(string)

func (*TraderjoeLpCaller) Nonces

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

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

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

func (*TraderjoeLpCaller) PERMITTYPEHASH

func (_TraderjoeLp *TraderjoeLpCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

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

Solidity: function PERMIT_TYPEHASH() pure returns(bytes32)

func (*TraderjoeLpCaller) Price0CumulativeLast

func (_TraderjoeLp *TraderjoeLpCaller) 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 (*TraderjoeLpCaller) Price1CumulativeLast

func (_TraderjoeLp *TraderjoeLpCaller) 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 (*TraderjoeLpCaller) Symbol

func (_TraderjoeLp *TraderjoeLpCaller) Symbol(opts *bind.CallOpts) (string, error)

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

Solidity: function symbol() pure returns(string)

func (*TraderjoeLpCaller) Token0

func (_TraderjoeLp *TraderjoeLpCaller) 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 (*TraderjoeLpCaller) Token1

func (_TraderjoeLp *TraderjoeLpCaller) 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 (*TraderjoeLpCaller) TotalSupply

func (_TraderjoeLp *TraderjoeLpCaller) 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 TraderjoeLpCallerRaw

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

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

func (*TraderjoeLpCallerRaw) Call

func (_TraderjoeLp *TraderjoeLpCallerRaw) 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 TraderjoeLpCallerSession

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

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

func (*TraderjoeLpCallerSession) Allowance

func (_TraderjoeLp *TraderjoeLpCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*TraderjoeLpCallerSession) BalanceOf

func (_TraderjoeLp *TraderjoeLpCallerSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*TraderjoeLpCallerSession) DOMAINSEPARATOR

func (_TraderjoeLp *TraderjoeLpCallerSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*TraderjoeLpCallerSession) Decimals

func (_TraderjoeLp *TraderjoeLpCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() pure returns(uint8)

func (*TraderjoeLpCallerSession) Factory

func (_TraderjoeLp *TraderjoeLpCallerSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*TraderjoeLpCallerSession) GetReserves

func (_TraderjoeLp *TraderjoeLpCallerSession) 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 (*TraderjoeLpCallerSession) KLast

func (_TraderjoeLp *TraderjoeLpCallerSession) KLast() (*big.Int, error)

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

Solidity: function kLast() view returns(uint256)

func (*TraderjoeLpCallerSession) MINIMUMLIQUIDITY

func (_TraderjoeLp *TraderjoeLpCallerSession) MINIMUMLIQUIDITY() (*big.Int, error)

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

Solidity: function MINIMUM_LIQUIDITY() pure returns(uint256)

func (*TraderjoeLpCallerSession) Name

func (_TraderjoeLp *TraderjoeLpCallerSession) Name() (string, error)

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

Solidity: function name() pure returns(string)

func (*TraderjoeLpCallerSession) Nonces

func (_TraderjoeLp *TraderjoeLpCallerSession) Nonces(owner common.Address) (*big.Int, error)

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

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

func (*TraderjoeLpCallerSession) PERMITTYPEHASH

func (_TraderjoeLp *TraderjoeLpCallerSession) PERMITTYPEHASH() ([32]byte, error)

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

Solidity: function PERMIT_TYPEHASH() pure returns(bytes32)

func (*TraderjoeLpCallerSession) Price0CumulativeLast

func (_TraderjoeLp *TraderjoeLpCallerSession) Price0CumulativeLast() (*big.Int, error)

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

Solidity: function price0CumulativeLast() view returns(uint256)

func (*TraderjoeLpCallerSession) Price1CumulativeLast

func (_TraderjoeLp *TraderjoeLpCallerSession) Price1CumulativeLast() (*big.Int, error)

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

Solidity: function price1CumulativeLast() view returns(uint256)

func (*TraderjoeLpCallerSession) Symbol

func (_TraderjoeLp *TraderjoeLpCallerSession) Symbol() (string, error)

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

Solidity: function symbol() pure returns(string)

func (*TraderjoeLpCallerSession) Token0

func (_TraderjoeLp *TraderjoeLpCallerSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*TraderjoeLpCallerSession) Token1

func (_TraderjoeLp *TraderjoeLpCallerSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*TraderjoeLpCallerSession) TotalSupply

func (_TraderjoeLp *TraderjoeLpCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type TraderjoeLpFilterer

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

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

func NewTraderjoeLpFilterer

func NewTraderjoeLpFilterer(address common.Address, filterer bind.ContractFilterer) (*TraderjoeLpFilterer, error)

NewTraderjoeLpFilterer creates a new log filterer instance of TraderjoeLp, bound to a specific deployed contract.

func (*TraderjoeLpFilterer) FilterApproval

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

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

func (_TraderjoeLp *TraderjoeLpFilterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*TraderjoeLpMintIterator, error)

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

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

func (*TraderjoeLpFilterer) FilterSwap

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

func (_TraderjoeLp *TraderjoeLpFilterer) FilterSync(opts *bind.FilterOpts) (*TraderjoeLpSyncIterator, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*TraderjoeLpFilterer) FilterTransfer

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

func (_TraderjoeLp *TraderjoeLpFilterer) ParseApproval(log types.Log) (*TraderjoeLpApproval, error)

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

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

func (*TraderjoeLpFilterer) ParseBurn

func (_TraderjoeLp *TraderjoeLpFilterer) ParseBurn(log types.Log) (*TraderjoeLpBurn, 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 (*TraderjoeLpFilterer) ParseMint

func (_TraderjoeLp *TraderjoeLpFilterer) ParseMint(log types.Log) (*TraderjoeLpMint, error)

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

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

func (*TraderjoeLpFilterer) ParseSwap

func (_TraderjoeLp *TraderjoeLpFilterer) ParseSwap(log types.Log) (*TraderjoeLpSwap, 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 (*TraderjoeLpFilterer) ParseSync

func (_TraderjoeLp *TraderjoeLpFilterer) ParseSync(log types.Log) (*TraderjoeLpSync, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*TraderjoeLpFilterer) ParseTransfer

func (_TraderjoeLp *TraderjoeLpFilterer) ParseTransfer(log types.Log) (*TraderjoeLpTransfer, error)

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

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

func (*TraderjoeLpFilterer) WatchApproval

func (_TraderjoeLp *TraderjoeLpFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *TraderjoeLpApproval, 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 (*TraderjoeLpFilterer) WatchBurn

func (_TraderjoeLp *TraderjoeLpFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *TraderjoeLpBurn, 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 (*TraderjoeLpFilterer) WatchMint

func (_TraderjoeLp *TraderjoeLpFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *TraderjoeLpMint, 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 (*TraderjoeLpFilterer) WatchSwap

func (_TraderjoeLp *TraderjoeLpFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *TraderjoeLpSwap, 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 (*TraderjoeLpFilterer) WatchSync

func (_TraderjoeLp *TraderjoeLpFilterer) WatchSync(opts *bind.WatchOpts, sink chan<- *TraderjoeLpSync) (event.Subscription, error)

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

Solidity: event Sync(uint112 reserve0, uint112 reserve1)

func (*TraderjoeLpFilterer) WatchTransfer

func (_TraderjoeLp *TraderjoeLpFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *TraderjoeLpTransfer, 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 TraderjoeLpMint

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

TraderjoeLpMint represents a Mint event raised by the TraderjoeLp contract.

type TraderjoeLpMintIterator

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

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

func (*TraderjoeLpMintIterator) Close

func (it *TraderjoeLpMintIterator) Close() error

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

func (*TraderjoeLpMintIterator) Error

func (it *TraderjoeLpMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TraderjoeLpMintIterator) Next

func (it *TraderjoeLpMintIterator) 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 TraderjoeLpRaw

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

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

func (*TraderjoeLpRaw) Call

func (_TraderjoeLp *TraderjoeLpRaw) 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 (*TraderjoeLpRaw) Transact

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

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

func (*TraderjoeLpRaw) Transfer

func (_TraderjoeLp *TraderjoeLpRaw) 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 TraderjoeLpSession

type TraderjoeLpSession struct {
	Contract     *TraderjoeLp      // 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
}

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

func (*TraderjoeLpSession) Allowance

func (_TraderjoeLp *TraderjoeLpSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

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

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

func (*TraderjoeLpSession) Approve

func (_TraderjoeLp *TraderjoeLpSession) 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 (*TraderjoeLpSession) BalanceOf

func (_TraderjoeLp *TraderjoeLpSession) BalanceOf(owner common.Address) (*big.Int, error)

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

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

func (*TraderjoeLpSession) Burn

func (_TraderjoeLp *TraderjoeLpSession) 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 (*TraderjoeLpSession) DOMAINSEPARATOR

func (_TraderjoeLp *TraderjoeLpSession) DOMAINSEPARATOR() ([32]byte, error)

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

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*TraderjoeLpSession) Decimals

func (_TraderjoeLp *TraderjoeLpSession) Decimals() (uint8, error)

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

Solidity: function decimals() pure returns(uint8)

func (*TraderjoeLpSession) Factory

func (_TraderjoeLp *TraderjoeLpSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*TraderjoeLpSession) GetReserves

func (_TraderjoeLp *TraderjoeLpSession) 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 (*TraderjoeLpSession) Initialize

func (_TraderjoeLp *TraderjoeLpSession) Initialize(arg0 common.Address, arg1 common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeLpSession) KLast

func (_TraderjoeLp *TraderjoeLpSession) KLast() (*big.Int, error)

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

Solidity: function kLast() view returns(uint256)

func (*TraderjoeLpSession) MINIMUMLIQUIDITY

func (_TraderjoeLp *TraderjoeLpSession) MINIMUMLIQUIDITY() (*big.Int, error)

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

Solidity: function MINIMUM_LIQUIDITY() pure returns(uint256)

func (*TraderjoeLpSession) Mint

func (_TraderjoeLp *TraderjoeLpSession) 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 (*TraderjoeLpSession) Name

func (_TraderjoeLp *TraderjoeLpSession) Name() (string, error)

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

Solidity: function name() pure returns(string)

func (*TraderjoeLpSession) Nonces

func (_TraderjoeLp *TraderjoeLpSession) Nonces(owner common.Address) (*big.Int, error)

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

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

func (*TraderjoeLpSession) PERMITTYPEHASH

func (_TraderjoeLp *TraderjoeLpSession) PERMITTYPEHASH() ([32]byte, error)

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

Solidity: function PERMIT_TYPEHASH() pure returns(bytes32)

func (*TraderjoeLpSession) Permit

func (_TraderjoeLp *TraderjoeLpSession) 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 (*TraderjoeLpSession) Price0CumulativeLast

func (_TraderjoeLp *TraderjoeLpSession) Price0CumulativeLast() (*big.Int, error)

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

Solidity: function price0CumulativeLast() view returns(uint256)

func (*TraderjoeLpSession) Price1CumulativeLast

func (_TraderjoeLp *TraderjoeLpSession) Price1CumulativeLast() (*big.Int, error)

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

Solidity: function price1CumulativeLast() view returns(uint256)

func (*TraderjoeLpSession) Skim

func (_TraderjoeLp *TraderjoeLpSession) 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 (*TraderjoeLpSession) Swap

func (_TraderjoeLp *TraderjoeLpSession) 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 (*TraderjoeLpSession) Symbol

func (_TraderjoeLp *TraderjoeLpSession) Symbol() (string, error)

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

Solidity: function symbol() pure returns(string)

func (*TraderjoeLpSession) Sync

func (_TraderjoeLp *TraderjoeLpSession) Sync() (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*TraderjoeLpSession) Token0

func (_TraderjoeLp *TraderjoeLpSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*TraderjoeLpSession) Token1

func (_TraderjoeLp *TraderjoeLpSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*TraderjoeLpSession) TotalSupply

func (_TraderjoeLp *TraderjoeLpSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*TraderjoeLpSession) Transfer

func (_TraderjoeLp *TraderjoeLpSession) 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 (*TraderjoeLpSession) TransferFrom

func (_TraderjoeLp *TraderjoeLpSession) 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 TraderjoeLpSwap

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

TraderjoeLpSwap represents a Swap event raised by the TraderjoeLp contract.

type TraderjoeLpSwapIterator

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

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

func (*TraderjoeLpSwapIterator) Close

func (it *TraderjoeLpSwapIterator) Close() error

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

func (*TraderjoeLpSwapIterator) Error

func (it *TraderjoeLpSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TraderjoeLpSwapIterator) Next

func (it *TraderjoeLpSwapIterator) 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 TraderjoeLpSync

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

TraderjoeLpSync represents a Sync event raised by the TraderjoeLp contract.

type TraderjoeLpSyncIterator

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

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

func (*TraderjoeLpSyncIterator) Close

func (it *TraderjoeLpSyncIterator) Close() error

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

func (*TraderjoeLpSyncIterator) Error

func (it *TraderjoeLpSyncIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TraderjoeLpSyncIterator) Next

func (it *TraderjoeLpSyncIterator) 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 TraderjoeLpTransactor

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

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

func NewTraderjoeLpTransactor

func NewTraderjoeLpTransactor(address common.Address, transactor bind.ContractTransactor) (*TraderjoeLpTransactor, error)

NewTraderjoeLpTransactor creates a new write-only instance of TraderjoeLp, bound to a specific deployed contract.

func (*TraderjoeLpTransactor) Approve

func (_TraderjoeLp *TraderjoeLpTransactor) 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 (*TraderjoeLpTransactor) Burn

func (_TraderjoeLp *TraderjoeLpTransactor) 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 (*TraderjoeLpTransactor) Initialize

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

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

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

func (*TraderjoeLpTransactor) Mint

func (_TraderjoeLp *TraderjoeLpTransactor) 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 (*TraderjoeLpTransactor) Permit

func (_TraderjoeLp *TraderjoeLpTransactor) 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 (*TraderjoeLpTransactor) Skim

func (_TraderjoeLp *TraderjoeLpTransactor) 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 (*TraderjoeLpTransactor) Swap

func (_TraderjoeLp *TraderjoeLpTransactor) 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 (*TraderjoeLpTransactor) Sync

func (_TraderjoeLp *TraderjoeLpTransactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*TraderjoeLpTransactor) Transfer

func (_TraderjoeLp *TraderjoeLpTransactor) 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 (*TraderjoeLpTransactor) TransferFrom

func (_TraderjoeLp *TraderjoeLpTransactor) 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 TraderjoeLpTransactorRaw

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

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

func (*TraderjoeLpTransactorRaw) Transact

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

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

func (*TraderjoeLpTransactorRaw) Transfer

func (_TraderjoeLp *TraderjoeLpTransactorRaw) 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 TraderjoeLpTransactorSession

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

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

func (*TraderjoeLpTransactorSession) Approve

func (_TraderjoeLp *TraderjoeLpTransactorSession) 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 (*TraderjoeLpTransactorSession) Burn

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

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

func (*TraderjoeLpTransactorSession) Initialize

func (_TraderjoeLp *TraderjoeLpTransactorSession) Initialize(arg0 common.Address, arg1 common.Address) (*types.Transaction, error)

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

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

func (*TraderjoeLpTransactorSession) Mint

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

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

func (*TraderjoeLpTransactorSession) Permit

func (_TraderjoeLp *TraderjoeLpTransactorSession) 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 (*TraderjoeLpTransactorSession) Skim

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

Solidity: function skim(address to) returns()

func (*TraderjoeLpTransactorSession) Swap

func (_TraderjoeLp *TraderjoeLpTransactorSession) 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 (*TraderjoeLpTransactorSession) Sync

func (_TraderjoeLp *TraderjoeLpTransactorSession) Sync() (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*TraderjoeLpTransactorSession) Transfer

func (_TraderjoeLp *TraderjoeLpTransactorSession) 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 (*TraderjoeLpTransactorSession) TransferFrom

func (_TraderjoeLp *TraderjoeLpTransactorSession) 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 TraderjoeLpTransfer

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

TraderjoeLpTransfer represents a Transfer event raised by the TraderjoeLp contract.

type TraderjoeLpTransferIterator

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

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

func (*TraderjoeLpTransferIterator) Close

func (it *TraderjoeLpTransferIterator) Close() error

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

func (*TraderjoeLpTransferIterator) Error

func (it *TraderjoeLpTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TraderjoeLpTransferIterator) Next

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

Jump to

Keyboard shortcuts

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