Documentation ¶
Index ¶
- Variables
- type IUniswapV3PoolState
- type IUniswapV3PoolStateCaller
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) FeeGrowthGlobal0X128(opts *bind.CallOpts) (*big.Int, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) FeeGrowthGlobal1X128(opts *bind.CallOpts) (*big.Int, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) Liquidity(opts *bind.CallOpts) (*big.Int, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) Observations(opts *bind.CallOpts, index *big.Int) (struct{ ... }, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) Positions(opts *bind.CallOpts, key [32]byte) (struct{ ... }, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) ProtocolFees(opts *bind.CallOpts) (struct{ ... }, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) Slot0(opts *bind.CallOpts) (struct{ ... }, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) TickBitmap(opts *bind.CallOpts, wordPosition int16) (*big.Int, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) Ticks(opts *bind.CallOpts, tick *big.Int) (struct{ ... }, error)
- type IUniswapV3PoolStateCallerRaw
- type IUniswapV3PoolStateCallerSession
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) FeeGrowthGlobal0X128() (*big.Int, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) FeeGrowthGlobal1X128() (*big.Int, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) Liquidity() (*big.Int, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) Observations(index *big.Int) (struct{ ... }, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) Positions(key [32]byte) (struct{ ... }, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) ProtocolFees() (struct{ ... }, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) Slot0() (struct{ ... }, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) TickBitmap(wordPosition int16) (*big.Int, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) Ticks(tick *big.Int) (struct{ ... }, error)
- type IUniswapV3PoolStateFilterer
- type IUniswapV3PoolStateRaw
- func (_IUniswapV3PoolState *IUniswapV3PoolStateRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_IUniswapV3PoolState *IUniswapV3PoolStateRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type IUniswapV3PoolStateSession
- func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) FeeGrowthGlobal0X128() (*big.Int, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) FeeGrowthGlobal1X128() (*big.Int, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) Liquidity() (*big.Int, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) Observations(index *big.Int) (struct{ ... }, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) Positions(key [32]byte) (struct{ ... }, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) ProtocolFees() (struct{ ... }, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) Slot0() (struct{ ... }, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) TickBitmap(wordPosition int16) (*big.Int, error)
- func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) Ticks(tick *big.Int) (struct{ ... }, error)
- type IUniswapV3PoolStateTransactor
- type IUniswapV3PoolStateTransactorRaw
- type IUniswapV3PoolStateTransactorSession
Constants ¶
This section is empty.
Variables ¶
var IUniswapV3PoolStateABI = IUniswapV3PoolStateMetaData.ABI
IUniswapV3PoolStateABI is the input ABI used to generate the binding from. Deprecated: Use IUniswapV3PoolStateMetaData.ABI instead.
var IUniswapV3PoolStateMetaData = &bind.MetaData{
ABI: "[{\"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\":[],\"name\":\"liquidity\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"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\":\"bytes32\",\"name\":\"key\",\"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\":[],\"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\":\"int16\",\"name\":\"wordPosition\",\"type\":\"int16\"}],\"name\":\"tickBitmap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tick\",\"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\"}]",
}
IUniswapV3PoolStateMetaData contains all meta data concerning the IUniswapV3PoolState contract.
Functions ¶
This section is empty.
Types ¶
type IUniswapV3PoolState ¶
type IUniswapV3PoolState struct { IUniswapV3PoolStateCaller // Read-only binding to the contract IUniswapV3PoolStateTransactor // Write-only binding to the contract IUniswapV3PoolStateFilterer // Log filterer for contract events }
IUniswapV3PoolState is an auto generated Go binding around an Ethereum contract.
func NewIUniswapV3PoolState ¶
func NewIUniswapV3PoolState(address common.Address, backend bind.ContractBackend) (*IUniswapV3PoolState, error)
NewIUniswapV3PoolState creates a new instance of IUniswapV3PoolState, bound to a specific deployed contract.
type IUniswapV3PoolStateCaller ¶
type IUniswapV3PoolStateCaller struct {
// contains filtered or unexported fields
}
IUniswapV3PoolStateCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewIUniswapV3PoolStateCaller ¶
func NewIUniswapV3PoolStateCaller(address common.Address, caller bind.ContractCaller) (*IUniswapV3PoolStateCaller, error)
NewIUniswapV3PoolStateCaller creates a new read-only instance of IUniswapV3PoolState, bound to a specific deployed contract.
func (*IUniswapV3PoolStateCaller) FeeGrowthGlobal0X128 ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) 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 (*IUniswapV3PoolStateCaller) FeeGrowthGlobal1X128 ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) 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 (*IUniswapV3PoolStateCaller) Liquidity ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) 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 (*IUniswapV3PoolStateCaller) Observations ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) Observations(opts *bind.CallOpts, index *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 index) view returns(uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulativeX128, bool initialized)
func (*IUniswapV3PoolStateCaller) Positions ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) Positions(opts *bind.CallOpts, key [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 key) view returns(uint128 _liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)
func (*IUniswapV3PoolStateCaller) ProtocolFees ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) 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 (*IUniswapV3PoolStateCaller) Slot0 ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) 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 (*IUniswapV3PoolStateCaller) TickBitmap ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) TickBitmap(opts *bind.CallOpts, wordPosition int16) (*big.Int, error)
TickBitmap is a free data retrieval call binding the contract method 0x5339c296.
Solidity: function tickBitmap(int16 wordPosition) view returns(uint256)
func (*IUniswapV3PoolStateCaller) Ticks ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCaller) Ticks(opts *bind.CallOpts, tick *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 tick) view returns(uint128 liquidityGross, int128 liquidityNet, uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128, int56 tickCumulativeOutside, uint160 secondsPerLiquidityOutsideX128, uint32 secondsOutside, bool initialized)
type IUniswapV3PoolStateCallerRaw ¶
type IUniswapV3PoolStateCallerRaw struct {
Contract *IUniswapV3PoolStateCaller // Generic read-only contract binding to access the raw methods on
}
IUniswapV3PoolStateCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*IUniswapV3PoolStateCallerRaw) Call ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerRaw) 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 IUniswapV3PoolStateCallerSession ¶
type IUniswapV3PoolStateCallerSession struct { Contract *IUniswapV3PoolStateCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
IUniswapV3PoolStateCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*IUniswapV3PoolStateCallerSession) FeeGrowthGlobal0X128 ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) FeeGrowthGlobal0X128() (*big.Int, error)
FeeGrowthGlobal0X128 is a free data retrieval call binding the contract method 0xf3058399.
Solidity: function feeGrowthGlobal0X128() view returns(uint256)
func (*IUniswapV3PoolStateCallerSession) FeeGrowthGlobal1X128 ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) FeeGrowthGlobal1X128() (*big.Int, error)
FeeGrowthGlobal1X128 is a free data retrieval call binding the contract method 0x46141319.
Solidity: function feeGrowthGlobal1X128() view returns(uint256)
func (*IUniswapV3PoolStateCallerSession) Liquidity ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) Liquidity() (*big.Int, error)
Liquidity is a free data retrieval call binding the contract method 0x1a686502.
Solidity: function liquidity() view returns(uint128)
func (*IUniswapV3PoolStateCallerSession) Observations ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) Observations(index *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 index) view returns(uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulativeX128, bool initialized)
func (*IUniswapV3PoolStateCallerSession) Positions ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) Positions(key [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 key) view returns(uint128 _liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)
func (*IUniswapV3PoolStateCallerSession) ProtocolFees ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) 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 (*IUniswapV3PoolStateCallerSession) Slot0 ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) 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 (*IUniswapV3PoolStateCallerSession) TickBitmap ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) TickBitmap(wordPosition int16) (*big.Int, error)
TickBitmap is a free data retrieval call binding the contract method 0x5339c296.
Solidity: function tickBitmap(int16 wordPosition) view returns(uint256)
func (*IUniswapV3PoolStateCallerSession) Ticks ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateCallerSession) Ticks(tick *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 tick) view returns(uint128 liquidityGross, int128 liquidityNet, uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128, int56 tickCumulativeOutside, uint160 secondsPerLiquidityOutsideX128, uint32 secondsOutside, bool initialized)
type IUniswapV3PoolStateFilterer ¶
type IUniswapV3PoolStateFilterer struct {
// contains filtered or unexported fields
}
IUniswapV3PoolStateFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewIUniswapV3PoolStateFilterer ¶
func NewIUniswapV3PoolStateFilterer(address common.Address, filterer bind.ContractFilterer) (*IUniswapV3PoolStateFilterer, error)
NewIUniswapV3PoolStateFilterer creates a new log filterer instance of IUniswapV3PoolState, bound to a specific deployed contract.
type IUniswapV3PoolStateRaw ¶
type IUniswapV3PoolStateRaw struct {
Contract *IUniswapV3PoolState // Generic contract binding to access the raw methods on
}
IUniswapV3PoolStateRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*IUniswapV3PoolStateRaw) Call ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateRaw) 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 (*IUniswapV3PoolStateRaw) Transact ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IUniswapV3PoolStateRaw) Transfer ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateRaw) 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 IUniswapV3PoolStateSession ¶
type IUniswapV3PoolStateSession struct { Contract *IUniswapV3PoolState // 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 }
IUniswapV3PoolStateSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*IUniswapV3PoolStateSession) FeeGrowthGlobal0X128 ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) FeeGrowthGlobal0X128() (*big.Int, error)
FeeGrowthGlobal0X128 is a free data retrieval call binding the contract method 0xf3058399.
Solidity: function feeGrowthGlobal0X128() view returns(uint256)
func (*IUniswapV3PoolStateSession) FeeGrowthGlobal1X128 ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) FeeGrowthGlobal1X128() (*big.Int, error)
FeeGrowthGlobal1X128 is a free data retrieval call binding the contract method 0x46141319.
Solidity: function feeGrowthGlobal1X128() view returns(uint256)
func (*IUniswapV3PoolStateSession) Liquidity ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) Liquidity() (*big.Int, error)
Liquidity is a free data retrieval call binding the contract method 0x1a686502.
Solidity: function liquidity() view returns(uint128)
func (*IUniswapV3PoolStateSession) Observations ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) Observations(index *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 index) view returns(uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulativeX128, bool initialized)
func (*IUniswapV3PoolStateSession) Positions ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) Positions(key [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 key) view returns(uint128 _liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)
func (*IUniswapV3PoolStateSession) ProtocolFees ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) 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 (*IUniswapV3PoolStateSession) Slot0 ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) 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 (*IUniswapV3PoolStateSession) TickBitmap ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) TickBitmap(wordPosition int16) (*big.Int, error)
TickBitmap is a free data retrieval call binding the contract method 0x5339c296.
Solidity: function tickBitmap(int16 wordPosition) view returns(uint256)
func (*IUniswapV3PoolStateSession) Ticks ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateSession) Ticks(tick *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 tick) view returns(uint128 liquidityGross, int128 liquidityNet, uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128, int56 tickCumulativeOutside, uint160 secondsPerLiquidityOutsideX128, uint32 secondsOutside, bool initialized)
type IUniswapV3PoolStateTransactor ¶
type IUniswapV3PoolStateTransactor struct {
// contains filtered or unexported fields
}
IUniswapV3PoolStateTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewIUniswapV3PoolStateTransactor ¶
func NewIUniswapV3PoolStateTransactor(address common.Address, transactor bind.ContractTransactor) (*IUniswapV3PoolStateTransactor, error)
NewIUniswapV3PoolStateTransactor creates a new write-only instance of IUniswapV3PoolState, bound to a specific deployed contract.
type IUniswapV3PoolStateTransactorRaw ¶
type IUniswapV3PoolStateTransactorRaw struct {
Contract *IUniswapV3PoolStateTransactor // Generic write-only contract binding to access the raw methods on
}
IUniswapV3PoolStateTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*IUniswapV3PoolStateTransactorRaw) Transact ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*IUniswapV3PoolStateTransactorRaw) Transfer ¶
func (_IUniswapV3PoolState *IUniswapV3PoolStateTransactorRaw) 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 IUniswapV3PoolStateTransactorSession ¶
type IUniswapV3PoolStateTransactorSession struct { Contract *IUniswapV3PoolStateTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
IUniswapV3PoolStateTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.