testuniswapv3contracts

package
v1.0.2-athens3 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var INonfungiblePositionManagerABI = INonfungiblePositionManagerMetaData.ABI

INonfungiblePositionManagerABI is the input ABI used to generate the binding from. Deprecated: Use INonfungiblePositionManagerMetaData.ABI instead.

View Source
var INonfungiblePositionManagerMetaData = &bind.MetaData{
	ABI: "[{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Collect\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"DecreaseLiquidity\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"IncreaseLiquidity\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"amount0Max\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1Max\",\"type\":\"uint128\"}],\"internalType\":\"structINonfungiblePositionManager.CollectParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"collect\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"amount0Min\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Min\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"structINonfungiblePositionManager.DecreaseLiquidityParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"decreaseLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount0Desired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Desired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount0Min\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Min\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"structINonfungiblePositionManager.IncreaseLiquidityParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"increaseLiquidity\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint256\",\"name\":\"amount0Desired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Desired\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount0Min\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Min\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"}],\"internalType\":\"structINonfungiblePositionManager.MintParams\",\"name\":\"params\",\"type\":\"tuple\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"positions\",\"outputs\":[{\"internalType\":\"uint96\",\"name\":\"nonce\",\"type\":\"uint96\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"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\"}]",
}

INonfungiblePositionManagerMetaData contains all meta data concerning the INonfungiblePositionManager contract.

View Source
var IPoolInitializerABI = IPoolInitializerMetaData.ABI

IPoolInitializerABI is the input ABI used to generate the binding from. Deprecated: Use IPoolInitializerMetaData.ABI instead.

View Source
var IPoolInitializerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"createAndInitializePoolIfNecessary\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"stateMutability\":\"payable\",\"type\":\"function\"}]",
}

IPoolInitializerMetaData contains all meta data concerning the IPoolInitializer contract.

Functions

This section is empty.

Types

type INonfungiblePositionManager

type INonfungiblePositionManager struct {
	INonfungiblePositionManagerCaller     // Read-only binding to the contract
	INonfungiblePositionManagerTransactor // Write-only binding to the contract
	INonfungiblePositionManagerFilterer   // Log filterer for contract events
}

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

func NewINonfungiblePositionManager

func NewINonfungiblePositionManager(address common.Address, backend bind.ContractBackend) (*INonfungiblePositionManager, error)

NewINonfungiblePositionManager creates a new instance of INonfungiblePositionManager, bound to a specific deployed contract.

type INonfungiblePositionManagerCaller

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

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

func NewINonfungiblePositionManagerCaller

func NewINonfungiblePositionManagerCaller(address common.Address, caller bind.ContractCaller) (*INonfungiblePositionManagerCaller, error)

NewINonfungiblePositionManagerCaller creates a new read-only instance of INonfungiblePositionManager, bound to a specific deployed contract.

func (*INonfungiblePositionManagerCaller) Positions

func (_INonfungiblePositionManager *INonfungiblePositionManagerCaller) Positions(opts *bind.CallOpts, tokenId *big.Int) (struct {
	Nonce                    *big.Int
	Operator                 common.Address
	Token0                   common.Address
	Token1                   common.Address
	Fee                      *big.Int
	TickLower                *big.Int
	TickUpper                *big.Int
	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 0x99fbab88.

Solidity: function positions(uint256 tokenId) view returns(uint96 nonce, address operator, address token0, address token1, uint24 fee, int24 tickLower, int24 tickUpper, uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)

type INonfungiblePositionManagerCallerRaw

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

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

func (*INonfungiblePositionManagerCallerRaw) Call

func (_INonfungiblePositionManager *INonfungiblePositionManagerCallerRaw) 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 INonfungiblePositionManagerCallerSession

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

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

func (*INonfungiblePositionManagerCallerSession) Positions

func (_INonfungiblePositionManager *INonfungiblePositionManagerCallerSession) Positions(tokenId *big.Int) (struct {
	Nonce                    *big.Int
	Operator                 common.Address
	Token0                   common.Address
	Token1                   common.Address
	Fee                      *big.Int
	TickLower                *big.Int
	TickUpper                *big.Int
	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 0x99fbab88.

Solidity: function positions(uint256 tokenId) view returns(uint96 nonce, address operator, address token0, address token1, uint24 fee, int24 tickLower, int24 tickUpper, uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)

type INonfungiblePositionManagerCollect

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

INonfungiblePositionManagerCollect represents a Collect event raised by the INonfungiblePositionManager contract.

type INonfungiblePositionManagerCollectIterator

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

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

func (*INonfungiblePositionManagerCollectIterator) Close

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

func (*INonfungiblePositionManagerCollectIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*INonfungiblePositionManagerCollectIterator) 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 INonfungiblePositionManagerCollectParams

type INonfungiblePositionManagerCollectParams struct {
	TokenId    *big.Int
	Recipient  common.Address
	Amount0Max *big.Int
	Amount1Max *big.Int
}

INonfungiblePositionManagerCollectParams is an auto generated low-level Go binding around an user-defined struct.

type INonfungiblePositionManagerDecreaseLiquidity

type INonfungiblePositionManagerDecreaseLiquidity struct {
	TokenId   *big.Int
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

INonfungiblePositionManagerDecreaseLiquidity represents a DecreaseLiquidity event raised by the INonfungiblePositionManager contract.

type INonfungiblePositionManagerDecreaseLiquidityIterator

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

INonfungiblePositionManagerDecreaseLiquidityIterator is returned from FilterDecreaseLiquidity and is used to iterate over the raw logs and unpacked data for DecreaseLiquidity events raised by the INonfungiblePositionManager contract.

func (*INonfungiblePositionManagerDecreaseLiquidityIterator) Close

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

func (*INonfungiblePositionManagerDecreaseLiquidityIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*INonfungiblePositionManagerDecreaseLiquidityIterator) 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 INonfungiblePositionManagerDecreaseLiquidityParams

type INonfungiblePositionManagerDecreaseLiquidityParams struct {
	TokenId    *big.Int
	Liquidity  *big.Int
	Amount0Min *big.Int
	Amount1Min *big.Int
	Deadline   *big.Int
}

INonfungiblePositionManagerDecreaseLiquidityParams is an auto generated low-level Go binding around an user-defined struct.

type INonfungiblePositionManagerFilterer

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

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

func NewINonfungiblePositionManagerFilterer

func NewINonfungiblePositionManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*INonfungiblePositionManagerFilterer, error)

NewINonfungiblePositionManagerFilterer creates a new log filterer instance of INonfungiblePositionManager, bound to a specific deployed contract.

func (*INonfungiblePositionManagerFilterer) FilterCollect

func (_INonfungiblePositionManager *INonfungiblePositionManagerFilterer) FilterCollect(opts *bind.FilterOpts, tokenId []*big.Int) (*INonfungiblePositionManagerCollectIterator, error)

FilterCollect is a free log retrieval operation binding the contract event 0x40d0efd1a53d60ecbf40971b9daf7dc90178c3aadc7aab1765632738fa8b8f01.

Solidity: event Collect(uint256 indexed tokenId, address recipient, uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerFilterer) FilterDecreaseLiquidity

func (_INonfungiblePositionManager *INonfungiblePositionManagerFilterer) FilterDecreaseLiquidity(opts *bind.FilterOpts, tokenId []*big.Int) (*INonfungiblePositionManagerDecreaseLiquidityIterator, error)

FilterDecreaseLiquidity is a free log retrieval operation binding the contract event 0x26f6a048ee9138f2c0ce266f322cb99228e8d619ae2bff30c67f8dcf9d2377b4.

Solidity: event DecreaseLiquidity(uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerFilterer) FilterIncreaseLiquidity

func (_INonfungiblePositionManager *INonfungiblePositionManagerFilterer) FilterIncreaseLiquidity(opts *bind.FilterOpts, tokenId []*big.Int) (*INonfungiblePositionManagerIncreaseLiquidityIterator, error)

FilterIncreaseLiquidity is a free log retrieval operation binding the contract event 0x3067048beee31b25b2f1681f88dac838c8bba36af25bfb2b7cf7473a5847e35f.

Solidity: event IncreaseLiquidity(uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerFilterer) ParseCollect

func (_INonfungiblePositionManager *INonfungiblePositionManagerFilterer) ParseCollect(log types.Log) (*INonfungiblePositionManagerCollect, error)

ParseCollect is a log parse operation binding the contract event 0x40d0efd1a53d60ecbf40971b9daf7dc90178c3aadc7aab1765632738fa8b8f01.

Solidity: event Collect(uint256 indexed tokenId, address recipient, uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerFilterer) ParseDecreaseLiquidity

func (_INonfungiblePositionManager *INonfungiblePositionManagerFilterer) ParseDecreaseLiquidity(log types.Log) (*INonfungiblePositionManagerDecreaseLiquidity, error)

ParseDecreaseLiquidity is a log parse operation binding the contract event 0x26f6a048ee9138f2c0ce266f322cb99228e8d619ae2bff30c67f8dcf9d2377b4.

Solidity: event DecreaseLiquidity(uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerFilterer) ParseIncreaseLiquidity

func (_INonfungiblePositionManager *INonfungiblePositionManagerFilterer) ParseIncreaseLiquidity(log types.Log) (*INonfungiblePositionManagerIncreaseLiquidity, error)

ParseIncreaseLiquidity is a log parse operation binding the contract event 0x3067048beee31b25b2f1681f88dac838c8bba36af25bfb2b7cf7473a5847e35f.

Solidity: event IncreaseLiquidity(uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerFilterer) WatchCollect

func (_INonfungiblePositionManager *INonfungiblePositionManagerFilterer) WatchCollect(opts *bind.WatchOpts, sink chan<- *INonfungiblePositionManagerCollect, tokenId []*big.Int) (event.Subscription, error)

WatchCollect is a free log subscription operation binding the contract event 0x40d0efd1a53d60ecbf40971b9daf7dc90178c3aadc7aab1765632738fa8b8f01.

Solidity: event Collect(uint256 indexed tokenId, address recipient, uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerFilterer) WatchDecreaseLiquidity

func (_INonfungiblePositionManager *INonfungiblePositionManagerFilterer) WatchDecreaseLiquidity(opts *bind.WatchOpts, sink chan<- *INonfungiblePositionManagerDecreaseLiquidity, tokenId []*big.Int) (event.Subscription, error)

WatchDecreaseLiquidity is a free log subscription operation binding the contract event 0x26f6a048ee9138f2c0ce266f322cb99228e8d619ae2bff30c67f8dcf9d2377b4.

Solidity: event DecreaseLiquidity(uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerFilterer) WatchIncreaseLiquidity

func (_INonfungiblePositionManager *INonfungiblePositionManagerFilterer) WatchIncreaseLiquidity(opts *bind.WatchOpts, sink chan<- *INonfungiblePositionManagerIncreaseLiquidity, tokenId []*big.Int) (event.Subscription, error)

WatchIncreaseLiquidity is a free log subscription operation binding the contract event 0x3067048beee31b25b2f1681f88dac838c8bba36af25bfb2b7cf7473a5847e35f.

Solidity: event IncreaseLiquidity(uint256 indexed tokenId, uint128 liquidity, uint256 amount0, uint256 amount1)

type INonfungiblePositionManagerIncreaseLiquidity

type INonfungiblePositionManagerIncreaseLiquidity struct {
	TokenId   *big.Int
	Liquidity *big.Int
	Amount0   *big.Int
	Amount1   *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

INonfungiblePositionManagerIncreaseLiquidity represents a IncreaseLiquidity event raised by the INonfungiblePositionManager contract.

type INonfungiblePositionManagerIncreaseLiquidityIterator

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

INonfungiblePositionManagerIncreaseLiquidityIterator is returned from FilterIncreaseLiquidity and is used to iterate over the raw logs and unpacked data for IncreaseLiquidity events raised by the INonfungiblePositionManager contract.

func (*INonfungiblePositionManagerIncreaseLiquidityIterator) Close

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

func (*INonfungiblePositionManagerIncreaseLiquidityIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*INonfungiblePositionManagerIncreaseLiquidityIterator) 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 INonfungiblePositionManagerIncreaseLiquidityParams

type INonfungiblePositionManagerIncreaseLiquidityParams struct {
	TokenId        *big.Int
	Amount0Desired *big.Int
	Amount1Desired *big.Int
	Amount0Min     *big.Int
	Amount1Min     *big.Int
	Deadline       *big.Int
}

INonfungiblePositionManagerIncreaseLiquidityParams is an auto generated low-level Go binding around an user-defined struct.

type INonfungiblePositionManagerMintParams

type INonfungiblePositionManagerMintParams struct {
	Token0         common.Address
	Token1         common.Address
	Fee            *big.Int
	TickLower      *big.Int
	TickUpper      *big.Int
	Amount0Desired *big.Int
	Amount1Desired *big.Int
	Amount0Min     *big.Int
	Amount1Min     *big.Int
	Recipient      common.Address
	Deadline       *big.Int
}

INonfungiblePositionManagerMintParams is an auto generated low-level Go binding around an user-defined struct.

type INonfungiblePositionManagerRaw

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

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

func (*INonfungiblePositionManagerRaw) Call

func (_INonfungiblePositionManager *INonfungiblePositionManagerRaw) 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 (*INonfungiblePositionManagerRaw) Transact

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

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

func (*INonfungiblePositionManagerRaw) Transfer

func (_INonfungiblePositionManager *INonfungiblePositionManagerRaw) 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 INonfungiblePositionManagerSession

type INonfungiblePositionManagerSession struct {
	Contract     *INonfungiblePositionManager // 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
}

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

func (*INonfungiblePositionManagerSession) Burn

func (_INonfungiblePositionManager *INonfungiblePositionManagerSession) Burn(tokenId *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 tokenId) payable returns()

func (*INonfungiblePositionManagerSession) Collect

Collect is a paid mutator transaction binding the contract method 0xfc6f7865.

Solidity: function collect((uint256,address,uint128,uint128) params) payable returns(uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerSession) DecreaseLiquidity

func (_INonfungiblePositionManager *INonfungiblePositionManagerSession) DecreaseLiquidity(params INonfungiblePositionManagerDecreaseLiquidityParams) (*types.Transaction, error)

DecreaseLiquidity is a paid mutator transaction binding the contract method 0x0c49ccbe.

Solidity: function decreaseLiquidity((uint256,uint128,uint256,uint256,uint256) params) payable returns(uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerSession) IncreaseLiquidity

func (_INonfungiblePositionManager *INonfungiblePositionManagerSession) IncreaseLiquidity(params INonfungiblePositionManagerIncreaseLiquidityParams) (*types.Transaction, error)

IncreaseLiquidity is a paid mutator transaction binding the contract method 0x219f5d17.

Solidity: function increaseLiquidity((uint256,uint256,uint256,uint256,uint256,uint256) params) payable returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerSession) Mint

Mint is a paid mutator transaction binding the contract method 0x88316456.

Solidity: function mint((address,address,uint24,int24,int24,uint256,uint256,uint256,uint256,address,uint256) params) payable returns(uint256 tokenId, uint128 liquidity, uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerSession) Positions

func (_INonfungiblePositionManager *INonfungiblePositionManagerSession) Positions(tokenId *big.Int) (struct {
	Nonce                    *big.Int
	Operator                 common.Address
	Token0                   common.Address
	Token1                   common.Address
	Fee                      *big.Int
	TickLower                *big.Int
	TickUpper                *big.Int
	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 0x99fbab88.

Solidity: function positions(uint256 tokenId) view returns(uint96 nonce, address operator, address token0, address token1, uint24 fee, int24 tickLower, int24 tickUpper, uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)

type INonfungiblePositionManagerTransactor

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

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

func NewINonfungiblePositionManagerTransactor

func NewINonfungiblePositionManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*INonfungiblePositionManagerTransactor, error)

NewINonfungiblePositionManagerTransactor creates a new write-only instance of INonfungiblePositionManager, bound to a specific deployed contract.

func (*INonfungiblePositionManagerTransactor) Burn

func (_INonfungiblePositionManager *INonfungiblePositionManagerTransactor) Burn(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 tokenId) payable returns()

func (*INonfungiblePositionManagerTransactor) Collect

Collect is a paid mutator transaction binding the contract method 0xfc6f7865.

Solidity: function collect((uint256,address,uint128,uint128) params) payable returns(uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerTransactor) DecreaseLiquidity

DecreaseLiquidity is a paid mutator transaction binding the contract method 0x0c49ccbe.

Solidity: function decreaseLiquidity((uint256,uint128,uint256,uint256,uint256) params) payable returns(uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerTransactor) IncreaseLiquidity

IncreaseLiquidity is a paid mutator transaction binding the contract method 0x219f5d17.

Solidity: function increaseLiquidity((uint256,uint256,uint256,uint256,uint256,uint256) params) payable returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerTransactor) Mint

Mint is a paid mutator transaction binding the contract method 0x88316456.

Solidity: function mint((address,address,uint24,int24,int24,uint256,uint256,uint256,uint256,address,uint256) params) payable returns(uint256 tokenId, uint128 liquidity, uint256 amount0, uint256 amount1)

type INonfungiblePositionManagerTransactorRaw

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

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

func (*INonfungiblePositionManagerTransactorRaw) Transact

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

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

func (*INonfungiblePositionManagerTransactorRaw) Transfer

func (_INonfungiblePositionManager *INonfungiblePositionManagerTransactorRaw) 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 INonfungiblePositionManagerTransactorSession

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

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

func (*INonfungiblePositionManagerTransactorSession) Burn

func (_INonfungiblePositionManager *INonfungiblePositionManagerTransactorSession) Burn(tokenId *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 tokenId) payable returns()

func (*INonfungiblePositionManagerTransactorSession) Collect

Collect is a paid mutator transaction binding the contract method 0xfc6f7865.

Solidity: function collect((uint256,address,uint128,uint128) params) payable returns(uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerTransactorSession) DecreaseLiquidity

DecreaseLiquidity is a paid mutator transaction binding the contract method 0x0c49ccbe.

Solidity: function decreaseLiquidity((uint256,uint128,uint256,uint256,uint256) params) payable returns(uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerTransactorSession) IncreaseLiquidity

IncreaseLiquidity is a paid mutator transaction binding the contract method 0x219f5d17.

Solidity: function increaseLiquidity((uint256,uint256,uint256,uint256,uint256,uint256) params) payable returns(uint128 liquidity, uint256 amount0, uint256 amount1)

func (*INonfungiblePositionManagerTransactorSession) Mint

Mint is a paid mutator transaction binding the contract method 0x88316456.

Solidity: function mint((address,address,uint24,int24,int24,uint256,uint256,uint256,uint256,address,uint256) params) payable returns(uint256 tokenId, uint128 liquidity, uint256 amount0, uint256 amount1)

type IPoolInitializer

type IPoolInitializer struct {
	IPoolInitializerCaller     // Read-only binding to the contract
	IPoolInitializerTransactor // Write-only binding to the contract
	IPoolInitializerFilterer   // Log filterer for contract events
}

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

func NewIPoolInitializer

func NewIPoolInitializer(address common.Address, backend bind.ContractBackend) (*IPoolInitializer, error)

NewIPoolInitializer creates a new instance of IPoolInitializer, bound to a specific deployed contract.

type IPoolInitializerCaller

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

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

func NewIPoolInitializerCaller

func NewIPoolInitializerCaller(address common.Address, caller bind.ContractCaller) (*IPoolInitializerCaller, error)

NewIPoolInitializerCaller creates a new read-only instance of IPoolInitializer, bound to a specific deployed contract.

type IPoolInitializerCallerRaw

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

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

func (*IPoolInitializerCallerRaw) Call

func (_IPoolInitializer *IPoolInitializerCallerRaw) 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 IPoolInitializerCallerSession

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

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

type IPoolInitializerFilterer

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

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

func NewIPoolInitializerFilterer

func NewIPoolInitializerFilterer(address common.Address, filterer bind.ContractFilterer) (*IPoolInitializerFilterer, error)

NewIPoolInitializerFilterer creates a new log filterer instance of IPoolInitializer, bound to a specific deployed contract.

type IPoolInitializerRaw

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

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

func (*IPoolInitializerRaw) Call

func (_IPoolInitializer *IPoolInitializerRaw) 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 (*IPoolInitializerRaw) Transact

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

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

func (*IPoolInitializerRaw) Transfer

func (_IPoolInitializer *IPoolInitializerRaw) 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 IPoolInitializerSession

type IPoolInitializerSession struct {
	Contract     *IPoolInitializer // 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
}

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

func (*IPoolInitializerSession) CreateAndInitializePoolIfNecessary

func (_IPoolInitializer *IPoolInitializerSession) CreateAndInitializePoolIfNecessary(token0 common.Address, token1 common.Address, fee *big.Int, sqrtPriceX96 *big.Int) (*types.Transaction, error)

CreateAndInitializePoolIfNecessary is a paid mutator transaction binding the contract method 0x13ead562.

Solidity: function createAndInitializePoolIfNecessary(address token0, address token1, uint24 fee, uint160 sqrtPriceX96) payable returns(address pool)

type IPoolInitializerTransactor

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

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

func NewIPoolInitializerTransactor

func NewIPoolInitializerTransactor(address common.Address, transactor bind.ContractTransactor) (*IPoolInitializerTransactor, error)

NewIPoolInitializerTransactor creates a new write-only instance of IPoolInitializer, bound to a specific deployed contract.

func (*IPoolInitializerTransactor) CreateAndInitializePoolIfNecessary

func (_IPoolInitializer *IPoolInitializerTransactor) CreateAndInitializePoolIfNecessary(opts *bind.TransactOpts, token0 common.Address, token1 common.Address, fee *big.Int, sqrtPriceX96 *big.Int) (*types.Transaction, error)

CreateAndInitializePoolIfNecessary is a paid mutator transaction binding the contract method 0x13ead562.

Solidity: function createAndInitializePoolIfNecessary(address token0, address token1, uint24 fee, uint160 sqrtPriceX96) payable returns(address pool)

type IPoolInitializerTransactorRaw

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

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

func (*IPoolInitializerTransactorRaw) Transact

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

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

func (*IPoolInitializerTransactorRaw) Transfer

func (_IPoolInitializer *IPoolInitializerTransactorRaw) 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 IPoolInitializerTransactorSession

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

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

func (*IPoolInitializerTransactorSession) CreateAndInitializePoolIfNecessary

func (_IPoolInitializer *IPoolInitializerTransactorSession) CreateAndInitializePoolIfNecessary(token0 common.Address, token1 common.Address, fee *big.Int, sqrtPriceX96 *big.Int) (*types.Transaction, error)

CreateAndInitializePoolIfNecessary is a paid mutator transaction binding the contract method 0x13ead562.

Solidity: function createAndInitializePoolIfNecessary(address token0, address token1, uint24 fee, uint160 sqrtPriceX96) payable returns(address pool)

Jump to

Keyboard shortcuts

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