Versions in this module Expand all Collapse all v0 v0.0.6 Jun 24, 2022 v0.0.5 Jun 8, 2022 Changes in this version + var Univ3poolABI = Univ3poolMetaData.ABI + var Univ3poolMetaData = &bind.MetaData + type Univ3pool struct + func NewUniv3pool(address common.Address, backend bind.ContractBackend) (*Univ3pool, error) + type Univ3poolBurn struct + Amount *big.Int + Amount0 *big.Int + Amount1 *big.Int + Owner common.Address + Raw types.Log + TickLower *big.Int + TickUpper *big.Int + type Univ3poolBurnIterator struct + Event *Univ3poolBurn + func (it *Univ3poolBurnIterator) Close() error + func (it *Univ3poolBurnIterator) Error() error + func (it *Univ3poolBurnIterator) Next() bool + type Univ3poolCaller struct + func NewUniv3poolCaller(address common.Address, caller bind.ContractCaller) (*Univ3poolCaller, error) + func (_Univ3pool *Univ3poolCaller) Factory(opts *bind.CallOpts) (common.Address, error) + func (_Univ3pool *Univ3poolCaller) Fee(opts *bind.CallOpts) (*big.Int, error) + func (_Univ3pool *Univ3poolCaller) FeeGrowthGlobal0X128(opts *bind.CallOpts) (*big.Int, error) + func (_Univ3pool *Univ3poolCaller) FeeGrowthGlobal1X128(opts *bind.CallOpts) (*big.Int, error) + func (_Univ3pool *Univ3poolCaller) Liquidity(opts *bind.CallOpts) (*big.Int, error) + func (_Univ3pool *Univ3poolCaller) MaxLiquidityPerTick(opts *bind.CallOpts) (*big.Int, error) + func (_Univ3pool *Univ3poolCaller) Observations(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error) + func (_Univ3pool *Univ3poolCaller) Observe(opts *bind.CallOpts, secondsAgos []uint32) (struct{ ... }, error) + func (_Univ3pool *Univ3poolCaller) Positions(opts *bind.CallOpts, key [32]byte) (struct{ ... }, error) + func (_Univ3pool *Univ3poolCaller) ProtocolFees(opts *bind.CallOpts) (struct{ ... }, error) + func (_Univ3pool *Univ3poolCaller) Slot0(opts *bind.CallOpts) (struct{ ... }, error) + func (_Univ3pool *Univ3poolCaller) SnapshotCumulativesInside(opts *bind.CallOpts, tickLower *big.Int, tickUpper *big.Int) (struct{ ... }, error) + func (_Univ3pool *Univ3poolCaller) TickBitmap(opts *bind.CallOpts, wordPosition int16) (*big.Int, error) + func (_Univ3pool *Univ3poolCaller) TickSpacing(opts *bind.CallOpts) (*big.Int, error) + func (_Univ3pool *Univ3poolCaller) Ticks(opts *bind.CallOpts, tick *big.Int) (struct{ ... }, error) + func (_Univ3pool *Univ3poolCaller) Token0(opts *bind.CallOpts) (common.Address, error) + func (_Univ3pool *Univ3poolCaller) Token1(opts *bind.CallOpts) (common.Address, error) + type Univ3poolCallerRaw struct + Contract *Univ3poolCaller + func (_Univ3pool *Univ3poolCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + type Univ3poolCallerSession struct + CallOpts bind.CallOpts + Contract *Univ3poolCaller + func (_Univ3pool *Univ3poolCallerSession) Factory() (common.Address, error) + func (_Univ3pool *Univ3poolCallerSession) Fee() (*big.Int, error) + func (_Univ3pool *Univ3poolCallerSession) FeeGrowthGlobal0X128() (*big.Int, error) + func (_Univ3pool *Univ3poolCallerSession) FeeGrowthGlobal1X128() (*big.Int, error) + func (_Univ3pool *Univ3poolCallerSession) Liquidity() (*big.Int, error) + func (_Univ3pool *Univ3poolCallerSession) MaxLiquidityPerTick() (*big.Int, error) + func (_Univ3pool *Univ3poolCallerSession) Observations(index *big.Int) (struct{ ... }, error) + func (_Univ3pool *Univ3poolCallerSession) Observe(secondsAgos []uint32) (struct{ ... }, error) + func (_Univ3pool *Univ3poolCallerSession) Positions(key [32]byte) (struct{ ... }, error) + func (_Univ3pool *Univ3poolCallerSession) ProtocolFees() (struct{ ... }, error) + func (_Univ3pool *Univ3poolCallerSession) Slot0() (struct{ ... }, error) + func (_Univ3pool *Univ3poolCallerSession) SnapshotCumulativesInside(tickLower *big.Int, tickUpper *big.Int) (struct{ ... }, error) + func (_Univ3pool *Univ3poolCallerSession) TickBitmap(wordPosition int16) (*big.Int, error) + func (_Univ3pool *Univ3poolCallerSession) TickSpacing() (*big.Int, error) + func (_Univ3pool *Univ3poolCallerSession) Ticks(tick *big.Int) (struct{ ... }, error) + func (_Univ3pool *Univ3poolCallerSession) Token0() (common.Address, error) + func (_Univ3pool *Univ3poolCallerSession) Token1() (common.Address, error) + type Univ3poolCollect struct + Amount0 *big.Int + Amount1 *big.Int + Owner common.Address + Raw types.Log + Recipient common.Address + TickLower *big.Int + TickUpper *big.Int + type Univ3poolCollectIterator struct + Event *Univ3poolCollect + func (it *Univ3poolCollectIterator) Close() error + func (it *Univ3poolCollectIterator) Error() error + func (it *Univ3poolCollectIterator) Next() bool + type Univ3poolCollectProtocol struct + Amount0 *big.Int + Amount1 *big.Int + Raw types.Log + Recipient common.Address + Sender common.Address + type Univ3poolCollectProtocolIterator struct + Event *Univ3poolCollectProtocol + func (it *Univ3poolCollectProtocolIterator) Close() error + func (it *Univ3poolCollectProtocolIterator) Error() error + func (it *Univ3poolCollectProtocolIterator) Next() bool + type Univ3poolFilterer struct + func NewUniv3poolFilterer(address common.Address, filterer bind.ContractFilterer) (*Univ3poolFilterer, error) + func (_Univ3pool *Univ3poolFilterer) FilterBurn(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, ...) (*Univ3poolBurnIterator, error) + func (_Univ3pool *Univ3poolFilterer) FilterCollect(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, ...) (*Univ3poolCollectIterator, error) + func (_Univ3pool *Univ3poolFilterer) FilterCollectProtocol(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*Univ3poolCollectProtocolIterator, error) + func (_Univ3pool *Univ3poolFilterer) FilterFlash(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*Univ3poolFlashIterator, error) + func (_Univ3pool *Univ3poolFilterer) FilterIncreaseObservationCardinalityNext(opts *bind.FilterOpts) (*Univ3poolIncreaseObservationCardinalityNextIterator, error) + func (_Univ3pool *Univ3poolFilterer) FilterInitialize(opts *bind.FilterOpts) (*Univ3poolInitializeIterator, error) + func (_Univ3pool *Univ3poolFilterer) FilterMint(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, ...) (*Univ3poolMintIterator, error) + func (_Univ3pool *Univ3poolFilterer) FilterSetFeeProtocol(opts *bind.FilterOpts) (*Univ3poolSetFeeProtocolIterator, error) + func (_Univ3pool *Univ3poolFilterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*Univ3poolSwapIterator, error) + func (_Univ3pool *Univ3poolFilterer) ParseBurn(log types.Log) (*Univ3poolBurn, error) + func (_Univ3pool *Univ3poolFilterer) ParseCollect(log types.Log) (*Univ3poolCollect, error) + func (_Univ3pool *Univ3poolFilterer) ParseCollectProtocol(log types.Log) (*Univ3poolCollectProtocol, error) + func (_Univ3pool *Univ3poolFilterer) ParseFlash(log types.Log) (*Univ3poolFlash, error) + func (_Univ3pool *Univ3poolFilterer) ParseIncreaseObservationCardinalityNext(log types.Log) (*Univ3poolIncreaseObservationCardinalityNext, error) + func (_Univ3pool *Univ3poolFilterer) ParseInitialize(log types.Log) (*Univ3poolInitialize, error) + func (_Univ3pool *Univ3poolFilterer) ParseMint(log types.Log) (*Univ3poolMint, error) + func (_Univ3pool *Univ3poolFilterer) ParseSetFeeProtocol(log types.Log) (*Univ3poolSetFeeProtocol, error) + func (_Univ3pool *Univ3poolFilterer) ParseSwap(log types.Log) (*Univ3poolSwap, error) + func (_Univ3pool *Univ3poolFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *Univ3poolBurn, owner []common.Address, ...) (event.Subscription, error) + func (_Univ3pool *Univ3poolFilterer) WatchCollect(opts *bind.WatchOpts, sink chan<- *Univ3poolCollect, owner []common.Address, ...) (event.Subscription, error) + func (_Univ3pool *Univ3poolFilterer) WatchCollectProtocol(opts *bind.WatchOpts, sink chan<- *Univ3poolCollectProtocol, ...) (event.Subscription, error) + func (_Univ3pool *Univ3poolFilterer) WatchFlash(opts *bind.WatchOpts, sink chan<- *Univ3poolFlash, sender []common.Address, ...) (event.Subscription, error) + func (_Univ3pool *Univ3poolFilterer) WatchIncreaseObservationCardinalityNext(opts *bind.WatchOpts, sink chan<- *Univ3poolIncreaseObservationCardinalityNext) (event.Subscription, error) + func (_Univ3pool *Univ3poolFilterer) WatchInitialize(opts *bind.WatchOpts, sink chan<- *Univ3poolInitialize) (event.Subscription, error) + func (_Univ3pool *Univ3poolFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *Univ3poolMint, owner []common.Address, ...) (event.Subscription, error) + func (_Univ3pool *Univ3poolFilterer) WatchSetFeeProtocol(opts *bind.WatchOpts, sink chan<- *Univ3poolSetFeeProtocol) (event.Subscription, error) + func (_Univ3pool *Univ3poolFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *Univ3poolSwap, sender []common.Address, ...) (event.Subscription, error) + type Univ3poolFlash struct + Amount0 *big.Int + Amount1 *big.Int + Paid0 *big.Int + Paid1 *big.Int + Raw types.Log + Recipient common.Address + Sender common.Address + type Univ3poolFlashIterator struct + Event *Univ3poolFlash + func (it *Univ3poolFlashIterator) Close() error + func (it *Univ3poolFlashIterator) Error() error + func (it *Univ3poolFlashIterator) Next() bool + type Univ3poolIncreaseObservationCardinalityNext struct + ObservationCardinalityNextNew uint16 + ObservationCardinalityNextOld uint16 + Raw types.Log + type Univ3poolIncreaseObservationCardinalityNextIterator struct + Event *Univ3poolIncreaseObservationCardinalityNext + func (it *Univ3poolIncreaseObservationCardinalityNextIterator) Close() error + func (it *Univ3poolIncreaseObservationCardinalityNextIterator) Error() error + func (it *Univ3poolIncreaseObservationCardinalityNextIterator) Next() bool + type Univ3poolInitialize struct + Raw types.Log + SqrtPriceX96 *big.Int + Tick *big.Int + type Univ3poolInitializeIterator struct + Event *Univ3poolInitialize + func (it *Univ3poolInitializeIterator) Close() error + func (it *Univ3poolInitializeIterator) Error() error + func (it *Univ3poolInitializeIterator) Next() bool + type Univ3poolMint struct + Amount *big.Int + Amount0 *big.Int + Amount1 *big.Int + Owner common.Address + Raw types.Log + Sender common.Address + TickLower *big.Int + TickUpper *big.Int + type Univ3poolMintIterator struct + Event *Univ3poolMint + func (it *Univ3poolMintIterator) Close() error + func (it *Univ3poolMintIterator) Error() error + func (it *Univ3poolMintIterator) Next() bool + type Univ3poolRaw struct + Contract *Univ3pool + func (_Univ3pool *Univ3poolRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error + func (_Univ3pool *Univ3poolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Univ3pool *Univ3poolRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type Univ3poolSession struct + CallOpts bind.CallOpts + Contract *Univ3pool + TransactOpts bind.TransactOpts + func (_Univ3pool *Univ3poolSession) Burn(tickLower *big.Int, tickUpper *big.Int, amount *big.Int) (*types.Transaction, error) + func (_Univ3pool *Univ3poolSession) Collect(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, ...) (*types.Transaction, error) + func (_Univ3pool *Univ3poolSession) CollectProtocol(recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error) + func (_Univ3pool *Univ3poolSession) Factory() (common.Address, error) + func (_Univ3pool *Univ3poolSession) Fee() (*big.Int, error) + func (_Univ3pool *Univ3poolSession) FeeGrowthGlobal0X128() (*big.Int, error) + func (_Univ3pool *Univ3poolSession) FeeGrowthGlobal1X128() (*big.Int, error) + func (_Univ3pool *Univ3poolSession) Flash(recipient common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error) + func (_Univ3pool *Univ3poolSession) IncreaseObservationCardinalityNext(observationCardinalityNext uint16) (*types.Transaction, error) + func (_Univ3pool *Univ3poolSession) Initialize(sqrtPriceX96 *big.Int) (*types.Transaction, error) + func (_Univ3pool *Univ3poolSession) Liquidity() (*big.Int, error) + func (_Univ3pool *Univ3poolSession) MaxLiquidityPerTick() (*big.Int, error) + func (_Univ3pool *Univ3poolSession) Mint(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, ...) (*types.Transaction, error) + func (_Univ3pool *Univ3poolSession) Observations(index *big.Int) (struct{ ... }, error) + func (_Univ3pool *Univ3poolSession) Observe(secondsAgos []uint32) (struct{ ... }, error) + func (_Univ3pool *Univ3poolSession) Positions(key [32]byte) (struct{ ... }, error) + func (_Univ3pool *Univ3poolSession) ProtocolFees() (struct{ ... }, error) + func (_Univ3pool *Univ3poolSession) SetFeeProtocol(feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error) + func (_Univ3pool *Univ3poolSession) Slot0() (struct{ ... }, error) + func (_Univ3pool *Univ3poolSession) SnapshotCumulativesInside(tickLower *big.Int, tickUpper *big.Int) (struct{ ... }, error) + func (_Univ3pool *Univ3poolSession) Swap(recipient common.Address, zeroForOne bool, amountSpecified *big.Int, ...) (*types.Transaction, error) + func (_Univ3pool *Univ3poolSession) TickBitmap(wordPosition int16) (*big.Int, error) + func (_Univ3pool *Univ3poolSession) TickSpacing() (*big.Int, error) + func (_Univ3pool *Univ3poolSession) Ticks(tick *big.Int) (struct{ ... }, error) + func (_Univ3pool *Univ3poolSession) Token0() (common.Address, error) + func (_Univ3pool *Univ3poolSession) Token1() (common.Address, error) + type Univ3poolSetFeeProtocol struct + FeeProtocol0New uint8 + FeeProtocol0Old uint8 + FeeProtocol1New uint8 + FeeProtocol1Old uint8 + Raw types.Log + type Univ3poolSetFeeProtocolIterator struct + Event *Univ3poolSetFeeProtocol + func (it *Univ3poolSetFeeProtocolIterator) Close() error + func (it *Univ3poolSetFeeProtocolIterator) Error() error + func (it *Univ3poolSetFeeProtocolIterator) Next() bool + type Univ3poolSwap struct + Amount0 *big.Int + Amount1 *big.Int + Liquidity *big.Int + Raw types.Log + Recipient common.Address + Sender common.Address + SqrtPriceX96 *big.Int + Tick *big.Int + type Univ3poolSwapIterator struct + Event *Univ3poolSwap + func (it *Univ3poolSwapIterator) Close() error + func (it *Univ3poolSwapIterator) Error() error + func (it *Univ3poolSwapIterator) Next() bool + type Univ3poolTransactor struct + func NewUniv3poolTransactor(address common.Address, transactor bind.ContractTransactor) (*Univ3poolTransactor, error) + func (_Univ3pool *Univ3poolTransactor) Burn(opts *bind.TransactOpts, tickLower *big.Int, tickUpper *big.Int, ...) (*types.Transaction, error) + func (_Univ3pool *Univ3poolTransactor) Collect(opts *bind.TransactOpts, recipient common.Address, tickLower *big.Int, ...) (*types.Transaction, error) + func (_Univ3pool *Univ3poolTransactor) CollectProtocol(opts *bind.TransactOpts, recipient common.Address, amount0Requested *big.Int, ...) (*types.Transaction, error) + func (_Univ3pool *Univ3poolTransactor) Flash(opts *bind.TransactOpts, recipient common.Address, amount0 *big.Int, ...) (*types.Transaction, error) + func (_Univ3pool *Univ3poolTransactor) IncreaseObservationCardinalityNext(opts *bind.TransactOpts, observationCardinalityNext uint16) (*types.Transaction, error) + func (_Univ3pool *Univ3poolTransactor) Initialize(opts *bind.TransactOpts, sqrtPriceX96 *big.Int) (*types.Transaction, error) + func (_Univ3pool *Univ3poolTransactor) Mint(opts *bind.TransactOpts, recipient common.Address, tickLower *big.Int, ...) (*types.Transaction, error) + func (_Univ3pool *Univ3poolTransactor) SetFeeProtocol(opts *bind.TransactOpts, feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error) + func (_Univ3pool *Univ3poolTransactor) Swap(opts *bind.TransactOpts, recipient common.Address, zeroForOne bool, ...) (*types.Transaction, error) + type Univ3poolTransactorRaw struct + Contract *Univ3poolTransactor + func (_Univ3pool *Univ3poolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error) + func (_Univ3pool *Univ3poolTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error) + type Univ3poolTransactorSession struct + Contract *Univ3poolTransactor + TransactOpts bind.TransactOpts + func (_Univ3pool *Univ3poolTransactorSession) Burn(tickLower *big.Int, tickUpper *big.Int, amount *big.Int) (*types.Transaction, error) + func (_Univ3pool *Univ3poolTransactorSession) Collect(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, ...) (*types.Transaction, error) + func (_Univ3pool *Univ3poolTransactorSession) CollectProtocol(recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error) + func (_Univ3pool *Univ3poolTransactorSession) Flash(recipient common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error) + func (_Univ3pool *Univ3poolTransactorSession) IncreaseObservationCardinalityNext(observationCardinalityNext uint16) (*types.Transaction, error) + func (_Univ3pool *Univ3poolTransactorSession) Initialize(sqrtPriceX96 *big.Int) (*types.Transaction, error) + func (_Univ3pool *Univ3poolTransactorSession) Mint(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, ...) (*types.Transaction, error) + func (_Univ3pool *Univ3poolTransactorSession) SetFeeProtocol(feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error) + func (_Univ3pool *Univ3poolTransactorSession) Swap(recipient common.Address, zeroForOne bool, amountSpecified *big.Int, ...) (*types.Transaction, error)