uniswapv3pool

package
v0.0.0-...-8c998e4 Latest Latest
Warning

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

Go to latest
Published: Jul 2, 2023 License: BSD-3-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Uniswapv3PoolABI = Uniswapv3PoolMetaData.ABI

Uniswapv3PoolABI is the input ABI used to generate the binding from. Deprecated: Use Uniswapv3PoolMetaData.ABI instead.

View Source
var Uniswapv3PoolMetaData = &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\"}]",
}

Uniswapv3PoolMetaData contains all meta data concerning the Uniswapv3Pool contract.

Functions

This section is empty.

Types

type Uniswapv3Pool

type Uniswapv3Pool struct {
	Uniswapv3PoolCaller     // Read-only binding to the contract
	Uniswapv3PoolTransactor // Write-only binding to the contract
	Uniswapv3PoolFilterer   // Log filterer for contract events
}

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

func NewUniswapv3Pool

func NewUniswapv3Pool(address common.Address, backend bind.ContractBackend) (*Uniswapv3Pool, error)

NewUniswapv3Pool creates a new instance of Uniswapv3Pool, bound to a specific deployed contract.

type Uniswapv3PoolBurn

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

Uniswapv3PoolBurn represents a Burn event raised by the Uniswapv3Pool contract.

type Uniswapv3PoolBurnIterator

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

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

func (*Uniswapv3PoolBurnIterator) Close

func (it *Uniswapv3PoolBurnIterator) Close() error

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

func (*Uniswapv3PoolBurnIterator) Error

func (it *Uniswapv3PoolBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv3PoolBurnIterator) Next

func (it *Uniswapv3PoolBurnIterator) 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 Uniswapv3PoolCaller

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

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

func NewUniswapv3PoolCaller

func NewUniswapv3PoolCaller(address common.Address, caller bind.ContractCaller) (*Uniswapv3PoolCaller, error)

NewUniswapv3PoolCaller creates a new read-only instance of Uniswapv3Pool, bound to a specific deployed contract.

func (*Uniswapv3PoolCaller) Factory

func (_Uniswapv3Pool *Uniswapv3PoolCaller) Factory(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*Uniswapv3PoolCaller) Fee

func (_Uniswapv3Pool *Uniswapv3PoolCaller) Fee(opts *bind.CallOpts) (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint24)

func (*Uniswapv3PoolCaller) FeeGrowthGlobal0X128

func (_Uniswapv3Pool *Uniswapv3PoolCaller) FeeGrowthGlobal0X128(opts *bind.CallOpts) (*big.Int, error)

FeeGrowthGlobal0X128 is a free data retrieval call binding the contract method 0xf3058399.

Solidity: function feeGrowthGlobal0X128() view returns(uint256)

func (*Uniswapv3PoolCaller) FeeGrowthGlobal1X128

func (_Uniswapv3Pool *Uniswapv3PoolCaller) FeeGrowthGlobal1X128(opts *bind.CallOpts) (*big.Int, error)

FeeGrowthGlobal1X128 is a free data retrieval call binding the contract method 0x46141319.

Solidity: function feeGrowthGlobal1X128() view returns(uint256)

func (*Uniswapv3PoolCaller) Liquidity

func (_Uniswapv3Pool *Uniswapv3PoolCaller) Liquidity(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function liquidity() view returns(uint128)

func (*Uniswapv3PoolCaller) MaxLiquidityPerTick

func (_Uniswapv3Pool *Uniswapv3PoolCaller) MaxLiquidityPerTick(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function maxLiquidityPerTick() view returns(uint128)

func (*Uniswapv3PoolCaller) Observations

func (_Uniswapv3Pool *Uniswapv3PoolCaller) 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 (*Uniswapv3PoolCaller) Observe

func (_Uniswapv3Pool *Uniswapv3PoolCaller) 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 (*Uniswapv3PoolCaller) Positions

func (_Uniswapv3Pool *Uniswapv3PoolCaller) 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 (*Uniswapv3PoolCaller) ProtocolFees

func (_Uniswapv3Pool *Uniswapv3PoolCaller) 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 (*Uniswapv3PoolCaller) Slot0

func (_Uniswapv3Pool *Uniswapv3PoolCaller) 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 (*Uniswapv3PoolCaller) SnapshotCumulativesInside

func (_Uniswapv3Pool *Uniswapv3PoolCaller) 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 (*Uniswapv3PoolCaller) TickBitmap

func (_Uniswapv3Pool *Uniswapv3PoolCaller) TickBitmap(opts *bind.CallOpts, 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 (*Uniswapv3PoolCaller) TickSpacing

func (_Uniswapv3Pool *Uniswapv3PoolCaller) TickSpacing(opts *bind.CallOpts) (*big.Int, error)

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

Solidity: function tickSpacing() view returns(int24)

func (*Uniswapv3PoolCaller) Ticks

func (_Uniswapv3Pool *Uniswapv3PoolCaller) 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)

func (*Uniswapv3PoolCaller) Token0

func (_Uniswapv3Pool *Uniswapv3PoolCaller) Token0(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*Uniswapv3PoolCaller) Token1

func (_Uniswapv3Pool *Uniswapv3PoolCaller) Token1(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function token1() view returns(address)

type Uniswapv3PoolCallerRaw

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

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

func (*Uniswapv3PoolCallerRaw) Call

func (_Uniswapv3Pool *Uniswapv3PoolCallerRaw) 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 Uniswapv3PoolCallerSession

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

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

func (*Uniswapv3PoolCallerSession) Factory

func (_Uniswapv3Pool *Uniswapv3PoolCallerSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*Uniswapv3PoolCallerSession) Fee

func (_Uniswapv3Pool *Uniswapv3PoolCallerSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint24)

func (*Uniswapv3PoolCallerSession) FeeGrowthGlobal0X128

func (_Uniswapv3Pool *Uniswapv3PoolCallerSession) FeeGrowthGlobal0X128() (*big.Int, error)

FeeGrowthGlobal0X128 is a free data retrieval call binding the contract method 0xf3058399.

Solidity: function feeGrowthGlobal0X128() view returns(uint256)

func (*Uniswapv3PoolCallerSession) FeeGrowthGlobal1X128

func (_Uniswapv3Pool *Uniswapv3PoolCallerSession) FeeGrowthGlobal1X128() (*big.Int, error)

FeeGrowthGlobal1X128 is a free data retrieval call binding the contract method 0x46141319.

Solidity: function feeGrowthGlobal1X128() view returns(uint256)

func (*Uniswapv3PoolCallerSession) Liquidity

func (_Uniswapv3Pool *Uniswapv3PoolCallerSession) Liquidity() (*big.Int, error)

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

Solidity: function liquidity() view returns(uint128)

func (*Uniswapv3PoolCallerSession) MaxLiquidityPerTick

func (_Uniswapv3Pool *Uniswapv3PoolCallerSession) MaxLiquidityPerTick() (*big.Int, error)

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

Solidity: function maxLiquidityPerTick() view returns(uint128)

func (*Uniswapv3PoolCallerSession) Observations

func (_Uniswapv3Pool *Uniswapv3PoolCallerSession) 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 (*Uniswapv3PoolCallerSession) Observe

func (_Uniswapv3Pool *Uniswapv3PoolCallerSession) 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 (*Uniswapv3PoolCallerSession) Positions

func (_Uniswapv3Pool *Uniswapv3PoolCallerSession) 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 (*Uniswapv3PoolCallerSession) ProtocolFees

func (_Uniswapv3Pool *Uniswapv3PoolCallerSession) 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 (*Uniswapv3PoolCallerSession) Slot0

func (_Uniswapv3Pool *Uniswapv3PoolCallerSession) 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 (*Uniswapv3PoolCallerSession) SnapshotCumulativesInside

func (_Uniswapv3Pool *Uniswapv3PoolCallerSession) 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 (*Uniswapv3PoolCallerSession) TickBitmap

func (_Uniswapv3Pool *Uniswapv3PoolCallerSession) 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 (*Uniswapv3PoolCallerSession) TickSpacing

func (_Uniswapv3Pool *Uniswapv3PoolCallerSession) TickSpacing() (*big.Int, error)

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

Solidity: function tickSpacing() view returns(int24)

func (*Uniswapv3PoolCallerSession) Ticks

func (_Uniswapv3Pool *Uniswapv3PoolCallerSession) 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)

func (*Uniswapv3PoolCallerSession) Token0

func (_Uniswapv3Pool *Uniswapv3PoolCallerSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*Uniswapv3PoolCallerSession) Token1

func (_Uniswapv3Pool *Uniswapv3PoolCallerSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

type Uniswapv3PoolCollect

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

Uniswapv3PoolCollect represents a Collect event raised by the Uniswapv3Pool contract.

type Uniswapv3PoolCollectIterator

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

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

func (*Uniswapv3PoolCollectIterator) Close

func (it *Uniswapv3PoolCollectIterator) Close() error

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

func (*Uniswapv3PoolCollectIterator) Error

func (it *Uniswapv3PoolCollectIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv3PoolCollectIterator) Next

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

type Uniswapv3PoolCollectProtocol

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

Uniswapv3PoolCollectProtocol represents a CollectProtocol event raised by the Uniswapv3Pool contract.

type Uniswapv3PoolCollectProtocolIterator

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

Uniswapv3PoolCollectProtocolIterator is returned from FilterCollectProtocol and is used to iterate over the raw logs and unpacked data for CollectProtocol events raised by the Uniswapv3Pool contract.

func (*Uniswapv3PoolCollectProtocolIterator) Close

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

func (*Uniswapv3PoolCollectProtocolIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv3PoolCollectProtocolIterator) Next

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

type Uniswapv3PoolFilterer

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

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

func NewUniswapv3PoolFilterer

func NewUniswapv3PoolFilterer(address common.Address, filterer bind.ContractFilterer) (*Uniswapv3PoolFilterer, error)

NewUniswapv3PoolFilterer creates a new log filterer instance of Uniswapv3Pool, bound to a specific deployed contract.

func (*Uniswapv3PoolFilterer) FilterBurn

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) FilterBurn(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (*Uniswapv3PoolBurnIterator, 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 (*Uniswapv3PoolFilterer) FilterCollect

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) FilterCollect(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (*Uniswapv3PoolCollectIterator, 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 (*Uniswapv3PoolFilterer) FilterCollectProtocol

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) FilterCollectProtocol(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*Uniswapv3PoolCollectProtocolIterator, 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 (*Uniswapv3PoolFilterer) FilterFlash

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) FilterFlash(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*Uniswapv3PoolFlashIterator, 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 (*Uniswapv3PoolFilterer) FilterIncreaseObservationCardinalityNext

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) FilterIncreaseObservationCardinalityNext(opts *bind.FilterOpts) (*Uniswapv3PoolIncreaseObservationCardinalityNextIterator, error)

FilterIncreaseObservationCardinalityNext is a free log retrieval operation binding the contract event 0xac49e518f90a358f652e4400164f05a5d8f7e35e7747279bc3a93dbf584e125a.

Solidity: event IncreaseObservationCardinalityNext(uint16 observationCardinalityNextOld, uint16 observationCardinalityNextNew)

func (*Uniswapv3PoolFilterer) FilterInitialize

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) FilterInitialize(opts *bind.FilterOpts) (*Uniswapv3PoolInitializeIterator, error)

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

Solidity: event Initialize(uint160 sqrtPriceX96, int24 tick)

func (*Uniswapv3PoolFilterer) FilterMint

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) FilterMint(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (*Uniswapv3PoolMintIterator, 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 (*Uniswapv3PoolFilterer) FilterSetFeeProtocol

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) FilterSetFeeProtocol(opts *bind.FilterOpts) (*Uniswapv3PoolSetFeeProtocolIterator, 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 (*Uniswapv3PoolFilterer) FilterSwap

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*Uniswapv3PoolSwapIterator, 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 (*Uniswapv3PoolFilterer) ParseBurn

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) ParseBurn(log types.Log) (*Uniswapv3PoolBurn, 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 (*Uniswapv3PoolFilterer) ParseCollect

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) ParseCollect(log types.Log) (*Uniswapv3PoolCollect, 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 (*Uniswapv3PoolFilterer) ParseCollectProtocol

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) ParseCollectProtocol(log types.Log) (*Uniswapv3PoolCollectProtocol, 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 (*Uniswapv3PoolFilterer) ParseFlash

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) ParseFlash(log types.Log) (*Uniswapv3PoolFlash, 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 (*Uniswapv3PoolFilterer) ParseIncreaseObservationCardinalityNext

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) ParseIncreaseObservationCardinalityNext(log types.Log) (*Uniswapv3PoolIncreaseObservationCardinalityNext, error)

ParseIncreaseObservationCardinalityNext is a log parse operation binding the contract event 0xac49e518f90a358f652e4400164f05a5d8f7e35e7747279bc3a93dbf584e125a.

Solidity: event IncreaseObservationCardinalityNext(uint16 observationCardinalityNextOld, uint16 observationCardinalityNextNew)

func (*Uniswapv3PoolFilterer) ParseInitialize

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) ParseInitialize(log types.Log) (*Uniswapv3PoolInitialize, error)

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

Solidity: event Initialize(uint160 sqrtPriceX96, int24 tick)

func (*Uniswapv3PoolFilterer) ParseMint

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) ParseMint(log types.Log) (*Uniswapv3PoolMint, 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 (*Uniswapv3PoolFilterer) ParseSetFeeProtocol

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) ParseSetFeeProtocol(log types.Log) (*Uniswapv3PoolSetFeeProtocol, error)

ParseSetFeeProtocol is a log parse operation binding the contract event 0x973d8d92bb299f4af6ce49b52a8adb85ae46b9f214c4c4fc06ac77401237b133.

Solidity: event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New)

func (*Uniswapv3PoolFilterer) ParseSwap

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) ParseSwap(log types.Log) (*Uniswapv3PoolSwap, 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 (*Uniswapv3PoolFilterer) WatchBurn

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *Uniswapv3PoolBurn, 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 (*Uniswapv3PoolFilterer) WatchCollect

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) WatchCollect(opts *bind.WatchOpts, sink chan<- *Uniswapv3PoolCollect, 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 (*Uniswapv3PoolFilterer) WatchCollectProtocol

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) WatchCollectProtocol(opts *bind.WatchOpts, sink chan<- *Uniswapv3PoolCollectProtocol, 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 (*Uniswapv3PoolFilterer) WatchFlash

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) WatchFlash(opts *bind.WatchOpts, sink chan<- *Uniswapv3PoolFlash, 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 (*Uniswapv3PoolFilterer) WatchIncreaseObservationCardinalityNext

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) WatchIncreaseObservationCardinalityNext(opts *bind.WatchOpts, sink chan<- *Uniswapv3PoolIncreaseObservationCardinalityNext) (event.Subscription, error)

WatchIncreaseObservationCardinalityNext is a free log subscription operation binding the contract event 0xac49e518f90a358f652e4400164f05a5d8f7e35e7747279bc3a93dbf584e125a.

Solidity: event IncreaseObservationCardinalityNext(uint16 observationCardinalityNextOld, uint16 observationCardinalityNextNew)

func (*Uniswapv3PoolFilterer) WatchInitialize

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) WatchInitialize(opts *bind.WatchOpts, sink chan<- *Uniswapv3PoolInitialize) (event.Subscription, error)

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

Solidity: event Initialize(uint160 sqrtPriceX96, int24 tick)

func (*Uniswapv3PoolFilterer) WatchMint

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *Uniswapv3PoolMint, 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 (*Uniswapv3PoolFilterer) WatchSetFeeProtocol

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) WatchSetFeeProtocol(opts *bind.WatchOpts, sink chan<- *Uniswapv3PoolSetFeeProtocol) (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 (*Uniswapv3PoolFilterer) WatchSwap

func (_Uniswapv3Pool *Uniswapv3PoolFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *Uniswapv3PoolSwap, 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 Uniswapv3PoolFlash

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

Uniswapv3PoolFlash represents a Flash event raised by the Uniswapv3Pool contract.

type Uniswapv3PoolFlashIterator

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

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

func (*Uniswapv3PoolFlashIterator) Close

func (it *Uniswapv3PoolFlashIterator) Close() error

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

func (*Uniswapv3PoolFlashIterator) Error

func (it *Uniswapv3PoolFlashIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv3PoolFlashIterator) Next

func (it *Uniswapv3PoolFlashIterator) 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 Uniswapv3PoolIncreaseObservationCardinalityNext

type Uniswapv3PoolIncreaseObservationCardinalityNext struct {
	ObservationCardinalityNextOld uint16
	ObservationCardinalityNextNew uint16
	Raw                           types.Log // Blockchain specific contextual infos
}

Uniswapv3PoolIncreaseObservationCardinalityNext represents a IncreaseObservationCardinalityNext event raised by the Uniswapv3Pool contract.

type Uniswapv3PoolIncreaseObservationCardinalityNextIterator

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

Uniswapv3PoolIncreaseObservationCardinalityNextIterator is returned from FilterIncreaseObservationCardinalityNext and is used to iterate over the raw logs and unpacked data for IncreaseObservationCardinalityNext events raised by the Uniswapv3Pool contract.

func (*Uniswapv3PoolIncreaseObservationCardinalityNextIterator) Close

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

func (*Uniswapv3PoolIncreaseObservationCardinalityNextIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv3PoolIncreaseObservationCardinalityNextIterator) Next

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

type Uniswapv3PoolInitialize

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

Uniswapv3PoolInitialize represents a Initialize event raised by the Uniswapv3Pool contract.

type Uniswapv3PoolInitializeIterator

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

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

func (*Uniswapv3PoolInitializeIterator) Close

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

func (*Uniswapv3PoolInitializeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv3PoolInitializeIterator) Next

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

type Uniswapv3PoolMint

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

Uniswapv3PoolMint represents a Mint event raised by the Uniswapv3Pool contract.

type Uniswapv3PoolMintIterator

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

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

func (*Uniswapv3PoolMintIterator) Close

func (it *Uniswapv3PoolMintIterator) Close() error

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

func (*Uniswapv3PoolMintIterator) Error

func (it *Uniswapv3PoolMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv3PoolMintIterator) Next

func (it *Uniswapv3PoolMintIterator) 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 Uniswapv3PoolRaw

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

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

func (*Uniswapv3PoolRaw) Call

func (_Uniswapv3Pool *Uniswapv3PoolRaw) 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 (*Uniswapv3PoolRaw) Transact

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

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

func (*Uniswapv3PoolRaw) Transfer

func (_Uniswapv3Pool *Uniswapv3PoolRaw) 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 Uniswapv3PoolSession

type Uniswapv3PoolSession struct {
	Contract     *Uniswapv3Pool    // 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
}

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

func (*Uniswapv3PoolSession) Burn

func (_Uniswapv3Pool *Uniswapv3PoolSession) 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 (*Uniswapv3PoolSession) Collect

func (_Uniswapv3Pool *Uniswapv3PoolSession) 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 (*Uniswapv3PoolSession) CollectProtocol

func (_Uniswapv3Pool *Uniswapv3PoolSession) 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 (*Uniswapv3PoolSession) Factory

func (_Uniswapv3Pool *Uniswapv3PoolSession) Factory() (common.Address, error)

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

Solidity: function factory() view returns(address)

func (*Uniswapv3PoolSession) Fee

func (_Uniswapv3Pool *Uniswapv3PoolSession) Fee() (*big.Int, error)

Fee is a free data retrieval call binding the contract method 0xddca3f43.

Solidity: function fee() view returns(uint24)

func (*Uniswapv3PoolSession) FeeGrowthGlobal0X128

func (_Uniswapv3Pool *Uniswapv3PoolSession) FeeGrowthGlobal0X128() (*big.Int, error)

FeeGrowthGlobal0X128 is a free data retrieval call binding the contract method 0xf3058399.

Solidity: function feeGrowthGlobal0X128() view returns(uint256)

func (*Uniswapv3PoolSession) FeeGrowthGlobal1X128

func (_Uniswapv3Pool *Uniswapv3PoolSession) FeeGrowthGlobal1X128() (*big.Int, error)

FeeGrowthGlobal1X128 is a free data retrieval call binding the contract method 0x46141319.

Solidity: function feeGrowthGlobal1X128() view returns(uint256)

func (*Uniswapv3PoolSession) Flash

func (_Uniswapv3Pool *Uniswapv3PoolSession) 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 (*Uniswapv3PoolSession) IncreaseObservationCardinalityNext

func (_Uniswapv3Pool *Uniswapv3PoolSession) IncreaseObservationCardinalityNext(observationCardinalityNext uint16) (*types.Transaction, error)

IncreaseObservationCardinalityNext is a paid mutator transaction binding the contract method 0x32148f67.

Solidity: function increaseObservationCardinalityNext(uint16 observationCardinalityNext) returns()

func (*Uniswapv3PoolSession) Initialize

func (_Uniswapv3Pool *Uniswapv3PoolSession) 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 (*Uniswapv3PoolSession) Liquidity

func (_Uniswapv3Pool *Uniswapv3PoolSession) Liquidity() (*big.Int, error)

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

Solidity: function liquidity() view returns(uint128)

func (*Uniswapv3PoolSession) MaxLiquidityPerTick

func (_Uniswapv3Pool *Uniswapv3PoolSession) MaxLiquidityPerTick() (*big.Int, error)

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

Solidity: function maxLiquidityPerTick() view returns(uint128)

func (*Uniswapv3PoolSession) Mint

func (_Uniswapv3Pool *Uniswapv3PoolSession) 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 (*Uniswapv3PoolSession) Observations

func (_Uniswapv3Pool *Uniswapv3PoolSession) 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 (*Uniswapv3PoolSession) Observe

func (_Uniswapv3Pool *Uniswapv3PoolSession) 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 (*Uniswapv3PoolSession) Positions

func (_Uniswapv3Pool *Uniswapv3PoolSession) 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 (*Uniswapv3PoolSession) ProtocolFees

func (_Uniswapv3Pool *Uniswapv3PoolSession) 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 (*Uniswapv3PoolSession) SetFeeProtocol

func (_Uniswapv3Pool *Uniswapv3PoolSession) 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 (*Uniswapv3PoolSession) Slot0

func (_Uniswapv3Pool *Uniswapv3PoolSession) 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 (*Uniswapv3PoolSession) SnapshotCumulativesInside

func (_Uniswapv3Pool *Uniswapv3PoolSession) 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 (*Uniswapv3PoolSession) Swap

func (_Uniswapv3Pool *Uniswapv3PoolSession) 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 (*Uniswapv3PoolSession) TickBitmap

func (_Uniswapv3Pool *Uniswapv3PoolSession) 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 (*Uniswapv3PoolSession) TickSpacing

func (_Uniswapv3Pool *Uniswapv3PoolSession) TickSpacing() (*big.Int, error)

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

Solidity: function tickSpacing() view returns(int24)

func (*Uniswapv3PoolSession) Ticks

func (_Uniswapv3Pool *Uniswapv3PoolSession) 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)

func (*Uniswapv3PoolSession) Token0

func (_Uniswapv3Pool *Uniswapv3PoolSession) Token0() (common.Address, error)

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

Solidity: function token0() view returns(address)

func (*Uniswapv3PoolSession) Token1

func (_Uniswapv3Pool *Uniswapv3PoolSession) Token1() (common.Address, error)

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

Solidity: function token1() view returns(address)

type Uniswapv3PoolSetFeeProtocol

type Uniswapv3PoolSetFeeProtocol struct {
	FeeProtocol0Old uint8
	FeeProtocol1Old uint8
	FeeProtocol0New uint8
	FeeProtocol1New uint8
	Raw             types.Log // Blockchain specific contextual infos
}

Uniswapv3PoolSetFeeProtocol represents a SetFeeProtocol event raised by the Uniswapv3Pool contract.

type Uniswapv3PoolSetFeeProtocolIterator

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

Uniswapv3PoolSetFeeProtocolIterator is returned from FilterSetFeeProtocol and is used to iterate over the raw logs and unpacked data for SetFeeProtocol events raised by the Uniswapv3Pool contract.

func (*Uniswapv3PoolSetFeeProtocolIterator) Close

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

func (*Uniswapv3PoolSetFeeProtocolIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv3PoolSetFeeProtocolIterator) Next

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

type Uniswapv3PoolSwap

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

Uniswapv3PoolSwap represents a Swap event raised by the Uniswapv3Pool contract.

type Uniswapv3PoolSwapIterator

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

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

func (*Uniswapv3PoolSwapIterator) Close

func (it *Uniswapv3PoolSwapIterator) Close() error

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

func (*Uniswapv3PoolSwapIterator) Error

func (it *Uniswapv3PoolSwapIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*Uniswapv3PoolSwapIterator) Next

func (it *Uniswapv3PoolSwapIterator) 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 Uniswapv3PoolTransactor

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

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

func NewUniswapv3PoolTransactor

func NewUniswapv3PoolTransactor(address common.Address, transactor bind.ContractTransactor) (*Uniswapv3PoolTransactor, error)

NewUniswapv3PoolTransactor creates a new write-only instance of Uniswapv3Pool, bound to a specific deployed contract.

func (*Uniswapv3PoolTransactor) Burn

func (_Uniswapv3Pool *Uniswapv3PoolTransactor) 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 (*Uniswapv3PoolTransactor) Collect

func (_Uniswapv3Pool *Uniswapv3PoolTransactor) 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 (*Uniswapv3PoolTransactor) CollectProtocol

func (_Uniswapv3Pool *Uniswapv3PoolTransactor) 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 (*Uniswapv3PoolTransactor) Flash

func (_Uniswapv3Pool *Uniswapv3PoolTransactor) 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 (*Uniswapv3PoolTransactor) IncreaseObservationCardinalityNext

func (_Uniswapv3Pool *Uniswapv3PoolTransactor) 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 (*Uniswapv3PoolTransactor) Initialize

func (_Uniswapv3Pool *Uniswapv3PoolTransactor) 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 (*Uniswapv3PoolTransactor) Mint

func (_Uniswapv3Pool *Uniswapv3PoolTransactor) 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 (*Uniswapv3PoolTransactor) SetFeeProtocol

func (_Uniswapv3Pool *Uniswapv3PoolTransactor) 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 (*Uniswapv3PoolTransactor) Swap

func (_Uniswapv3Pool *Uniswapv3PoolTransactor) 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 Uniswapv3PoolTransactorRaw

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

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

func (*Uniswapv3PoolTransactorRaw) Transact

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

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

func (*Uniswapv3PoolTransactorRaw) Transfer

func (_Uniswapv3Pool *Uniswapv3PoolTransactorRaw) 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 Uniswapv3PoolTransactorSession

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

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

func (*Uniswapv3PoolTransactorSession) Burn

func (_Uniswapv3Pool *Uniswapv3PoolTransactorSession) 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 (*Uniswapv3PoolTransactorSession) Collect

func (_Uniswapv3Pool *Uniswapv3PoolTransactorSession) 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 (*Uniswapv3PoolTransactorSession) CollectProtocol

func (_Uniswapv3Pool *Uniswapv3PoolTransactorSession) 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 (*Uniswapv3PoolTransactorSession) Flash

func (_Uniswapv3Pool *Uniswapv3PoolTransactorSession) 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 (*Uniswapv3PoolTransactorSession) IncreaseObservationCardinalityNext

func (_Uniswapv3Pool *Uniswapv3PoolTransactorSession) IncreaseObservationCardinalityNext(observationCardinalityNext uint16) (*types.Transaction, error)

IncreaseObservationCardinalityNext is a paid mutator transaction binding the contract method 0x32148f67.

Solidity: function increaseObservationCardinalityNext(uint16 observationCardinalityNext) returns()

func (*Uniswapv3PoolTransactorSession) Initialize

func (_Uniswapv3Pool *Uniswapv3PoolTransactorSession) 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 (*Uniswapv3PoolTransactorSession) Mint

func (_Uniswapv3Pool *Uniswapv3PoolTransactorSession) 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 (*Uniswapv3PoolTransactorSession) SetFeeProtocol

func (_Uniswapv3Pool *Uniswapv3PoolTransactorSession) 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 (*Uniswapv3PoolTransactorSession) Swap

func (_Uniswapv3Pool *Uniswapv3PoolTransactorSession) 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)

Jump to

Keyboard shortcuts

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