ilynex_v2_pair

package
v0.0.117 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2024 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ILynexPairABI = ILynexPairMetaData.ABI

ILynexPairABI is the input ABI used to generate the binding from. Deprecated: Use ILynexPairMetaData.ABI instead.

View Source
var ILynexPairMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"constructor\",\"inputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"allowance\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"blockTimestampLast\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"burn\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"amount0\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"amount1\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"claimFees\",\"inputs\":[],\"outputs\":[{\"name\":\"claimed0\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"claimed1\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"claimable0\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"claimable1\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"current\",\"inputs\":[{\"name\":\"tokenIn\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amountIn\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"amountOut\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"currentCumulativePrices\",\"inputs\":[],\"outputs\":[{\"name\":\"reserve0Cumulative\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"reserve1Cumulative\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"blockTimestamp\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"fees\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getAmountOut\",\"inputs\":[{\"name\":\"amountIn\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"tokenIn\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getReserves\",\"inputs\":[],\"outputs\":[{\"name\":\"_reserve0\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_reserve1\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"_blockTimestampLast\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"index0\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"index1\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"isStable\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"lastObservation\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"tuple\",\"internalType\":\"structPair.Observation\",\"components\":[{\"name\":\"timestamp\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"reserve0Cumulative\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"reserve1Cumulative\",\"type\":\"uint256\",\"internalType\":\"uint256\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"metadata\",\"inputs\":[],\"outputs\":[{\"name\":\"dec0\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"dec1\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"r0\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"r1\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"st\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"t0\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"t1\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"mint\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"liquidity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nonces\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"observationLength\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"observations\",\"inputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"timestamp\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"reserve0Cumulative\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"reserve1Cumulative\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"permit\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"deadline\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"v\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"r\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"s\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"prices\",\"inputs\":[{\"name\":\"tokenIn\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amountIn\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"points\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"quote\",\"inputs\":[{\"name\":\"tokenIn\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amountIn\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"granularity\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"amountOut\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"reserve0\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"reserve0CumulativeLast\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"reserve1\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"reserve1CumulativeLast\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"sample\",\"inputs\":[{\"name\":\"tokenIn\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amountIn\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"points\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"window\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"skim\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"stable\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"supplyIndex0\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"supplyIndex1\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"swap\",\"inputs\":[{\"name\":\"amount0Out\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"amount1Out\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"sync\",\"inputs\":[],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"token0\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"token1\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"tokens\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"name\":\"dst\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"src\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"dst\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Burn\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount0\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"amount1\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Claim\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"recipient\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount0\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"amount1\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Fees\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount0\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"amount1\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Mint\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount0\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"amount1\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Swap\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"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\":false,\"internalType\":\"uint256\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Sync\",\"inputs\":[{\"name\":\"reserve0\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"reserve1\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
}

ILynexPairMetaData contains all meta data concerning the ILynexPair contract.

Functions

This section is empty.

Types

type ILynexPair

type ILynexPair struct {
	ILynexPairCaller     // Read-only binding to the contract
	ILynexPairTransactor // Write-only binding to the contract
	ILynexPairFilterer   // Log filterer for contract events
}

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

func NewILynexPair

func NewILynexPair(address common.Address, backend bind.ContractBackend) (*ILynexPair, error)

NewILynexPair creates a new instance of ILynexPair, bound to a specific deployed contract.

type ILynexPairApproval

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

ILynexPairApproval represents a Approval event raised by the ILynexPair contract.

type ILynexPairApprovalIterator

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

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

func (*ILynexPairApprovalIterator) Close

func (it *ILynexPairApprovalIterator) Close() error

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

func (*ILynexPairApprovalIterator) Error

func (it *ILynexPairApprovalIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexPairApprovalIterator) Next

func (it *ILynexPairApprovalIterator) 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 ILynexPairBurn

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

ILynexPairBurn represents a Burn event raised by the ILynexPair contract.

type ILynexPairBurnIterator

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

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

func (*ILynexPairBurnIterator) Close

func (it *ILynexPairBurnIterator) Close() error

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

func (*ILynexPairBurnIterator) Error

func (it *ILynexPairBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexPairBurnIterator) Next

func (it *ILynexPairBurnIterator) 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 ILynexPairCaller

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

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

func NewILynexPairCaller

func NewILynexPairCaller(address common.Address, caller bind.ContractCaller) (*ILynexPairCaller, error)

NewILynexPairCaller creates a new read-only instance of ILynexPair, bound to a specific deployed contract.

func (*ILynexPairCaller) Allowance

func (_ILynexPair *ILynexPairCaller) 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 (*ILynexPairCaller) BalanceOf

func (_ILynexPair *ILynexPairCaller) 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 (*ILynexPairCaller) BlockTimestampLast

func (_ILynexPair *ILynexPairCaller) BlockTimestampLast(opts *bind.CallOpts) (*big.Int, error)

BlockTimestampLast is a free data retrieval call binding the contract method 0xc5700a02.

Solidity: function blockTimestampLast() view returns(uint256)

func (*ILynexPairCaller) Claimable0

func (_ILynexPair *ILynexPairCaller) Claimable0(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Claimable0 is a free data retrieval call binding the contract method 0x4d5a9f8a.

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

func (*ILynexPairCaller) Claimable1

func (_ILynexPair *ILynexPairCaller) Claimable1(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

Claimable1 is a free data retrieval call binding the contract method 0xa1ac4d13.

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

func (*ILynexPairCaller) Current

func (_ILynexPair *ILynexPairCaller) Current(opts *bind.CallOpts, tokenIn common.Address, amountIn *big.Int) (*big.Int, error)

Current is a free data retrieval call binding the contract method 0x517b3f82.

Solidity: function current(address tokenIn, uint256 amountIn) view returns(uint256 amountOut)

func (*ILynexPairCaller) CurrentCumulativePrices

func (_ILynexPair *ILynexPairCaller) CurrentCumulativePrices(opts *bind.CallOpts) (struct {
	Reserve0Cumulative *big.Int
	Reserve1Cumulative *big.Int
	BlockTimestamp     *big.Int
}, error)

CurrentCumulativePrices is a free data retrieval call binding the contract method 0x1df8c717.

Solidity: function currentCumulativePrices() view returns(uint256 reserve0Cumulative, uint256 reserve1Cumulative, uint256 blockTimestamp)

func (*ILynexPairCaller) Decimals

func (_ILynexPair *ILynexPairCaller) 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 (*ILynexPairCaller) Fees

func (_ILynexPair *ILynexPairCaller) Fees(opts *bind.CallOpts) (common.Address, error)

Fees is a free data retrieval call binding the contract method 0x9af1d35a.

Solidity: function fees() view returns(address)

func (*ILynexPairCaller) GetAmountOut

func (_ILynexPair *ILynexPairCaller) GetAmountOut(opts *bind.CallOpts, amountIn *big.Int, tokenIn common.Address) (*big.Int, error)

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

Solidity: function getAmountOut(uint256 amountIn, address tokenIn) view returns(uint256)

func (*ILynexPairCaller) GetReserves

func (_ILynexPair *ILynexPairCaller) GetReserves(opts *bind.CallOpts) (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast *big.Int
}, error)

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

Solidity: function getReserves() view returns(uint256 _reserve0, uint256 _reserve1, uint256 _blockTimestampLast)

func (*ILynexPairCaller) Index0

func (_ILynexPair *ILynexPairCaller) Index0(opts *bind.CallOpts) (*big.Int, error)

Index0 is a free data retrieval call binding the contract method 0x32c0defd.

Solidity: function index0() view returns(uint256)

func (*ILynexPairCaller) Index1

func (_ILynexPair *ILynexPairCaller) Index1(opts *bind.CallOpts) (*big.Int, error)

Index1 is a free data retrieval call binding the contract method 0xbda39cad.

Solidity: function index1() view returns(uint256)

func (*ILynexPairCaller) IsStable

func (_ILynexPair *ILynexPairCaller) IsStable(opts *bind.CallOpts) (bool, error)

IsStable is a free data retrieval call binding the contract method 0x09047bdd.

Solidity: function isStable() view returns(bool)

func (*ILynexPairCaller) LastObservation

func (_ILynexPair *ILynexPairCaller) LastObservation(opts *bind.CallOpts) (PairObservation, error)

LastObservation is a free data retrieval call binding the contract method 0x8a7b8cf2.

Solidity: function lastObservation() view returns((uint256,uint256,uint256))

func (*ILynexPairCaller) Metadata

func (_ILynexPair *ILynexPairCaller) Metadata(opts *bind.CallOpts) (struct {
	Dec0 *big.Int
	Dec1 *big.Int
	R0   *big.Int
	R1   *big.Int
	St   bool
	T0   common.Address
	T1   common.Address
}, error)

Metadata is a free data retrieval call binding the contract method 0x392f37e9.

Solidity: function metadata() view returns(uint256 dec0, uint256 dec1, uint256 r0, uint256 r1, bool st, address t0, address t1)

func (*ILynexPairCaller) Name

func (_ILynexPair *ILynexPairCaller) 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 (*ILynexPairCaller) Nonces

func (_ILynexPair *ILynexPairCaller) 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 (*ILynexPairCaller) ObservationLength

func (_ILynexPair *ILynexPairCaller) ObservationLength(opts *bind.CallOpts) (*big.Int, error)

ObservationLength is a free data retrieval call binding the contract method 0xebeb31db.

Solidity: function observationLength() view returns(uint256)

func (*ILynexPairCaller) Observations

func (_ILynexPair *ILynexPairCaller) Observations(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Timestamp          *big.Int
	Reserve0Cumulative *big.Int
	Reserve1Cumulative *big.Int
}, error)

Observations is a free data retrieval call binding the contract method 0x252c09d7.

Solidity: function observations(uint256 ) view returns(uint256 timestamp, uint256 reserve0Cumulative, uint256 reserve1Cumulative)

func (*ILynexPairCaller) Prices

func (_ILynexPair *ILynexPairCaller) Prices(opts *bind.CallOpts, tokenIn common.Address, amountIn *big.Int, points *big.Int) ([]*big.Int, error)

Prices is a free data retrieval call binding the contract method 0x5881c475.

Solidity: function prices(address tokenIn, uint256 amountIn, uint256 points) view returns(uint256[])

func (*ILynexPairCaller) Quote

func (_ILynexPair *ILynexPairCaller) Quote(opts *bind.CallOpts, tokenIn common.Address, amountIn *big.Int, granularity *big.Int) (*big.Int, error)

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

Solidity: function quote(address tokenIn, uint256 amountIn, uint256 granularity) view returns(uint256 amountOut)

func (*ILynexPairCaller) Reserve0

func (_ILynexPair *ILynexPairCaller) Reserve0(opts *bind.CallOpts) (*big.Int, error)

Reserve0 is a free data retrieval call binding the contract method 0x443cb4bc.

Solidity: function reserve0() view returns(uint256)

func (*ILynexPairCaller) Reserve0CumulativeLast

func (_ILynexPair *ILynexPairCaller) Reserve0CumulativeLast(opts *bind.CallOpts) (*big.Int, error)

Reserve0CumulativeLast is a free data retrieval call binding the contract method 0xbf944dbc.

Solidity: function reserve0CumulativeLast() view returns(uint256)

func (*ILynexPairCaller) Reserve1

func (_ILynexPair *ILynexPairCaller) Reserve1(opts *bind.CallOpts) (*big.Int, error)

Reserve1 is a free data retrieval call binding the contract method 0x5a76f25e.

Solidity: function reserve1() view returns(uint256)

func (*ILynexPairCaller) Reserve1CumulativeLast

func (_ILynexPair *ILynexPairCaller) Reserve1CumulativeLast(opts *bind.CallOpts) (*big.Int, error)

Reserve1CumulativeLast is a free data retrieval call binding the contract method 0xc245febc.

Solidity: function reserve1CumulativeLast() view returns(uint256)

func (*ILynexPairCaller) Sample

func (_ILynexPair *ILynexPairCaller) Sample(opts *bind.CallOpts, tokenIn common.Address, amountIn *big.Int, points *big.Int, window *big.Int) ([]*big.Int, error)

Sample is a free data retrieval call binding the contract method 0x13345fe1.

Solidity: function sample(address tokenIn, uint256 amountIn, uint256 points, uint256 window) view returns(uint256[])

func (*ILynexPairCaller) Stable

func (_ILynexPair *ILynexPairCaller) Stable(opts *bind.CallOpts) (bool, error)

Stable is a free data retrieval call binding the contract method 0x22be3de1.

Solidity: function stable() view returns(bool)

func (*ILynexPairCaller) SupplyIndex0

func (_ILynexPair *ILynexPairCaller) SupplyIndex0(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

SupplyIndex0 is a free data retrieval call binding the contract method 0x9f767c88.

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

func (*ILynexPairCaller) SupplyIndex1

func (_ILynexPair *ILynexPairCaller) SupplyIndex1(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

SupplyIndex1 is a free data retrieval call binding the contract method 0x205aabf1.

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

func (*ILynexPairCaller) Symbol

func (_ILynexPair *ILynexPairCaller) 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 (*ILynexPairCaller) Token0

func (_ILynexPair *ILynexPairCaller) 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 (*ILynexPairCaller) Token1

func (_ILynexPair *ILynexPairCaller) 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 (*ILynexPairCaller) Tokens

func (_ILynexPair *ILynexPairCaller) Tokens(opts *bind.CallOpts) (common.Address, common.Address, error)

Tokens is a free data retrieval call binding the contract method 0x9d63848a.

Solidity: function tokens() view returns(address, address)

func (*ILynexPairCaller) TotalSupply

func (_ILynexPair *ILynexPairCaller) 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 ILynexPairCallerRaw

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

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

func (*ILynexPairCallerRaw) Call

func (_ILynexPair *ILynexPairCallerRaw) 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 ILynexPairCallerSession

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

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

func (*ILynexPairCallerSession) Allowance

func (_ILynexPair *ILynexPairCallerSession) 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 (*ILynexPairCallerSession) BalanceOf

func (_ILynexPair *ILynexPairCallerSession) 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 (*ILynexPairCallerSession) BlockTimestampLast

func (_ILynexPair *ILynexPairCallerSession) BlockTimestampLast() (*big.Int, error)

BlockTimestampLast is a free data retrieval call binding the contract method 0xc5700a02.

Solidity: function blockTimestampLast() view returns(uint256)

func (*ILynexPairCallerSession) Claimable0

func (_ILynexPair *ILynexPairCallerSession) Claimable0(arg0 common.Address) (*big.Int, error)

Claimable0 is a free data retrieval call binding the contract method 0x4d5a9f8a.

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

func (*ILynexPairCallerSession) Claimable1

func (_ILynexPair *ILynexPairCallerSession) Claimable1(arg0 common.Address) (*big.Int, error)

Claimable1 is a free data retrieval call binding the contract method 0xa1ac4d13.

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

func (*ILynexPairCallerSession) Current

func (_ILynexPair *ILynexPairCallerSession) Current(tokenIn common.Address, amountIn *big.Int) (*big.Int, error)

Current is a free data retrieval call binding the contract method 0x517b3f82.

Solidity: function current(address tokenIn, uint256 amountIn) view returns(uint256 amountOut)

func (*ILynexPairCallerSession) CurrentCumulativePrices

func (_ILynexPair *ILynexPairCallerSession) CurrentCumulativePrices() (struct {
	Reserve0Cumulative *big.Int
	Reserve1Cumulative *big.Int
	BlockTimestamp     *big.Int
}, error)

CurrentCumulativePrices is a free data retrieval call binding the contract method 0x1df8c717.

Solidity: function currentCumulativePrices() view returns(uint256 reserve0Cumulative, uint256 reserve1Cumulative, uint256 blockTimestamp)

func (*ILynexPairCallerSession) Decimals

func (_ILynexPair *ILynexPairCallerSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ILynexPairCallerSession) Fees

func (_ILynexPair *ILynexPairCallerSession) Fees() (common.Address, error)

Fees is a free data retrieval call binding the contract method 0x9af1d35a.

Solidity: function fees() view returns(address)

func (*ILynexPairCallerSession) GetAmountOut

func (_ILynexPair *ILynexPairCallerSession) GetAmountOut(amountIn *big.Int, tokenIn common.Address) (*big.Int, error)

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

Solidity: function getAmountOut(uint256 amountIn, address tokenIn) view returns(uint256)

func (*ILynexPairCallerSession) GetReserves

func (_ILynexPair *ILynexPairCallerSession) GetReserves() (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast *big.Int
}, error)

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

Solidity: function getReserves() view returns(uint256 _reserve0, uint256 _reserve1, uint256 _blockTimestampLast)

func (*ILynexPairCallerSession) Index0

func (_ILynexPair *ILynexPairCallerSession) Index0() (*big.Int, error)

Index0 is a free data retrieval call binding the contract method 0x32c0defd.

Solidity: function index0() view returns(uint256)

func (*ILynexPairCallerSession) Index1

func (_ILynexPair *ILynexPairCallerSession) Index1() (*big.Int, error)

Index1 is a free data retrieval call binding the contract method 0xbda39cad.

Solidity: function index1() view returns(uint256)

func (*ILynexPairCallerSession) IsStable

func (_ILynexPair *ILynexPairCallerSession) IsStable() (bool, error)

IsStable is a free data retrieval call binding the contract method 0x09047bdd.

Solidity: function isStable() view returns(bool)

func (*ILynexPairCallerSession) LastObservation

func (_ILynexPair *ILynexPairCallerSession) LastObservation() (PairObservation, error)

LastObservation is a free data retrieval call binding the contract method 0x8a7b8cf2.

Solidity: function lastObservation() view returns((uint256,uint256,uint256))

func (*ILynexPairCallerSession) Metadata

func (_ILynexPair *ILynexPairCallerSession) Metadata() (struct {
	Dec0 *big.Int
	Dec1 *big.Int
	R0   *big.Int
	R1   *big.Int
	St   bool
	T0   common.Address
	T1   common.Address
}, error)

Metadata is a free data retrieval call binding the contract method 0x392f37e9.

Solidity: function metadata() view returns(uint256 dec0, uint256 dec1, uint256 r0, uint256 r1, bool st, address t0, address t1)

func (*ILynexPairCallerSession) Name

func (_ILynexPair *ILynexPairCallerSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ILynexPairCallerSession) Nonces

func (_ILynexPair *ILynexPairCallerSession) 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 (*ILynexPairCallerSession) ObservationLength

func (_ILynexPair *ILynexPairCallerSession) ObservationLength() (*big.Int, error)

ObservationLength is a free data retrieval call binding the contract method 0xebeb31db.

Solidity: function observationLength() view returns(uint256)

func (*ILynexPairCallerSession) Observations

func (_ILynexPair *ILynexPairCallerSession) Observations(arg0 *big.Int) (struct {
	Timestamp          *big.Int
	Reserve0Cumulative *big.Int
	Reserve1Cumulative *big.Int
}, error)

Observations is a free data retrieval call binding the contract method 0x252c09d7.

Solidity: function observations(uint256 ) view returns(uint256 timestamp, uint256 reserve0Cumulative, uint256 reserve1Cumulative)

func (*ILynexPairCallerSession) Prices

func (_ILynexPair *ILynexPairCallerSession) Prices(tokenIn common.Address, amountIn *big.Int, points *big.Int) ([]*big.Int, error)

Prices is a free data retrieval call binding the contract method 0x5881c475.

Solidity: function prices(address tokenIn, uint256 amountIn, uint256 points) view returns(uint256[])

func (*ILynexPairCallerSession) Quote

func (_ILynexPair *ILynexPairCallerSession) Quote(tokenIn common.Address, amountIn *big.Int, granularity *big.Int) (*big.Int, error)

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

Solidity: function quote(address tokenIn, uint256 amountIn, uint256 granularity) view returns(uint256 amountOut)

func (*ILynexPairCallerSession) Reserve0

func (_ILynexPair *ILynexPairCallerSession) Reserve0() (*big.Int, error)

Reserve0 is a free data retrieval call binding the contract method 0x443cb4bc.

Solidity: function reserve0() view returns(uint256)

func (*ILynexPairCallerSession) Reserve0CumulativeLast

func (_ILynexPair *ILynexPairCallerSession) Reserve0CumulativeLast() (*big.Int, error)

Reserve0CumulativeLast is a free data retrieval call binding the contract method 0xbf944dbc.

Solidity: function reserve0CumulativeLast() view returns(uint256)

func (*ILynexPairCallerSession) Reserve1

func (_ILynexPair *ILynexPairCallerSession) Reserve1() (*big.Int, error)

Reserve1 is a free data retrieval call binding the contract method 0x5a76f25e.

Solidity: function reserve1() view returns(uint256)

func (*ILynexPairCallerSession) Reserve1CumulativeLast

func (_ILynexPair *ILynexPairCallerSession) Reserve1CumulativeLast() (*big.Int, error)

Reserve1CumulativeLast is a free data retrieval call binding the contract method 0xc245febc.

Solidity: function reserve1CumulativeLast() view returns(uint256)

func (*ILynexPairCallerSession) Sample

func (_ILynexPair *ILynexPairCallerSession) Sample(tokenIn common.Address, amountIn *big.Int, points *big.Int, window *big.Int) ([]*big.Int, error)

Sample is a free data retrieval call binding the contract method 0x13345fe1.

Solidity: function sample(address tokenIn, uint256 amountIn, uint256 points, uint256 window) view returns(uint256[])

func (*ILynexPairCallerSession) Stable

func (_ILynexPair *ILynexPairCallerSession) Stable() (bool, error)

Stable is a free data retrieval call binding the contract method 0x22be3de1.

Solidity: function stable() view returns(bool)

func (*ILynexPairCallerSession) SupplyIndex0

func (_ILynexPair *ILynexPairCallerSession) SupplyIndex0(arg0 common.Address) (*big.Int, error)

SupplyIndex0 is a free data retrieval call binding the contract method 0x9f767c88.

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

func (*ILynexPairCallerSession) SupplyIndex1

func (_ILynexPair *ILynexPairCallerSession) SupplyIndex1(arg0 common.Address) (*big.Int, error)

SupplyIndex1 is a free data retrieval call binding the contract method 0x205aabf1.

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

func (*ILynexPairCallerSession) Symbol

func (_ILynexPair *ILynexPairCallerSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ILynexPairCallerSession) Token0

func (_ILynexPair *ILynexPairCallerSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*ILynexPairCallerSession) Token1

func (_ILynexPair *ILynexPairCallerSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*ILynexPairCallerSession) Tokens

func (_ILynexPair *ILynexPairCallerSession) Tokens() (common.Address, common.Address, error)

Tokens is a free data retrieval call binding the contract method 0x9d63848a.

Solidity: function tokens() view returns(address, address)

func (*ILynexPairCallerSession) TotalSupply

func (_ILynexPair *ILynexPairCallerSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

type ILynexPairClaim

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

ILynexPairClaim represents a Claim event raised by the ILynexPair contract.

type ILynexPairClaimIterator

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

ILynexPairClaimIterator is returned from FilterClaim and is used to iterate over the raw logs and unpacked data for Claim events raised by the ILynexPair contract.

func (*ILynexPairClaimIterator) Close

func (it *ILynexPairClaimIterator) Close() error

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

func (*ILynexPairClaimIterator) Error

func (it *ILynexPairClaimIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexPairClaimIterator) Next

func (it *ILynexPairClaimIterator) 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 ILynexPairFees

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

ILynexPairFees represents a Fees event raised by the ILynexPair contract.

type ILynexPairFeesIterator

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

ILynexPairFeesIterator is returned from FilterFees and is used to iterate over the raw logs and unpacked data for Fees events raised by the ILynexPair contract.

func (*ILynexPairFeesIterator) Close

func (it *ILynexPairFeesIterator) Close() error

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

func (*ILynexPairFeesIterator) Error

func (it *ILynexPairFeesIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexPairFeesIterator) Next

func (it *ILynexPairFeesIterator) 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 ILynexPairFilterer

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

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

func NewILynexPairFilterer

func NewILynexPairFilterer(address common.Address, filterer bind.ContractFilterer) (*ILynexPairFilterer, error)

NewILynexPairFilterer creates a new log filterer instance of ILynexPair, bound to a specific deployed contract.

func (*ILynexPairFilterer) FilterApproval

func (_ILynexPair *ILynexPairFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ILynexPairApprovalIterator, error)

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

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

func (*ILynexPairFilterer) FilterBurn

func (_ILynexPair *ILynexPairFilterer) FilterBurn(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*ILynexPairBurnIterator, 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 (*ILynexPairFilterer) FilterClaim

func (_ILynexPair *ILynexPairFilterer) FilterClaim(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*ILynexPairClaimIterator, error)

FilterClaim is a free log retrieval operation binding the contract event 0x865ca08d59f5cb456e85cd2f7ef63664ea4f73327414e9d8152c4158b0e94645.

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

func (*ILynexPairFilterer) FilterFees

func (_ILynexPair *ILynexPairFilterer) FilterFees(opts *bind.FilterOpts, sender []common.Address) (*ILynexPairFeesIterator, error)

FilterFees is a free log retrieval operation binding the contract event 0x112c256902bf554b6ed882d2936687aaeb4225e8cd5b51303c90ca6cf43a8602.

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

func (*ILynexPairFilterer) FilterMint

func (_ILynexPair *ILynexPairFilterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*ILynexPairMintIterator, error)

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

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

func (*ILynexPairFilterer) FilterSwap

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

func (_ILynexPair *ILynexPairFilterer) FilterSync(opts *bind.FilterOpts) (*ILynexPairSyncIterator, error)

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

Solidity: event Sync(uint256 reserve0, uint256 reserve1)

func (*ILynexPairFilterer) FilterTransfer

func (_ILynexPair *ILynexPairFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ILynexPairTransferIterator, error)

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

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

func (*ILynexPairFilterer) ParseApproval

func (_ILynexPair *ILynexPairFilterer) ParseApproval(log types.Log) (*ILynexPairApproval, error)

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

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

func (*ILynexPairFilterer) ParseBurn

func (_ILynexPair *ILynexPairFilterer) ParseBurn(log types.Log) (*ILynexPairBurn, 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 (*ILynexPairFilterer) ParseClaim

func (_ILynexPair *ILynexPairFilterer) ParseClaim(log types.Log) (*ILynexPairClaim, error)

ParseClaim is a log parse operation binding the contract event 0x865ca08d59f5cb456e85cd2f7ef63664ea4f73327414e9d8152c4158b0e94645.

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

func (*ILynexPairFilterer) ParseFees

func (_ILynexPair *ILynexPairFilterer) ParseFees(log types.Log) (*ILynexPairFees, error)

ParseFees is a log parse operation binding the contract event 0x112c256902bf554b6ed882d2936687aaeb4225e8cd5b51303c90ca6cf43a8602.

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

func (*ILynexPairFilterer) ParseMint

func (_ILynexPair *ILynexPairFilterer) ParseMint(log types.Log) (*ILynexPairMint, error)

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

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

func (*ILynexPairFilterer) ParseSwap

func (_ILynexPair *ILynexPairFilterer) ParseSwap(log types.Log) (*ILynexPairSwap, 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 (*ILynexPairFilterer) ParseSync

func (_ILynexPair *ILynexPairFilterer) ParseSync(log types.Log) (*ILynexPairSync, error)

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

Solidity: event Sync(uint256 reserve0, uint256 reserve1)

func (*ILynexPairFilterer) ParseTransfer

func (_ILynexPair *ILynexPairFilterer) ParseTransfer(log types.Log) (*ILynexPairTransfer, error)

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

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

func (*ILynexPairFilterer) WatchApproval

func (_ILynexPair *ILynexPairFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ILynexPairApproval, 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 amount)

func (*ILynexPairFilterer) WatchBurn

func (_ILynexPair *ILynexPairFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *ILynexPairBurn, 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 (*ILynexPairFilterer) WatchClaim

func (_ILynexPair *ILynexPairFilterer) WatchClaim(opts *bind.WatchOpts, sink chan<- *ILynexPairClaim, sender []common.Address, recipient []common.Address) (event.Subscription, error)

WatchClaim is a free log subscription operation binding the contract event 0x865ca08d59f5cb456e85cd2f7ef63664ea4f73327414e9d8152c4158b0e94645.

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

func (*ILynexPairFilterer) WatchFees

func (_ILynexPair *ILynexPairFilterer) WatchFees(opts *bind.WatchOpts, sink chan<- *ILynexPairFees, sender []common.Address) (event.Subscription, error)

WatchFees is a free log subscription operation binding the contract event 0x112c256902bf554b6ed882d2936687aaeb4225e8cd5b51303c90ca6cf43a8602.

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

func (*ILynexPairFilterer) WatchMint

func (_ILynexPair *ILynexPairFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *ILynexPairMint, 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 (*ILynexPairFilterer) WatchSwap

func (_ILynexPair *ILynexPairFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *ILynexPairSwap, 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 (*ILynexPairFilterer) WatchSync

func (_ILynexPair *ILynexPairFilterer) WatchSync(opts *bind.WatchOpts, sink chan<- *ILynexPairSync) (event.Subscription, error)

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

Solidity: event Sync(uint256 reserve0, uint256 reserve1)

func (*ILynexPairFilterer) WatchTransfer

func (_ILynexPair *ILynexPairFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ILynexPairTransfer, 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 amount)

type ILynexPairMint

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

ILynexPairMint represents a Mint event raised by the ILynexPair contract.

type ILynexPairMintIterator

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

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

func (*ILynexPairMintIterator) Close

func (it *ILynexPairMintIterator) Close() error

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

func (*ILynexPairMintIterator) Error

func (it *ILynexPairMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexPairMintIterator) Next

func (it *ILynexPairMintIterator) 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 ILynexPairRaw

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

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

func (*ILynexPairRaw) Call

func (_ILynexPair *ILynexPairRaw) 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 (*ILynexPairRaw) Transact

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

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

func (*ILynexPairRaw) Transfer

func (_ILynexPair *ILynexPairRaw) 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 ILynexPairSession

type ILynexPairSession struct {
	Contract     *ILynexPair       // 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
}

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

func (*ILynexPairSession) Allowance

func (_ILynexPair *ILynexPairSession) 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 (*ILynexPairSession) Approve

func (_ILynexPair *ILynexPairSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*ILynexPairSession) BalanceOf

func (_ILynexPair *ILynexPairSession) 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 (*ILynexPairSession) BlockTimestampLast

func (_ILynexPair *ILynexPairSession) BlockTimestampLast() (*big.Int, error)

BlockTimestampLast is a free data retrieval call binding the contract method 0xc5700a02.

Solidity: function blockTimestampLast() view returns(uint256)

func (*ILynexPairSession) Burn

func (_ILynexPair *ILynexPairSession) 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 (*ILynexPairSession) ClaimFees

func (_ILynexPair *ILynexPairSession) ClaimFees() (*types.Transaction, error)

ClaimFees is a paid mutator transaction binding the contract method 0xd294f093.

Solidity: function claimFees() returns(uint256 claimed0, uint256 claimed1)

func (*ILynexPairSession) Claimable0

func (_ILynexPair *ILynexPairSession) Claimable0(arg0 common.Address) (*big.Int, error)

Claimable0 is a free data retrieval call binding the contract method 0x4d5a9f8a.

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

func (*ILynexPairSession) Claimable1

func (_ILynexPair *ILynexPairSession) Claimable1(arg0 common.Address) (*big.Int, error)

Claimable1 is a free data retrieval call binding the contract method 0xa1ac4d13.

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

func (*ILynexPairSession) Current

func (_ILynexPair *ILynexPairSession) Current(tokenIn common.Address, amountIn *big.Int) (*big.Int, error)

Current is a free data retrieval call binding the contract method 0x517b3f82.

Solidity: function current(address tokenIn, uint256 amountIn) view returns(uint256 amountOut)

func (*ILynexPairSession) CurrentCumulativePrices

func (_ILynexPair *ILynexPairSession) CurrentCumulativePrices() (struct {
	Reserve0Cumulative *big.Int
	Reserve1Cumulative *big.Int
	BlockTimestamp     *big.Int
}, error)

CurrentCumulativePrices is a free data retrieval call binding the contract method 0x1df8c717.

Solidity: function currentCumulativePrices() view returns(uint256 reserve0Cumulative, uint256 reserve1Cumulative, uint256 blockTimestamp)

func (*ILynexPairSession) Decimals

func (_ILynexPair *ILynexPairSession) Decimals() (uint8, error)

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

Solidity: function decimals() view returns(uint8)

func (*ILynexPairSession) Fees

func (_ILynexPair *ILynexPairSession) Fees() (common.Address, error)

Fees is a free data retrieval call binding the contract method 0x9af1d35a.

Solidity: function fees() view returns(address)

func (*ILynexPairSession) GetAmountOut

func (_ILynexPair *ILynexPairSession) GetAmountOut(amountIn *big.Int, tokenIn common.Address) (*big.Int, error)

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

Solidity: function getAmountOut(uint256 amountIn, address tokenIn) view returns(uint256)

func (*ILynexPairSession) GetReserves

func (_ILynexPair *ILynexPairSession) GetReserves() (struct {
	Reserve0           *big.Int
	Reserve1           *big.Int
	BlockTimestampLast *big.Int
}, error)

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

Solidity: function getReserves() view returns(uint256 _reserve0, uint256 _reserve1, uint256 _blockTimestampLast)

func (*ILynexPairSession) Index0

func (_ILynexPair *ILynexPairSession) Index0() (*big.Int, error)

Index0 is a free data retrieval call binding the contract method 0x32c0defd.

Solidity: function index0() view returns(uint256)

func (*ILynexPairSession) Index1

func (_ILynexPair *ILynexPairSession) Index1() (*big.Int, error)

Index1 is a free data retrieval call binding the contract method 0xbda39cad.

Solidity: function index1() view returns(uint256)

func (*ILynexPairSession) IsStable

func (_ILynexPair *ILynexPairSession) IsStable() (bool, error)

IsStable is a free data retrieval call binding the contract method 0x09047bdd.

Solidity: function isStable() view returns(bool)

func (*ILynexPairSession) LastObservation

func (_ILynexPair *ILynexPairSession) LastObservation() (PairObservation, error)

LastObservation is a free data retrieval call binding the contract method 0x8a7b8cf2.

Solidity: function lastObservation() view returns((uint256,uint256,uint256))

func (*ILynexPairSession) Metadata

func (_ILynexPair *ILynexPairSession) Metadata() (struct {
	Dec0 *big.Int
	Dec1 *big.Int
	R0   *big.Int
	R1   *big.Int
	St   bool
	T0   common.Address
	T1   common.Address
}, error)

Metadata is a free data retrieval call binding the contract method 0x392f37e9.

Solidity: function metadata() view returns(uint256 dec0, uint256 dec1, uint256 r0, uint256 r1, bool st, address t0, address t1)

func (*ILynexPairSession) Mint

func (_ILynexPair *ILynexPairSession) 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 (*ILynexPairSession) Name

func (_ILynexPair *ILynexPairSession) Name() (string, error)

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

Solidity: function name() view returns(string)

func (*ILynexPairSession) Nonces

func (_ILynexPair *ILynexPairSession) 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 (*ILynexPairSession) ObservationLength

func (_ILynexPair *ILynexPairSession) ObservationLength() (*big.Int, error)

ObservationLength is a free data retrieval call binding the contract method 0xebeb31db.

Solidity: function observationLength() view returns(uint256)

func (*ILynexPairSession) Observations

func (_ILynexPair *ILynexPairSession) Observations(arg0 *big.Int) (struct {
	Timestamp          *big.Int
	Reserve0Cumulative *big.Int
	Reserve1Cumulative *big.Int
}, error)

Observations is a free data retrieval call binding the contract method 0x252c09d7.

Solidity: function observations(uint256 ) view returns(uint256 timestamp, uint256 reserve0Cumulative, uint256 reserve1Cumulative)

func (*ILynexPairSession) Permit

func (_ILynexPair *ILynexPairSession) 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 (*ILynexPairSession) Prices

func (_ILynexPair *ILynexPairSession) Prices(tokenIn common.Address, amountIn *big.Int, points *big.Int) ([]*big.Int, error)

Prices is a free data retrieval call binding the contract method 0x5881c475.

Solidity: function prices(address tokenIn, uint256 amountIn, uint256 points) view returns(uint256[])

func (*ILynexPairSession) Quote

func (_ILynexPair *ILynexPairSession) Quote(tokenIn common.Address, amountIn *big.Int, granularity *big.Int) (*big.Int, error)

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

Solidity: function quote(address tokenIn, uint256 amountIn, uint256 granularity) view returns(uint256 amountOut)

func (*ILynexPairSession) Reserve0

func (_ILynexPair *ILynexPairSession) Reserve0() (*big.Int, error)

Reserve0 is a free data retrieval call binding the contract method 0x443cb4bc.

Solidity: function reserve0() view returns(uint256)

func (*ILynexPairSession) Reserve0CumulativeLast

func (_ILynexPair *ILynexPairSession) Reserve0CumulativeLast() (*big.Int, error)

Reserve0CumulativeLast is a free data retrieval call binding the contract method 0xbf944dbc.

Solidity: function reserve0CumulativeLast() view returns(uint256)

func (*ILynexPairSession) Reserve1

func (_ILynexPair *ILynexPairSession) Reserve1() (*big.Int, error)

Reserve1 is a free data retrieval call binding the contract method 0x5a76f25e.

Solidity: function reserve1() view returns(uint256)

func (*ILynexPairSession) Reserve1CumulativeLast

func (_ILynexPair *ILynexPairSession) Reserve1CumulativeLast() (*big.Int, error)

Reserve1CumulativeLast is a free data retrieval call binding the contract method 0xc245febc.

Solidity: function reserve1CumulativeLast() view returns(uint256)

func (*ILynexPairSession) Sample

func (_ILynexPair *ILynexPairSession) Sample(tokenIn common.Address, amountIn *big.Int, points *big.Int, window *big.Int) ([]*big.Int, error)

Sample is a free data retrieval call binding the contract method 0x13345fe1.

Solidity: function sample(address tokenIn, uint256 amountIn, uint256 points, uint256 window) view returns(uint256[])

func (*ILynexPairSession) Skim

func (_ILynexPair *ILynexPairSession) 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 (*ILynexPairSession) Stable

func (_ILynexPair *ILynexPairSession) Stable() (bool, error)

Stable is a free data retrieval call binding the contract method 0x22be3de1.

Solidity: function stable() view returns(bool)

func (*ILynexPairSession) SupplyIndex0

func (_ILynexPair *ILynexPairSession) SupplyIndex0(arg0 common.Address) (*big.Int, error)

SupplyIndex0 is a free data retrieval call binding the contract method 0x9f767c88.

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

func (*ILynexPairSession) SupplyIndex1

func (_ILynexPair *ILynexPairSession) SupplyIndex1(arg0 common.Address) (*big.Int, error)

SupplyIndex1 is a free data retrieval call binding the contract method 0x205aabf1.

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

func (*ILynexPairSession) Swap

func (_ILynexPair *ILynexPairSession) 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 (*ILynexPairSession) Symbol

func (_ILynexPair *ILynexPairSession) Symbol() (string, error)

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

Solidity: function symbol() view returns(string)

func (*ILynexPairSession) Sync

func (_ILynexPair *ILynexPairSession) Sync() (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*ILynexPairSession) Token0

func (_ILynexPair *ILynexPairSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*ILynexPairSession) Token1

func (_ILynexPair *ILynexPairSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*ILynexPairSession) Tokens

func (_ILynexPair *ILynexPairSession) Tokens() (common.Address, common.Address, error)

Tokens is a free data retrieval call binding the contract method 0x9d63848a.

Solidity: function tokens() view returns(address, address)

func (*ILynexPairSession) TotalSupply

func (_ILynexPair *ILynexPairSession) TotalSupply() (*big.Int, error)

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

Solidity: function totalSupply() view returns(uint256)

func (*ILynexPairSession) Transfer

func (_ILynexPair *ILynexPairSession) Transfer(dst common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address dst, uint256 amount) returns(bool)

func (*ILynexPairSession) TransferFrom

func (_ILynexPair *ILynexPairSession) TransferFrom(src common.Address, dst common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address src, address dst, uint256 amount) returns(bool)

type ILynexPairSwap

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

ILynexPairSwap represents a Swap event raised by the ILynexPair contract.

type ILynexPairSwapIterator

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

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

func (*ILynexPairSwapIterator) Close

func (it *ILynexPairSwapIterator) Close() error

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

func (*ILynexPairSwapIterator) Error

func (it *ILynexPairSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexPairSwapIterator) Next

func (it *ILynexPairSwapIterator) 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 ILynexPairSync

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

ILynexPairSync represents a Sync event raised by the ILynexPair contract.

type ILynexPairSyncIterator

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

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

func (*ILynexPairSyncIterator) Close

func (it *ILynexPairSyncIterator) Close() error

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

func (*ILynexPairSyncIterator) Error

func (it *ILynexPairSyncIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexPairSyncIterator) Next

func (it *ILynexPairSyncIterator) 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 ILynexPairTransactor

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

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

func NewILynexPairTransactor

func NewILynexPairTransactor(address common.Address, transactor bind.ContractTransactor) (*ILynexPairTransactor, error)

NewILynexPairTransactor creates a new write-only instance of ILynexPair, bound to a specific deployed contract.

func (*ILynexPairTransactor) Approve

func (_ILynexPair *ILynexPairTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*ILynexPairTransactor) Burn

func (_ILynexPair *ILynexPairTransactor) 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 (*ILynexPairTransactor) ClaimFees

func (_ILynexPair *ILynexPairTransactor) ClaimFees(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimFees is a paid mutator transaction binding the contract method 0xd294f093.

Solidity: function claimFees() returns(uint256 claimed0, uint256 claimed1)

func (*ILynexPairTransactor) Mint

func (_ILynexPair *ILynexPairTransactor) 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 (*ILynexPairTransactor) Permit

func (_ILynexPair *ILynexPairTransactor) 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 (*ILynexPairTransactor) Skim

func (_ILynexPair *ILynexPairTransactor) 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 (*ILynexPairTransactor) Swap

func (_ILynexPair *ILynexPairTransactor) 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 (*ILynexPairTransactor) Sync

func (_ILynexPair *ILynexPairTransactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*ILynexPairTransactor) Transfer

func (_ILynexPair *ILynexPairTransactor) Transfer(opts *bind.TransactOpts, dst common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address dst, uint256 amount) returns(bool)

func (*ILynexPairTransactor) TransferFrom

func (_ILynexPair *ILynexPairTransactor) TransferFrom(opts *bind.TransactOpts, src common.Address, dst common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address src, address dst, uint256 amount) returns(bool)

type ILynexPairTransactorRaw

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

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

func (*ILynexPairTransactorRaw) Transact

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

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

func (*ILynexPairTransactorRaw) Transfer

func (_ILynexPair *ILynexPairTransactorRaw) 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 ILynexPairTransactorSession

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

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

func (*ILynexPairTransactorSession) Approve

func (_ILynexPair *ILynexPairTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

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

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

func (*ILynexPairTransactorSession) Burn

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

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

func (*ILynexPairTransactorSession) ClaimFees

func (_ILynexPair *ILynexPairTransactorSession) ClaimFees() (*types.Transaction, error)

ClaimFees is a paid mutator transaction binding the contract method 0xd294f093.

Solidity: function claimFees() returns(uint256 claimed0, uint256 claimed1)

func (*ILynexPairTransactorSession) Mint

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

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

func (*ILynexPairTransactorSession) Permit

func (_ILynexPair *ILynexPairTransactorSession) 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 (*ILynexPairTransactorSession) Skim

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

Solidity: function skim(address to) returns()

func (*ILynexPairTransactorSession) Swap

func (_ILynexPair *ILynexPairTransactorSession) 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 (*ILynexPairTransactorSession) Sync

func (_ILynexPair *ILynexPairTransactorSession) Sync() (*types.Transaction, error)

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

Solidity: function sync() returns()

func (*ILynexPairTransactorSession) Transfer

func (_ILynexPair *ILynexPairTransactorSession) Transfer(dst common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transfer(address dst, uint256 amount) returns(bool)

func (*ILynexPairTransactorSession) TransferFrom

func (_ILynexPair *ILynexPairTransactorSession) TransferFrom(src common.Address, dst common.Address, amount *big.Int) (*types.Transaction, error)

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

Solidity: function transferFrom(address src, address dst, uint256 amount) returns(bool)

type ILynexPairTransfer

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

ILynexPairTransfer represents a Transfer event raised by the ILynexPair contract.

type ILynexPairTransferIterator

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

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

func (*ILynexPairTransferIterator) Close

func (it *ILynexPairTransferIterator) Close() error

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

func (*ILynexPairTransferIterator) Error

func (it *ILynexPairTransferIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexPairTransferIterator) Next

func (it *ILynexPairTransferIterator) 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 PairObservation

type PairObservation struct {
	Timestamp          *big.Int
	Reserve0Cumulative *big.Int
	Reserve1Cumulative *big.Int
}

PairObservation is an auto generated low-level Go binding around an user-defined struct.

Jump to

Keyboard shortcuts

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