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.