ilynex_v3_pool

package
v0.0.121 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ILynexV3PoolABI = ILynexV3PoolMetaData.ABI

ILynexV3PoolABI is the input ABI used to generate the binding from. Deprecated: Use ILynexV3PoolMetaData.ABI instead.

View Source
var ILynexV3PoolMetaData = &bind.MetaData{
	ABI: "[{\"type\":\"function\",\"name\":\"activeIncentive\",\"inputs\":[],\"outputs\":[{\"name\":\"virtualPool\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"burn\",\"inputs\":[{\"name\":\"bottomTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"topTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"amount\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"outputs\":[{\"name\":\"amount0\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"amount1\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"collect\",\"inputs\":[{\"name\":\"recipient\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"bottomTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"topTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"amount0Requested\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"amount1Requested\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"outputs\":[{\"name\":\"amount0\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"amount1\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"dataStorageOperator\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"factory\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"flash\",\"inputs\":[{\"name\":\"recipient\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount0\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"amount1\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"getInnerCumulatives\",\"inputs\":[{\"name\":\"bottomTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"topTick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"innerTickCumulative\",\"type\":\"int56\",\"internalType\":\"int56\"},{\"name\":\"innerSecondsSpentPerLiquidity\",\"type\":\"uint160\",\"internalType\":\"uint160\"},{\"name\":\"innerSecondsSpent\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"getTimepoints\",\"inputs\":[{\"name\":\"secondsAgos\",\"type\":\"uint32[]\",\"internalType\":\"uint32[]\"}],\"outputs\":[{\"name\":\"tickCumulatives\",\"type\":\"int56[]\",\"internalType\":\"int56[]\"},{\"name\":\"secondsPerLiquidityCumulatives\",\"type\":\"uint160[]\",\"internalType\":\"uint160[]\"},{\"name\":\"volatilityCumulatives\",\"type\":\"uint112[]\",\"internalType\":\"uint112[]\"},{\"name\":\"volumePerAvgLiquiditys\",\"type\":\"uint256[]\",\"internalType\":\"uint256[]\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"globalState\",\"inputs\":[],\"outputs\":[{\"name\":\"price\",\"type\":\"uint160\",\"internalType\":\"uint160\"},{\"name\":\"tick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"fee\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"timepointIndex\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"communityFeeToken0\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"communityFeeToken1\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"unlocked\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"initialize\",\"inputs\":[{\"name\":\"price\",\"type\":\"uint160\",\"internalType\":\"uint160\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"liquidity\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"liquidityCooldown\",\"inputs\":[],\"outputs\":[{\"name\":\"cooldownInSeconds\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"maxLiquidityPerTick\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"mint\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"recipient\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"bottomTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"topTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"amount\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"amount0\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"amount1\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"liquidityActual\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"positions\",\"inputs\":[{\"name\":\"key\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[{\"name\":\"liquidityAmount\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"lastLiquidityAddTimestamp\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"innerFeeGrowth0Token\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"innerFeeGrowth1Token\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"fees0\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"fees1\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"setCommunityFee\",\"inputs\":[{\"name\":\"communityFee0\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"communityFee1\",\"type\":\"uint16\",\"internalType\":\"uint16\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setIncentive\",\"inputs\":[{\"name\":\"virtualPoolAddress\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setLiquidityCooldown\",\"inputs\":[{\"name\":\"newLiquidityCooldown\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"setTickSpacing\",\"inputs\":[{\"name\":\"newTickSpacing\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"swap\",\"inputs\":[{\"name\":\"recipient\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"zeroToOne\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"amountSpecified\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"limitSqrtPrice\",\"type\":\"uint160\",\"internalType\":\"uint160\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"amount0\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"amount1\",\"type\":\"int256\",\"internalType\":\"int256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"swapSupportingFeeOnInputTokens\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"recipient\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"zeroToOne\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"amountSpecified\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"limitSqrtPrice\",\"type\":\"uint160\",\"internalType\":\"uint160\"},{\"name\":\"data\",\"type\":\"bytes\",\"internalType\":\"bytes\"}],\"outputs\":[{\"name\":\"amount0\",\"type\":\"int256\",\"internalType\":\"int256\"},{\"name\":\"amount1\",\"type\":\"int256\",\"internalType\":\"int256\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"tickSpacing\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"tickTable\",\"inputs\":[{\"name\":\"wordPosition\",\"type\":\"int16\",\"internalType\":\"int16\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"ticks\",\"inputs\":[{\"name\":\"tick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"liquidityTotal\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"liquidityDelta\",\"type\":\"int128\",\"internalType\":\"int128\"},{\"name\":\"outerFeeGrowth0Token\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"outerFeeGrowth1Token\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"outerTickCumulative\",\"type\":\"int56\",\"internalType\":\"int56\"},{\"name\":\"outerSecondsPerLiquidity\",\"type\":\"uint160\",\"internalType\":\"uint160\"},{\"name\":\"outerSecondsSpent\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"initialized\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"timepoints\",\"inputs\":[{\"name\":\"index\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"initialized\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"blockTimestamp\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"tickCumulative\",\"type\":\"int56\",\"internalType\":\"int56\"},{\"name\":\"secondsPerLiquidityCumulative\",\"type\":\"uint160\",\"internalType\":\"uint160\"},{\"name\":\"volatilityCumulative\",\"type\":\"uint88\",\"internalType\":\"uint88\"},{\"name\":\"averageTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"volumePerLiquidityCumulative\",\"type\":\"uint144\",\"internalType\":\"uint144\"}],\"stateMutability\":\"view\"},{\"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\":\"totalFeeGrowth0Token\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalFeeGrowth1Token\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"event\",\"name\":\"Burn\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"bottomTick\",\"type\":\"int24\",\"indexed\":true,\"internalType\":\"int24\"},{\"name\":\"topTick\",\"type\":\"int24\",\"indexed\":true,\"internalType\":\"int24\"},{\"name\":\"liquidityAmount\",\"type\":\"uint128\",\"indexed\":false,\"internalType\":\"uint128\"},{\"name\":\"amount0\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"amount1\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Collect\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"recipient\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"bottomTick\",\"type\":\"int24\",\"indexed\":true,\"internalType\":\"int24\"},{\"name\":\"topTick\",\"type\":\"int24\",\"indexed\":true,\"internalType\":\"int24\"},{\"name\":\"amount0\",\"type\":\"uint128\",\"indexed\":false,\"internalType\":\"uint128\"},{\"name\":\"amount1\",\"type\":\"uint128\",\"indexed\":false,\"internalType\":\"uint128\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"CommunityFee\",\"inputs\":[{\"name\":\"communityFee0New\",\"type\":\"uint16\",\"indexed\":false,\"internalType\":\"uint16\"},{\"name\":\"communityFee1New\",\"type\":\"uint16\",\"indexed\":false,\"internalType\":\"uint16\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Fee\",\"inputs\":[{\"name\":\"fee\",\"type\":\"uint16\",\"indexed\":false,\"internalType\":\"uint16\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Flash\",\"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\"},{\"name\":\"paid0\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"},{\"name\":\"paid1\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Incentive\",\"inputs\":[{\"name\":\"virtualPoolAddress\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Initialize\",\"inputs\":[{\"name\":\"price\",\"type\":\"uint160\",\"indexed\":false,\"internalType\":\"uint160\"},{\"name\":\"tick\",\"type\":\"int24\",\"indexed\":false,\"internalType\":\"int24\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"LiquidityCooldown\",\"inputs\":[{\"name\":\"liquidityCooldown\",\"type\":\"uint32\",\"indexed\":false,\"internalType\":\"uint32\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Mint\",\"inputs\":[{\"name\":\"sender\",\"type\":\"address\",\"indexed\":false,\"internalType\":\"address\"},{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"bottomTick\",\"type\":\"int24\",\"indexed\":true,\"internalType\":\"int24\"},{\"name\":\"topTick\",\"type\":\"int24\",\"indexed\":true,\"internalType\":\"int24\"},{\"name\":\"liquidityAmount\",\"type\":\"uint128\",\"indexed\":false,\"internalType\":\"uint128\"},{\"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\":\"recipient\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount0\",\"type\":\"int256\",\"indexed\":false,\"internalType\":\"int256\"},{\"name\":\"amount1\",\"type\":\"int256\",\"indexed\":false,\"internalType\":\"int256\"},{\"name\":\"price\",\"type\":\"uint160\",\"indexed\":false,\"internalType\":\"uint160\"},{\"name\":\"liquidity\",\"type\":\"uint128\",\"indexed\":false,\"internalType\":\"uint128\"},{\"name\":\"tick\",\"type\":\"int24\",\"indexed\":false,\"internalType\":\"int24\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"TickSpacing\",\"inputs\":[{\"name\":\"newTickSpacing\",\"type\":\"int24\",\"indexed\":false,\"internalType\":\"int24\"}],\"anonymous\":false}]",
}

ILynexV3PoolMetaData contains all meta data concerning the ILynexV3Pool contract.

Functions

This section is empty.

Types

type ILynexV3Pool

type ILynexV3Pool struct {
	ILynexV3PoolCaller     // Read-only binding to the contract
	ILynexV3PoolTransactor // Write-only binding to the contract
	ILynexV3PoolFilterer   // Log filterer for contract events
}

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

func NewILynexV3Pool

func NewILynexV3Pool(address common.Address, backend bind.ContractBackend) (*ILynexV3Pool, error)

NewILynexV3Pool creates a new instance of ILynexV3Pool, bound to a specific deployed contract.

type ILynexV3PoolBurn

type ILynexV3PoolBurn struct {
	Owner           common.Address
	BottomTick      *big.Int
	TopTick         *big.Int
	LiquidityAmount *big.Int
	Amount0         *big.Int
	Amount1         *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

ILynexV3PoolBurn represents a Burn event raised by the ILynexV3Pool contract.

type ILynexV3PoolBurnIterator

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

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

func (*ILynexV3PoolBurnIterator) Close

func (it *ILynexV3PoolBurnIterator) Close() error

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

func (*ILynexV3PoolBurnIterator) Error

func (it *ILynexV3PoolBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexV3PoolBurnIterator) Next

func (it *ILynexV3PoolBurnIterator) 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 ILynexV3PoolCaller

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

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

func NewILynexV3PoolCaller

func NewILynexV3PoolCaller(address common.Address, caller bind.ContractCaller) (*ILynexV3PoolCaller, error)

NewILynexV3PoolCaller creates a new read-only instance of ILynexV3Pool, bound to a specific deployed contract.

func (*ILynexV3PoolCaller) ActiveIncentive

func (_ILynexV3Pool *ILynexV3PoolCaller) ActiveIncentive(opts *bind.CallOpts) (common.Address, error)

ActiveIncentive is a free data retrieval call binding the contract method 0xfacb0eb1.

Solidity: function activeIncentive() view returns(address virtualPool)

func (*ILynexV3PoolCaller) DataStorageOperator

func (_ILynexV3Pool *ILynexV3PoolCaller) DataStorageOperator(opts *bind.CallOpts) (common.Address, error)

DataStorageOperator is a free data retrieval call binding the contract method 0x29047dfa.

Solidity: function dataStorageOperator() view returns(address)

func (*ILynexV3PoolCaller) Factory

func (_ILynexV3Pool *ILynexV3PoolCaller) 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 (*ILynexV3PoolCaller) GetInnerCumulatives

func (_ILynexV3Pool *ILynexV3PoolCaller) GetInnerCumulatives(opts *bind.CallOpts, bottomTick *big.Int, topTick *big.Int) (struct {
	InnerTickCumulative           *big.Int
	InnerSecondsSpentPerLiquidity *big.Int
	InnerSecondsSpent             uint32
}, error)

GetInnerCumulatives is a free data retrieval call binding the contract method 0x920c34e5.

Solidity: function getInnerCumulatives(int24 bottomTick, int24 topTick) view returns(int56 innerTickCumulative, uint160 innerSecondsSpentPerLiquidity, uint32 innerSecondsSpent)

func (*ILynexV3PoolCaller) GetTimepoints

func (_ILynexV3Pool *ILynexV3PoolCaller) GetTimepoints(opts *bind.CallOpts, secondsAgos []uint32) (struct {
	TickCumulatives                []*big.Int
	SecondsPerLiquidityCumulatives []*big.Int
	VolatilityCumulatives          []*big.Int
	VolumePerAvgLiquiditys         []*big.Int
}, error)

GetTimepoints is a free data retrieval call binding the contract method 0x9d3a5241.

Solidity: function getTimepoints(uint32[] secondsAgos) view returns(int56[] tickCumulatives, uint160[] secondsPerLiquidityCumulatives, uint112[] volatilityCumulatives, uint256[] volumePerAvgLiquiditys)

func (*ILynexV3PoolCaller) GlobalState

func (_ILynexV3Pool *ILynexV3PoolCaller) GlobalState(opts *bind.CallOpts) (struct {
	Price              *big.Int
	Tick               *big.Int
	Fee                uint16
	TimepointIndex     uint16
	CommunityFeeToken0 uint16
	CommunityFeeToken1 uint16
	Unlocked           bool
}, error)

GlobalState is a free data retrieval call binding the contract method 0xe76c01e4.

Solidity: function globalState() view returns(uint160 price, int24 tick, uint16 fee, uint16 timepointIndex, uint16 communityFeeToken0, uint16 communityFeeToken1, bool unlocked)

func (*ILynexV3PoolCaller) Liquidity

func (_ILynexV3Pool *ILynexV3PoolCaller) Liquidity(opts *bind.CallOpts) (*big.Int, error)

Liquidity is a free data retrieval call binding the contract method 0x1a686502.

Solidity: function liquidity() view returns(uint128)

func (*ILynexV3PoolCaller) LiquidityCooldown

func (_ILynexV3Pool *ILynexV3PoolCaller) LiquidityCooldown(opts *bind.CallOpts) (uint32, error)

LiquidityCooldown is a free data retrieval call binding the contract method 0x17e25b3c.

Solidity: function liquidityCooldown() view returns(uint32 cooldownInSeconds)

func (*ILynexV3PoolCaller) MaxLiquidityPerTick

func (_ILynexV3Pool *ILynexV3PoolCaller) MaxLiquidityPerTick(opts *bind.CallOpts) (*big.Int, error)

MaxLiquidityPerTick is a free data retrieval call binding the contract method 0x70cf754a.

Solidity: function maxLiquidityPerTick() view returns(uint128)

func (*ILynexV3PoolCaller) Positions

func (_ILynexV3Pool *ILynexV3PoolCaller) Positions(opts *bind.CallOpts, key [32]byte) (struct {
	LiquidityAmount           *big.Int
	LastLiquidityAddTimestamp uint32
	InnerFeeGrowth0Token      *big.Int
	InnerFeeGrowth1Token      *big.Int
	Fees0                     *big.Int
	Fees1                     *big.Int
}, error)

Positions is a free data retrieval call binding the contract method 0x514ea4bf.

Solidity: function positions(bytes32 key) view returns(uint128 liquidityAmount, uint32 lastLiquidityAddTimestamp, uint256 innerFeeGrowth0Token, uint256 innerFeeGrowth1Token, uint128 fees0, uint128 fees1)

func (*ILynexV3PoolCaller) TickSpacing

func (_ILynexV3Pool *ILynexV3PoolCaller) TickSpacing(opts *bind.CallOpts) (*big.Int, error)

TickSpacing is a free data retrieval call binding the contract method 0xd0c93a7c.

Solidity: function tickSpacing() view returns(int24)

func (*ILynexV3PoolCaller) TickTable

func (_ILynexV3Pool *ILynexV3PoolCaller) TickTable(opts *bind.CallOpts, wordPosition int16) (*big.Int, error)

TickTable is a free data retrieval call binding the contract method 0xc677e3e0.

Solidity: function tickTable(int16 wordPosition) view returns(uint256)

func (*ILynexV3PoolCaller) Ticks

func (_ILynexV3Pool *ILynexV3PoolCaller) Ticks(opts *bind.CallOpts, tick *big.Int) (struct {
	LiquidityTotal           *big.Int
	LiquidityDelta           *big.Int
	OuterFeeGrowth0Token     *big.Int
	OuterFeeGrowth1Token     *big.Int
	OuterTickCumulative      *big.Int
	OuterSecondsPerLiquidity *big.Int
	OuterSecondsSpent        uint32
	Initialized              bool
}, error)

Ticks is a free data retrieval call binding the contract method 0xf30dba93.

Solidity: function ticks(int24 tick) view returns(uint128 liquidityTotal, int128 liquidityDelta, uint256 outerFeeGrowth0Token, uint256 outerFeeGrowth1Token, int56 outerTickCumulative, uint160 outerSecondsPerLiquidity, uint32 outerSecondsSpent, bool initialized)

func (*ILynexV3PoolCaller) Timepoints

func (_ILynexV3Pool *ILynexV3PoolCaller) Timepoints(opts *bind.CallOpts, index *big.Int) (struct {
	Initialized                   bool
	BlockTimestamp                uint32
	TickCumulative                *big.Int
	SecondsPerLiquidityCumulative *big.Int
	VolatilityCumulative          *big.Int
	AverageTick                   *big.Int
	VolumePerLiquidityCumulative  *big.Int
}, error)

Timepoints is a free data retrieval call binding the contract method 0x74eceae6.

Solidity: function timepoints(uint256 index) view returns(bool initialized, uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulative, uint88 volatilityCumulative, int24 averageTick, uint144 volumePerLiquidityCumulative)

func (*ILynexV3PoolCaller) Token0

func (_ILynexV3Pool *ILynexV3PoolCaller) 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 (*ILynexV3PoolCaller) Token1

func (_ILynexV3Pool *ILynexV3PoolCaller) 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 (*ILynexV3PoolCaller) TotalFeeGrowth0Token

func (_ILynexV3Pool *ILynexV3PoolCaller) TotalFeeGrowth0Token(opts *bind.CallOpts) (*big.Int, error)

TotalFeeGrowth0Token is a free data retrieval call binding the contract method 0x6378ae44.

Solidity: function totalFeeGrowth0Token() view returns(uint256)

func (*ILynexV3PoolCaller) TotalFeeGrowth1Token

func (_ILynexV3Pool *ILynexV3PoolCaller) TotalFeeGrowth1Token(opts *bind.CallOpts) (*big.Int, error)

TotalFeeGrowth1Token is a free data retrieval call binding the contract method 0xecdecf42.

Solidity: function totalFeeGrowth1Token() view returns(uint256)

type ILynexV3PoolCallerRaw

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

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

func (*ILynexV3PoolCallerRaw) Call

func (_ILynexV3Pool *ILynexV3PoolCallerRaw) 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 ILynexV3PoolCallerSession

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

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

func (*ILynexV3PoolCallerSession) ActiveIncentive

func (_ILynexV3Pool *ILynexV3PoolCallerSession) ActiveIncentive() (common.Address, error)

ActiveIncentive is a free data retrieval call binding the contract method 0xfacb0eb1.

Solidity: function activeIncentive() view returns(address virtualPool)

func (*ILynexV3PoolCallerSession) DataStorageOperator

func (_ILynexV3Pool *ILynexV3PoolCallerSession) DataStorageOperator() (common.Address, error)

DataStorageOperator is a free data retrieval call binding the contract method 0x29047dfa.

Solidity: function dataStorageOperator() view returns(address)

func (*ILynexV3PoolCallerSession) Factory

func (_ILynexV3Pool *ILynexV3PoolCallerSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*ILynexV3PoolCallerSession) GetInnerCumulatives

func (_ILynexV3Pool *ILynexV3PoolCallerSession) GetInnerCumulatives(bottomTick *big.Int, topTick *big.Int) (struct {
	InnerTickCumulative           *big.Int
	InnerSecondsSpentPerLiquidity *big.Int
	InnerSecondsSpent             uint32
}, error)

GetInnerCumulatives is a free data retrieval call binding the contract method 0x920c34e5.

Solidity: function getInnerCumulatives(int24 bottomTick, int24 topTick) view returns(int56 innerTickCumulative, uint160 innerSecondsSpentPerLiquidity, uint32 innerSecondsSpent)

func (*ILynexV3PoolCallerSession) GetTimepoints

func (_ILynexV3Pool *ILynexV3PoolCallerSession) GetTimepoints(secondsAgos []uint32) (struct {
	TickCumulatives                []*big.Int
	SecondsPerLiquidityCumulatives []*big.Int
	VolatilityCumulatives          []*big.Int
	VolumePerAvgLiquiditys         []*big.Int
}, error)

GetTimepoints is a free data retrieval call binding the contract method 0x9d3a5241.

Solidity: function getTimepoints(uint32[] secondsAgos) view returns(int56[] tickCumulatives, uint160[] secondsPerLiquidityCumulatives, uint112[] volatilityCumulatives, uint256[] volumePerAvgLiquiditys)

func (*ILynexV3PoolCallerSession) GlobalState

func (_ILynexV3Pool *ILynexV3PoolCallerSession) GlobalState() (struct {
	Price              *big.Int
	Tick               *big.Int
	Fee                uint16
	TimepointIndex     uint16
	CommunityFeeToken0 uint16
	CommunityFeeToken1 uint16
	Unlocked           bool
}, error)

GlobalState is a free data retrieval call binding the contract method 0xe76c01e4.

Solidity: function globalState() view returns(uint160 price, int24 tick, uint16 fee, uint16 timepointIndex, uint16 communityFeeToken0, uint16 communityFeeToken1, bool unlocked)

func (*ILynexV3PoolCallerSession) Liquidity

func (_ILynexV3Pool *ILynexV3PoolCallerSession) Liquidity() (*big.Int, error)

Liquidity is a free data retrieval call binding the contract method 0x1a686502.

Solidity: function liquidity() view returns(uint128)

func (*ILynexV3PoolCallerSession) LiquidityCooldown

func (_ILynexV3Pool *ILynexV3PoolCallerSession) LiquidityCooldown() (uint32, error)

LiquidityCooldown is a free data retrieval call binding the contract method 0x17e25b3c.

Solidity: function liquidityCooldown() view returns(uint32 cooldownInSeconds)

func (*ILynexV3PoolCallerSession) MaxLiquidityPerTick

func (_ILynexV3Pool *ILynexV3PoolCallerSession) MaxLiquidityPerTick() (*big.Int, error)

MaxLiquidityPerTick is a free data retrieval call binding the contract method 0x70cf754a.

Solidity: function maxLiquidityPerTick() view returns(uint128)

func (*ILynexV3PoolCallerSession) Positions

func (_ILynexV3Pool *ILynexV3PoolCallerSession) Positions(key [32]byte) (struct {
	LiquidityAmount           *big.Int
	LastLiquidityAddTimestamp uint32
	InnerFeeGrowth0Token      *big.Int
	InnerFeeGrowth1Token      *big.Int
	Fees0                     *big.Int
	Fees1                     *big.Int
}, error)

Positions is a free data retrieval call binding the contract method 0x514ea4bf.

Solidity: function positions(bytes32 key) view returns(uint128 liquidityAmount, uint32 lastLiquidityAddTimestamp, uint256 innerFeeGrowth0Token, uint256 innerFeeGrowth1Token, uint128 fees0, uint128 fees1)

func (*ILynexV3PoolCallerSession) TickSpacing

func (_ILynexV3Pool *ILynexV3PoolCallerSession) TickSpacing() (*big.Int, error)

TickSpacing is a free data retrieval call binding the contract method 0xd0c93a7c.

Solidity: function tickSpacing() view returns(int24)

func (*ILynexV3PoolCallerSession) TickTable

func (_ILynexV3Pool *ILynexV3PoolCallerSession) TickTable(wordPosition int16) (*big.Int, error)

TickTable is a free data retrieval call binding the contract method 0xc677e3e0.

Solidity: function tickTable(int16 wordPosition) view returns(uint256)

func (*ILynexV3PoolCallerSession) Ticks

func (_ILynexV3Pool *ILynexV3PoolCallerSession) Ticks(tick *big.Int) (struct {
	LiquidityTotal           *big.Int
	LiquidityDelta           *big.Int
	OuterFeeGrowth0Token     *big.Int
	OuterFeeGrowth1Token     *big.Int
	OuterTickCumulative      *big.Int
	OuterSecondsPerLiquidity *big.Int
	OuterSecondsSpent        uint32
	Initialized              bool
}, error)

Ticks is a free data retrieval call binding the contract method 0xf30dba93.

Solidity: function ticks(int24 tick) view returns(uint128 liquidityTotal, int128 liquidityDelta, uint256 outerFeeGrowth0Token, uint256 outerFeeGrowth1Token, int56 outerTickCumulative, uint160 outerSecondsPerLiquidity, uint32 outerSecondsSpent, bool initialized)

func (*ILynexV3PoolCallerSession) Timepoints

func (_ILynexV3Pool *ILynexV3PoolCallerSession) Timepoints(index *big.Int) (struct {
	Initialized                   bool
	BlockTimestamp                uint32
	TickCumulative                *big.Int
	SecondsPerLiquidityCumulative *big.Int
	VolatilityCumulative          *big.Int
	AverageTick                   *big.Int
	VolumePerLiquidityCumulative  *big.Int
}, error)

Timepoints is a free data retrieval call binding the contract method 0x74eceae6.

Solidity: function timepoints(uint256 index) view returns(bool initialized, uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulative, uint88 volatilityCumulative, int24 averageTick, uint144 volumePerLiquidityCumulative)

func (*ILynexV3PoolCallerSession) Token0

func (_ILynexV3Pool *ILynexV3PoolCallerSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*ILynexV3PoolCallerSession) Token1

func (_ILynexV3Pool *ILynexV3PoolCallerSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*ILynexV3PoolCallerSession) TotalFeeGrowth0Token

func (_ILynexV3Pool *ILynexV3PoolCallerSession) TotalFeeGrowth0Token() (*big.Int, error)

TotalFeeGrowth0Token is a free data retrieval call binding the contract method 0x6378ae44.

Solidity: function totalFeeGrowth0Token() view returns(uint256)

func (*ILynexV3PoolCallerSession) TotalFeeGrowth1Token

func (_ILynexV3Pool *ILynexV3PoolCallerSession) TotalFeeGrowth1Token() (*big.Int, error)

TotalFeeGrowth1Token is a free data retrieval call binding the contract method 0xecdecf42.

Solidity: function totalFeeGrowth1Token() view returns(uint256)

type ILynexV3PoolCollect

type ILynexV3PoolCollect struct {
	Owner      common.Address
	Recipient  common.Address
	BottomTick *big.Int
	TopTick    *big.Int
	Amount0    *big.Int
	Amount1    *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

ILynexV3PoolCollect represents a Collect event raised by the ILynexV3Pool contract.

type ILynexV3PoolCollectIterator

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

ILynexV3PoolCollectIterator is returned from FilterCollect and is used to iterate over the raw logs and unpacked data for Collect events raised by the ILynexV3Pool contract.

func (*ILynexV3PoolCollectIterator) Close

func (it *ILynexV3PoolCollectIterator) Close() error

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

func (*ILynexV3PoolCollectIterator) Error

func (it *ILynexV3PoolCollectIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexV3PoolCollectIterator) Next

func (it *ILynexV3PoolCollectIterator) 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 ILynexV3PoolCommunityFee

type ILynexV3PoolCommunityFee struct {
	CommunityFee0New uint16
	CommunityFee1New uint16
	Raw              types.Log // Blockchain specific contextual infos
}

ILynexV3PoolCommunityFee represents a CommunityFee event raised by the ILynexV3Pool contract.

type ILynexV3PoolCommunityFeeIterator

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

ILynexV3PoolCommunityFeeIterator is returned from FilterCommunityFee and is used to iterate over the raw logs and unpacked data for CommunityFee events raised by the ILynexV3Pool contract.

func (*ILynexV3PoolCommunityFeeIterator) Close

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

func (*ILynexV3PoolCommunityFeeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexV3PoolCommunityFeeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ILynexV3PoolFee

type ILynexV3PoolFee struct {
	Fee uint16
	Raw types.Log // Blockchain specific contextual infos
}

ILynexV3PoolFee represents a Fee event raised by the ILynexV3Pool contract.

type ILynexV3PoolFeeIterator

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

ILynexV3PoolFeeIterator is returned from FilterFee and is used to iterate over the raw logs and unpacked data for Fee events raised by the ILynexV3Pool contract.

func (*ILynexV3PoolFeeIterator) Close

func (it *ILynexV3PoolFeeIterator) Close() error

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

func (*ILynexV3PoolFeeIterator) Error

func (it *ILynexV3PoolFeeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexV3PoolFeeIterator) Next

func (it *ILynexV3PoolFeeIterator) 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 ILynexV3PoolFilterer

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

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

func NewILynexV3PoolFilterer

func NewILynexV3PoolFilterer(address common.Address, filterer bind.ContractFilterer) (*ILynexV3PoolFilterer, error)

NewILynexV3PoolFilterer creates a new log filterer instance of ILynexV3Pool, bound to a specific deployed contract.

func (*ILynexV3PoolFilterer) FilterBurn

func (_ILynexV3Pool *ILynexV3PoolFilterer) FilterBurn(opts *bind.FilterOpts, owner []common.Address, bottomTick []*big.Int, topTick []*big.Int) (*ILynexV3PoolBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0x0c396cd989a39f4459b5fa1aed6a9a8dcdbc45908acfd67e028cd568da98982c.

Solidity: event Burn(address indexed owner, int24 indexed bottomTick, int24 indexed topTick, uint128 liquidityAmount, uint256 amount0, uint256 amount1)

func (*ILynexV3PoolFilterer) FilterCollect

func (_ILynexV3Pool *ILynexV3PoolFilterer) FilterCollect(opts *bind.FilterOpts, owner []common.Address, bottomTick []*big.Int, topTick []*big.Int) (*ILynexV3PoolCollectIterator, error)

FilterCollect is a free log retrieval operation binding the contract event 0x70935338e69775456a85ddef226c395fb668b63fa0115f5f20610b388e6ca9c0.

Solidity: event Collect(address indexed owner, address recipient, int24 indexed bottomTick, int24 indexed topTick, uint128 amount0, uint128 amount1)

func (*ILynexV3PoolFilterer) FilterCommunityFee

func (_ILynexV3Pool *ILynexV3PoolFilterer) FilterCommunityFee(opts *bind.FilterOpts) (*ILynexV3PoolCommunityFeeIterator, error)

FilterCommunityFee is a free log retrieval operation binding the contract event 0x370966829959865419a97fc8708e1d348a92142c2cfec7299e264677970174bc.

Solidity: event CommunityFee(uint16 communityFee0New, uint16 communityFee1New)

func (*ILynexV3PoolFilterer) FilterFee

func (_ILynexV3Pool *ILynexV3PoolFilterer) FilterFee(opts *bind.FilterOpts) (*ILynexV3PoolFeeIterator, error)

FilterFee is a free log retrieval operation binding the contract event 0x598b9f043c813aa6be3426ca60d1c65d17256312890be5118dab55b0775ebe2a.

Solidity: event Fee(uint16 fee)

func (*ILynexV3PoolFilterer) FilterFlash

func (_ILynexV3Pool *ILynexV3PoolFilterer) FilterFlash(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*ILynexV3PoolFlashIterator, error)

FilterFlash is a free log retrieval operation binding the contract event 0xbdbdb71d7860376ba52b25a5028beea23581364a40522f6bcfb86bb1f2dca633.

Solidity: event Flash(address indexed sender, address indexed recipient, uint256 amount0, uint256 amount1, uint256 paid0, uint256 paid1)

func (*ILynexV3PoolFilterer) FilterIncentive

func (_ILynexV3Pool *ILynexV3PoolFilterer) FilterIncentive(opts *bind.FilterOpts, virtualPoolAddress []common.Address) (*ILynexV3PoolIncentiveIterator, error)

FilterIncentive is a free log retrieval operation binding the contract event 0x915c5369e6580733735d1c2e30ca20dcaa395697a041033c9f35f80f53525e84.

Solidity: event Incentive(address indexed virtualPoolAddress)

func (*ILynexV3PoolFilterer) FilterInitialize

func (_ILynexV3Pool *ILynexV3PoolFilterer) FilterInitialize(opts *bind.FilterOpts) (*ILynexV3PoolInitializeIterator, error)

FilterInitialize is a free log retrieval operation binding the contract event 0x98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95.

Solidity: event Initialize(uint160 price, int24 tick)

func (*ILynexV3PoolFilterer) FilterLiquidityCooldown

func (_ILynexV3Pool *ILynexV3PoolFilterer) FilterLiquidityCooldown(opts *bind.FilterOpts) (*ILynexV3PoolLiquidityCooldownIterator, error)

FilterLiquidityCooldown is a free log retrieval operation binding the contract event 0xb5e51602371b0e74f991b6e965cd7d32b4b14c7e6ede6d1298037650a0e1405f.

Solidity: event LiquidityCooldown(uint32 liquidityCooldown)

func (*ILynexV3PoolFilterer) FilterMint

func (_ILynexV3Pool *ILynexV3PoolFilterer) FilterMint(opts *bind.FilterOpts, owner []common.Address, bottomTick []*big.Int, topTick []*big.Int) (*ILynexV3PoolMintIterator, error)

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

Solidity: event Mint(address sender, address indexed owner, int24 indexed bottomTick, int24 indexed topTick, uint128 liquidityAmount, uint256 amount0, uint256 amount1)

func (*ILynexV3PoolFilterer) FilterSwap

func (_ILynexV3Pool *ILynexV3PoolFilterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*ILynexV3PoolSwapIterator, error)

FilterSwap is a free log retrieval operation binding the contract event 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67.

Solidity: event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 price, uint128 liquidity, int24 tick)

func (*ILynexV3PoolFilterer) FilterTickSpacing

func (_ILynexV3Pool *ILynexV3PoolFilterer) FilterTickSpacing(opts *bind.FilterOpts) (*ILynexV3PoolTickSpacingIterator, error)

FilterTickSpacing is a free log retrieval operation binding the contract event 0x01413b1d5d4c359e9a0daa7909ecda165f6e8c51fe2ff529d74b22a5a7c02645.

Solidity: event TickSpacing(int24 newTickSpacing)

func (*ILynexV3PoolFilterer) ParseBurn

func (_ILynexV3Pool *ILynexV3PoolFilterer) ParseBurn(log types.Log) (*ILynexV3PoolBurn, error)

ParseBurn is a log parse operation binding the contract event 0x0c396cd989a39f4459b5fa1aed6a9a8dcdbc45908acfd67e028cd568da98982c.

Solidity: event Burn(address indexed owner, int24 indexed bottomTick, int24 indexed topTick, uint128 liquidityAmount, uint256 amount0, uint256 amount1)

func (*ILynexV3PoolFilterer) ParseCollect

func (_ILynexV3Pool *ILynexV3PoolFilterer) ParseCollect(log types.Log) (*ILynexV3PoolCollect, error)

ParseCollect is a log parse operation binding the contract event 0x70935338e69775456a85ddef226c395fb668b63fa0115f5f20610b388e6ca9c0.

Solidity: event Collect(address indexed owner, address recipient, int24 indexed bottomTick, int24 indexed topTick, uint128 amount0, uint128 amount1)

func (*ILynexV3PoolFilterer) ParseCommunityFee

func (_ILynexV3Pool *ILynexV3PoolFilterer) ParseCommunityFee(log types.Log) (*ILynexV3PoolCommunityFee, error)

ParseCommunityFee is a log parse operation binding the contract event 0x370966829959865419a97fc8708e1d348a92142c2cfec7299e264677970174bc.

Solidity: event CommunityFee(uint16 communityFee0New, uint16 communityFee1New)

func (*ILynexV3PoolFilterer) ParseFee

func (_ILynexV3Pool *ILynexV3PoolFilterer) ParseFee(log types.Log) (*ILynexV3PoolFee, error)

ParseFee is a log parse operation binding the contract event 0x598b9f043c813aa6be3426ca60d1c65d17256312890be5118dab55b0775ebe2a.

Solidity: event Fee(uint16 fee)

func (*ILynexV3PoolFilterer) ParseFlash

func (_ILynexV3Pool *ILynexV3PoolFilterer) ParseFlash(log types.Log) (*ILynexV3PoolFlash, error)

ParseFlash is a log parse operation binding the contract event 0xbdbdb71d7860376ba52b25a5028beea23581364a40522f6bcfb86bb1f2dca633.

Solidity: event Flash(address indexed sender, address indexed recipient, uint256 amount0, uint256 amount1, uint256 paid0, uint256 paid1)

func (*ILynexV3PoolFilterer) ParseIncentive

func (_ILynexV3Pool *ILynexV3PoolFilterer) ParseIncentive(log types.Log) (*ILynexV3PoolIncentive, error)

ParseIncentive is a log parse operation binding the contract event 0x915c5369e6580733735d1c2e30ca20dcaa395697a041033c9f35f80f53525e84.

Solidity: event Incentive(address indexed virtualPoolAddress)

func (*ILynexV3PoolFilterer) ParseInitialize

func (_ILynexV3Pool *ILynexV3PoolFilterer) ParseInitialize(log types.Log) (*ILynexV3PoolInitialize, error)

ParseInitialize is a log parse operation binding the contract event 0x98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95.

Solidity: event Initialize(uint160 price, int24 tick)

func (*ILynexV3PoolFilterer) ParseLiquidityCooldown

func (_ILynexV3Pool *ILynexV3PoolFilterer) ParseLiquidityCooldown(log types.Log) (*ILynexV3PoolLiquidityCooldown, error)

ParseLiquidityCooldown is a log parse operation binding the contract event 0xb5e51602371b0e74f991b6e965cd7d32b4b14c7e6ede6d1298037650a0e1405f.

Solidity: event LiquidityCooldown(uint32 liquidityCooldown)

func (*ILynexV3PoolFilterer) ParseMint

func (_ILynexV3Pool *ILynexV3PoolFilterer) ParseMint(log types.Log) (*ILynexV3PoolMint, error)

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

Solidity: event Mint(address sender, address indexed owner, int24 indexed bottomTick, int24 indexed topTick, uint128 liquidityAmount, uint256 amount0, uint256 amount1)

func (*ILynexV3PoolFilterer) ParseSwap

func (_ILynexV3Pool *ILynexV3PoolFilterer) ParseSwap(log types.Log) (*ILynexV3PoolSwap, error)

ParseSwap is a log parse operation binding the contract event 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67.

Solidity: event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 price, uint128 liquidity, int24 tick)

func (*ILynexV3PoolFilterer) ParseTickSpacing

func (_ILynexV3Pool *ILynexV3PoolFilterer) ParseTickSpacing(log types.Log) (*ILynexV3PoolTickSpacing, error)

ParseTickSpacing is a log parse operation binding the contract event 0x01413b1d5d4c359e9a0daa7909ecda165f6e8c51fe2ff529d74b22a5a7c02645.

Solidity: event TickSpacing(int24 newTickSpacing)

func (*ILynexV3PoolFilterer) WatchBurn

func (_ILynexV3Pool *ILynexV3PoolFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *ILynexV3PoolBurn, owner []common.Address, bottomTick []*big.Int, topTick []*big.Int) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0x0c396cd989a39f4459b5fa1aed6a9a8dcdbc45908acfd67e028cd568da98982c.

Solidity: event Burn(address indexed owner, int24 indexed bottomTick, int24 indexed topTick, uint128 liquidityAmount, uint256 amount0, uint256 amount1)

func (*ILynexV3PoolFilterer) WatchCollect

func (_ILynexV3Pool *ILynexV3PoolFilterer) WatchCollect(opts *bind.WatchOpts, sink chan<- *ILynexV3PoolCollect, owner []common.Address, bottomTick []*big.Int, topTick []*big.Int) (event.Subscription, error)

WatchCollect is a free log subscription operation binding the contract event 0x70935338e69775456a85ddef226c395fb668b63fa0115f5f20610b388e6ca9c0.

Solidity: event Collect(address indexed owner, address recipient, int24 indexed bottomTick, int24 indexed topTick, uint128 amount0, uint128 amount1)

func (*ILynexV3PoolFilterer) WatchCommunityFee

func (_ILynexV3Pool *ILynexV3PoolFilterer) WatchCommunityFee(opts *bind.WatchOpts, sink chan<- *ILynexV3PoolCommunityFee) (event.Subscription, error)

WatchCommunityFee is a free log subscription operation binding the contract event 0x370966829959865419a97fc8708e1d348a92142c2cfec7299e264677970174bc.

Solidity: event CommunityFee(uint16 communityFee0New, uint16 communityFee1New)

func (*ILynexV3PoolFilterer) WatchFee

func (_ILynexV3Pool *ILynexV3PoolFilterer) WatchFee(opts *bind.WatchOpts, sink chan<- *ILynexV3PoolFee) (event.Subscription, error)

WatchFee is a free log subscription operation binding the contract event 0x598b9f043c813aa6be3426ca60d1c65d17256312890be5118dab55b0775ebe2a.

Solidity: event Fee(uint16 fee)

func (*ILynexV3PoolFilterer) WatchFlash

func (_ILynexV3Pool *ILynexV3PoolFilterer) WatchFlash(opts *bind.WatchOpts, sink chan<- *ILynexV3PoolFlash, sender []common.Address, recipient []common.Address) (event.Subscription, error)

WatchFlash is a free log subscription operation binding the contract event 0xbdbdb71d7860376ba52b25a5028beea23581364a40522f6bcfb86bb1f2dca633.

Solidity: event Flash(address indexed sender, address indexed recipient, uint256 amount0, uint256 amount1, uint256 paid0, uint256 paid1)

func (*ILynexV3PoolFilterer) WatchIncentive

func (_ILynexV3Pool *ILynexV3PoolFilterer) WatchIncentive(opts *bind.WatchOpts, sink chan<- *ILynexV3PoolIncentive, virtualPoolAddress []common.Address) (event.Subscription, error)

WatchIncentive is a free log subscription operation binding the contract event 0x915c5369e6580733735d1c2e30ca20dcaa395697a041033c9f35f80f53525e84.

Solidity: event Incentive(address indexed virtualPoolAddress)

func (*ILynexV3PoolFilterer) WatchInitialize

func (_ILynexV3Pool *ILynexV3PoolFilterer) WatchInitialize(opts *bind.WatchOpts, sink chan<- *ILynexV3PoolInitialize) (event.Subscription, error)

WatchInitialize is a free log subscription operation binding the contract event 0x98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95.

Solidity: event Initialize(uint160 price, int24 tick)

func (*ILynexV3PoolFilterer) WatchLiquidityCooldown

func (_ILynexV3Pool *ILynexV3PoolFilterer) WatchLiquidityCooldown(opts *bind.WatchOpts, sink chan<- *ILynexV3PoolLiquidityCooldown) (event.Subscription, error)

WatchLiquidityCooldown is a free log subscription operation binding the contract event 0xb5e51602371b0e74f991b6e965cd7d32b4b14c7e6ede6d1298037650a0e1405f.

Solidity: event LiquidityCooldown(uint32 liquidityCooldown)

func (*ILynexV3PoolFilterer) WatchMint

func (_ILynexV3Pool *ILynexV3PoolFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *ILynexV3PoolMint, owner []common.Address, bottomTick []*big.Int, topTick []*big.Int) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x7a53080ba414158be7ec69b987b5fb7d07dee101fe85488f0853ae16239d0bde.

Solidity: event Mint(address sender, address indexed owner, int24 indexed bottomTick, int24 indexed topTick, uint128 liquidityAmount, uint256 amount0, uint256 amount1)

func (*ILynexV3PoolFilterer) WatchSwap

func (_ILynexV3Pool *ILynexV3PoolFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *ILynexV3PoolSwap, sender []common.Address, recipient []common.Address) (event.Subscription, error)

WatchSwap is a free log subscription operation binding the contract event 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67.

Solidity: event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 price, uint128 liquidity, int24 tick)

func (*ILynexV3PoolFilterer) WatchTickSpacing

func (_ILynexV3Pool *ILynexV3PoolFilterer) WatchTickSpacing(opts *bind.WatchOpts, sink chan<- *ILynexV3PoolTickSpacing) (event.Subscription, error)

WatchTickSpacing is a free log subscription operation binding the contract event 0x01413b1d5d4c359e9a0daa7909ecda165f6e8c51fe2ff529d74b22a5a7c02645.

Solidity: event TickSpacing(int24 newTickSpacing)

type ILynexV3PoolFlash

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

ILynexV3PoolFlash represents a Flash event raised by the ILynexV3Pool contract.

type ILynexV3PoolFlashIterator

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

ILynexV3PoolFlashIterator is returned from FilterFlash and is used to iterate over the raw logs and unpacked data for Flash events raised by the ILynexV3Pool contract.

func (*ILynexV3PoolFlashIterator) Close

func (it *ILynexV3PoolFlashIterator) Close() error

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

func (*ILynexV3PoolFlashIterator) Error

func (it *ILynexV3PoolFlashIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexV3PoolFlashIterator) Next

func (it *ILynexV3PoolFlashIterator) 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 ILynexV3PoolIncentive

type ILynexV3PoolIncentive struct {
	VirtualPoolAddress common.Address
	Raw                types.Log // Blockchain specific contextual infos
}

ILynexV3PoolIncentive represents a Incentive event raised by the ILynexV3Pool contract.

type ILynexV3PoolIncentiveIterator

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

ILynexV3PoolIncentiveIterator is returned from FilterIncentive and is used to iterate over the raw logs and unpacked data for Incentive events raised by the ILynexV3Pool contract.

func (*ILynexV3PoolIncentiveIterator) Close

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

func (*ILynexV3PoolIncentiveIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexV3PoolIncentiveIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ILynexV3PoolInitialize

type ILynexV3PoolInitialize struct {
	Price *big.Int
	Tick  *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

ILynexV3PoolInitialize represents a Initialize event raised by the ILynexV3Pool contract.

type ILynexV3PoolInitializeIterator

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

ILynexV3PoolInitializeIterator is returned from FilterInitialize and is used to iterate over the raw logs and unpacked data for Initialize events raised by the ILynexV3Pool contract.

func (*ILynexV3PoolInitializeIterator) Close

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

func (*ILynexV3PoolInitializeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexV3PoolInitializeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ILynexV3PoolLiquidityCooldown

type ILynexV3PoolLiquidityCooldown struct {
	LiquidityCooldown uint32
	Raw               types.Log // Blockchain specific contextual infos
}

ILynexV3PoolLiquidityCooldown represents a LiquidityCooldown event raised by the ILynexV3Pool contract.

type ILynexV3PoolLiquidityCooldownIterator

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

ILynexV3PoolLiquidityCooldownIterator is returned from FilterLiquidityCooldown and is used to iterate over the raw logs and unpacked data for LiquidityCooldown events raised by the ILynexV3Pool contract.

func (*ILynexV3PoolLiquidityCooldownIterator) Close

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

func (*ILynexV3PoolLiquidityCooldownIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexV3PoolLiquidityCooldownIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ILynexV3PoolMint

type ILynexV3PoolMint struct {
	Sender          common.Address
	Owner           common.Address
	BottomTick      *big.Int
	TopTick         *big.Int
	LiquidityAmount *big.Int
	Amount0         *big.Int
	Amount1         *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

ILynexV3PoolMint represents a Mint event raised by the ILynexV3Pool contract.

type ILynexV3PoolMintIterator

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

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

func (*ILynexV3PoolMintIterator) Close

func (it *ILynexV3PoolMintIterator) Close() error

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

func (*ILynexV3PoolMintIterator) Error

func (it *ILynexV3PoolMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexV3PoolMintIterator) Next

func (it *ILynexV3PoolMintIterator) 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 ILynexV3PoolRaw

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

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

func (*ILynexV3PoolRaw) Call

func (_ILynexV3Pool *ILynexV3PoolRaw) 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 (*ILynexV3PoolRaw) Transact

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

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

func (*ILynexV3PoolRaw) Transfer

func (_ILynexV3Pool *ILynexV3PoolRaw) 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 ILynexV3PoolSession

type ILynexV3PoolSession struct {
	Contract     *ILynexV3Pool     // 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
}

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

func (*ILynexV3PoolSession) ActiveIncentive

func (_ILynexV3Pool *ILynexV3PoolSession) ActiveIncentive() (common.Address, error)

ActiveIncentive is a free data retrieval call binding the contract method 0xfacb0eb1.

Solidity: function activeIncentive() view returns(address virtualPool)

func (*ILynexV3PoolSession) Burn

func (_ILynexV3Pool *ILynexV3PoolSession) Burn(bottomTick *big.Int, topTick *big.Int, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(int24 bottomTick, int24 topTick, uint128 amount) returns(uint256 amount0, uint256 amount1)

func (*ILynexV3PoolSession) Collect

func (_ILynexV3Pool *ILynexV3PoolSession) Collect(recipient common.Address, bottomTick *big.Int, topTick *big.Int, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)

Collect is a paid mutator transaction binding the contract method 0x4f1eb3d8.

Solidity: function collect(address recipient, int24 bottomTick, int24 topTick, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)

func (*ILynexV3PoolSession) DataStorageOperator

func (_ILynexV3Pool *ILynexV3PoolSession) DataStorageOperator() (common.Address, error)

DataStorageOperator is a free data retrieval call binding the contract method 0x29047dfa.

Solidity: function dataStorageOperator() view returns(address)

func (*ILynexV3PoolSession) Factory

func (_ILynexV3Pool *ILynexV3PoolSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*ILynexV3PoolSession) Flash

func (_ILynexV3Pool *ILynexV3PoolSession) Flash(recipient common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

Flash is a paid mutator transaction binding the contract method 0x490e6cbc.

Solidity: function flash(address recipient, uint256 amount0, uint256 amount1, bytes data) returns()

func (*ILynexV3PoolSession) GetInnerCumulatives

func (_ILynexV3Pool *ILynexV3PoolSession) GetInnerCumulatives(bottomTick *big.Int, topTick *big.Int) (struct {
	InnerTickCumulative           *big.Int
	InnerSecondsSpentPerLiquidity *big.Int
	InnerSecondsSpent             uint32
}, error)

GetInnerCumulatives is a free data retrieval call binding the contract method 0x920c34e5.

Solidity: function getInnerCumulatives(int24 bottomTick, int24 topTick) view returns(int56 innerTickCumulative, uint160 innerSecondsSpentPerLiquidity, uint32 innerSecondsSpent)

func (*ILynexV3PoolSession) GetTimepoints

func (_ILynexV3Pool *ILynexV3PoolSession) GetTimepoints(secondsAgos []uint32) (struct {
	TickCumulatives                []*big.Int
	SecondsPerLiquidityCumulatives []*big.Int
	VolatilityCumulatives          []*big.Int
	VolumePerAvgLiquiditys         []*big.Int
}, error)

GetTimepoints is a free data retrieval call binding the contract method 0x9d3a5241.

Solidity: function getTimepoints(uint32[] secondsAgos) view returns(int56[] tickCumulatives, uint160[] secondsPerLiquidityCumulatives, uint112[] volatilityCumulatives, uint256[] volumePerAvgLiquiditys)

func (*ILynexV3PoolSession) GlobalState

func (_ILynexV3Pool *ILynexV3PoolSession) GlobalState() (struct {
	Price              *big.Int
	Tick               *big.Int
	Fee                uint16
	TimepointIndex     uint16
	CommunityFeeToken0 uint16
	CommunityFeeToken1 uint16
	Unlocked           bool
}, error)

GlobalState is a free data retrieval call binding the contract method 0xe76c01e4.

Solidity: function globalState() view returns(uint160 price, int24 tick, uint16 fee, uint16 timepointIndex, uint16 communityFeeToken0, uint16 communityFeeToken1, bool unlocked)

func (*ILynexV3PoolSession) Initialize

func (_ILynexV3Pool *ILynexV3PoolSession) Initialize(price *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(uint160 price) returns()

func (*ILynexV3PoolSession) Liquidity

func (_ILynexV3Pool *ILynexV3PoolSession) Liquidity() (*big.Int, error)

Liquidity is a free data retrieval call binding the contract method 0x1a686502.

Solidity: function liquidity() view returns(uint128)

func (*ILynexV3PoolSession) LiquidityCooldown

func (_ILynexV3Pool *ILynexV3PoolSession) LiquidityCooldown() (uint32, error)

LiquidityCooldown is a free data retrieval call binding the contract method 0x17e25b3c.

Solidity: function liquidityCooldown() view returns(uint32 cooldownInSeconds)

func (*ILynexV3PoolSession) MaxLiquidityPerTick

func (_ILynexV3Pool *ILynexV3PoolSession) MaxLiquidityPerTick() (*big.Int, error)

MaxLiquidityPerTick is a free data retrieval call binding the contract method 0x70cf754a.

Solidity: function maxLiquidityPerTick() view returns(uint128)

func (*ILynexV3PoolSession) Mint

func (_ILynexV3Pool *ILynexV3PoolSession) Mint(sender common.Address, recipient common.Address, bottomTick *big.Int, topTick *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function mint(address sender, address recipient, int24 bottomTick, int24 topTick, uint128 amount, bytes data) returns(uint256 amount0, uint256 amount1, uint128 liquidityActual)

func (*ILynexV3PoolSession) Positions

func (_ILynexV3Pool *ILynexV3PoolSession) Positions(key [32]byte) (struct {
	LiquidityAmount           *big.Int
	LastLiquidityAddTimestamp uint32
	InnerFeeGrowth0Token      *big.Int
	InnerFeeGrowth1Token      *big.Int
	Fees0                     *big.Int
	Fees1                     *big.Int
}, error)

Positions is a free data retrieval call binding the contract method 0x514ea4bf.

Solidity: function positions(bytes32 key) view returns(uint128 liquidityAmount, uint32 lastLiquidityAddTimestamp, uint256 innerFeeGrowth0Token, uint256 innerFeeGrowth1Token, uint128 fees0, uint128 fees1)

func (*ILynexV3PoolSession) SetCommunityFee

func (_ILynexV3Pool *ILynexV3PoolSession) SetCommunityFee(communityFee0 uint16, communityFee1 uint16) (*types.Transaction, error)

SetCommunityFee is a paid mutator transaction binding the contract method 0xf0b9cf59.

Solidity: function setCommunityFee(uint16 communityFee0, uint16 communityFee1) returns()

func (*ILynexV3PoolSession) SetIncentive

func (_ILynexV3Pool *ILynexV3PoolSession) SetIncentive(virtualPoolAddress common.Address) (*types.Transaction, error)

SetIncentive is a paid mutator transaction binding the contract method 0x7c1fe0c8.

Solidity: function setIncentive(address virtualPoolAddress) returns()

func (*ILynexV3PoolSession) SetLiquidityCooldown

func (_ILynexV3Pool *ILynexV3PoolSession) SetLiquidityCooldown(newLiquidityCooldown uint32) (*types.Transaction, error)

SetLiquidityCooldown is a paid mutator transaction binding the contract method 0x289fe9b0.

Solidity: function setLiquidityCooldown(uint32 newLiquidityCooldown) returns()

func (*ILynexV3PoolSession) SetTickSpacing

func (_ILynexV3Pool *ILynexV3PoolSession) SetTickSpacing(newTickSpacing *big.Int) (*types.Transaction, error)

SetTickSpacing is a paid mutator transaction binding the contract method 0xf085a610.

Solidity: function setTickSpacing(int24 newTickSpacing) returns()

func (*ILynexV3PoolSession) Swap

func (_ILynexV3Pool *ILynexV3PoolSession) Swap(recipient common.Address, zeroToOne bool, amountSpecified *big.Int, limitSqrtPrice *big.Int, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x128acb08.

Solidity: function swap(address recipient, bool zeroToOne, int256 amountSpecified, uint160 limitSqrtPrice, bytes data) returns(int256 amount0, int256 amount1)

func (*ILynexV3PoolSession) SwapSupportingFeeOnInputTokens

func (_ILynexV3Pool *ILynexV3PoolSession) SwapSupportingFeeOnInputTokens(sender common.Address, recipient common.Address, zeroToOne bool, amountSpecified *big.Int, limitSqrtPrice *big.Int, data []byte) (*types.Transaction, error)

SwapSupportingFeeOnInputTokens is a paid mutator transaction binding the contract method 0x71334694.

Solidity: function swapSupportingFeeOnInputTokens(address sender, address recipient, bool zeroToOne, int256 amountSpecified, uint160 limitSqrtPrice, bytes data) returns(int256 amount0, int256 amount1)

func (*ILynexV3PoolSession) TickSpacing

func (_ILynexV3Pool *ILynexV3PoolSession) TickSpacing() (*big.Int, error)

TickSpacing is a free data retrieval call binding the contract method 0xd0c93a7c.

Solidity: function tickSpacing() view returns(int24)

func (*ILynexV3PoolSession) TickTable

func (_ILynexV3Pool *ILynexV3PoolSession) TickTable(wordPosition int16) (*big.Int, error)

TickTable is a free data retrieval call binding the contract method 0xc677e3e0.

Solidity: function tickTable(int16 wordPosition) view returns(uint256)

func (*ILynexV3PoolSession) Ticks

func (_ILynexV3Pool *ILynexV3PoolSession) Ticks(tick *big.Int) (struct {
	LiquidityTotal           *big.Int
	LiquidityDelta           *big.Int
	OuterFeeGrowth0Token     *big.Int
	OuterFeeGrowth1Token     *big.Int
	OuterTickCumulative      *big.Int
	OuterSecondsPerLiquidity *big.Int
	OuterSecondsSpent        uint32
	Initialized              bool
}, error)

Ticks is a free data retrieval call binding the contract method 0xf30dba93.

Solidity: function ticks(int24 tick) view returns(uint128 liquidityTotal, int128 liquidityDelta, uint256 outerFeeGrowth0Token, uint256 outerFeeGrowth1Token, int56 outerTickCumulative, uint160 outerSecondsPerLiquidity, uint32 outerSecondsSpent, bool initialized)

func (*ILynexV3PoolSession) Timepoints

func (_ILynexV3Pool *ILynexV3PoolSession) Timepoints(index *big.Int) (struct {
	Initialized                   bool
	BlockTimestamp                uint32
	TickCumulative                *big.Int
	SecondsPerLiquidityCumulative *big.Int
	VolatilityCumulative          *big.Int
	AverageTick                   *big.Int
	VolumePerLiquidityCumulative  *big.Int
}, error)

Timepoints is a free data retrieval call binding the contract method 0x74eceae6.

Solidity: function timepoints(uint256 index) view returns(bool initialized, uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulative, uint88 volatilityCumulative, int24 averageTick, uint144 volumePerLiquidityCumulative)

func (*ILynexV3PoolSession) Token0

func (_ILynexV3Pool *ILynexV3PoolSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*ILynexV3PoolSession) Token1

func (_ILynexV3Pool *ILynexV3PoolSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

func (*ILynexV3PoolSession) TotalFeeGrowth0Token

func (_ILynexV3Pool *ILynexV3PoolSession) TotalFeeGrowth0Token() (*big.Int, error)

TotalFeeGrowth0Token is a free data retrieval call binding the contract method 0x6378ae44.

Solidity: function totalFeeGrowth0Token() view returns(uint256)

func (*ILynexV3PoolSession) TotalFeeGrowth1Token

func (_ILynexV3Pool *ILynexV3PoolSession) TotalFeeGrowth1Token() (*big.Int, error)

TotalFeeGrowth1Token is a free data retrieval call binding the contract method 0xecdecf42.

Solidity: function totalFeeGrowth1Token() view returns(uint256)

type ILynexV3PoolSwap

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

ILynexV3PoolSwap represents a Swap event raised by the ILynexV3Pool contract.

type ILynexV3PoolSwapIterator

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

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

func (*ILynexV3PoolSwapIterator) Close

func (it *ILynexV3PoolSwapIterator) Close() error

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

func (*ILynexV3PoolSwapIterator) Error

func (it *ILynexV3PoolSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexV3PoolSwapIterator) Next

func (it *ILynexV3PoolSwapIterator) 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 ILynexV3PoolTickSpacing

type ILynexV3PoolTickSpacing struct {
	NewTickSpacing *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

ILynexV3PoolTickSpacing represents a TickSpacing event raised by the ILynexV3Pool contract.

type ILynexV3PoolTickSpacingIterator

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

ILynexV3PoolTickSpacingIterator is returned from FilterTickSpacing and is used to iterate over the raw logs and unpacked data for TickSpacing events raised by the ILynexV3Pool contract.

func (*ILynexV3PoolTickSpacingIterator) Close

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

func (*ILynexV3PoolTickSpacingIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ILynexV3PoolTickSpacingIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ILynexV3PoolTransactor

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

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

func NewILynexV3PoolTransactor

func NewILynexV3PoolTransactor(address common.Address, transactor bind.ContractTransactor) (*ILynexV3PoolTransactor, error)

NewILynexV3PoolTransactor creates a new write-only instance of ILynexV3Pool, bound to a specific deployed contract.

func (*ILynexV3PoolTransactor) Burn

func (_ILynexV3Pool *ILynexV3PoolTransactor) Burn(opts *bind.TransactOpts, bottomTick *big.Int, topTick *big.Int, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(int24 bottomTick, int24 topTick, uint128 amount) returns(uint256 amount0, uint256 amount1)

func (*ILynexV3PoolTransactor) Collect

func (_ILynexV3Pool *ILynexV3PoolTransactor) Collect(opts *bind.TransactOpts, recipient common.Address, bottomTick *big.Int, topTick *big.Int, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)

Collect is a paid mutator transaction binding the contract method 0x4f1eb3d8.

Solidity: function collect(address recipient, int24 bottomTick, int24 topTick, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)

func (*ILynexV3PoolTransactor) Flash

func (_ILynexV3Pool *ILynexV3PoolTransactor) Flash(opts *bind.TransactOpts, recipient common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

Flash is a paid mutator transaction binding the contract method 0x490e6cbc.

Solidity: function flash(address recipient, uint256 amount0, uint256 amount1, bytes data) returns()

func (*ILynexV3PoolTransactor) Initialize

func (_ILynexV3Pool *ILynexV3PoolTransactor) Initialize(opts *bind.TransactOpts, price *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(uint160 price) returns()

func (*ILynexV3PoolTransactor) Mint

func (_ILynexV3Pool *ILynexV3PoolTransactor) Mint(opts *bind.TransactOpts, sender common.Address, recipient common.Address, bottomTick *big.Int, topTick *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function mint(address sender, address recipient, int24 bottomTick, int24 topTick, uint128 amount, bytes data) returns(uint256 amount0, uint256 amount1, uint128 liquidityActual)

func (*ILynexV3PoolTransactor) SetCommunityFee

func (_ILynexV3Pool *ILynexV3PoolTransactor) SetCommunityFee(opts *bind.TransactOpts, communityFee0 uint16, communityFee1 uint16) (*types.Transaction, error)

SetCommunityFee is a paid mutator transaction binding the contract method 0xf0b9cf59.

Solidity: function setCommunityFee(uint16 communityFee0, uint16 communityFee1) returns()

func (*ILynexV3PoolTransactor) SetIncentive

func (_ILynexV3Pool *ILynexV3PoolTransactor) SetIncentive(opts *bind.TransactOpts, virtualPoolAddress common.Address) (*types.Transaction, error)

SetIncentive is a paid mutator transaction binding the contract method 0x7c1fe0c8.

Solidity: function setIncentive(address virtualPoolAddress) returns()

func (*ILynexV3PoolTransactor) SetLiquidityCooldown

func (_ILynexV3Pool *ILynexV3PoolTransactor) SetLiquidityCooldown(opts *bind.TransactOpts, newLiquidityCooldown uint32) (*types.Transaction, error)

SetLiquidityCooldown is a paid mutator transaction binding the contract method 0x289fe9b0.

Solidity: function setLiquidityCooldown(uint32 newLiquidityCooldown) returns()

func (*ILynexV3PoolTransactor) SetTickSpacing

func (_ILynexV3Pool *ILynexV3PoolTransactor) SetTickSpacing(opts *bind.TransactOpts, newTickSpacing *big.Int) (*types.Transaction, error)

SetTickSpacing is a paid mutator transaction binding the contract method 0xf085a610.

Solidity: function setTickSpacing(int24 newTickSpacing) returns()

func (*ILynexV3PoolTransactor) Swap

func (_ILynexV3Pool *ILynexV3PoolTransactor) Swap(opts *bind.TransactOpts, recipient common.Address, zeroToOne bool, amountSpecified *big.Int, limitSqrtPrice *big.Int, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x128acb08.

Solidity: function swap(address recipient, bool zeroToOne, int256 amountSpecified, uint160 limitSqrtPrice, bytes data) returns(int256 amount0, int256 amount1)

func (*ILynexV3PoolTransactor) SwapSupportingFeeOnInputTokens

func (_ILynexV3Pool *ILynexV3PoolTransactor) SwapSupportingFeeOnInputTokens(opts *bind.TransactOpts, sender common.Address, recipient common.Address, zeroToOne bool, amountSpecified *big.Int, limitSqrtPrice *big.Int, data []byte) (*types.Transaction, error)

SwapSupportingFeeOnInputTokens is a paid mutator transaction binding the contract method 0x71334694.

Solidity: function swapSupportingFeeOnInputTokens(address sender, address recipient, bool zeroToOne, int256 amountSpecified, uint160 limitSqrtPrice, bytes data) returns(int256 amount0, int256 amount1)

type ILynexV3PoolTransactorRaw

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

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

func (*ILynexV3PoolTransactorRaw) Transact

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

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

func (*ILynexV3PoolTransactorRaw) Transfer

func (_ILynexV3Pool *ILynexV3PoolTransactorRaw) 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 ILynexV3PoolTransactorSession

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

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

func (*ILynexV3PoolTransactorSession) Burn

func (_ILynexV3Pool *ILynexV3PoolTransactorSession) Burn(bottomTick *big.Int, topTick *big.Int, amount *big.Int) (*types.Transaction, error)

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

Solidity: function burn(int24 bottomTick, int24 topTick, uint128 amount) returns(uint256 amount0, uint256 amount1)

func (*ILynexV3PoolTransactorSession) Collect

func (_ILynexV3Pool *ILynexV3PoolTransactorSession) Collect(recipient common.Address, bottomTick *big.Int, topTick *big.Int, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)

Collect is a paid mutator transaction binding the contract method 0x4f1eb3d8.

Solidity: function collect(address recipient, int24 bottomTick, int24 topTick, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)

func (*ILynexV3PoolTransactorSession) Flash

func (_ILynexV3Pool *ILynexV3PoolTransactorSession) Flash(recipient common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)

Flash is a paid mutator transaction binding the contract method 0x490e6cbc.

Solidity: function flash(address recipient, uint256 amount0, uint256 amount1, bytes data) returns()

func (*ILynexV3PoolTransactorSession) Initialize

func (_ILynexV3Pool *ILynexV3PoolTransactorSession) Initialize(price *big.Int) (*types.Transaction, error)

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

Solidity: function initialize(uint160 price) returns()

func (*ILynexV3PoolTransactorSession) Mint

func (_ILynexV3Pool *ILynexV3PoolTransactorSession) Mint(sender common.Address, recipient common.Address, bottomTick *big.Int, topTick *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)

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

Solidity: function mint(address sender, address recipient, int24 bottomTick, int24 topTick, uint128 amount, bytes data) returns(uint256 amount0, uint256 amount1, uint128 liquidityActual)

func (*ILynexV3PoolTransactorSession) SetCommunityFee

func (_ILynexV3Pool *ILynexV3PoolTransactorSession) SetCommunityFee(communityFee0 uint16, communityFee1 uint16) (*types.Transaction, error)

SetCommunityFee is a paid mutator transaction binding the contract method 0xf0b9cf59.

Solidity: function setCommunityFee(uint16 communityFee0, uint16 communityFee1) returns()

func (*ILynexV3PoolTransactorSession) SetIncentive

func (_ILynexV3Pool *ILynexV3PoolTransactorSession) SetIncentive(virtualPoolAddress common.Address) (*types.Transaction, error)

SetIncentive is a paid mutator transaction binding the contract method 0x7c1fe0c8.

Solidity: function setIncentive(address virtualPoolAddress) returns()

func (*ILynexV3PoolTransactorSession) SetLiquidityCooldown

func (_ILynexV3Pool *ILynexV3PoolTransactorSession) SetLiquidityCooldown(newLiquidityCooldown uint32) (*types.Transaction, error)

SetLiquidityCooldown is a paid mutator transaction binding the contract method 0x289fe9b0.

Solidity: function setLiquidityCooldown(uint32 newLiquidityCooldown) returns()

func (*ILynexV3PoolTransactorSession) SetTickSpacing

func (_ILynexV3Pool *ILynexV3PoolTransactorSession) SetTickSpacing(newTickSpacing *big.Int) (*types.Transaction, error)

SetTickSpacing is a paid mutator transaction binding the contract method 0xf085a610.

Solidity: function setTickSpacing(int24 newTickSpacing) returns()

func (*ILynexV3PoolTransactorSession) Swap

func (_ILynexV3Pool *ILynexV3PoolTransactorSession) Swap(recipient common.Address, zeroToOne bool, amountSpecified *big.Int, limitSqrtPrice *big.Int, data []byte) (*types.Transaction, error)

Swap is a paid mutator transaction binding the contract method 0x128acb08.

Solidity: function swap(address recipient, bool zeroToOne, int256 amountSpecified, uint160 limitSqrtPrice, bytes data) returns(int256 amount0, int256 amount1)

func (*ILynexV3PoolTransactorSession) SwapSupportingFeeOnInputTokens

func (_ILynexV3Pool *ILynexV3PoolTransactorSession) SwapSupportingFeeOnInputTokens(sender common.Address, recipient common.Address, zeroToOne bool, amountSpecified *big.Int, limitSqrtPrice *big.Int, data []byte) (*types.Transaction, error)

SwapSupportingFeeOnInputTokens is a paid mutator transaction binding the contract method 0x71334694.

Solidity: function swapSupportingFeeOnInputTokens(address sender, address recipient, bool zeroToOne, int256 amountSpecified, uint160 limitSqrtPrice, bytes data) returns(int256 amount0, int256 amount1)

Jump to

Keyboard shortcuts

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