Documentation ¶
Index ¶
- Variables
- type PoolV3
- type PoolV3Burn
- type PoolV3BurnIterator
- type PoolV3Caller
- func (_PoolV3 *PoolV3Caller) Factory(opts *bind.CallOpts) (common.Address, error)
- func (_PoolV3 *PoolV3Caller) Fee(opts *bind.CallOpts) (*big.Int, error)
- func (_PoolV3 *PoolV3Caller) FeeGrowthGlobal0X128(opts *bind.CallOpts) (*big.Int, error)
- func (_PoolV3 *PoolV3Caller) FeeGrowthGlobal1X128(opts *bind.CallOpts) (*big.Int, error)
- func (_PoolV3 *PoolV3Caller) Liquidity(opts *bind.CallOpts) (*big.Int, error)
- func (_PoolV3 *PoolV3Caller) MaxLiquidityPerTick(opts *bind.CallOpts) (*big.Int, error)
- func (_PoolV3 *PoolV3Caller) Observations(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_PoolV3 *PoolV3Caller) Observe(opts *bind.CallOpts, secondsAgos []uint32) (struct{ ... }, error)
- func (_PoolV3 *PoolV3Caller) Positions(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_PoolV3 *PoolV3Caller) ProtocolFees(opts *bind.CallOpts) (struct{ ... }, error)
- func (_PoolV3 *PoolV3Caller) Slot0(opts *bind.CallOpts) (struct{ ... }, error)
- func (_PoolV3 *PoolV3Caller) SnapshotCumulativesInside(opts *bind.CallOpts, tickLower *big.Int, tickUpper *big.Int) (struct{ ... }, error)
- func (_PoolV3 *PoolV3Caller) TickBitmap(opts *bind.CallOpts, arg0 int16) (*big.Int, error)
- func (_PoolV3 *PoolV3Caller) TickSpacing(opts *bind.CallOpts) (*big.Int, error)
- func (_PoolV3 *PoolV3Caller) Ticks(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_PoolV3 *PoolV3Caller) Token0(opts *bind.CallOpts) (common.Address, error)
- func (_PoolV3 *PoolV3Caller) Token1(opts *bind.CallOpts) (common.Address, error)
- type PoolV3CallerRaw
- type PoolV3CallerSession
- func (_PoolV3 *PoolV3CallerSession) Factory() (common.Address, error)
- func (_PoolV3 *PoolV3CallerSession) Fee() (*big.Int, error)
- func (_PoolV3 *PoolV3CallerSession) FeeGrowthGlobal0X128() (*big.Int, error)
- func (_PoolV3 *PoolV3CallerSession) FeeGrowthGlobal1X128() (*big.Int, error)
- func (_PoolV3 *PoolV3CallerSession) Liquidity() (*big.Int, error)
- func (_PoolV3 *PoolV3CallerSession) MaxLiquidityPerTick() (*big.Int, error)
- func (_PoolV3 *PoolV3CallerSession) Observations(arg0 *big.Int) (struct{ ... }, error)
- func (_PoolV3 *PoolV3CallerSession) Observe(secondsAgos []uint32) (struct{ ... }, error)
- func (_PoolV3 *PoolV3CallerSession) Positions(arg0 [32]byte) (struct{ ... }, error)
- func (_PoolV3 *PoolV3CallerSession) ProtocolFees() (struct{ ... }, error)
- func (_PoolV3 *PoolV3CallerSession) Slot0() (struct{ ... }, error)
- func (_PoolV3 *PoolV3CallerSession) SnapshotCumulativesInside(tickLower *big.Int, tickUpper *big.Int) (struct{ ... }, error)
- func (_PoolV3 *PoolV3CallerSession) TickBitmap(arg0 int16) (*big.Int, error)
- func (_PoolV3 *PoolV3CallerSession) TickSpacing() (*big.Int, error)
- func (_PoolV3 *PoolV3CallerSession) Ticks(arg0 *big.Int) (struct{ ... }, error)
- func (_PoolV3 *PoolV3CallerSession) Token0() (common.Address, error)
- func (_PoolV3 *PoolV3CallerSession) Token1() (common.Address, error)
- type PoolV3Collect
- type PoolV3CollectIterator
- type PoolV3CollectProtocol
- type PoolV3CollectProtocolIterator
- type PoolV3Filterer
- func (_PoolV3 *PoolV3Filterer) FilterBurn(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, ...) (*PoolV3BurnIterator, error)
- func (_PoolV3 *PoolV3Filterer) FilterCollect(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, ...) (*PoolV3CollectIterator, error)
- func (_PoolV3 *PoolV3Filterer) FilterCollectProtocol(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*PoolV3CollectProtocolIterator, error)
- func (_PoolV3 *PoolV3Filterer) FilterFlash(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*PoolV3FlashIterator, error)
- func (_PoolV3 *PoolV3Filterer) FilterIncreaseObservationCardinalityNext(opts *bind.FilterOpts) (*PoolV3IncreaseObservationCardinalityNextIterator, error)
- func (_PoolV3 *PoolV3Filterer) FilterInitialize(opts *bind.FilterOpts) (*PoolV3InitializeIterator, error)
- func (_PoolV3 *PoolV3Filterer) FilterMint(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, ...) (*PoolV3MintIterator, error)
- func (_PoolV3 *PoolV3Filterer) FilterSetFeeProtocol(opts *bind.FilterOpts) (*PoolV3SetFeeProtocolIterator, error)
- func (_PoolV3 *PoolV3Filterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*PoolV3SwapIterator, error)
- func (_PoolV3 *PoolV3Filterer) ParseBurn(log types.Log) (*PoolV3Burn, error)
- func (_PoolV3 *PoolV3Filterer) ParseCollect(log types.Log) (*PoolV3Collect, error)
- func (_PoolV3 *PoolV3Filterer) ParseCollectProtocol(log types.Log) (*PoolV3CollectProtocol, error)
- func (_PoolV3 *PoolV3Filterer) ParseFlash(log types.Log) (*PoolV3Flash, error)
- func (_PoolV3 *PoolV3Filterer) ParseIncreaseObservationCardinalityNext(log types.Log) (*PoolV3IncreaseObservationCardinalityNext, error)
- func (_PoolV3 *PoolV3Filterer) ParseInitialize(log types.Log) (*PoolV3Initialize, error)
- func (_PoolV3 *PoolV3Filterer) ParseMint(log types.Log) (*PoolV3Mint, error)
- func (_PoolV3 *PoolV3Filterer) ParseSetFeeProtocol(log types.Log) (*PoolV3SetFeeProtocol, error)
- func (_PoolV3 *PoolV3Filterer) ParseSwap(log types.Log) (*PoolV3Swap, error)
- func (_PoolV3 *PoolV3Filterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *PoolV3Burn, owner []common.Address, ...) (event.Subscription, error)
- func (_PoolV3 *PoolV3Filterer) WatchCollect(opts *bind.WatchOpts, sink chan<- *PoolV3Collect, owner []common.Address, ...) (event.Subscription, error)
- func (_PoolV3 *PoolV3Filterer) WatchCollectProtocol(opts *bind.WatchOpts, sink chan<- *PoolV3CollectProtocol, ...) (event.Subscription, error)
- func (_PoolV3 *PoolV3Filterer) WatchFlash(opts *bind.WatchOpts, sink chan<- *PoolV3Flash, sender []common.Address, ...) (event.Subscription, error)
- func (_PoolV3 *PoolV3Filterer) WatchIncreaseObservationCardinalityNext(opts *bind.WatchOpts, sink chan<- *PoolV3IncreaseObservationCardinalityNext) (event.Subscription, error)
- func (_PoolV3 *PoolV3Filterer) WatchInitialize(opts *bind.WatchOpts, sink chan<- *PoolV3Initialize) (event.Subscription, error)
- func (_PoolV3 *PoolV3Filterer) WatchMint(opts *bind.WatchOpts, sink chan<- *PoolV3Mint, owner []common.Address, ...) (event.Subscription, error)
- func (_PoolV3 *PoolV3Filterer) WatchSetFeeProtocol(opts *bind.WatchOpts, sink chan<- *PoolV3SetFeeProtocol) (event.Subscription, error)
- func (_PoolV3 *PoolV3Filterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *PoolV3Swap, sender []common.Address, ...) (event.Subscription, error)
- type PoolV3Flash
- type PoolV3FlashIterator
- type PoolV3IncreaseObservationCardinalityNext
- type PoolV3IncreaseObservationCardinalityNextIterator
- type PoolV3Initialize
- type PoolV3InitializeIterator
- type PoolV3Mint
- type PoolV3MintIterator
- type PoolV3Raw
- func (_PoolV3 *PoolV3Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_PoolV3 *PoolV3Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type PoolV3Session
- func (_PoolV3 *PoolV3Session) Burn(tickLower *big.Int, tickUpper *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Session) Collect(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, ...) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Session) CollectProtocol(recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Session) Factory() (common.Address, error)
- func (_PoolV3 *PoolV3Session) Fee() (*big.Int, error)
- func (_PoolV3 *PoolV3Session) FeeGrowthGlobal0X128() (*big.Int, error)
- func (_PoolV3 *PoolV3Session) FeeGrowthGlobal1X128() (*big.Int, error)
- func (_PoolV3 *PoolV3Session) Flash(recipient common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Session) IncreaseObservationCardinalityNext(observationCardinalityNext uint16) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Session) Initialize(sqrtPriceX96 *big.Int) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Session) Liquidity() (*big.Int, error)
- func (_PoolV3 *PoolV3Session) MaxLiquidityPerTick() (*big.Int, error)
- func (_PoolV3 *PoolV3Session) Mint(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, ...) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Session) Observations(arg0 *big.Int) (struct{ ... }, error)
- func (_PoolV3 *PoolV3Session) Observe(secondsAgos []uint32) (struct{ ... }, error)
- func (_PoolV3 *PoolV3Session) Positions(arg0 [32]byte) (struct{ ... }, error)
- func (_PoolV3 *PoolV3Session) ProtocolFees() (struct{ ... }, error)
- func (_PoolV3 *PoolV3Session) SetFeeProtocol(feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Session) Slot0() (struct{ ... }, error)
- func (_PoolV3 *PoolV3Session) SnapshotCumulativesInside(tickLower *big.Int, tickUpper *big.Int) (struct{ ... }, error)
- func (_PoolV3 *PoolV3Session) Swap(recipient common.Address, zeroForOne bool, amountSpecified *big.Int, ...) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Session) TickBitmap(arg0 int16) (*big.Int, error)
- func (_PoolV3 *PoolV3Session) TickSpacing() (*big.Int, error)
- func (_PoolV3 *PoolV3Session) Ticks(arg0 *big.Int) (struct{ ... }, error)
- func (_PoolV3 *PoolV3Session) Token0() (common.Address, error)
- func (_PoolV3 *PoolV3Session) Token1() (common.Address, error)
- type PoolV3SetFeeProtocol
- type PoolV3SetFeeProtocolIterator
- type PoolV3Swap
- type PoolV3SwapIterator
- type PoolV3Transactor
- func (_PoolV3 *PoolV3Transactor) Burn(opts *bind.TransactOpts, tickLower *big.Int, tickUpper *big.Int, ...) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Transactor) Collect(opts *bind.TransactOpts, recipient common.Address, tickLower *big.Int, ...) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Transactor) CollectProtocol(opts *bind.TransactOpts, recipient common.Address, amount0Requested *big.Int, ...) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Transactor) Flash(opts *bind.TransactOpts, recipient common.Address, amount0 *big.Int, ...) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Transactor) IncreaseObservationCardinalityNext(opts *bind.TransactOpts, observationCardinalityNext uint16) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Transactor) Initialize(opts *bind.TransactOpts, sqrtPriceX96 *big.Int) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Transactor) Mint(opts *bind.TransactOpts, recipient common.Address, tickLower *big.Int, ...) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Transactor) SetFeeProtocol(opts *bind.TransactOpts, feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)
- func (_PoolV3 *PoolV3Transactor) Swap(opts *bind.TransactOpts, recipient common.Address, zeroForOne bool, ...) (*types.Transaction, error)
- type PoolV3TransactorRaw
- type PoolV3TransactorSession
- func (_PoolV3 *PoolV3TransactorSession) Burn(tickLower *big.Int, tickUpper *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_PoolV3 *PoolV3TransactorSession) Collect(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, ...) (*types.Transaction, error)
- func (_PoolV3 *PoolV3TransactorSession) CollectProtocol(recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)
- func (_PoolV3 *PoolV3TransactorSession) Flash(recipient common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)
- func (_PoolV3 *PoolV3TransactorSession) IncreaseObservationCardinalityNext(observationCardinalityNext uint16) (*types.Transaction, error)
- func (_PoolV3 *PoolV3TransactorSession) Initialize(sqrtPriceX96 *big.Int) (*types.Transaction, error)
- func (_PoolV3 *PoolV3TransactorSession) Mint(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, ...) (*types.Transaction, error)
- func (_PoolV3 *PoolV3TransactorSession) SetFeeProtocol(feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)
- func (_PoolV3 *PoolV3TransactorSession) Swap(recipient common.Address, zeroForOne bool, amountSpecified *big.Int, ...) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var PoolV3ABI = PoolV3MetaData.ABI
PoolV3ABI is the input ABI used to generate the binding from. Deprecated: Use PoolV3MetaData.ABI instead.
var PoolV3MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"name\":\"Collect\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"name\":\"CollectProtocol\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"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\"}],\"name\":\"Flash\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"observationCardinalityNextOld\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"observationCardinalityNextNew\",\"type\":\"uint16\"}],\"name\":\"IncreaseObservationCardinalityNext\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"Initialize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol0Old\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol1Old\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol0New\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol1New\",\"type\":\"uint8\"}],\"name\":\"SetFeeProtocol\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"amount0Requested\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1Requested\",\"type\":\"uint128\"}],\"name\":\"collect\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"amount0Requested\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1Requested\",\"type\":\"uint128\"}],\"name\":\"collectProtocol\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeGrowthGlobal0X128\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeGrowthGlobal1X128\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"flash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"observationCardinalityNext\",\"type\":\"uint16\"}],\"name\":\"increaseObservationCardinalityNext\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidity\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxLiquidityPerTick\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"observations\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"blockTimestamp\",\"type\":\"uint32\"},{\"internalType\":\"int56\",\"name\":\"tickCumulative\",\"type\":\"int56\"},{\"internalType\":\"uint160\",\"name\":\"secondsPerLiquidityCumulativeX128\",\"type\":\"uint160\"},{\"internalType\":\"bool\",\"name\":\"initialized\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32[]\",\"name\":\"secondsAgos\",\"type\":\"uint32[]\"}],\"name\":\"observe\",\"outputs\":[{\"internalType\":\"int56[]\",\"name\":\"tickCumulatives\",\"type\":\"int56[]\"},{\"internalType\":\"uint160[]\",\"name\":\"secondsPerLiquidityCumulativeX128s\",\"type\":\"uint160[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"positions\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthInside0LastX128\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthInside1LastX128\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"tokensOwed0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"tokensOwed1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFees\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"token0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"token1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"feeProtocol0\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"feeProtocol1\",\"type\":\"uint8\"}],\"name\":\"setFeeProtocol\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"slot0\",\"outputs\":[{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"internalType\":\"uint16\",\"name\":\"observationIndex\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"observationCardinality\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"observationCardinalityNext\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"feeProtocol\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"unlocked\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"}],\"name\":\"snapshotCumulativesInside\",\"outputs\":[{\"internalType\":\"int56\",\"name\":\"tickCumulativeInside\",\"type\":\"int56\"},{\"internalType\":\"uint160\",\"name\":\"secondsPerLiquidityInsideX128\",\"type\":\"uint160\"},{\"internalType\":\"uint32\",\"name\":\"secondsInside\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"zeroForOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountSpecified\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int16\",\"name\":\"\",\"type\":\"int16\"}],\"name\":\"tickBitmap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tickSpacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"name\":\"ticks\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidityGross\",\"type\":\"uint128\"},{\"internalType\":\"int128\",\"name\":\"liquidityNet\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthOutside0X128\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthOutside1X128\",\"type\":\"uint256\"},{\"internalType\":\"int56\",\"name\":\"tickCumulativeOutside\",\"type\":\"int56\"},{\"internalType\":\"uint160\",\"name\":\"secondsPerLiquidityOutsideX128\",\"type\":\"uint160\"},{\"internalType\":\"uint32\",\"name\":\"secondsOutside\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"initialized\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token0\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
PoolV3MetaData contains all meta data concerning the PoolV3 contract.
Functions ¶
This section is empty.
Types ¶
type PoolV3 ¶
type PoolV3 struct { PoolV3Caller // Read-only binding to the contract PoolV3Transactor // Write-only binding to the contract PoolV3Filterer // Log filterer for contract events }
PoolV3 is an auto generated Go binding around an Ethereum contract.
type PoolV3Burn ¶
type PoolV3Burn struct { Owner common.Address TickLower *big.Int TickUpper *big.Int Amount *big.Int Amount0 *big.Int Amount1 *big.Int Raw types.Log // Blockchain specific contextual infos }
PoolV3Burn represents a Burn event raised by the PoolV3 contract.
type PoolV3BurnIterator ¶
type PoolV3BurnIterator struct { Event *PoolV3Burn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PoolV3BurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the PoolV3 contract.
func (*PoolV3BurnIterator) Close ¶
func (it *PoolV3BurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PoolV3BurnIterator) Error ¶
func (it *PoolV3BurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PoolV3BurnIterator) Next ¶
func (it *PoolV3BurnIterator) 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 PoolV3Caller ¶
type PoolV3Caller struct {
// contains filtered or unexported fields
}
PoolV3Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewPoolV3Caller ¶
func NewPoolV3Caller(address common.Address, caller bind.ContractCaller) (*PoolV3Caller, error)
NewPoolV3Caller creates a new read-only instance of PoolV3, bound to a specific deployed contract.
func (*PoolV3Caller) Factory ¶
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*PoolV3Caller) Fee ¶
Fee is a free data retrieval call binding the contract method 0xddca3f43.
Solidity: function fee() view returns(uint24)
func (*PoolV3Caller) FeeGrowthGlobal0X128 ¶
FeeGrowthGlobal0X128 is a free data retrieval call binding the contract method 0xf3058399.
Solidity: function feeGrowthGlobal0X128() view returns(uint256)
func (*PoolV3Caller) FeeGrowthGlobal1X128 ¶
FeeGrowthGlobal1X128 is a free data retrieval call binding the contract method 0x46141319.
Solidity: function feeGrowthGlobal1X128() view returns(uint256)
func (*PoolV3Caller) Liquidity ¶
Liquidity is a free data retrieval call binding the contract method 0x1a686502.
Solidity: function liquidity() view returns(uint128)
func (*PoolV3Caller) MaxLiquidityPerTick ¶
MaxLiquidityPerTick is a free data retrieval call binding the contract method 0x70cf754a.
Solidity: function maxLiquidityPerTick() view returns(uint128)
func (*PoolV3Caller) Observations ¶
func (_PoolV3 *PoolV3Caller) Observations(opts *bind.CallOpts, arg0 *big.Int) (struct { BlockTimestamp uint32 TickCumulative *big.Int SecondsPerLiquidityCumulativeX128 *big.Int Initialized bool }, error)
Observations is a free data retrieval call binding the contract method 0x252c09d7.
Solidity: function observations(uint256 ) view returns(uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulativeX128, bool initialized)
func (*PoolV3Caller) Observe ¶
func (_PoolV3 *PoolV3Caller) Observe(opts *bind.CallOpts, secondsAgos []uint32) (struct { TickCumulatives []*big.Int SecondsPerLiquidityCumulativeX128s []*big.Int }, error)
Observe is a free data retrieval call binding the contract method 0x883bdbfd.
Solidity: function observe(uint32[] secondsAgos) view returns(int56[] tickCumulatives, uint160[] secondsPerLiquidityCumulativeX128s)
func (*PoolV3Caller) Positions ¶
func (_PoolV3 *PoolV3Caller) Positions(opts *bind.CallOpts, arg0 [32]byte) (struct { Liquidity *big.Int FeeGrowthInside0LastX128 *big.Int FeeGrowthInside1LastX128 *big.Int TokensOwed0 *big.Int TokensOwed1 *big.Int }, error)
Positions is a free data retrieval call binding the contract method 0x514ea4bf.
Solidity: function positions(bytes32 ) view returns(uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)
func (*PoolV3Caller) ProtocolFees ¶
func (_PoolV3 *PoolV3Caller) ProtocolFees(opts *bind.CallOpts) (struct { Token0 *big.Int Token1 *big.Int }, error)
ProtocolFees is a free data retrieval call binding the contract method 0x1ad8b03b.
Solidity: function protocolFees() view returns(uint128 token0, uint128 token1)
func (*PoolV3Caller) Slot0 ¶
func (_PoolV3 *PoolV3Caller) Slot0(opts *bind.CallOpts) (struct { SqrtPriceX96 *big.Int Tick *big.Int ObservationIndex uint16 ObservationCardinality uint16 ObservationCardinalityNext uint16 FeeProtocol uint8 Unlocked bool }, error)
Slot0 is a free data retrieval call binding the contract method 0x3850c7bd.
Solidity: function slot0() view returns(uint160 sqrtPriceX96, int24 tick, uint16 observationIndex, uint16 observationCardinality, uint16 observationCardinalityNext, uint8 feeProtocol, bool unlocked)
func (*PoolV3Caller) SnapshotCumulativesInside ¶
func (_PoolV3 *PoolV3Caller) SnapshotCumulativesInside(opts *bind.CallOpts, tickLower *big.Int, tickUpper *big.Int) (struct { TickCumulativeInside *big.Int SecondsPerLiquidityInsideX128 *big.Int SecondsInside uint32 }, error)
SnapshotCumulativesInside is a free data retrieval call binding the contract method 0xa38807f2.
Solidity: function snapshotCumulativesInside(int24 tickLower, int24 tickUpper) view returns(int56 tickCumulativeInside, uint160 secondsPerLiquidityInsideX128, uint32 secondsInside)
func (*PoolV3Caller) TickBitmap ¶
TickBitmap is a free data retrieval call binding the contract method 0x5339c296.
Solidity: function tickBitmap(int16 ) view returns(uint256)
func (*PoolV3Caller) TickSpacing ¶
TickSpacing is a free data retrieval call binding the contract method 0xd0c93a7c.
Solidity: function tickSpacing() view returns(int24)
func (*PoolV3Caller) Ticks ¶
func (_PoolV3 *PoolV3Caller) Ticks(opts *bind.CallOpts, arg0 *big.Int) (struct { LiquidityGross *big.Int LiquidityNet *big.Int FeeGrowthOutside0X128 *big.Int FeeGrowthOutside1X128 *big.Int TickCumulativeOutside *big.Int SecondsPerLiquidityOutsideX128 *big.Int SecondsOutside uint32 Initialized bool }, error)
Ticks is a free data retrieval call binding the contract method 0xf30dba93.
Solidity: function ticks(int24 ) view returns(uint128 liquidityGross, int128 liquidityNet, uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128, int56 tickCumulativeOutside, uint160 secondsPerLiquidityOutsideX128, uint32 secondsOutside, bool initialized)
type PoolV3CallerRaw ¶
type PoolV3CallerRaw struct {
Contract *PoolV3Caller // Generic read-only contract binding to access the raw methods on
}
PoolV3CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*PoolV3CallerRaw) Call ¶
func (_PoolV3 *PoolV3CallerRaw) 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 PoolV3CallerSession ¶
type PoolV3CallerSession struct { Contract *PoolV3Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
PoolV3CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*PoolV3CallerSession) Factory ¶
func (_PoolV3 *PoolV3CallerSession) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*PoolV3CallerSession) Fee ¶
func (_PoolV3 *PoolV3CallerSession) Fee() (*big.Int, error)
Fee is a free data retrieval call binding the contract method 0xddca3f43.
Solidity: function fee() view returns(uint24)
func (*PoolV3CallerSession) FeeGrowthGlobal0X128 ¶
func (_PoolV3 *PoolV3CallerSession) FeeGrowthGlobal0X128() (*big.Int, error)
FeeGrowthGlobal0X128 is a free data retrieval call binding the contract method 0xf3058399.
Solidity: function feeGrowthGlobal0X128() view returns(uint256)
func (*PoolV3CallerSession) FeeGrowthGlobal1X128 ¶
func (_PoolV3 *PoolV3CallerSession) FeeGrowthGlobal1X128() (*big.Int, error)
FeeGrowthGlobal1X128 is a free data retrieval call binding the contract method 0x46141319.
Solidity: function feeGrowthGlobal1X128() view returns(uint256)
func (*PoolV3CallerSession) Liquidity ¶
func (_PoolV3 *PoolV3CallerSession) Liquidity() (*big.Int, error)
Liquidity is a free data retrieval call binding the contract method 0x1a686502.
Solidity: function liquidity() view returns(uint128)
func (*PoolV3CallerSession) MaxLiquidityPerTick ¶
func (_PoolV3 *PoolV3CallerSession) MaxLiquidityPerTick() (*big.Int, error)
MaxLiquidityPerTick is a free data retrieval call binding the contract method 0x70cf754a.
Solidity: function maxLiquidityPerTick() view returns(uint128)
func (*PoolV3CallerSession) Observations ¶
func (_PoolV3 *PoolV3CallerSession) Observations(arg0 *big.Int) (struct { BlockTimestamp uint32 TickCumulative *big.Int SecondsPerLiquidityCumulativeX128 *big.Int Initialized bool }, error)
Observations is a free data retrieval call binding the contract method 0x252c09d7.
Solidity: function observations(uint256 ) view returns(uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulativeX128, bool initialized)
func (*PoolV3CallerSession) Observe ¶
func (_PoolV3 *PoolV3CallerSession) Observe(secondsAgos []uint32) (struct { TickCumulatives []*big.Int SecondsPerLiquidityCumulativeX128s []*big.Int }, error)
Observe is a free data retrieval call binding the contract method 0x883bdbfd.
Solidity: function observe(uint32[] secondsAgos) view returns(int56[] tickCumulatives, uint160[] secondsPerLiquidityCumulativeX128s)
func (*PoolV3CallerSession) Positions ¶
func (_PoolV3 *PoolV3CallerSession) Positions(arg0 [32]byte) (struct { Liquidity *big.Int FeeGrowthInside0LastX128 *big.Int FeeGrowthInside1LastX128 *big.Int TokensOwed0 *big.Int TokensOwed1 *big.Int }, error)
Positions is a free data retrieval call binding the contract method 0x514ea4bf.
Solidity: function positions(bytes32 ) view returns(uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)
func (*PoolV3CallerSession) ProtocolFees ¶
func (_PoolV3 *PoolV3CallerSession) ProtocolFees() (struct { Token0 *big.Int Token1 *big.Int }, error)
ProtocolFees is a free data retrieval call binding the contract method 0x1ad8b03b.
Solidity: function protocolFees() view returns(uint128 token0, uint128 token1)
func (*PoolV3CallerSession) Slot0 ¶
func (_PoolV3 *PoolV3CallerSession) Slot0() (struct { SqrtPriceX96 *big.Int Tick *big.Int ObservationIndex uint16 ObservationCardinality uint16 ObservationCardinalityNext uint16 FeeProtocol uint8 Unlocked bool }, error)
Slot0 is a free data retrieval call binding the contract method 0x3850c7bd.
Solidity: function slot0() view returns(uint160 sqrtPriceX96, int24 tick, uint16 observationIndex, uint16 observationCardinality, uint16 observationCardinalityNext, uint8 feeProtocol, bool unlocked)
func (*PoolV3CallerSession) SnapshotCumulativesInside ¶
func (_PoolV3 *PoolV3CallerSession) SnapshotCumulativesInside(tickLower *big.Int, tickUpper *big.Int) (struct { TickCumulativeInside *big.Int SecondsPerLiquidityInsideX128 *big.Int SecondsInside uint32 }, error)
SnapshotCumulativesInside is a free data retrieval call binding the contract method 0xa38807f2.
Solidity: function snapshotCumulativesInside(int24 tickLower, int24 tickUpper) view returns(int56 tickCumulativeInside, uint160 secondsPerLiquidityInsideX128, uint32 secondsInside)
func (*PoolV3CallerSession) TickBitmap ¶
func (_PoolV3 *PoolV3CallerSession) TickBitmap(arg0 int16) (*big.Int, error)
TickBitmap is a free data retrieval call binding the contract method 0x5339c296.
Solidity: function tickBitmap(int16 ) view returns(uint256)
func (*PoolV3CallerSession) TickSpacing ¶
func (_PoolV3 *PoolV3CallerSession) TickSpacing() (*big.Int, error)
TickSpacing is a free data retrieval call binding the contract method 0xd0c93a7c.
Solidity: function tickSpacing() view returns(int24)
func (*PoolV3CallerSession) Ticks ¶
func (_PoolV3 *PoolV3CallerSession) Ticks(arg0 *big.Int) (struct { LiquidityGross *big.Int LiquidityNet *big.Int FeeGrowthOutside0X128 *big.Int FeeGrowthOutside1X128 *big.Int TickCumulativeOutside *big.Int SecondsPerLiquidityOutsideX128 *big.Int SecondsOutside uint32 Initialized bool }, error)
Ticks is a free data retrieval call binding the contract method 0xf30dba93.
Solidity: function ticks(int24 ) view returns(uint128 liquidityGross, int128 liquidityNet, uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128, int56 tickCumulativeOutside, uint160 secondsPerLiquidityOutsideX128, uint32 secondsOutside, bool initialized)
type PoolV3Collect ¶
type PoolV3Collect struct { Owner common.Address Recipient common.Address TickLower *big.Int TickUpper *big.Int Amount0 *big.Int Amount1 *big.Int Raw types.Log // Blockchain specific contextual infos }
PoolV3Collect represents a Collect event raised by the PoolV3 contract.
type PoolV3CollectIterator ¶
type PoolV3CollectIterator struct { Event *PoolV3Collect // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PoolV3CollectIterator is returned from FilterCollect and is used to iterate over the raw logs and unpacked data for Collect events raised by the PoolV3 contract.
func (*PoolV3CollectIterator) Close ¶
func (it *PoolV3CollectIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PoolV3CollectIterator) Error ¶
func (it *PoolV3CollectIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PoolV3CollectIterator) Next ¶
func (it *PoolV3CollectIterator) 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 PoolV3CollectProtocol ¶
type PoolV3CollectProtocol struct { Sender common.Address Recipient common.Address Amount0 *big.Int Amount1 *big.Int Raw types.Log // Blockchain specific contextual infos }
PoolV3CollectProtocol represents a CollectProtocol event raised by the PoolV3 contract.
type PoolV3CollectProtocolIterator ¶
type PoolV3CollectProtocolIterator struct { Event *PoolV3CollectProtocol // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PoolV3CollectProtocolIterator is returned from FilterCollectProtocol and is used to iterate over the raw logs and unpacked data for CollectProtocol events raised by the PoolV3 contract.
func (*PoolV3CollectProtocolIterator) Close ¶
func (it *PoolV3CollectProtocolIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PoolV3CollectProtocolIterator) Error ¶
func (it *PoolV3CollectProtocolIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PoolV3CollectProtocolIterator) Next ¶
func (it *PoolV3CollectProtocolIterator) 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 PoolV3Filterer ¶
type PoolV3Filterer struct {
// contains filtered or unexported fields
}
PoolV3Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewPoolV3Filterer ¶
func NewPoolV3Filterer(address common.Address, filterer bind.ContractFilterer) (*PoolV3Filterer, error)
NewPoolV3Filterer creates a new log filterer instance of PoolV3, bound to a specific deployed contract.
func (*PoolV3Filterer) FilterBurn ¶
func (_PoolV3 *PoolV3Filterer) FilterBurn(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (*PoolV3BurnIterator, error)
FilterBurn is a free log retrieval operation binding the contract event 0x0c396cd989a39f4459b5fa1aed6a9a8dcdbc45908acfd67e028cd568da98982c.
Solidity: event Burn(address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)
func (*PoolV3Filterer) FilterCollect ¶
func (_PoolV3 *PoolV3Filterer) FilterCollect(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (*PoolV3CollectIterator, error)
FilterCollect is a free log retrieval operation binding the contract event 0x70935338e69775456a85ddef226c395fb668b63fa0115f5f20610b388e6ca9c0.
Solidity: event Collect(address indexed owner, address recipient, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount0, uint128 amount1)
func (*PoolV3Filterer) FilterCollectProtocol ¶
func (_PoolV3 *PoolV3Filterer) FilterCollectProtocol(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*PoolV3CollectProtocolIterator, error)
FilterCollectProtocol is a free log retrieval operation binding the contract event 0x596b573906218d3411850b26a6b437d6c4522fdb43d2d2386263f86d50b8b151.
Solidity: event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1)
func (*PoolV3Filterer) FilterFlash ¶
func (_PoolV3 *PoolV3Filterer) FilterFlash(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*PoolV3FlashIterator, 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 (*PoolV3Filterer) FilterIncreaseObservationCardinalityNext ¶
func (_PoolV3 *PoolV3Filterer) FilterIncreaseObservationCardinalityNext(opts *bind.FilterOpts) (*PoolV3IncreaseObservationCardinalityNextIterator, error)
FilterIncreaseObservationCardinalityNext is a free log retrieval operation binding the contract event 0xac49e518f90a358f652e4400164f05a5d8f7e35e7747279bc3a93dbf584e125a.
Solidity: event IncreaseObservationCardinalityNext(uint16 observationCardinalityNextOld, uint16 observationCardinalityNextNew)
func (*PoolV3Filterer) FilterInitialize ¶
func (_PoolV3 *PoolV3Filterer) FilterInitialize(opts *bind.FilterOpts) (*PoolV3InitializeIterator, error)
FilterInitialize is a free log retrieval operation binding the contract event 0x98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95.
Solidity: event Initialize(uint160 sqrtPriceX96, int24 tick)
func (*PoolV3Filterer) FilterMint ¶
func (_PoolV3 *PoolV3Filterer) FilterMint(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (*PoolV3MintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x7a53080ba414158be7ec69b987b5fb7d07dee101fe85488f0853ae16239d0bde.
Solidity: event Mint(address sender, address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)
func (*PoolV3Filterer) FilterSetFeeProtocol ¶
func (_PoolV3 *PoolV3Filterer) FilterSetFeeProtocol(opts *bind.FilterOpts) (*PoolV3SetFeeProtocolIterator, error)
FilterSetFeeProtocol is a free log retrieval operation binding the contract event 0x973d8d92bb299f4af6ce49b52a8adb85ae46b9f214c4c4fc06ac77401237b133.
Solidity: event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New)
func (*PoolV3Filterer) FilterSwap ¶
func (_PoolV3 *PoolV3Filterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*PoolV3SwapIterator, 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 sqrtPriceX96, uint128 liquidity, int24 tick)
func (*PoolV3Filterer) ParseBurn ¶
func (_PoolV3 *PoolV3Filterer) ParseBurn(log types.Log) (*PoolV3Burn, error)
ParseBurn is a log parse operation binding the contract event 0x0c396cd989a39f4459b5fa1aed6a9a8dcdbc45908acfd67e028cd568da98982c.
Solidity: event Burn(address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)
func (*PoolV3Filterer) ParseCollect ¶
func (_PoolV3 *PoolV3Filterer) ParseCollect(log types.Log) (*PoolV3Collect, error)
ParseCollect is a log parse operation binding the contract event 0x70935338e69775456a85ddef226c395fb668b63fa0115f5f20610b388e6ca9c0.
Solidity: event Collect(address indexed owner, address recipient, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount0, uint128 amount1)
func (*PoolV3Filterer) ParseCollectProtocol ¶
func (_PoolV3 *PoolV3Filterer) ParseCollectProtocol(log types.Log) (*PoolV3CollectProtocol, error)
ParseCollectProtocol is a log parse operation binding the contract event 0x596b573906218d3411850b26a6b437d6c4522fdb43d2d2386263f86d50b8b151.
Solidity: event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1)
func (*PoolV3Filterer) ParseFlash ¶
func (_PoolV3 *PoolV3Filterer) ParseFlash(log types.Log) (*PoolV3Flash, 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 (*PoolV3Filterer) ParseIncreaseObservationCardinalityNext ¶
func (_PoolV3 *PoolV3Filterer) ParseIncreaseObservationCardinalityNext(log types.Log) (*PoolV3IncreaseObservationCardinalityNext, error)
ParseIncreaseObservationCardinalityNext is a log parse operation binding the contract event 0xac49e518f90a358f652e4400164f05a5d8f7e35e7747279bc3a93dbf584e125a.
Solidity: event IncreaseObservationCardinalityNext(uint16 observationCardinalityNextOld, uint16 observationCardinalityNextNew)
func (*PoolV3Filterer) ParseInitialize ¶
func (_PoolV3 *PoolV3Filterer) ParseInitialize(log types.Log) (*PoolV3Initialize, error)
ParseInitialize is a log parse operation binding the contract event 0x98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95.
Solidity: event Initialize(uint160 sqrtPriceX96, int24 tick)
func (*PoolV3Filterer) ParseMint ¶
func (_PoolV3 *PoolV3Filterer) ParseMint(log types.Log) (*PoolV3Mint, error)
ParseMint is a log parse operation binding the contract event 0x7a53080ba414158be7ec69b987b5fb7d07dee101fe85488f0853ae16239d0bde.
Solidity: event Mint(address sender, address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)
func (*PoolV3Filterer) ParseSetFeeProtocol ¶
func (_PoolV3 *PoolV3Filterer) ParseSetFeeProtocol(log types.Log) (*PoolV3SetFeeProtocol, error)
ParseSetFeeProtocol is a log parse operation binding the contract event 0x973d8d92bb299f4af6ce49b52a8adb85ae46b9f214c4c4fc06ac77401237b133.
Solidity: event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New)
func (*PoolV3Filterer) ParseSwap ¶
func (_PoolV3 *PoolV3Filterer) ParseSwap(log types.Log) (*PoolV3Swap, 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 sqrtPriceX96, uint128 liquidity, int24 tick)
func (*PoolV3Filterer) WatchBurn ¶
func (_PoolV3 *PoolV3Filterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *PoolV3Burn, owner []common.Address, tickLower []*big.Int, tickUpper []*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 tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)
func (*PoolV3Filterer) WatchCollect ¶
func (_PoolV3 *PoolV3Filterer) WatchCollect(opts *bind.WatchOpts, sink chan<- *PoolV3Collect, owner []common.Address, tickLower []*big.Int, tickUpper []*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 tickLower, int24 indexed tickUpper, uint128 amount0, uint128 amount1)
func (*PoolV3Filterer) WatchCollectProtocol ¶
func (_PoolV3 *PoolV3Filterer) WatchCollectProtocol(opts *bind.WatchOpts, sink chan<- *PoolV3CollectProtocol, sender []common.Address, recipient []common.Address) (event.Subscription, error)
WatchCollectProtocol is a free log subscription operation binding the contract event 0x596b573906218d3411850b26a6b437d6c4522fdb43d2d2386263f86d50b8b151.
Solidity: event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1)
func (*PoolV3Filterer) WatchFlash ¶
func (_PoolV3 *PoolV3Filterer) WatchFlash(opts *bind.WatchOpts, sink chan<- *PoolV3Flash, 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 (*PoolV3Filterer) WatchIncreaseObservationCardinalityNext ¶
func (_PoolV3 *PoolV3Filterer) WatchIncreaseObservationCardinalityNext(opts *bind.WatchOpts, sink chan<- *PoolV3IncreaseObservationCardinalityNext) (event.Subscription, error)
WatchIncreaseObservationCardinalityNext is a free log subscription operation binding the contract event 0xac49e518f90a358f652e4400164f05a5d8f7e35e7747279bc3a93dbf584e125a.
Solidity: event IncreaseObservationCardinalityNext(uint16 observationCardinalityNextOld, uint16 observationCardinalityNextNew)
func (*PoolV3Filterer) WatchInitialize ¶
func (_PoolV3 *PoolV3Filterer) WatchInitialize(opts *bind.WatchOpts, sink chan<- *PoolV3Initialize) (event.Subscription, error)
WatchInitialize is a free log subscription operation binding the contract event 0x98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95.
Solidity: event Initialize(uint160 sqrtPriceX96, int24 tick)
func (*PoolV3Filterer) WatchMint ¶
func (_PoolV3 *PoolV3Filterer) WatchMint(opts *bind.WatchOpts, sink chan<- *PoolV3Mint, owner []common.Address, tickLower []*big.Int, tickUpper []*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 tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)
func (*PoolV3Filterer) WatchSetFeeProtocol ¶
func (_PoolV3 *PoolV3Filterer) WatchSetFeeProtocol(opts *bind.WatchOpts, sink chan<- *PoolV3SetFeeProtocol) (event.Subscription, error)
WatchSetFeeProtocol is a free log subscription operation binding the contract event 0x973d8d92bb299f4af6ce49b52a8adb85ae46b9f214c4c4fc06ac77401237b133.
Solidity: event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New)
func (*PoolV3Filterer) WatchSwap ¶
func (_PoolV3 *PoolV3Filterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *PoolV3Swap, 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 sqrtPriceX96, uint128 liquidity, int24 tick)
type PoolV3Flash ¶
type PoolV3Flash 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 }
PoolV3Flash represents a Flash event raised by the PoolV3 contract.
type PoolV3FlashIterator ¶
type PoolV3FlashIterator struct { Event *PoolV3Flash // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PoolV3FlashIterator is returned from FilterFlash and is used to iterate over the raw logs and unpacked data for Flash events raised by the PoolV3 contract.
func (*PoolV3FlashIterator) Close ¶
func (it *PoolV3FlashIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PoolV3FlashIterator) Error ¶
func (it *PoolV3FlashIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PoolV3FlashIterator) Next ¶
func (it *PoolV3FlashIterator) 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 PoolV3IncreaseObservationCardinalityNext ¶
type PoolV3IncreaseObservationCardinalityNext struct { ObservationCardinalityNextOld uint16 ObservationCardinalityNextNew uint16 Raw types.Log // Blockchain specific contextual infos }
PoolV3IncreaseObservationCardinalityNext represents a IncreaseObservationCardinalityNext event raised by the PoolV3 contract.
type PoolV3IncreaseObservationCardinalityNextIterator ¶
type PoolV3IncreaseObservationCardinalityNextIterator struct { Event *PoolV3IncreaseObservationCardinalityNext // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PoolV3IncreaseObservationCardinalityNextIterator is returned from FilterIncreaseObservationCardinalityNext and is used to iterate over the raw logs and unpacked data for IncreaseObservationCardinalityNext events raised by the PoolV3 contract.
func (*PoolV3IncreaseObservationCardinalityNextIterator) Close ¶
func (it *PoolV3IncreaseObservationCardinalityNextIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PoolV3IncreaseObservationCardinalityNextIterator) Error ¶
func (it *PoolV3IncreaseObservationCardinalityNextIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PoolV3IncreaseObservationCardinalityNextIterator) Next ¶
func (it *PoolV3IncreaseObservationCardinalityNextIterator) 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 PoolV3Initialize ¶
type PoolV3Initialize struct { SqrtPriceX96 *big.Int Tick *big.Int Raw types.Log // Blockchain specific contextual infos }
PoolV3Initialize represents a Initialize event raised by the PoolV3 contract.
type PoolV3InitializeIterator ¶
type PoolV3InitializeIterator struct { Event *PoolV3Initialize // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PoolV3InitializeIterator is returned from FilterInitialize and is used to iterate over the raw logs and unpacked data for Initialize events raised by the PoolV3 contract.
func (*PoolV3InitializeIterator) Close ¶
func (it *PoolV3InitializeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PoolV3InitializeIterator) Error ¶
func (it *PoolV3InitializeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PoolV3InitializeIterator) Next ¶
func (it *PoolV3InitializeIterator) 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 PoolV3Mint ¶
type PoolV3Mint struct { Sender common.Address Owner common.Address TickLower *big.Int TickUpper *big.Int Amount *big.Int Amount0 *big.Int Amount1 *big.Int Raw types.Log // Blockchain specific contextual infos }
PoolV3Mint represents a Mint event raised by the PoolV3 contract.
type PoolV3MintIterator ¶
type PoolV3MintIterator struct { Event *PoolV3Mint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PoolV3MintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the PoolV3 contract.
func (*PoolV3MintIterator) Close ¶
func (it *PoolV3MintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PoolV3MintIterator) Error ¶
func (it *PoolV3MintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PoolV3MintIterator) Next ¶
func (it *PoolV3MintIterator) 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 PoolV3Raw ¶
type PoolV3Raw struct {
Contract *PoolV3 // Generic contract binding to access the raw methods on
}
PoolV3Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*PoolV3Raw) Call ¶
func (_PoolV3 *PoolV3Raw) 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 (*PoolV3Raw) Transact ¶
func (_PoolV3 *PoolV3Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PoolV3Raw) Transfer ¶
func (_PoolV3 *PoolV3Raw) 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 PoolV3Session ¶
type PoolV3Session struct { Contract *PoolV3 // 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 }
PoolV3Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*PoolV3Session) Burn ¶
func (_PoolV3 *PoolV3Session) Burn(tickLower *big.Int, tickUpper *big.Int, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xa34123a7.
Solidity: function burn(int24 tickLower, int24 tickUpper, uint128 amount) returns(uint256 amount0, uint256 amount1)
func (*PoolV3Session) Collect ¶
func (_PoolV3 *PoolV3Session) Collect(recipient common.Address, tickLower *big.Int, tickUpper *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 tickLower, int24 tickUpper, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)
func (*PoolV3Session) CollectProtocol ¶
func (_PoolV3 *PoolV3Session) CollectProtocol(recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)
CollectProtocol is a paid mutator transaction binding the contract method 0x85b66729.
Solidity: function collectProtocol(address recipient, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)
func (*PoolV3Session) Factory ¶
func (_PoolV3 *PoolV3Session) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*PoolV3Session) Fee ¶
func (_PoolV3 *PoolV3Session) Fee() (*big.Int, error)
Fee is a free data retrieval call binding the contract method 0xddca3f43.
Solidity: function fee() view returns(uint24)
func (*PoolV3Session) FeeGrowthGlobal0X128 ¶
func (_PoolV3 *PoolV3Session) FeeGrowthGlobal0X128() (*big.Int, error)
FeeGrowthGlobal0X128 is a free data retrieval call binding the contract method 0xf3058399.
Solidity: function feeGrowthGlobal0X128() view returns(uint256)
func (*PoolV3Session) FeeGrowthGlobal1X128 ¶
func (_PoolV3 *PoolV3Session) FeeGrowthGlobal1X128() (*big.Int, error)
FeeGrowthGlobal1X128 is a free data retrieval call binding the contract method 0x46141319.
Solidity: function feeGrowthGlobal1X128() view returns(uint256)
func (*PoolV3Session) Flash ¶
func (_PoolV3 *PoolV3Session) 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 (*PoolV3Session) IncreaseObservationCardinalityNext ¶
func (_PoolV3 *PoolV3Session) IncreaseObservationCardinalityNext(observationCardinalityNext uint16) (*types.Transaction, error)
IncreaseObservationCardinalityNext is a paid mutator transaction binding the contract method 0x32148f67.
Solidity: function increaseObservationCardinalityNext(uint16 observationCardinalityNext) returns()
func (*PoolV3Session) Initialize ¶
func (_PoolV3 *PoolV3Session) Initialize(sqrtPriceX96 *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xf637731d.
Solidity: function initialize(uint160 sqrtPriceX96) returns()
func (*PoolV3Session) Liquidity ¶
func (_PoolV3 *PoolV3Session) Liquidity() (*big.Int, error)
Liquidity is a free data retrieval call binding the contract method 0x1a686502.
Solidity: function liquidity() view returns(uint128)
func (*PoolV3Session) MaxLiquidityPerTick ¶
func (_PoolV3 *PoolV3Session) MaxLiquidityPerTick() (*big.Int, error)
MaxLiquidityPerTick is a free data retrieval call binding the contract method 0x70cf754a.
Solidity: function maxLiquidityPerTick() view returns(uint128)
func (*PoolV3Session) Mint ¶
func (_PoolV3 *PoolV3Session) Mint(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x3c8a7d8d.
Solidity: function mint(address recipient, int24 tickLower, int24 tickUpper, uint128 amount, bytes data) returns(uint256 amount0, uint256 amount1)
func (*PoolV3Session) Observations ¶
func (_PoolV3 *PoolV3Session) Observations(arg0 *big.Int) (struct { BlockTimestamp uint32 TickCumulative *big.Int SecondsPerLiquidityCumulativeX128 *big.Int Initialized bool }, error)
Observations is a free data retrieval call binding the contract method 0x252c09d7.
Solidity: function observations(uint256 ) view returns(uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulativeX128, bool initialized)
func (*PoolV3Session) Observe ¶
func (_PoolV3 *PoolV3Session) Observe(secondsAgos []uint32) (struct { TickCumulatives []*big.Int SecondsPerLiquidityCumulativeX128s []*big.Int }, error)
Observe is a free data retrieval call binding the contract method 0x883bdbfd.
Solidity: function observe(uint32[] secondsAgos) view returns(int56[] tickCumulatives, uint160[] secondsPerLiquidityCumulativeX128s)
func (*PoolV3Session) Positions ¶
func (_PoolV3 *PoolV3Session) Positions(arg0 [32]byte) (struct { Liquidity *big.Int FeeGrowthInside0LastX128 *big.Int FeeGrowthInside1LastX128 *big.Int TokensOwed0 *big.Int TokensOwed1 *big.Int }, error)
Positions is a free data retrieval call binding the contract method 0x514ea4bf.
Solidity: function positions(bytes32 ) view returns(uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)
func (*PoolV3Session) ProtocolFees ¶
ProtocolFees is a free data retrieval call binding the contract method 0x1ad8b03b.
Solidity: function protocolFees() view returns(uint128 token0, uint128 token1)
func (*PoolV3Session) SetFeeProtocol ¶
func (_PoolV3 *PoolV3Session) SetFeeProtocol(feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)
SetFeeProtocol is a paid mutator transaction binding the contract method 0x8206a4d1.
Solidity: function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) returns()
func (*PoolV3Session) Slot0 ¶
func (_PoolV3 *PoolV3Session) Slot0() (struct { SqrtPriceX96 *big.Int Tick *big.Int ObservationIndex uint16 ObservationCardinality uint16 ObservationCardinalityNext uint16 FeeProtocol uint8 Unlocked bool }, error)
Slot0 is a free data retrieval call binding the contract method 0x3850c7bd.
Solidity: function slot0() view returns(uint160 sqrtPriceX96, int24 tick, uint16 observationIndex, uint16 observationCardinality, uint16 observationCardinalityNext, uint8 feeProtocol, bool unlocked)
func (*PoolV3Session) SnapshotCumulativesInside ¶
func (_PoolV3 *PoolV3Session) SnapshotCumulativesInside(tickLower *big.Int, tickUpper *big.Int) (struct { TickCumulativeInside *big.Int SecondsPerLiquidityInsideX128 *big.Int SecondsInside uint32 }, error)
SnapshotCumulativesInside is a free data retrieval call binding the contract method 0xa38807f2.
Solidity: function snapshotCumulativesInside(int24 tickLower, int24 tickUpper) view returns(int56 tickCumulativeInside, uint160 secondsPerLiquidityInsideX128, uint32 secondsInside)
func (*PoolV3Session) Swap ¶
func (_PoolV3 *PoolV3Session) Swap(recipient common.Address, zeroForOne bool, amountSpecified *big.Int, sqrtPriceLimitX96 *big.Int, data []byte) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x128acb08.
Solidity: function swap(address recipient, bool zeroForOne, int256 amountSpecified, uint160 sqrtPriceLimitX96, bytes data) returns(int256 amount0, int256 amount1)
func (*PoolV3Session) TickBitmap ¶
func (_PoolV3 *PoolV3Session) TickBitmap(arg0 int16) (*big.Int, error)
TickBitmap is a free data retrieval call binding the contract method 0x5339c296.
Solidity: function tickBitmap(int16 ) view returns(uint256)
func (*PoolV3Session) TickSpacing ¶
func (_PoolV3 *PoolV3Session) TickSpacing() (*big.Int, error)
TickSpacing is a free data retrieval call binding the contract method 0xd0c93a7c.
Solidity: function tickSpacing() view returns(int24)
func (*PoolV3Session) Ticks ¶
func (_PoolV3 *PoolV3Session) Ticks(arg0 *big.Int) (struct { LiquidityGross *big.Int LiquidityNet *big.Int FeeGrowthOutside0X128 *big.Int FeeGrowthOutside1X128 *big.Int TickCumulativeOutside *big.Int SecondsPerLiquidityOutsideX128 *big.Int SecondsOutside uint32 Initialized bool }, error)
Ticks is a free data retrieval call binding the contract method 0xf30dba93.
Solidity: function ticks(int24 ) view returns(uint128 liquidityGross, int128 liquidityNet, uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128, int56 tickCumulativeOutside, uint160 secondsPerLiquidityOutsideX128, uint32 secondsOutside, bool initialized)
type PoolV3SetFeeProtocol ¶
type PoolV3SetFeeProtocol struct { FeeProtocol0Old uint8 FeeProtocol1Old uint8 FeeProtocol0New uint8 FeeProtocol1New uint8 Raw types.Log // Blockchain specific contextual infos }
PoolV3SetFeeProtocol represents a SetFeeProtocol event raised by the PoolV3 contract.
type PoolV3SetFeeProtocolIterator ¶
type PoolV3SetFeeProtocolIterator struct { Event *PoolV3SetFeeProtocol // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PoolV3SetFeeProtocolIterator is returned from FilterSetFeeProtocol and is used to iterate over the raw logs and unpacked data for SetFeeProtocol events raised by the PoolV3 contract.
func (*PoolV3SetFeeProtocolIterator) Close ¶
func (it *PoolV3SetFeeProtocolIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PoolV3SetFeeProtocolIterator) Error ¶
func (it *PoolV3SetFeeProtocolIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PoolV3SetFeeProtocolIterator) Next ¶
func (it *PoolV3SetFeeProtocolIterator) 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 PoolV3Swap ¶
type PoolV3Swap struct { Sender common.Address Recipient common.Address Amount0 *big.Int Amount1 *big.Int SqrtPriceX96 *big.Int Liquidity *big.Int Tick *big.Int Raw types.Log // Blockchain specific contextual infos }
PoolV3Swap represents a Swap event raised by the PoolV3 contract.
type PoolV3SwapIterator ¶
type PoolV3SwapIterator struct { Event *PoolV3Swap // Event containing the contract specifics and raw log // contains filtered or unexported fields }
PoolV3SwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the PoolV3 contract.
func (*PoolV3SwapIterator) Close ¶
func (it *PoolV3SwapIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*PoolV3SwapIterator) Error ¶
func (it *PoolV3SwapIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*PoolV3SwapIterator) Next ¶
func (it *PoolV3SwapIterator) 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 PoolV3Transactor ¶
type PoolV3Transactor struct {
// contains filtered or unexported fields
}
PoolV3Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewPoolV3Transactor ¶
func NewPoolV3Transactor(address common.Address, transactor bind.ContractTransactor) (*PoolV3Transactor, error)
NewPoolV3Transactor creates a new write-only instance of PoolV3, bound to a specific deployed contract.
func (*PoolV3Transactor) Burn ¶
func (_PoolV3 *PoolV3Transactor) Burn(opts *bind.TransactOpts, tickLower *big.Int, tickUpper *big.Int, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xa34123a7.
Solidity: function burn(int24 tickLower, int24 tickUpper, uint128 amount) returns(uint256 amount0, uint256 amount1)
func (*PoolV3Transactor) Collect ¶
func (_PoolV3 *PoolV3Transactor) Collect(opts *bind.TransactOpts, recipient common.Address, tickLower *big.Int, tickUpper *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 tickLower, int24 tickUpper, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)
func (*PoolV3Transactor) CollectProtocol ¶
func (_PoolV3 *PoolV3Transactor) CollectProtocol(opts *bind.TransactOpts, recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)
CollectProtocol is a paid mutator transaction binding the contract method 0x85b66729.
Solidity: function collectProtocol(address recipient, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)
func (*PoolV3Transactor) Flash ¶
func (_PoolV3 *PoolV3Transactor) 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 (*PoolV3Transactor) IncreaseObservationCardinalityNext ¶
func (_PoolV3 *PoolV3Transactor) IncreaseObservationCardinalityNext(opts *bind.TransactOpts, observationCardinalityNext uint16) (*types.Transaction, error)
IncreaseObservationCardinalityNext is a paid mutator transaction binding the contract method 0x32148f67.
Solidity: function increaseObservationCardinalityNext(uint16 observationCardinalityNext) returns()
func (*PoolV3Transactor) Initialize ¶
func (_PoolV3 *PoolV3Transactor) Initialize(opts *bind.TransactOpts, sqrtPriceX96 *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xf637731d.
Solidity: function initialize(uint160 sqrtPriceX96) returns()
func (*PoolV3Transactor) Mint ¶
func (_PoolV3 *PoolV3Transactor) Mint(opts *bind.TransactOpts, recipient common.Address, tickLower *big.Int, tickUpper *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x3c8a7d8d.
Solidity: function mint(address recipient, int24 tickLower, int24 tickUpper, uint128 amount, bytes data) returns(uint256 amount0, uint256 amount1)
func (*PoolV3Transactor) SetFeeProtocol ¶
func (_PoolV3 *PoolV3Transactor) SetFeeProtocol(opts *bind.TransactOpts, feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)
SetFeeProtocol is a paid mutator transaction binding the contract method 0x8206a4d1.
Solidity: function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) returns()
func (*PoolV3Transactor) Swap ¶
func (_PoolV3 *PoolV3Transactor) Swap(opts *bind.TransactOpts, recipient common.Address, zeroForOne bool, amountSpecified *big.Int, sqrtPriceLimitX96 *big.Int, data []byte) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x128acb08.
Solidity: function swap(address recipient, bool zeroForOne, int256 amountSpecified, uint160 sqrtPriceLimitX96, bytes data) returns(int256 amount0, int256 amount1)
type PoolV3TransactorRaw ¶
type PoolV3TransactorRaw struct {
Contract *PoolV3Transactor // Generic write-only contract binding to access the raw methods on
}
PoolV3TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*PoolV3TransactorRaw) Transact ¶
func (_PoolV3 *PoolV3TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*PoolV3TransactorRaw) Transfer ¶
func (_PoolV3 *PoolV3TransactorRaw) 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 PoolV3TransactorSession ¶
type PoolV3TransactorSession struct { Contract *PoolV3Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
PoolV3TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*PoolV3TransactorSession) Burn ¶
func (_PoolV3 *PoolV3TransactorSession) Burn(tickLower *big.Int, tickUpper *big.Int, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xa34123a7.
Solidity: function burn(int24 tickLower, int24 tickUpper, uint128 amount) returns(uint256 amount0, uint256 amount1)
func (*PoolV3TransactorSession) Collect ¶
func (_PoolV3 *PoolV3TransactorSession) Collect(recipient common.Address, tickLower *big.Int, tickUpper *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 tickLower, int24 tickUpper, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)
func (*PoolV3TransactorSession) CollectProtocol ¶
func (_PoolV3 *PoolV3TransactorSession) CollectProtocol(recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)
CollectProtocol is a paid mutator transaction binding the contract method 0x85b66729.
Solidity: function collectProtocol(address recipient, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)
func (*PoolV3TransactorSession) Flash ¶
func (_PoolV3 *PoolV3TransactorSession) 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 (*PoolV3TransactorSession) IncreaseObservationCardinalityNext ¶
func (_PoolV3 *PoolV3TransactorSession) IncreaseObservationCardinalityNext(observationCardinalityNext uint16) (*types.Transaction, error)
IncreaseObservationCardinalityNext is a paid mutator transaction binding the contract method 0x32148f67.
Solidity: function increaseObservationCardinalityNext(uint16 observationCardinalityNext) returns()
func (*PoolV3TransactorSession) Initialize ¶
func (_PoolV3 *PoolV3TransactorSession) Initialize(sqrtPriceX96 *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xf637731d.
Solidity: function initialize(uint160 sqrtPriceX96) returns()
func (*PoolV3TransactorSession) Mint ¶
func (_PoolV3 *PoolV3TransactorSession) Mint(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x3c8a7d8d.
Solidity: function mint(address recipient, int24 tickLower, int24 tickUpper, uint128 amount, bytes data) returns(uint256 amount0, uint256 amount1)
func (*PoolV3TransactorSession) SetFeeProtocol ¶
func (_PoolV3 *PoolV3TransactorSession) SetFeeProtocol(feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)
SetFeeProtocol is a paid mutator transaction binding the contract method 0x8206a4d1.
Solidity: function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) returns()
func (*PoolV3TransactorSession) Swap ¶
func (_PoolV3 *PoolV3TransactorSession) Swap(recipient common.Address, zeroForOne bool, amountSpecified *big.Int, sqrtPriceLimitX96 *big.Int, data []byte) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x128acb08.
Solidity: function swap(address recipient, bool zeroForOne, int256 amountSpecified, uint160 sqrtPriceLimitX96, bytes data) returns(int256 amount0, int256 amount1)