Documentation ¶
Index ¶
- Variables
- type INonfungiblePositionManagerCollectParams
- type INonfungiblePositionManagerDecreaseLiquidityParams
- type INonfungiblePositionManagerIncreaseLiquidityParams
- type INonfungiblePositionManagerMintParams
- type NonfungiblePositionManager
- type NonfungiblePositionManagerApproval
- type NonfungiblePositionManagerApprovalForAll
- type NonfungiblePositionManagerApprovalForAllIterator
- type NonfungiblePositionManagerApprovalIterator
- type NonfungiblePositionManagerCaller
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) BaseURI(opts *bind.CallOpts) (string, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) Factory(opts *bind.CallOpts) (common.Address, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) Name(opts *bind.CallOpts) (string, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) Positions(opts *bind.CallOpts, tokenId *big.Int) (struct{ ... }, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) WETH9(opts *bind.CallOpts) (common.Address, error)
- type NonfungiblePositionManagerCallerRaw
- type NonfungiblePositionManagerCallerSession
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) BaseURI() (string, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) Factory() (common.Address, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) Name() (string, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) PERMITTYPEHASH() ([32]byte, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) Positions(tokenId *big.Int) (struct{ ... }, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) Symbol() (string, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) TokenByIndex(index *big.Int) (*big.Int, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) TokenURI(tokenId *big.Int) (string, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) TotalSupply() (*big.Int, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) WETH9() (common.Address, error)
- type NonfungiblePositionManagerCollect
- type NonfungiblePositionManagerCollectIterator
- type NonfungiblePositionManagerDecreaseLiquidity
- type NonfungiblePositionManagerDecreaseLiquidityIterator
- type NonfungiblePositionManagerFilterer
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, ...) (*NonfungiblePositionManagerApprovalIterator, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*NonfungiblePositionManagerApprovalForAllIterator, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) FilterCollect(opts *bind.FilterOpts, tokenId []*big.Int) (*NonfungiblePositionManagerCollectIterator, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) FilterDecreaseLiquidity(opts *bind.FilterOpts, tokenId []*big.Int) (*NonfungiblePositionManagerDecreaseLiquidityIterator, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) FilterIncreaseLiquidity(opts *bind.FilterOpts, tokenId []*big.Int) (*NonfungiblePositionManagerIncreaseLiquidityIterator, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, ...) (*NonfungiblePositionManagerTransferIterator, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) ParseApproval(log types.Log) (*NonfungiblePositionManagerApproval, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) ParseApprovalForAll(log types.Log) (*NonfungiblePositionManagerApprovalForAll, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) ParseCollect(log types.Log) (*NonfungiblePositionManagerCollect, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) ParseDecreaseLiquidity(log types.Log) (*NonfungiblePositionManagerDecreaseLiquidity, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) ParseIncreaseLiquidity(log types.Log) (*NonfungiblePositionManagerIncreaseLiquidity, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) ParseTransfer(log types.Log) (*NonfungiblePositionManagerTransfer, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *NonfungiblePositionManagerApproval, ...) (event.Subscription, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *NonfungiblePositionManagerApprovalForAll, ...) (event.Subscription, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) WatchCollect(opts *bind.WatchOpts, sink chan<- *NonfungiblePositionManagerCollect, ...) (event.Subscription, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) WatchDecreaseLiquidity(opts *bind.WatchOpts, sink chan<- *NonfungiblePositionManagerDecreaseLiquidity, ...) (event.Subscription, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) WatchIncreaseLiquidity(opts *bind.WatchOpts, sink chan<- *NonfungiblePositionManagerIncreaseLiquidity, ...) (event.Subscription, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *NonfungiblePositionManagerTransfer, ...) (event.Subscription, error)
- type NonfungiblePositionManagerIncreaseLiquidity
- type NonfungiblePositionManagerIncreaseLiquidityIterator
- type NonfungiblePositionManagerRaw
- func (_NonfungiblePositionManager *NonfungiblePositionManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_NonfungiblePositionManager *NonfungiblePositionManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type NonfungiblePositionManagerSession
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) BalanceOf(owner common.Address) (*big.Int, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) BaseURI() (string, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Burn(tokenId *big.Int) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Collect(params INonfungiblePositionManagerCollectParams) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) CreateAndInitializePoolIfNecessary(token0 common.Address, token1 common.Address, fee *big.Int, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) DecreaseLiquidity(params INonfungiblePositionManagerDecreaseLiquidityParams) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Factory() (common.Address, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) GetApproved(tokenId *big.Int) (common.Address, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) IncreaseLiquidity(params INonfungiblePositionManagerIncreaseLiquidityParams) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Mint(params INonfungiblePositionManagerMintParams) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Multicall(data [][]byte) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Name() (string, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) PERMITTYPEHASH() ([32]byte, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Permit(spender common.Address, tokenId *big.Int, deadline *big.Int, v uint8, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Positions(tokenId *big.Int) (struct{ ... }, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Receive() (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) RefundETH() (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SelfPermit(token common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SelfPermitAllowed(token common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SelfPermitAllowedIfNecessary(token common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SelfPermitIfNecessary(token common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SweepToken(token common.Address, amountMinimum *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Symbol() (string, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) TokenByIndex(index *big.Int) (*big.Int, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) TokenURI(tokenId *big.Int) (string, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) TotalSupply() (*big.Int, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) UniswapV3MintCallback(amount0Owed *big.Int, amount1Owed *big.Int, data []byte) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) UnwrapWETH9(amountMinimum *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) WETH9() (common.Address, error)
- type NonfungiblePositionManagerTransactor
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) Burn(opts *bind.TransactOpts, tokenId *big.Int) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) Collect(opts *bind.TransactOpts, params INonfungiblePositionManagerCollectParams) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) CreateAndInitializePoolIfNecessary(opts *bind.TransactOpts, token0 common.Address, token1 common.Address, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) DecreaseLiquidity(opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) IncreaseLiquidity(opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) Mint(opts *bind.TransactOpts, params INonfungiblePositionManagerMintParams) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) Multicall(opts *bind.TransactOpts, data [][]byte) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) Permit(opts *bind.TransactOpts, spender common.Address, tokenId *big.Int, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) RefundETH(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) SelfPermit(opts *bind.TransactOpts, token common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) SelfPermitAllowed(opts *bind.TransactOpts, token common.Address, nonce *big.Int, expiry *big.Int, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) SelfPermitAllowedIfNecessary(opts *bind.TransactOpts, token common.Address, nonce *big.Int, expiry *big.Int, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) SelfPermitIfNecessary(opts *bind.TransactOpts, token common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) SweepToken(opts *bind.TransactOpts, token common.Address, amountMinimum *big.Int, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) UniswapV3MintCallback(opts *bind.TransactOpts, amount0Owed *big.Int, amount1Owed *big.Int, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) UnwrapWETH9(opts *bind.TransactOpts, amountMinimum *big.Int, recipient common.Address) (*types.Transaction, error)
- type NonfungiblePositionManagerTransactorRaw
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type NonfungiblePositionManagerTransactorSession
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) Burn(tokenId *big.Int) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) Collect(params INonfungiblePositionManagerCollectParams) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) CreateAndInitializePoolIfNecessary(token0 common.Address, token1 common.Address, fee *big.Int, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) DecreaseLiquidity(params INonfungiblePositionManagerDecreaseLiquidityParams) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) IncreaseLiquidity(params INonfungiblePositionManagerIncreaseLiquidityParams) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) Mint(params INonfungiblePositionManagerMintParams) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) Multicall(data [][]byte) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) Permit(spender common.Address, tokenId *big.Int, deadline *big.Int, v uint8, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) Receive() (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) RefundETH() (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) SelfPermit(token common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) SelfPermitAllowed(token common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) SelfPermitAllowedIfNecessary(token common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) SelfPermitIfNecessary(token common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, ...) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) SweepToken(token common.Address, amountMinimum *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) UniswapV3MintCallback(amount0Owed *big.Int, amount1Owed *big.Int, data []byte) (*types.Transaction, error)
- func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) UnwrapWETH9(amountMinimum *big.Int, recipient common.Address) (*types.Transaction, error)
- type NonfungiblePositionManagerTransfer
- type NonfungiblePositionManagerTransferIterator
- type V1Exchange
- type V1ExchangeAddLiquidity
- type V1ExchangeAddLiquidityIterator
- type V1ExchangeApproval
- type V1ExchangeApprovalIterator
- type V1ExchangeCaller
- func (_V1Exchange *V1ExchangeCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
- func (_V1Exchange *V1ExchangeCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
- func (_V1Exchange *V1ExchangeCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_V1Exchange *V1ExchangeCaller) FactoryAddress(opts *bind.CallOpts) (common.Address, error)
- func (_V1Exchange *V1ExchangeCaller) GetEthToTokenInputPrice(opts *bind.CallOpts, eth_sold *big.Int) (*big.Int, error)
- func (_V1Exchange *V1ExchangeCaller) GetEthToTokenOutputPrice(opts *bind.CallOpts, tokens_bought *big.Int) (*big.Int, error)
- func (_V1Exchange *V1ExchangeCaller) GetTokenToEthInputPrice(opts *bind.CallOpts, tokens_sold *big.Int) (*big.Int, error)
- func (_V1Exchange *V1ExchangeCaller) GetTokenToEthOutputPrice(opts *bind.CallOpts, eth_bought *big.Int) (*big.Int, error)
- func (_V1Exchange *V1ExchangeCaller) Name(opts *bind.CallOpts) ([32]byte, error)
- func (_V1Exchange *V1ExchangeCaller) Symbol(opts *bind.CallOpts) ([32]byte, error)
- func (_V1Exchange *V1ExchangeCaller) TokenAddress(opts *bind.CallOpts) (common.Address, error)
- func (_V1Exchange *V1ExchangeCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type V1ExchangeCallerRaw
- type V1ExchangeCallerSession
- func (_V1Exchange *V1ExchangeCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_V1Exchange *V1ExchangeCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_V1Exchange *V1ExchangeCallerSession) Decimals() (*big.Int, error)
- func (_V1Exchange *V1ExchangeCallerSession) FactoryAddress() (common.Address, error)
- func (_V1Exchange *V1ExchangeCallerSession) GetEthToTokenInputPrice(eth_sold *big.Int) (*big.Int, error)
- func (_V1Exchange *V1ExchangeCallerSession) GetEthToTokenOutputPrice(tokens_bought *big.Int) (*big.Int, error)
- func (_V1Exchange *V1ExchangeCallerSession) GetTokenToEthInputPrice(tokens_sold *big.Int) (*big.Int, error)
- func (_V1Exchange *V1ExchangeCallerSession) GetTokenToEthOutputPrice(eth_bought *big.Int) (*big.Int, error)
- func (_V1Exchange *V1ExchangeCallerSession) Name() ([32]byte, error)
- func (_V1Exchange *V1ExchangeCallerSession) Symbol() ([32]byte, error)
- func (_V1Exchange *V1ExchangeCallerSession) TokenAddress() (common.Address, error)
- func (_V1Exchange *V1ExchangeCallerSession) TotalSupply() (*big.Int, error)
- type V1ExchangeEthPurchase
- type V1ExchangeEthPurchaseIterator
- type V1ExchangeFilterer
- func (_V1Exchange *V1ExchangeFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address, eth_amount []*big.Int, ...) (*V1ExchangeAddLiquidityIterator, error)
- func (_V1Exchange *V1ExchangeFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*V1ExchangeApprovalIterator, error)
- func (_V1Exchange *V1ExchangeFilterer) FilterEthPurchase(opts *bind.FilterOpts, buyer []common.Address, tokens_sold []*big.Int, ...) (*V1ExchangeEthPurchaseIterator, error)
- func (_V1Exchange *V1ExchangeFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address, eth_amount []*big.Int, ...) (*V1ExchangeRemoveLiquidityIterator, error)
- func (_V1Exchange *V1ExchangeFilterer) FilterTokenPurchase(opts *bind.FilterOpts, buyer []common.Address, eth_sold []*big.Int, ...) (*V1ExchangeTokenPurchaseIterator, error)
- func (_V1Exchange *V1ExchangeFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*V1ExchangeTransferIterator, error)
- func (_V1Exchange *V1ExchangeFilterer) ParseAddLiquidity(log types.Log) (*V1ExchangeAddLiquidity, error)
- func (_V1Exchange *V1ExchangeFilterer) ParseApproval(log types.Log) (*V1ExchangeApproval, error)
- func (_V1Exchange *V1ExchangeFilterer) ParseEthPurchase(log types.Log) (*V1ExchangeEthPurchase, error)
- func (_V1Exchange *V1ExchangeFilterer) ParseRemoveLiquidity(log types.Log) (*V1ExchangeRemoveLiquidity, error)
- func (_V1Exchange *V1ExchangeFilterer) ParseTokenPurchase(log types.Log) (*V1ExchangeTokenPurchase, error)
- func (_V1Exchange *V1ExchangeFilterer) ParseTransfer(log types.Log) (*V1ExchangeTransfer, error)
- func (_V1Exchange *V1ExchangeFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *V1ExchangeAddLiquidity, ...) (event.Subscription, error)
- func (_V1Exchange *V1ExchangeFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *V1ExchangeApproval, _owner []common.Address, ...) (event.Subscription, error)
- func (_V1Exchange *V1ExchangeFilterer) WatchEthPurchase(opts *bind.WatchOpts, sink chan<- *V1ExchangeEthPurchase, ...) (event.Subscription, error)
- func (_V1Exchange *V1ExchangeFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *V1ExchangeRemoveLiquidity, ...) (event.Subscription, error)
- func (_V1Exchange *V1ExchangeFilterer) WatchTokenPurchase(opts *bind.WatchOpts, sink chan<- *V1ExchangeTokenPurchase, ...) (event.Subscription, error)
- func (_V1Exchange *V1ExchangeFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *V1ExchangeTransfer, _from []common.Address, ...) (event.Subscription, error)
- type V1ExchangeRaw
- func (_V1Exchange *V1ExchangeRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_V1Exchange *V1ExchangeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type V1ExchangeRemoveLiquidity
- type V1ExchangeRemoveLiquidityIterator
- type V1ExchangeSession
- func (_V1Exchange *V1ExchangeSession) AddLiquidity(min_liquidity *big.Int, max_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
- func (_V1Exchange *V1ExchangeSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) BalanceOf(_owner common.Address) (*big.Int, error)
- func (_V1Exchange *V1ExchangeSession) Decimals() (*big.Int, error)
- func (_V1Exchange *V1ExchangeSession) Default() (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) EthToTokenSwapInput(min_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) EthToTokenSwapOutput(tokens_bought *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) EthToTokenTransferInput(min_tokens *big.Int, deadline *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) EthToTokenTransferOutput(tokens_bought *big.Int, deadline *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) FactoryAddress() (common.Address, error)
- func (_V1Exchange *V1ExchangeSession) GetEthToTokenInputPrice(eth_sold *big.Int) (*big.Int, error)
- func (_V1Exchange *V1ExchangeSession) GetEthToTokenOutputPrice(tokens_bought *big.Int) (*big.Int, error)
- func (_V1Exchange *V1ExchangeSession) GetTokenToEthInputPrice(tokens_sold *big.Int) (*big.Int, error)
- func (_V1Exchange *V1ExchangeSession) GetTokenToEthOutputPrice(eth_bought *big.Int) (*big.Int, error)
- func (_V1Exchange *V1ExchangeSession) Name() ([32]byte, error)
- func (_V1Exchange *V1ExchangeSession) RemoveLiquidity(amount *big.Int, min_eth *big.Int, min_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) Setup(token_addr common.Address) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) Symbol() ([32]byte, error)
- func (_V1Exchange *V1ExchangeSession) TokenAddress() (common.Address, error)
- func (_V1Exchange *V1ExchangeSession) TokenToEthSwapInput(tokens_sold *big.Int, min_eth *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) TokenToEthSwapOutput(eth_bought *big.Int, max_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) TokenToEthTransferInput(tokens_sold *big.Int, min_eth *big.Int, deadline *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) TokenToEthTransferOutput(eth_bought *big.Int, max_tokens *big.Int, deadline *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) TokenToExchangeSwapInput(tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) TokenToExchangeSwapOutput(tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) TokenToExchangeTransferInput(tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) TokenToExchangeTransferOutput(tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) TokenToTokenSwapInput(tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) TokenToTokenSwapOutput(tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) TokenToTokenTransferInput(tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) TokenToTokenTransferOutput(tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) TotalSupply() (*big.Int, error)
- func (_V1Exchange *V1ExchangeSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type V1ExchangeTokenPurchase
- type V1ExchangeTokenPurchaseIterator
- type V1ExchangeTransactor
- func (_V1Exchange *V1ExchangeTransactor) AddLiquidity(opts *bind.TransactOpts, min_liquidity *big.Int, max_tokens *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) Default(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) EthToTokenSwapInput(opts *bind.TransactOpts, min_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) EthToTokenSwapOutput(opts *bind.TransactOpts, tokens_bought *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) EthToTokenTransferInput(opts *bind.TransactOpts, min_tokens *big.Int, deadline *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) EthToTokenTransferOutput(opts *bind.TransactOpts, tokens_bought *big.Int, deadline *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) RemoveLiquidity(opts *bind.TransactOpts, amount *big.Int, min_eth *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) Setup(opts *bind.TransactOpts, token_addr common.Address) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) TokenToEthSwapInput(opts *bind.TransactOpts, tokens_sold *big.Int, min_eth *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) TokenToEthSwapOutput(opts *bind.TransactOpts, eth_bought *big.Int, max_tokens *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) TokenToEthTransferInput(opts *bind.TransactOpts, tokens_sold *big.Int, min_eth *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) TokenToEthTransferOutput(opts *bind.TransactOpts, eth_bought *big.Int, max_tokens *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) TokenToExchangeSwapInput(opts *bind.TransactOpts, tokens_sold *big.Int, min_tokens_bought *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) TokenToExchangeSwapOutput(opts *bind.TransactOpts, tokens_bought *big.Int, max_tokens_sold *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) TokenToExchangeTransferInput(opts *bind.TransactOpts, tokens_sold *big.Int, min_tokens_bought *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) TokenToExchangeTransferOutput(opts *bind.TransactOpts, tokens_bought *big.Int, max_tokens_sold *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) TokenToTokenSwapInput(opts *bind.TransactOpts, tokens_sold *big.Int, min_tokens_bought *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) TokenToTokenSwapOutput(opts *bind.TransactOpts, tokens_bought *big.Int, max_tokens_sold *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) TokenToTokenTransferInput(opts *bind.TransactOpts, tokens_sold *big.Int, min_tokens_bought *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) TokenToTokenTransferOutput(opts *bind.TransactOpts, tokens_bought *big.Int, max_tokens_sold *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, ...) (*types.Transaction, error)
- type V1ExchangeTransactorRaw
- type V1ExchangeTransactorSession
- func (_V1Exchange *V1ExchangeTransactorSession) AddLiquidity(min_liquidity *big.Int, max_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) Default() (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) EthToTokenSwapInput(min_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) EthToTokenSwapOutput(tokens_bought *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) EthToTokenTransferInput(min_tokens *big.Int, deadline *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) EthToTokenTransferOutput(tokens_bought *big.Int, deadline *big.Int, recipient common.Address) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) RemoveLiquidity(amount *big.Int, min_eth *big.Int, min_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) Setup(token_addr common.Address) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) TokenToEthSwapInput(tokens_sold *big.Int, min_eth *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) TokenToEthSwapOutput(eth_bought *big.Int, max_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) TokenToEthTransferInput(tokens_sold *big.Int, min_eth *big.Int, deadline *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) TokenToEthTransferOutput(eth_bought *big.Int, max_tokens *big.Int, deadline *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) TokenToExchangeSwapInput(tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) TokenToExchangeSwapOutput(tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) TokenToExchangeTransferInput(tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) TokenToExchangeTransferOutput(tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) TokenToTokenSwapInput(tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) TokenToTokenSwapOutput(tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) TokenToTokenTransferInput(tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) TokenToTokenTransferOutput(tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, ...) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_V1Exchange *V1ExchangeTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- type V1ExchangeTransfer
- type V1ExchangeTransferIterator
- type V1Factory
- type V1FactoryCaller
- func (_V1Factory *V1FactoryCaller) ExchangeTemplate(opts *bind.CallOpts) (common.Address, error)
- func (_V1Factory *V1FactoryCaller) GetExchange(opts *bind.CallOpts, token common.Address) (common.Address, error)
- func (_V1Factory *V1FactoryCaller) GetToken(opts *bind.CallOpts, exchange common.Address) (common.Address, error)
- func (_V1Factory *V1FactoryCaller) GetTokenWithId(opts *bind.CallOpts, token_id *big.Int) (common.Address, error)
- func (_V1Factory *V1FactoryCaller) TokenCount(opts *bind.CallOpts) (*big.Int, error)
- type V1FactoryCallerRaw
- type V1FactoryCallerSession
- func (_V1Factory *V1FactoryCallerSession) ExchangeTemplate() (common.Address, error)
- func (_V1Factory *V1FactoryCallerSession) GetExchange(token common.Address) (common.Address, error)
- func (_V1Factory *V1FactoryCallerSession) GetToken(exchange common.Address) (common.Address, error)
- func (_V1Factory *V1FactoryCallerSession) GetTokenWithId(token_id *big.Int) (common.Address, error)
- func (_V1Factory *V1FactoryCallerSession) TokenCount() (*big.Int, error)
- type V1FactoryFilterer
- func (_V1Factory *V1FactoryFilterer) FilterNewExchange(opts *bind.FilterOpts, token []common.Address, exchange []common.Address) (*V1FactoryNewExchangeIterator, error)
- func (_V1Factory *V1FactoryFilterer) ParseNewExchange(log types.Log) (*V1FactoryNewExchange, error)
- func (_V1Factory *V1FactoryFilterer) WatchNewExchange(opts *bind.WatchOpts, sink chan<- *V1FactoryNewExchange, ...) (event.Subscription, error)
- type V1FactoryNewExchange
- type V1FactoryNewExchangeIterator
- type V1FactoryRaw
- func (_V1Factory *V1FactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_V1Factory *V1FactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_V1Factory *V1FactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type V1FactorySession
- func (_V1Factory *V1FactorySession) CreateExchange(token common.Address) (*types.Transaction, error)
- func (_V1Factory *V1FactorySession) ExchangeTemplate() (common.Address, error)
- func (_V1Factory *V1FactorySession) GetExchange(token common.Address) (common.Address, error)
- func (_V1Factory *V1FactorySession) GetToken(exchange common.Address) (common.Address, error)
- func (_V1Factory *V1FactorySession) GetTokenWithId(token_id *big.Int) (common.Address, error)
- func (_V1Factory *V1FactorySession) InitializeFactory(template common.Address) (*types.Transaction, error)
- func (_V1Factory *V1FactorySession) TokenCount() (*big.Int, error)
- type V1FactoryTransactor
- type V1FactoryTransactorRaw
- type V1FactoryTransactorSession
- type V2Factory
- type V2FactoryCaller
- func (_V2Factory *V2FactoryCaller) AllPairs(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_V2Factory *V2FactoryCaller) AllPairsLength(opts *bind.CallOpts) (*big.Int, error)
- func (_V2Factory *V2FactoryCaller) FeeTo(opts *bind.CallOpts) (common.Address, error)
- func (_V2Factory *V2FactoryCaller) FeeToSetter(opts *bind.CallOpts) (common.Address, error)
- func (_V2Factory *V2FactoryCaller) GetPair(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (common.Address, error)
- type V2FactoryCallerRaw
- type V2FactoryCallerSession
- func (_V2Factory *V2FactoryCallerSession) AllPairs(arg0 *big.Int) (common.Address, error)
- func (_V2Factory *V2FactoryCallerSession) AllPairsLength() (*big.Int, error)
- func (_V2Factory *V2FactoryCallerSession) FeeTo() (common.Address, error)
- func (_V2Factory *V2FactoryCallerSession) FeeToSetter() (common.Address, error)
- func (_V2Factory *V2FactoryCallerSession) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)
- type V2FactoryFilterer
- func (_V2Factory *V2FactoryFilterer) FilterPairCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address) (*V2FactoryPairCreatedIterator, error)
- func (_V2Factory *V2FactoryFilterer) ParsePairCreated(log types.Log) (*V2FactoryPairCreated, error)
- func (_V2Factory *V2FactoryFilterer) WatchPairCreated(opts *bind.WatchOpts, sink chan<- *V2FactoryPairCreated, ...) (event.Subscription, error)
- type V2FactoryPairCreated
- type V2FactoryPairCreatedIterator
- type V2FactoryRaw
- func (_V2Factory *V2FactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_V2Factory *V2FactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_V2Factory *V2FactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type V2FactorySession
- func (_V2Factory *V2FactorySession) AllPairs(arg0 *big.Int) (common.Address, error)
- func (_V2Factory *V2FactorySession) AllPairsLength() (*big.Int, error)
- func (_V2Factory *V2FactorySession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)
- func (_V2Factory *V2FactorySession) FeeTo() (common.Address, error)
- func (_V2Factory *V2FactorySession) FeeToSetter() (common.Address, error)
- func (_V2Factory *V2FactorySession) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)
- func (_V2Factory *V2FactorySession) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)
- func (_V2Factory *V2FactorySession) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)
- type V2FactoryTransactor
- func (_V2Factory *V2FactoryTransactor) CreatePair(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address) (*types.Transaction, error)
- func (_V2Factory *V2FactoryTransactor) SetFeeTo(opts *bind.TransactOpts, _feeTo common.Address) (*types.Transaction, error)
- func (_V2Factory *V2FactoryTransactor) SetFeeToSetter(opts *bind.TransactOpts, _feeToSetter common.Address) (*types.Transaction, error)
- type V2FactoryTransactorRaw
- type V2FactoryTransactorSession
- func (_V2Factory *V2FactoryTransactorSession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)
- func (_V2Factory *V2FactoryTransactorSession) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)
- func (_V2Factory *V2FactoryTransactorSession) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)
- type V2Pair
- type V2PairApproval
- type V2PairApprovalIterator
- type V2PairBurn
- type V2PairBurnIterator
- type V2PairCaller
- func (_V2Pair *V2PairCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_V2Pair *V2PairCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_V2Pair *V2PairCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_V2Pair *V2PairCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_V2Pair *V2PairCaller) Factory(opts *bind.CallOpts) (common.Address, error)
- func (_V2Pair *V2PairCaller) GetReserves(opts *bind.CallOpts) (struct{ ... }, error)
- func (_V2Pair *V2PairCaller) KLast(opts *bind.CallOpts) (*big.Int, error)
- func (_V2Pair *V2PairCaller) MINIMUMLIQUIDITY(opts *bind.CallOpts) (*big.Int, error)
- func (_V2Pair *V2PairCaller) Name(opts *bind.CallOpts) (string, error)
- func (_V2Pair *V2PairCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_V2Pair *V2PairCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_V2Pair *V2PairCaller) Price0CumulativeLast(opts *bind.CallOpts) (*big.Int, error)
- func (_V2Pair *V2PairCaller) Price1CumulativeLast(opts *bind.CallOpts) (*big.Int, error)
- func (_V2Pair *V2PairCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_V2Pair *V2PairCaller) Token0(opts *bind.CallOpts) (common.Address, error)
- func (_V2Pair *V2PairCaller) Token1(opts *bind.CallOpts) (common.Address, error)
- func (_V2Pair *V2PairCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type V2PairCallerRaw
- type V2PairCallerSession
- func (_V2Pair *V2PairCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_V2Pair *V2PairCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_V2Pair *V2PairCallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_V2Pair *V2PairCallerSession) Decimals() (uint8, error)
- func (_V2Pair *V2PairCallerSession) Factory() (common.Address, error)
- func (_V2Pair *V2PairCallerSession) GetReserves() (struct{ ... }, error)
- func (_V2Pair *V2PairCallerSession) KLast() (*big.Int, error)
- func (_V2Pair *V2PairCallerSession) MINIMUMLIQUIDITY() (*big.Int, error)
- func (_V2Pair *V2PairCallerSession) Name() (string, error)
- func (_V2Pair *V2PairCallerSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_V2Pair *V2PairCallerSession) PERMITTYPEHASH() ([32]byte, error)
- func (_V2Pair *V2PairCallerSession) Price0CumulativeLast() (*big.Int, error)
- func (_V2Pair *V2PairCallerSession) Price1CumulativeLast() (*big.Int, error)
- func (_V2Pair *V2PairCallerSession) Symbol() (string, error)
- func (_V2Pair *V2PairCallerSession) Token0() (common.Address, error)
- func (_V2Pair *V2PairCallerSession) Token1() (common.Address, error)
- func (_V2Pair *V2PairCallerSession) TotalSupply() (*big.Int, error)
- type V2PairFilterer
- func (_V2Pair *V2PairFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*V2PairApprovalIterator, error)
- func (_V2Pair *V2PairFilterer) FilterBurn(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*V2PairBurnIterator, error)
- func (_V2Pair *V2PairFilterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*V2PairMintIterator, error)
- func (_V2Pair *V2PairFilterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*V2PairSwapIterator, error)
- func (_V2Pair *V2PairFilterer) FilterSync(opts *bind.FilterOpts) (*V2PairSyncIterator, error)
- func (_V2Pair *V2PairFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*V2PairTransferIterator, error)
- func (_V2Pair *V2PairFilterer) ParseApproval(log types.Log) (*V2PairApproval, error)
- func (_V2Pair *V2PairFilterer) ParseBurn(log types.Log) (*V2PairBurn, error)
- func (_V2Pair *V2PairFilterer) ParseMint(log types.Log) (*V2PairMint, error)
- func (_V2Pair *V2PairFilterer) ParseSwap(log types.Log) (*V2PairSwap, error)
- func (_V2Pair *V2PairFilterer) ParseSync(log types.Log) (*V2PairSync, error)
- func (_V2Pair *V2PairFilterer) ParseTransfer(log types.Log) (*V2PairTransfer, error)
- func (_V2Pair *V2PairFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *V2PairApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_V2Pair *V2PairFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *V2PairBurn, sender []common.Address, ...) (event.Subscription, error)
- func (_V2Pair *V2PairFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *V2PairMint, sender []common.Address) (event.Subscription, error)
- func (_V2Pair *V2PairFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *V2PairSwap, sender []common.Address, ...) (event.Subscription, error)
- func (_V2Pair *V2PairFilterer) WatchSync(opts *bind.WatchOpts, sink chan<- *V2PairSync) (event.Subscription, error)
- func (_V2Pair *V2PairFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *V2PairTransfer, from []common.Address, ...) (event.Subscription, error)
- type V2PairMint
- type V2PairMintIterator
- type V2PairRaw
- func (_V2Pair *V2PairRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_V2Pair *V2PairRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_V2Pair *V2PairRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type V2PairSession
- func (_V2Pair *V2PairSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_V2Pair *V2PairSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_V2Pair *V2PairSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_V2Pair *V2PairSession) Burn(to common.Address) (*types.Transaction, error)
- func (_V2Pair *V2PairSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_V2Pair *V2PairSession) Decimals() (uint8, error)
- func (_V2Pair *V2PairSession) Factory() (common.Address, error)
- func (_V2Pair *V2PairSession) GetReserves() (struct{ ... }, error)
- func (_V2Pair *V2PairSession) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)
- func (_V2Pair *V2PairSession) KLast() (*big.Int, error)
- func (_V2Pair *V2PairSession) MINIMUMLIQUIDITY() (*big.Int, error)
- func (_V2Pair *V2PairSession) Mint(to common.Address) (*types.Transaction, error)
- func (_V2Pair *V2PairSession) Name() (string, error)
- func (_V2Pair *V2PairSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_V2Pair *V2PairSession) PERMITTYPEHASH() ([32]byte, error)
- func (_V2Pair *V2PairSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_V2Pair *V2PairSession) Price0CumulativeLast() (*big.Int, error)
- func (_V2Pair *V2PairSession) Price1CumulativeLast() (*big.Int, error)
- func (_V2Pair *V2PairSession) Skim(to common.Address) (*types.Transaction, error)
- func (_V2Pair *V2PairSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)
- func (_V2Pair *V2PairSession) Symbol() (string, error)
- func (_V2Pair *V2PairSession) Sync() (*types.Transaction, error)
- func (_V2Pair *V2PairSession) Token0() (common.Address, error)
- func (_V2Pair *V2PairSession) Token1() (common.Address, error)
- func (_V2Pair *V2PairSession) TotalSupply() (*big.Int, error)
- func (_V2Pair *V2PairSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_V2Pair *V2PairSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type V2PairSwap
- type V2PairSwapIterator
- type V2PairSync
- type V2PairSyncIterator
- type V2PairTransactor
- func (_V2Pair *V2PairTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_V2Pair *V2PairTransactor) Burn(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- func (_V2Pair *V2PairTransactor) Initialize(opts *bind.TransactOpts, _token0 common.Address, _token1 common.Address) (*types.Transaction, error)
- func (_V2Pair *V2PairTransactor) Mint(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- func (_V2Pair *V2PairTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_V2Pair *V2PairTransactor) Skim(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
- func (_V2Pair *V2PairTransactor) Swap(opts *bind.TransactOpts, amount0Out *big.Int, amount1Out *big.Int, ...) (*types.Transaction, error)
- func (_V2Pair *V2PairTransactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_V2Pair *V2PairTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_V2Pair *V2PairTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type V2PairTransactorRaw
- type V2PairTransactorSession
- func (_V2Pair *V2PairTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_V2Pair *V2PairTransactorSession) Burn(to common.Address) (*types.Transaction, error)
- func (_V2Pair *V2PairTransactorSession) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)
- func (_V2Pair *V2PairTransactorSession) Mint(to common.Address) (*types.Transaction, error)
- func (_V2Pair *V2PairTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_V2Pair *V2PairTransactorSession) Skim(to common.Address) (*types.Transaction, error)
- func (_V2Pair *V2PairTransactorSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)
- func (_V2Pair *V2PairTransactorSession) Sync() (*types.Transaction, error)
- func (_V2Pair *V2PairTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_V2Pair *V2PairTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- type V2PairTransfer
- type V2PairTransferIterator
- type V3Factory
- type V3FactoryCaller
- func (_V3Factory *V3FactoryCaller) FeeAmountTickSpacing(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_V3Factory *V3FactoryCaller) GetPool(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
- func (_V3Factory *V3FactoryCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_V3Factory *V3FactoryCaller) Parameters(opts *bind.CallOpts) (struct{ ... }, error)
- type V3FactoryCallerRaw
- type V3FactoryCallerSession
- func (_V3Factory *V3FactoryCallerSession) FeeAmountTickSpacing(arg0 *big.Int) (*big.Int, error)
- func (_V3Factory *V3FactoryCallerSession) GetPool(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
- func (_V3Factory *V3FactoryCallerSession) Owner() (common.Address, error)
- func (_V3Factory *V3FactoryCallerSession) Parameters() (struct{ ... }, error)
- type V3FactoryFeeAmountEnabled
- type V3FactoryFeeAmountEnabledIterator
- type V3FactoryFilterer
- func (_V3Factory *V3FactoryFilterer) FilterFeeAmountEnabled(opts *bind.FilterOpts, fee []*big.Int, tickSpacing []*big.Int) (*V3FactoryFeeAmountEnabledIterator, error)
- func (_V3Factory *V3FactoryFilterer) FilterOwnerChanged(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*V3FactoryOwnerChangedIterator, error)
- func (_V3Factory *V3FactoryFilterer) FilterPoolCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address, ...) (*V3FactoryPoolCreatedIterator, error)
- func (_V3Factory *V3FactoryFilterer) ParseFeeAmountEnabled(log types.Log) (*V3FactoryFeeAmountEnabled, error)
- func (_V3Factory *V3FactoryFilterer) ParseOwnerChanged(log types.Log) (*V3FactoryOwnerChanged, error)
- func (_V3Factory *V3FactoryFilterer) ParsePoolCreated(log types.Log) (*V3FactoryPoolCreated, error)
- func (_V3Factory *V3FactoryFilterer) WatchFeeAmountEnabled(opts *bind.WatchOpts, sink chan<- *V3FactoryFeeAmountEnabled, fee []*big.Int, ...) (event.Subscription, error)
- func (_V3Factory *V3FactoryFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *V3FactoryOwnerChanged, ...) (event.Subscription, error)
- func (_V3Factory *V3FactoryFilterer) WatchPoolCreated(opts *bind.WatchOpts, sink chan<- *V3FactoryPoolCreated, ...) (event.Subscription, error)
- type V3FactoryOwnerChanged
- type V3FactoryOwnerChangedIterator
- type V3FactoryPoolCreated
- type V3FactoryPoolCreatedIterator
- type V3FactoryRaw
- func (_V3Factory *V3FactoryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_V3Factory *V3FactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_V3Factory *V3FactoryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type V3FactorySession
- func (_V3Factory *V3FactorySession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)
- func (_V3Factory *V3FactorySession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
- func (_V3Factory *V3FactorySession) FeeAmountTickSpacing(arg0 *big.Int) (*big.Int, error)
- func (_V3Factory *V3FactorySession) GetPool(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
- func (_V3Factory *V3FactorySession) Owner() (common.Address, error)
- func (_V3Factory *V3FactorySession) Parameters() (struct{ ... }, error)
- func (_V3Factory *V3FactorySession) SetOwner(_owner common.Address) (*types.Transaction, error)
- type V3FactoryTransactor
- func (_V3Factory *V3FactoryTransactor) CreatePool(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, ...) (*types.Transaction, error)
- func (_V3Factory *V3FactoryTransactor) EnableFeeAmount(opts *bind.TransactOpts, fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
- func (_V3Factory *V3FactoryTransactor) SetOwner(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
- type V3FactoryTransactorRaw
- type V3FactoryTransactorSession
- func (_V3Factory *V3FactoryTransactorSession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)
- func (_V3Factory *V3FactoryTransactorSession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
- func (_V3Factory *V3FactoryTransactorSession) SetOwner(_owner common.Address) (*types.Transaction, error)
- type V3Pool
- type V3PoolBurn
- type V3PoolBurnIterator
- type V3PoolCaller
- func (_V3Pool *V3PoolCaller) Factory(opts *bind.CallOpts) (common.Address, error)
- func (_V3Pool *V3PoolCaller) Fee(opts *bind.CallOpts) (*big.Int, error)
- func (_V3Pool *V3PoolCaller) FeeGrowthGlobal0X128(opts *bind.CallOpts) (*big.Int, error)
- func (_V3Pool *V3PoolCaller) FeeGrowthGlobal1X128(opts *bind.CallOpts) (*big.Int, error)
- func (_V3Pool *V3PoolCaller) Liquidity(opts *bind.CallOpts) (*big.Int, error)
- func (_V3Pool *V3PoolCaller) MaxLiquidityPerTick(opts *bind.CallOpts) (*big.Int, error)
- func (_V3Pool *V3PoolCaller) Observations(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_V3Pool *V3PoolCaller) Observe(opts *bind.CallOpts, secondsAgos []uint32) (struct{ ... }, error)
- func (_V3Pool *V3PoolCaller) Positions(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_V3Pool *V3PoolCaller) ProtocolFees(opts *bind.CallOpts) (struct{ ... }, error)
- func (_V3Pool *V3PoolCaller) Slot0(opts *bind.CallOpts) (struct{ ... }, error)
- func (_V3Pool *V3PoolCaller) SnapshotCumulativesInside(opts *bind.CallOpts, tickLower *big.Int, tickUpper *big.Int) (struct{ ... }, error)
- func (_V3Pool *V3PoolCaller) TickBitmap(opts *bind.CallOpts, arg0 int16) (*big.Int, error)
- func (_V3Pool *V3PoolCaller) TickSpacing(opts *bind.CallOpts) (*big.Int, error)
- func (_V3Pool *V3PoolCaller) Ticks(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_V3Pool *V3PoolCaller) Token0(opts *bind.CallOpts) (common.Address, error)
- func (_V3Pool *V3PoolCaller) Token1(opts *bind.CallOpts) (common.Address, error)
- type V3PoolCallerRaw
- type V3PoolCallerSession
- func (_V3Pool *V3PoolCallerSession) Factory() (common.Address, error)
- func (_V3Pool *V3PoolCallerSession) Fee() (*big.Int, error)
- func (_V3Pool *V3PoolCallerSession) FeeGrowthGlobal0X128() (*big.Int, error)
- func (_V3Pool *V3PoolCallerSession) FeeGrowthGlobal1X128() (*big.Int, error)
- func (_V3Pool *V3PoolCallerSession) Liquidity() (*big.Int, error)
- func (_V3Pool *V3PoolCallerSession) MaxLiquidityPerTick() (*big.Int, error)
- func (_V3Pool *V3PoolCallerSession) Observations(arg0 *big.Int) (struct{ ... }, error)
- func (_V3Pool *V3PoolCallerSession) Observe(secondsAgos []uint32) (struct{ ... }, error)
- func (_V3Pool *V3PoolCallerSession) Positions(arg0 [32]byte) (struct{ ... }, error)
- func (_V3Pool *V3PoolCallerSession) ProtocolFees() (struct{ ... }, error)
- func (_V3Pool *V3PoolCallerSession) Slot0() (struct{ ... }, error)
- func (_V3Pool *V3PoolCallerSession) SnapshotCumulativesInside(tickLower *big.Int, tickUpper *big.Int) (struct{ ... }, error)
- func (_V3Pool *V3PoolCallerSession) TickBitmap(arg0 int16) (*big.Int, error)
- func (_V3Pool *V3PoolCallerSession) TickSpacing() (*big.Int, error)
- func (_V3Pool *V3PoolCallerSession) Ticks(arg0 *big.Int) (struct{ ... }, error)
- func (_V3Pool *V3PoolCallerSession) Token0() (common.Address, error)
- func (_V3Pool *V3PoolCallerSession) Token1() (common.Address, error)
- type V3PoolCollect
- type V3PoolCollectIterator
- type V3PoolCollectProtocol
- type V3PoolCollectProtocolIterator
- type V3PoolFilterer
- func (_V3Pool *V3PoolFilterer) FilterBurn(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, ...) (*V3PoolBurnIterator, error)
- func (_V3Pool *V3PoolFilterer) FilterCollect(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, ...) (*V3PoolCollectIterator, error)
- func (_V3Pool *V3PoolFilterer) FilterCollectProtocol(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*V3PoolCollectProtocolIterator, error)
- func (_V3Pool *V3PoolFilterer) FilterFlash(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*V3PoolFlashIterator, error)
- func (_V3Pool *V3PoolFilterer) FilterIncreaseObservationCardinalityNext(opts *bind.FilterOpts) (*V3PoolIncreaseObservationCardinalityNextIterator, error)
- func (_V3Pool *V3PoolFilterer) FilterInitialize(opts *bind.FilterOpts) (*V3PoolInitializeIterator, error)
- func (_V3Pool *V3PoolFilterer) FilterMint(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, ...) (*V3PoolMintIterator, error)
- func (_V3Pool *V3PoolFilterer) FilterSetFeeProtocol(opts *bind.FilterOpts) (*V3PoolSetFeeProtocolIterator, error)
- func (_V3Pool *V3PoolFilterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*V3PoolSwapIterator, error)
- func (_V3Pool *V3PoolFilterer) ParseBurn(log types.Log) (*V3PoolBurn, error)
- func (_V3Pool *V3PoolFilterer) ParseCollect(log types.Log) (*V3PoolCollect, error)
- func (_V3Pool *V3PoolFilterer) ParseCollectProtocol(log types.Log) (*V3PoolCollectProtocol, error)
- func (_V3Pool *V3PoolFilterer) ParseFlash(log types.Log) (*V3PoolFlash, error)
- func (_V3Pool *V3PoolFilterer) ParseIncreaseObservationCardinalityNext(log types.Log) (*V3PoolIncreaseObservationCardinalityNext, error)
- func (_V3Pool *V3PoolFilterer) ParseInitialize(log types.Log) (*V3PoolInitialize, error)
- func (_V3Pool *V3PoolFilterer) ParseMint(log types.Log) (*V3PoolMint, error)
- func (_V3Pool *V3PoolFilterer) ParseSetFeeProtocol(log types.Log) (*V3PoolSetFeeProtocol, error)
- func (_V3Pool *V3PoolFilterer) ParseSwap(log types.Log) (*V3PoolSwap, error)
- func (_V3Pool *V3PoolFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *V3PoolBurn, owner []common.Address, ...) (event.Subscription, error)
- func (_V3Pool *V3PoolFilterer) WatchCollect(opts *bind.WatchOpts, sink chan<- *V3PoolCollect, owner []common.Address, ...) (event.Subscription, error)
- func (_V3Pool *V3PoolFilterer) WatchCollectProtocol(opts *bind.WatchOpts, sink chan<- *V3PoolCollectProtocol, ...) (event.Subscription, error)
- func (_V3Pool *V3PoolFilterer) WatchFlash(opts *bind.WatchOpts, sink chan<- *V3PoolFlash, sender []common.Address, ...) (event.Subscription, error)
- func (_V3Pool *V3PoolFilterer) WatchIncreaseObservationCardinalityNext(opts *bind.WatchOpts, sink chan<- *V3PoolIncreaseObservationCardinalityNext) (event.Subscription, error)
- func (_V3Pool *V3PoolFilterer) WatchInitialize(opts *bind.WatchOpts, sink chan<- *V3PoolInitialize) (event.Subscription, error)
- func (_V3Pool *V3PoolFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *V3PoolMint, owner []common.Address, ...) (event.Subscription, error)
- func (_V3Pool *V3PoolFilterer) WatchSetFeeProtocol(opts *bind.WatchOpts, sink chan<- *V3PoolSetFeeProtocol) (event.Subscription, error)
- func (_V3Pool *V3PoolFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *V3PoolSwap, sender []common.Address, ...) (event.Subscription, error)
- type V3PoolFlash
- type V3PoolFlashIterator
- type V3PoolIncreaseObservationCardinalityNext
- type V3PoolIncreaseObservationCardinalityNextIterator
- type V3PoolInitialize
- type V3PoolInitializeIterator
- type V3PoolMint
- type V3PoolMintIterator
- type V3PoolRaw
- func (_V3Pool *V3PoolRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_V3Pool *V3PoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_V3Pool *V3PoolRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type V3PoolSession
- func (_V3Pool *V3PoolSession) Burn(tickLower *big.Int, tickUpper *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_V3Pool *V3PoolSession) Collect(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, ...) (*types.Transaction, error)
- func (_V3Pool *V3PoolSession) CollectProtocol(recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)
- func (_V3Pool *V3PoolSession) Factory() (common.Address, error)
- func (_V3Pool *V3PoolSession) Fee() (*big.Int, error)
- func (_V3Pool *V3PoolSession) FeeGrowthGlobal0X128() (*big.Int, error)
- func (_V3Pool *V3PoolSession) FeeGrowthGlobal1X128() (*big.Int, error)
- func (_V3Pool *V3PoolSession) Flash(recipient common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)
- func (_V3Pool *V3PoolSession) IncreaseObservationCardinalityNext(observationCardinalityNext uint16) (*types.Transaction, error)
- func (_V3Pool *V3PoolSession) Initialize(sqrtPriceX96 *big.Int) (*types.Transaction, error)
- func (_V3Pool *V3PoolSession) Liquidity() (*big.Int, error)
- func (_V3Pool *V3PoolSession) MaxLiquidityPerTick() (*big.Int, error)
- func (_V3Pool *V3PoolSession) Mint(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, ...) (*types.Transaction, error)
- func (_V3Pool *V3PoolSession) Observations(arg0 *big.Int) (struct{ ... }, error)
- func (_V3Pool *V3PoolSession) Observe(secondsAgos []uint32) (struct{ ... }, error)
- func (_V3Pool *V3PoolSession) Positions(arg0 [32]byte) (struct{ ... }, error)
- func (_V3Pool *V3PoolSession) ProtocolFees() (struct{ ... }, error)
- func (_V3Pool *V3PoolSession) SetFeeProtocol(feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)
- func (_V3Pool *V3PoolSession) Slot0() (struct{ ... }, error)
- func (_V3Pool *V3PoolSession) SnapshotCumulativesInside(tickLower *big.Int, tickUpper *big.Int) (struct{ ... }, error)
- func (_V3Pool *V3PoolSession) Swap(recipient common.Address, zeroForOne bool, amountSpecified *big.Int, ...) (*types.Transaction, error)
- func (_V3Pool *V3PoolSession) TickBitmap(arg0 int16) (*big.Int, error)
- func (_V3Pool *V3PoolSession) TickSpacing() (*big.Int, error)
- func (_V3Pool *V3PoolSession) Ticks(arg0 *big.Int) (struct{ ... }, error)
- func (_V3Pool *V3PoolSession) Token0() (common.Address, error)
- func (_V3Pool *V3PoolSession) Token1() (common.Address, error)
- type V3PoolSetFeeProtocol
- type V3PoolSetFeeProtocolIterator
- type V3PoolSwap
- type V3PoolSwapIterator
- type V3PoolTransactor
- func (_V3Pool *V3PoolTransactor) Burn(opts *bind.TransactOpts, tickLower *big.Int, tickUpper *big.Int, ...) (*types.Transaction, error)
- func (_V3Pool *V3PoolTransactor) Collect(opts *bind.TransactOpts, recipient common.Address, tickLower *big.Int, ...) (*types.Transaction, error)
- func (_V3Pool *V3PoolTransactor) CollectProtocol(opts *bind.TransactOpts, recipient common.Address, amount0Requested *big.Int, ...) (*types.Transaction, error)
- func (_V3Pool *V3PoolTransactor) Flash(opts *bind.TransactOpts, recipient common.Address, amount0 *big.Int, ...) (*types.Transaction, error)
- func (_V3Pool *V3PoolTransactor) IncreaseObservationCardinalityNext(opts *bind.TransactOpts, observationCardinalityNext uint16) (*types.Transaction, error)
- func (_V3Pool *V3PoolTransactor) Initialize(opts *bind.TransactOpts, sqrtPriceX96 *big.Int) (*types.Transaction, error)
- func (_V3Pool *V3PoolTransactor) Mint(opts *bind.TransactOpts, recipient common.Address, tickLower *big.Int, ...) (*types.Transaction, error)
- func (_V3Pool *V3PoolTransactor) SetFeeProtocol(opts *bind.TransactOpts, feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)
- func (_V3Pool *V3PoolTransactor) Swap(opts *bind.TransactOpts, recipient common.Address, zeroForOne bool, ...) (*types.Transaction, error)
- type V3PoolTransactorRaw
- type V3PoolTransactorSession
- func (_V3Pool *V3PoolTransactorSession) Burn(tickLower *big.Int, tickUpper *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_V3Pool *V3PoolTransactorSession) Collect(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, ...) (*types.Transaction, error)
- func (_V3Pool *V3PoolTransactorSession) CollectProtocol(recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)
- func (_V3Pool *V3PoolTransactorSession) Flash(recipient common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)
- func (_V3Pool *V3PoolTransactorSession) IncreaseObservationCardinalityNext(observationCardinalityNext uint16) (*types.Transaction, error)
- func (_V3Pool *V3PoolTransactorSession) Initialize(sqrtPriceX96 *big.Int) (*types.Transaction, error)
- func (_V3Pool *V3PoolTransactorSession) Mint(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, ...) (*types.Transaction, error)
- func (_V3Pool *V3PoolTransactorSession) SetFeeProtocol(feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)
- func (_V3Pool *V3PoolTransactorSession) Swap(recipient common.Address, zeroForOne bool, amountSpecified *big.Int, ...) (*types.Transaction, error)
Constants ¶
This section is empty.
Variables ¶
var ( AddressV1Factory = common.HexToAddress("0xc0a47dFe034B400B47bDaD5FecDa2621de6c4d95") AddressV2Migrator = common.HexToAddress("0x16D4F26C15f3658ec65B1126ff27DD3dF2a2996b") AddressV2SwapRouter01 = common.HexToAddress("0xf164fC0Ec4E93095b804a4795bBe1e041497b92a") AddressV2SwapRouter02 = common.HexToAddress("0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D") AddressV3Migrator = common.HexToAddress("0xa5644e29708357803b5a882d272c41cc0df92b34") AddressV3SwapRouter = common.HexToAddress("0xE592427A0AEce92De3Edee1F18E0157C05861564") AddressV3SwapRouterCelo = common.HexToAddress("0x5615CDAb10dc425a742d643d949a7F474C01abc4") AddressV3SwapRouterRSS3Testnet = common.HexToAddress("0xe8A7aAbb64B446505c7722c4347C6Cc67E0A9a8d") AddressV3SwapRouter02 = common.HexToAddress("0x68b3465833fb72A70ecDF485E0e4C7bD8665Fc45") AddressV3SwapRouter02Celo = common.HexToAddress("0x5615CDAb10dc425a742d643d949a7F474C01abc4") AddressV3SwapRouter02BinanceSmartChain = common.HexToAddress("0xB971eF87ede563556b2ED4b1C0b0019111Dd85d2") AddressV2Factory = common.HexToAddress("0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f") AddressV3Factory = common.HexToAddress("0x1F98431c8aD98523631AE4a59f267346ea31F984") AddressV3FactoryCelo = common.HexToAddress("0xAfE208a311B21f13EF87E33A90049fC17A7acDEc") AddressV3FactoryBinanceSmartChain = common.HexToAddress("0xdB1d10011AD0Ff90774D0C6Bb92e5C5c8b4461F7") AddressV3FactoryRSS3Testnet = common.HexToAddress("0xCA9a021A7434dA20f7C260325856E1478148dF67") AddressUniversalRouter = common.HexToAddress("0xEf1c6E67703c7BD7107eed8303Fbe6EC2554BF6B") AddressNonfungiblePositionManager = common.HexToAddress("0xC36442b4a4522E871399CD717aBDD847Ab11FE88") AddressNonfungiblePositionManagerRSS3Testnet = common.HexToAddress("0x0F1d392Fc4a2652dc8224E0BB919643AB3d67370") EventHashV1ExchangeTokenPurchase = contract.EventHash("TokenPurchase(address,uint256,uint256)") EventHashV1ExchangeEthPurchase = contract.EventHash("EthPurchase(address,uint256,uint256)") EventHashV1ExchangeAddLiquidity = contract.EventHash("AddLiquidity(address,uint256,uint256)") EventHashV1ExchangeRemoveLiquidity = contract.EventHash("RemoveLiquidity(address,uint256,uint256)") EventHashV2FactoryPairCreated = contract.EventHash("PairCreated(address,address,address,uint256)") EventHashV3FactoryPoolCreated = contract.EventHash("PoolCreated(address,address,uint24,int24,address)") EventHashV2PairSwap = contract.EventHash("Swap(address,uint256,uint256,uint256,uint256,address)") EventHashV2PairMint = contract.EventHash("Mint(address,uint256,uint256)") EventHashV2PairBurn = contract.EventHash("Burn(address,uint256,uint256,address)") EventHashV3PoolSwap = contract.EventHash("Swap(address,address,int256,int256,uint160,uint128,int24)") EventHashNonfungiblePositionManagerCollect = contract.EventHash("Collect(uint256,address,uint256,uint256)") EventHashNonfungiblePositionManagerDecreaseLiquidity = contract.EventHash("DecreaseLiquidity(uint256,uint128,uint256,uint256)") EventHashNonfungiblePositionManagerIncreaseLiquidity = contract.EventHash("IncreaseLiquidity(uint256,uint128,uint256,uint256)") )
var NonfungiblePositionManagerABI = NonfungiblePositionManagerMetaData.ABI
NonfungiblePositionManagerABI is the input ABI used to generate the binding from. Deprecated: Use NonfungiblePositionManagerMetaData.ABI instead.
var NonfungiblePositionManagerMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_WETH9\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_tokenDescriptor_\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"approved\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"ApprovalForAll\",\"type\":\"event\"},{\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"WETH9\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"baseURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"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\":[{\"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\"},{\"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\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"getApproved\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"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\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"}],\"name\":\"isApprovedForAll\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"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\":\"bytes[]\",\"name\":\"data\",\"type\":\"bytes[]\"}],\"name\":\"multicall\",\"outputs\":[{\"internalType\":\"bytes[]\",\"name\":\"results\",\"type\":\"bytes[]\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"ownerOf\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"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\"},{\"inputs\":[],\"name\":\"refundETH\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"safeTransferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"selfPermit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"selfPermitAllowed\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"nonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"expiry\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"selfPermitAllowedIfNecessary\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"selfPermitIfNecessary\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"operator\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"approved\",\"type\":\"bool\"}],\"name\":\"setApprovalForAll\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amountMinimum\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"sweepToken\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"index\",\"type\":\"uint256\"}],\"name\":\"tokenOfOwnerByIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"tokenURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"tokenId\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0Owed\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Owed\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"uniswapV3MintCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amountMinimum\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"}],\"name\":\"unwrapWETH9\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}
NonfungiblePositionManagerMetaData contains all meta data concerning the NonfungiblePositionManager contract.
var V1ExchangeABI = V1ExchangeMetaData.ABI
V1ExchangeABI is the input ABI used to generate the binding from. Deprecated: Use V1ExchangeMetaData.ABI instead.
var V1ExchangeMetaData = &bind.MetaData{
ABI: "[{\"name\":\"TokenPurchase\",\"inputs\":[{\"type\":\"address\",\"name\":\"buyer\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"eth_sold\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"tokens_bought\",\"indexed\":true}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"EthPurchase\",\"inputs\":[{\"type\":\"address\",\"name\":\"buyer\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"tokens_sold\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"eth_bought\",\"indexed\":true}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"AddLiquidity\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"eth_amount\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"token_amount\",\"indexed\":true}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"RemoveLiquidity\",\"inputs\":[{\"type\":\"address\",\"name\":\"provider\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"eth_amount\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"token_amount\",\"indexed\":true}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"Transfer\",\"inputs\":[{\"type\":\"address\",\"name\":\"_from\",\"indexed\":true},{\"type\":\"address\",\"name\":\"_to\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"_value\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"Approval\",\"inputs\":[{\"type\":\"address\",\"name\":\"_owner\",\"indexed\":true},{\"type\":\"address\",\"name\":\"_spender\",\"indexed\":true},{\"type\":\"uint256\",\"name\":\"_value\",\"indexed\":false}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"setup\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"token_addr\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":175875},{\"name\":\"addLiquidity\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"min_liquidity\"},{\"type\":\"uint256\",\"name\":\"max_tokens\"},{\"type\":\"uint256\",\"name\":\"deadline\"}],\"constant\":false,\"payable\":true,\"type\":\"function\",\"gas\":82616},{\"name\":\"removeLiquidity\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"},{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"amount\"},{\"type\":\"uint256\",\"name\":\"min_eth\"},{\"type\":\"uint256\",\"name\":\"min_tokens\"},{\"type\":\"uint256\",\"name\":\"deadline\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":116814},{\"name\":\"__default__\",\"outputs\":[],\"inputs\":[],\"constant\":false,\"payable\":true,\"type\":\"function\"},{\"name\":\"ethToTokenSwapInput\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"min_tokens\"},{\"type\":\"uint256\",\"name\":\"deadline\"}],\"constant\":false,\"payable\":true,\"type\":\"function\",\"gas\":12757},{\"name\":\"ethToTokenTransferInput\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"min_tokens\"},{\"type\":\"uint256\",\"name\":\"deadline\"},{\"type\":\"address\",\"name\":\"recipient\"}],\"constant\":false,\"payable\":true,\"type\":\"function\",\"gas\":12965},{\"name\":\"ethToTokenSwapOutput\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"tokens_bought\"},{\"type\":\"uint256\",\"name\":\"deadline\"}],\"constant\":false,\"payable\":true,\"type\":\"function\",\"gas\":50463},{\"name\":\"ethToTokenTransferOutput\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"tokens_bought\"},{\"type\":\"uint256\",\"name\":\"deadline\"},{\"type\":\"address\",\"name\":\"recipient\"}],\"constant\":false,\"payable\":true,\"type\":\"function\",\"gas\":50671},{\"name\":\"tokenToEthSwapInput\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"tokens_sold\"},{\"type\":\"uint256\",\"name\":\"min_eth\"},{\"type\":\"uint256\",\"name\":\"deadline\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":47503},{\"name\":\"tokenToEthTransferInput\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"tokens_sold\"},{\"type\":\"uint256\",\"name\":\"min_eth\"},{\"type\":\"uint256\",\"name\":\"deadline\"},{\"type\":\"address\",\"name\":\"recipient\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":47712},{\"name\":\"tokenToEthSwapOutput\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"eth_bought\"},{\"type\":\"uint256\",\"name\":\"max_tokens\"},{\"type\":\"uint256\",\"name\":\"deadline\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":50175},{\"name\":\"tokenToEthTransferOutput\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"eth_bought\"},{\"type\":\"uint256\",\"name\":\"max_tokens\"},{\"type\":\"uint256\",\"name\":\"deadline\"},{\"type\":\"address\",\"name\":\"recipient\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":50384},{\"name\":\"tokenToTokenSwapInput\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"tokens_sold\"},{\"type\":\"uint256\",\"name\":\"min_tokens_bought\"},{\"type\":\"uint256\",\"name\":\"min_eth_bought\"},{\"type\":\"uint256\",\"name\":\"deadline\"},{\"type\":\"address\",\"name\":\"token_addr\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":51007},{\"name\":\"tokenToTokenTransferInput\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"tokens_sold\"},{\"type\":\"uint256\",\"name\":\"min_tokens_bought\"},{\"type\":\"uint256\",\"name\":\"min_eth_bought\"},{\"type\":\"uint256\",\"name\":\"deadline\"},{\"type\":\"address\",\"name\":\"recipient\"},{\"type\":\"address\",\"name\":\"token_addr\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":51098},{\"name\":\"tokenToTokenSwapOutput\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"tokens_bought\"},{\"type\":\"uint256\",\"name\":\"max_tokens_sold\"},{\"type\":\"uint256\",\"name\":\"max_eth_sold\"},{\"type\":\"uint256\",\"name\":\"deadline\"},{\"type\":\"address\",\"name\":\"token_addr\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":54928},{\"name\":\"tokenToTokenTransferOutput\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"tokens_bought\"},{\"type\":\"uint256\",\"name\":\"max_tokens_sold\"},{\"type\":\"uint256\",\"name\":\"max_eth_sold\"},{\"type\":\"uint256\",\"name\":\"deadline\"},{\"type\":\"address\",\"name\":\"recipient\"},{\"type\":\"address\",\"name\":\"token_addr\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":55019},{\"name\":\"tokenToExchangeSwapInput\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"tokens_sold\"},{\"type\":\"uint256\",\"name\":\"min_tokens_bought\"},{\"type\":\"uint256\",\"name\":\"min_eth_bought\"},{\"type\":\"uint256\",\"name\":\"deadline\"},{\"type\":\"address\",\"name\":\"exchange_addr\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":49342},{\"name\":\"tokenToExchangeTransferInput\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"tokens_sold\"},{\"type\":\"uint256\",\"name\":\"min_tokens_bought\"},{\"type\":\"uint256\",\"name\":\"min_eth_bought\"},{\"type\":\"uint256\",\"name\":\"deadline\"},{\"type\":\"address\",\"name\":\"recipient\"},{\"type\":\"address\",\"name\":\"exchange_addr\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":49532},{\"name\":\"tokenToExchangeSwapOutput\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"tokens_bought\"},{\"type\":\"uint256\",\"name\":\"max_tokens_sold\"},{\"type\":\"uint256\",\"name\":\"max_eth_sold\"},{\"type\":\"uint256\",\"name\":\"deadline\"},{\"type\":\"address\",\"name\":\"exchange_addr\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":53233},{\"name\":\"tokenToExchangeTransferOutput\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"tokens_bought\"},{\"type\":\"uint256\",\"name\":\"max_tokens_sold\"},{\"type\":\"uint256\",\"name\":\"max_eth_sold\"},{\"type\":\"uint256\",\"name\":\"deadline\"},{\"type\":\"address\",\"name\":\"recipient\"},{\"type\":\"address\",\"name\":\"exchange_addr\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":53423},{\"name\":\"getEthToTokenInputPrice\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"eth_sold\"}],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":5542},{\"name\":\"getEthToTokenOutputPrice\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"tokens_bought\"}],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":6872},{\"name\":\"getTokenToEthInputPrice\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"tokens_sold\"}],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":5637},{\"name\":\"getTokenToEthOutputPrice\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"eth_bought\"}],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":6897},{\"name\":\"tokenAddress\",\"outputs\":[{\"type\":\"address\",\"name\":\"out\"}],\"inputs\":[],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":1413},{\"name\":\"factoryAddress\",\"outputs\":[{\"type\":\"address\",\"name\":\"out\"}],\"inputs\":[],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":1443},{\"name\":\"balanceOf\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_owner\"}],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":1645},{\"name\":\"transfer\",\"outputs\":[{\"type\":\"bool\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_to\"},{\"type\":\"uint256\",\"name\":\"_value\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":75034},{\"name\":\"transferFrom\",\"outputs\":[{\"type\":\"bool\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_from\"},{\"type\":\"address\",\"name\":\"_to\"},{\"type\":\"uint256\",\"name\":\"_value\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":110907},{\"name\":\"approve\",\"outputs\":[{\"type\":\"bool\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_spender\"},{\"type\":\"uint256\",\"name\":\"_value\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":38769},{\"name\":\"allowance\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"_owner\"},{\"type\":\"address\",\"name\":\"_spender\"}],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":1925},{\"name\":\"name\",\"outputs\":[{\"type\":\"bytes32\",\"name\":\"out\"}],\"inputs\":[],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":1623},{\"name\":\"symbol\",\"outputs\":[{\"type\":\"bytes32\",\"name\":\"out\"}],\"inputs\":[],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":1653},{\"name\":\"decimals\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":1683},{\"name\":\"totalSupply\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":1713}]",
}
V1ExchangeMetaData contains all meta data concerning the V1Exchange contract.
var V1FactoryABI = V1FactoryMetaData.ABI
V1FactoryABI is the input ABI used to generate the binding from. Deprecated: Use V1FactoryMetaData.ABI instead.
var V1FactoryMetaData = &bind.MetaData{
ABI: "[{\"name\":\"NewExchange\",\"inputs\":[{\"type\":\"address\",\"name\":\"token\",\"indexed\":true},{\"type\":\"address\",\"name\":\"exchange\",\"indexed\":true}],\"anonymous\":false,\"type\":\"event\"},{\"name\":\"initializeFactory\",\"outputs\":[],\"inputs\":[{\"type\":\"address\",\"name\":\"template\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":35725},{\"name\":\"createExchange\",\"outputs\":[{\"type\":\"address\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"token\"}],\"constant\":false,\"payable\":false,\"type\":\"function\",\"gas\":187911},{\"name\":\"getExchange\",\"outputs\":[{\"type\":\"address\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"token\"}],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":715},{\"name\":\"getToken\",\"outputs\":[{\"type\":\"address\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"address\",\"name\":\"exchange\"}],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":745},{\"name\":\"getTokenWithId\",\"outputs\":[{\"type\":\"address\",\"name\":\"out\"}],\"inputs\":[{\"type\":\"uint256\",\"name\":\"token_id\"}],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":736},{\"name\":\"exchangeTemplate\",\"outputs\":[{\"type\":\"address\",\"name\":\"out\"}],\"inputs\":[],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":633},{\"name\":\"tokenCount\",\"outputs\":[{\"type\":\"uint256\",\"name\":\"out\"}],\"inputs\":[],\"constant\":true,\"payable\":false,\"type\":\"function\",\"gas\":663}]",
}
V1FactoryMetaData contains all meta data concerning the V1Factory contract.
var V2FactoryABI = V2FactoryMetaData.ABI
V2FactoryABI is the input ABI used to generate the binding from. Deprecated: Use V2FactoryMetaData.ABI instead.
var V2FactoryMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeToSetter\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"PairCreated\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"allPairs\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"allPairsLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"}],\"name\":\"createPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pair\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"feeTo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"feeToSetter\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"getPair\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeTo\",\"type\":\"address\"}],\"name\":\"setFeeTo\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeToSetter\",\"type\":\"address\"}],\"name\":\"setFeeToSetter\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
V2FactoryMetaData contains all meta data concerning the V2Factory contract.
var V2PairABI = V2PairMetaData.ABI
V2PairABI is the input ABI used to generate the binding from. Deprecated: Use V2PairMetaData.ABI instead.
var V2PairMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0Out\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1Out\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint112\",\"name\":\"reserve0\",\"type\":\"uint112\"},{\"indexed\":false,\"internalType\":\"uint112\",\"name\":\"reserve1\",\"type\":\"uint112\"}],\"name\":\"Sync\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"constant\":true,\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"MINIMUM_LIQUIDITY\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getReserves\",\"outputs\":[{\"internalType\":\"uint112\",\"name\":\"_reserve0\",\"type\":\"uint112\"},{\"internalType\":\"uint112\",\"name\":\"_reserve1\",\"type\":\"uint112\"},{\"internalType\":\"uint32\",\"name\":\"_blockTimestampLast\",\"type\":\"uint32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token1\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"kLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"liquidity\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"price0CumulativeLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"price1CumulativeLast\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"skim\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0Out\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Out\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"sync\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"token0\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"token1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
V2PairMetaData contains all meta data concerning the V2Pair contract.
var V3FactoryABI = V3FactoryMetaData.ABI
V3FactoryABI is the input ABI used to generate the binding from. Deprecated: Use V3FactoryMetaData.ABI instead.
var V3FactoryMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"name\":\"FeeAmountEnabled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnerChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"name\":\"PoolCreated\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"tokenA\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"tokenB\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"}],\"name\":\"createPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"pool\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"name\":\"enableFeeAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"name\":\"feeAmountTickSpacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"name\":\"getPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"parameters\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"factory\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token0\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"token1\",\"type\":\"address\"},{\"internalType\":\"uint24\",\"name\":\"fee\",\"type\":\"uint24\"},{\"internalType\":\"int24\",\"name\":\"tickSpacing\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"}],\"name\":\"setOwner\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
V3FactoryMetaData contains all meta data concerning the V3Factory contract.
var V3PoolABI = V3PoolMetaData.ABI
V3PoolABI is the input ABI used to generate the binding from. Deprecated: Use V3PoolMetaData.ABI instead.
var V3PoolMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"name\":\"Collect\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"name\":\"CollectProtocol\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"paid0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"paid1\",\"type\":\"uint256\"}],\"name\":\"Flash\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"observationCardinalityNextOld\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"observationCardinalityNextNew\",\"type\":\"uint16\"}],\"name\":\"IncreaseObservationCardinalityNext\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"Initialize\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"indexed\":true,\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol0Old\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol1Old\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol0New\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"feeProtocol1New\",\"type\":\"uint8\"}],\"name\":\"SetFeeProtocol\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"},{\"indexed\":false,\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"amount0Requested\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1Requested\",\"type\":\"uint128\"}],\"name\":\"collect\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint128\",\"name\":\"amount0Requested\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1Requested\",\"type\":\"uint128\"}],\"name\":\"collectProtocol\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"amount0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"amount1\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fee\",\"outputs\":[{\"internalType\":\"uint24\",\"name\":\"\",\"type\":\"uint24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeGrowthGlobal0X128\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeGrowthGlobal1X128\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"flash\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"observationCardinalityNext\",\"type\":\"uint16\"}],\"name\":\"increaseObservationCardinalityNext\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"liquidity\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"maxLiquidityPerTick\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"},{\"internalType\":\"uint128\",\"name\":\"amount\",\"type\":\"uint128\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"observations\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"blockTimestamp\",\"type\":\"uint32\"},{\"internalType\":\"int56\",\"name\":\"tickCumulative\",\"type\":\"int56\"},{\"internalType\":\"uint160\",\"name\":\"secondsPerLiquidityCumulativeX128\",\"type\":\"uint160\"},{\"internalType\":\"bool\",\"name\":\"initialized\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint32[]\",\"name\":\"secondsAgos\",\"type\":\"uint32[]\"}],\"name\":\"observe\",\"outputs\":[{\"internalType\":\"int56[]\",\"name\":\"tickCumulatives\",\"type\":\"int56[]\"},{\"internalType\":\"uint160[]\",\"name\":\"secondsPerLiquidityCumulativeX128s\",\"type\":\"uint160[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"positions\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidity\",\"type\":\"uint128\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthInside0LastX128\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthInside1LastX128\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"tokensOwed0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"tokensOwed1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFees\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"token0\",\"type\":\"uint128\"},{\"internalType\":\"uint128\",\"name\":\"token1\",\"type\":\"uint128\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"feeProtocol0\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"feeProtocol1\",\"type\":\"uint8\"}],\"name\":\"setFeeProtocol\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"slot0\",\"outputs\":[{\"internalType\":\"uint160\",\"name\":\"sqrtPriceX96\",\"type\":\"uint160\"},{\"internalType\":\"int24\",\"name\":\"tick\",\"type\":\"int24\"},{\"internalType\":\"uint16\",\"name\":\"observationIndex\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"observationCardinality\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"observationCardinalityNext\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"feeProtocol\",\"type\":\"uint8\"},{\"internalType\":\"bool\",\"name\":\"unlocked\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"tickLower\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"tickUpper\",\"type\":\"int24\"}],\"name\":\"snapshotCumulativesInside\",\"outputs\":[{\"internalType\":\"int56\",\"name\":\"tickCumulativeInside\",\"type\":\"int56\"},{\"internalType\":\"uint160\",\"name\":\"secondsPerLiquidityInsideX128\",\"type\":\"uint160\"},{\"internalType\":\"uint32\",\"name\":\"secondsInside\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"zeroForOne\",\"type\":\"bool\"},{\"internalType\":\"int256\",\"name\":\"amountSpecified\",\"type\":\"int256\"},{\"internalType\":\"uint160\",\"name\":\"sqrtPriceLimitX96\",\"type\":\"uint160\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"swap\",\"outputs\":[{\"internalType\":\"int256\",\"name\":\"amount0\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1\",\"type\":\"int256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int16\",\"name\":\"\",\"type\":\"int16\"}],\"name\":\"tickBitmap\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"tickSpacing\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"name\":\"ticks\",\"outputs\":[{\"internalType\":\"uint128\",\"name\":\"liquidityGross\",\"type\":\"uint128\"},{\"internalType\":\"int128\",\"name\":\"liquidityNet\",\"type\":\"int128\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthOutside0X128\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeGrowthOutside1X128\",\"type\":\"uint256\"},{\"internalType\":\"int56\",\"name\":\"tickCumulativeOutside\",\"type\":\"int56\"},{\"internalType\":\"uint160\",\"name\":\"secondsPerLiquidityOutsideX128\",\"type\":\"uint160\"},{\"internalType\":\"uint32\",\"name\":\"secondsOutside\",\"type\":\"uint32\"},{\"internalType\":\"bool\",\"name\":\"initialized\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token0\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token1\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
V3PoolMetaData contains all meta data concerning the V3Pool contract.
Functions ¶
This section is empty.
Types ¶
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 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 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 NonfungiblePositionManager ¶
type NonfungiblePositionManager struct { NonfungiblePositionManagerCaller // Read-only binding to the contract NonfungiblePositionManagerTransactor // Write-only binding to the contract NonfungiblePositionManagerFilterer // Log filterer for contract events }
NonfungiblePositionManager is an auto generated Go binding around an Ethereum contract.
func NewNonfungiblePositionManager ¶
func NewNonfungiblePositionManager(address common.Address, backend bind.ContractBackend) (*NonfungiblePositionManager, error)
NewNonfungiblePositionManager creates a new instance of NonfungiblePositionManager, bound to a specific deployed contract.
type NonfungiblePositionManagerApproval ¶
type NonfungiblePositionManagerApproval struct { Owner common.Address Approved common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
NonfungiblePositionManagerApproval represents a Approval event raised by the NonfungiblePositionManager contract.
type NonfungiblePositionManagerApprovalForAll ¶
type NonfungiblePositionManagerApprovalForAll struct { Owner common.Address Operator common.Address Approved bool Raw types.Log // Blockchain specific contextual infos }
NonfungiblePositionManagerApprovalForAll represents a ApprovalForAll event raised by the NonfungiblePositionManager contract.
type NonfungiblePositionManagerApprovalForAllIterator ¶
type NonfungiblePositionManagerApprovalForAllIterator struct { Event *NonfungiblePositionManagerApprovalForAll // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NonfungiblePositionManagerApprovalForAllIterator is returned from FilterApprovalForAll and is used to iterate over the raw logs and unpacked data for ApprovalForAll events raised by the NonfungiblePositionManager contract.
func (*NonfungiblePositionManagerApprovalForAllIterator) Close ¶
func (it *NonfungiblePositionManagerApprovalForAllIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NonfungiblePositionManagerApprovalForAllIterator) Error ¶
func (it *NonfungiblePositionManagerApprovalForAllIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NonfungiblePositionManagerApprovalForAllIterator) Next ¶
func (it *NonfungiblePositionManagerApprovalForAllIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type NonfungiblePositionManagerApprovalIterator ¶
type NonfungiblePositionManagerApprovalIterator struct { Event *NonfungiblePositionManagerApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NonfungiblePositionManagerApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the NonfungiblePositionManager contract.
func (*NonfungiblePositionManagerApprovalIterator) Close ¶
func (it *NonfungiblePositionManagerApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NonfungiblePositionManagerApprovalIterator) Error ¶
func (it *NonfungiblePositionManagerApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NonfungiblePositionManagerApprovalIterator) Next ¶
func (it *NonfungiblePositionManagerApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type NonfungiblePositionManagerCaller ¶
type NonfungiblePositionManagerCaller struct {
// contains filtered or unexported fields
}
NonfungiblePositionManagerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewNonfungiblePositionManagerCaller ¶
func NewNonfungiblePositionManagerCaller(address common.Address, caller bind.ContractCaller) (*NonfungiblePositionManagerCaller, error)
NewNonfungiblePositionManagerCaller creates a new read-only instance of NonfungiblePositionManager, bound to a specific deployed contract.
func (*NonfungiblePositionManagerCaller) BalanceOf ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) BalanceOf(opts *bind.CallOpts, owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*NonfungiblePositionManagerCaller) BaseURI ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) BaseURI(opts *bind.CallOpts) (string, error)
BaseURI is a free data retrieval call binding the contract method 0x6c0360eb.
Solidity: function baseURI() pure returns(string)
func (*NonfungiblePositionManagerCaller) DOMAINSEPARATOR ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*NonfungiblePositionManagerCaller) Factory ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) Factory(opts *bind.CallOpts) (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*NonfungiblePositionManagerCaller) GetApproved ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) GetApproved(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*NonfungiblePositionManagerCaller) IsApprovedForAll ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) IsApprovedForAll(opts *bind.CallOpts, owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*NonfungiblePositionManagerCaller) Name ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*NonfungiblePositionManagerCaller) OwnerOf ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) OwnerOf(opts *bind.CallOpts, tokenId *big.Int) (common.Address, error)
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*NonfungiblePositionManagerCaller) PERMITTYPEHASH ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*NonfungiblePositionManagerCaller) Positions ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) 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)
func (*NonfungiblePositionManagerCaller) SupportsInterface ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*NonfungiblePositionManagerCaller) Symbol ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*NonfungiblePositionManagerCaller) TokenByIndex ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) TokenByIndex(opts *bind.CallOpts, index *big.Int) (*big.Int, error)
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*NonfungiblePositionManagerCaller) TokenOfOwnerByIndex ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) TokenOfOwnerByIndex(opts *bind.CallOpts, owner common.Address, index *big.Int) (*big.Int, error)
TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.
Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)
func (*NonfungiblePositionManagerCaller) TokenURI ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) TokenURI(opts *bind.CallOpts, tokenId *big.Int) (string, error)
TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
Solidity: function tokenURI(uint256 tokenId) view returns(string)
func (*NonfungiblePositionManagerCaller) TotalSupply ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type NonfungiblePositionManagerCallerRaw ¶
type NonfungiblePositionManagerCallerRaw struct {
Contract *NonfungiblePositionManagerCaller // Generic read-only contract binding to access the raw methods on
}
NonfungiblePositionManagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*NonfungiblePositionManagerCallerRaw) Call ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerRaw) 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 NonfungiblePositionManagerCallerSession ¶
type NonfungiblePositionManagerCallerSession struct { Contract *NonfungiblePositionManagerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
NonfungiblePositionManagerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*NonfungiblePositionManagerCallerSession) BalanceOf ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) BalanceOf(owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*NonfungiblePositionManagerCallerSession) BaseURI ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) BaseURI() (string, error)
BaseURI is a free data retrieval call binding the contract method 0x6c0360eb.
Solidity: function baseURI() pure returns(string)
func (*NonfungiblePositionManagerCallerSession) DOMAINSEPARATOR ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*NonfungiblePositionManagerCallerSession) Factory ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*NonfungiblePositionManagerCallerSession) GetApproved ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) GetApproved(tokenId *big.Int) (common.Address, error)
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*NonfungiblePositionManagerCallerSession) IsApprovedForAll ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*NonfungiblePositionManagerCallerSession) Name ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*NonfungiblePositionManagerCallerSession) OwnerOf ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*NonfungiblePositionManagerCallerSession) PERMITTYPEHASH ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*NonfungiblePositionManagerCallerSession) Positions ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) 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)
func (*NonfungiblePositionManagerCallerSession) SupportsInterface ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*NonfungiblePositionManagerCallerSession) Symbol ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*NonfungiblePositionManagerCallerSession) TokenByIndex ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) TokenByIndex(index *big.Int) (*big.Int, error)
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*NonfungiblePositionManagerCallerSession) TokenOfOwnerByIndex ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.
Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)
func (*NonfungiblePositionManagerCallerSession) TokenURI ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) TokenURI(tokenId *big.Int) (string, error)
TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
Solidity: function tokenURI(uint256 tokenId) view returns(string)
func (*NonfungiblePositionManagerCallerSession) TotalSupply ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type NonfungiblePositionManagerCollect ¶
type NonfungiblePositionManagerCollect struct { TokenId *big.Int Recipient common.Address Amount0 *big.Int Amount1 *big.Int Raw types.Log // Blockchain specific contextual infos }
NonfungiblePositionManagerCollect represents a Collect event raised by the NonfungiblePositionManager contract.
type NonfungiblePositionManagerCollectIterator ¶
type NonfungiblePositionManagerCollectIterator struct { Event *NonfungiblePositionManagerCollect // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NonfungiblePositionManagerCollectIterator is returned from FilterCollect and is used to iterate over the raw logs and unpacked data for Collect events raised by the NonfungiblePositionManager contract.
func (*NonfungiblePositionManagerCollectIterator) Close ¶
func (it *NonfungiblePositionManagerCollectIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NonfungiblePositionManagerCollectIterator) Error ¶
func (it *NonfungiblePositionManagerCollectIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NonfungiblePositionManagerCollectIterator) Next ¶
func (it *NonfungiblePositionManagerCollectIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type NonfungiblePositionManagerDecreaseLiquidity ¶
type NonfungiblePositionManagerDecreaseLiquidity struct { TokenId *big.Int Liquidity *big.Int Amount0 *big.Int Amount1 *big.Int Raw types.Log // Blockchain specific contextual infos }
NonfungiblePositionManagerDecreaseLiquidity represents a DecreaseLiquidity event raised by the NonfungiblePositionManager contract.
type NonfungiblePositionManagerDecreaseLiquidityIterator ¶
type NonfungiblePositionManagerDecreaseLiquidityIterator struct { Event *NonfungiblePositionManagerDecreaseLiquidity // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NonfungiblePositionManagerDecreaseLiquidityIterator is returned from FilterDecreaseLiquidity and is used to iterate over the raw logs and unpacked data for DecreaseLiquidity events raised by the NonfungiblePositionManager contract.
func (*NonfungiblePositionManagerDecreaseLiquidityIterator) Close ¶
func (it *NonfungiblePositionManagerDecreaseLiquidityIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NonfungiblePositionManagerDecreaseLiquidityIterator) Error ¶
func (it *NonfungiblePositionManagerDecreaseLiquidityIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NonfungiblePositionManagerDecreaseLiquidityIterator) Next ¶
func (it *NonfungiblePositionManagerDecreaseLiquidityIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type NonfungiblePositionManagerFilterer ¶
type NonfungiblePositionManagerFilterer struct {
// contains filtered or unexported fields
}
NonfungiblePositionManagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewNonfungiblePositionManagerFilterer ¶
func NewNonfungiblePositionManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*NonfungiblePositionManagerFilterer, error)
NewNonfungiblePositionManagerFilterer creates a new log filterer instance of NonfungiblePositionManager, bound to a specific deployed contract.
func (*NonfungiblePositionManagerFilterer) FilterApproval ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, approved []common.Address, tokenId []*big.Int) (*NonfungiblePositionManagerApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*NonfungiblePositionManagerFilterer) FilterApprovalForAll ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) FilterApprovalForAll(opts *bind.FilterOpts, owner []common.Address, operator []common.Address) (*NonfungiblePositionManagerApprovalForAllIterator, error)
FilterApprovalForAll is a free log retrieval operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*NonfungiblePositionManagerFilterer) FilterCollect ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) FilterCollect(opts *bind.FilterOpts, tokenId []*big.Int) (*NonfungiblePositionManagerCollectIterator, 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 (*NonfungiblePositionManagerFilterer) FilterDecreaseLiquidity ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) FilterDecreaseLiquidity(opts *bind.FilterOpts, tokenId []*big.Int) (*NonfungiblePositionManagerDecreaseLiquidityIterator, 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 (*NonfungiblePositionManagerFilterer) FilterIncreaseLiquidity ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) FilterIncreaseLiquidity(opts *bind.FilterOpts, tokenId []*big.Int) (*NonfungiblePositionManagerIncreaseLiquidityIterator, 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 (*NonfungiblePositionManagerFilterer) FilterTransfer ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address, tokenId []*big.Int) (*NonfungiblePositionManagerTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
func (*NonfungiblePositionManagerFilterer) ParseApproval ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) ParseApproval(log types.Log) (*NonfungiblePositionManagerApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*NonfungiblePositionManagerFilterer) ParseApprovalForAll ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) ParseApprovalForAll(log types.Log) (*NonfungiblePositionManagerApprovalForAll, error)
ParseApprovalForAll is a log parse operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*NonfungiblePositionManagerFilterer) ParseCollect ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) ParseCollect(log types.Log) (*NonfungiblePositionManagerCollect, 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 (*NonfungiblePositionManagerFilterer) ParseDecreaseLiquidity ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) ParseDecreaseLiquidity(log types.Log) (*NonfungiblePositionManagerDecreaseLiquidity, 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 (*NonfungiblePositionManagerFilterer) ParseIncreaseLiquidity ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) ParseIncreaseLiquidity(log types.Log) (*NonfungiblePositionManagerIncreaseLiquidity, 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 (*NonfungiblePositionManagerFilterer) ParseTransfer ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) ParseTransfer(log types.Log) (*NonfungiblePositionManagerTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
func (*NonfungiblePositionManagerFilterer) WatchApproval ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *NonfungiblePositionManagerApproval, owner []common.Address, approved []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId)
func (*NonfungiblePositionManagerFilterer) WatchApprovalForAll ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) WatchApprovalForAll(opts *bind.WatchOpts, sink chan<- *NonfungiblePositionManagerApprovalForAll, owner []common.Address, operator []common.Address) (event.Subscription, error)
WatchApprovalForAll is a free log subscription operation binding the contract event 0x17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31.
Solidity: event ApprovalForAll(address indexed owner, address indexed operator, bool approved)
func (*NonfungiblePositionManagerFilterer) WatchCollect ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) WatchCollect(opts *bind.WatchOpts, sink chan<- *NonfungiblePositionManagerCollect, 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 (*NonfungiblePositionManagerFilterer) WatchDecreaseLiquidity ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) WatchDecreaseLiquidity(opts *bind.WatchOpts, sink chan<- *NonfungiblePositionManagerDecreaseLiquidity, 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 (*NonfungiblePositionManagerFilterer) WatchIncreaseLiquidity ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) WatchIncreaseLiquidity(opts *bind.WatchOpts, sink chan<- *NonfungiblePositionManagerIncreaseLiquidity, 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)
func (*NonfungiblePositionManagerFilterer) WatchTransfer ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *NonfungiblePositionManagerTransfer, from []common.Address, to []common.Address, tokenId []*big.Int) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 indexed tokenId)
type NonfungiblePositionManagerIncreaseLiquidity ¶
type NonfungiblePositionManagerIncreaseLiquidity struct { TokenId *big.Int Liquidity *big.Int Amount0 *big.Int Amount1 *big.Int Raw types.Log // Blockchain specific contextual infos }
NonfungiblePositionManagerIncreaseLiquidity represents a IncreaseLiquidity event raised by the NonfungiblePositionManager contract.
type NonfungiblePositionManagerIncreaseLiquidityIterator ¶
type NonfungiblePositionManagerIncreaseLiquidityIterator struct { Event *NonfungiblePositionManagerIncreaseLiquidity // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NonfungiblePositionManagerIncreaseLiquidityIterator is returned from FilterIncreaseLiquidity and is used to iterate over the raw logs and unpacked data for IncreaseLiquidity events raised by the NonfungiblePositionManager contract.
func (*NonfungiblePositionManagerIncreaseLiquidityIterator) Close ¶
func (it *NonfungiblePositionManagerIncreaseLiquidityIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NonfungiblePositionManagerIncreaseLiquidityIterator) Error ¶
func (it *NonfungiblePositionManagerIncreaseLiquidityIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NonfungiblePositionManagerIncreaseLiquidityIterator) Next ¶
func (it *NonfungiblePositionManagerIncreaseLiquidityIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type NonfungiblePositionManagerRaw ¶
type NonfungiblePositionManagerRaw struct {
Contract *NonfungiblePositionManager // Generic contract binding to access the raw methods on
}
NonfungiblePositionManagerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*NonfungiblePositionManagerRaw) Call ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerRaw) 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 (*NonfungiblePositionManagerRaw) Transact ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NonfungiblePositionManagerRaw) Transfer ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerRaw) 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 NonfungiblePositionManagerSession ¶
type NonfungiblePositionManagerSession struct { Contract *NonfungiblePositionManager // 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 }
NonfungiblePositionManagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*NonfungiblePositionManagerSession) Approve ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*NonfungiblePositionManagerSession) BalanceOf ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) BalanceOf(owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address owner) view returns(uint256)
func (*NonfungiblePositionManagerSession) BaseURI ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) BaseURI() (string, error)
BaseURI is a free data retrieval call binding the contract method 0x6c0360eb.
Solidity: function baseURI() pure returns(string)
func (*NonfungiblePositionManagerSession) Burn ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) 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 (*NonfungiblePositionManagerSession) Collect ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Collect(params INonfungiblePositionManagerCollectParams) (*types.Transaction, error)
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 (*NonfungiblePositionManagerSession) CreateAndInitializePoolIfNecessary ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) 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)
func (*NonfungiblePositionManagerSession) DOMAINSEPARATOR ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*NonfungiblePositionManagerSession) DecreaseLiquidity ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) 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 (*NonfungiblePositionManagerSession) Factory ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*NonfungiblePositionManagerSession) GetApproved ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) GetApproved(tokenId *big.Int) (common.Address, error)
GetApproved is a free data retrieval call binding the contract method 0x081812fc.
Solidity: function getApproved(uint256 tokenId) view returns(address)
func (*NonfungiblePositionManagerSession) IncreaseLiquidity ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) 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 (*NonfungiblePositionManagerSession) IsApprovedForAll ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) IsApprovedForAll(owner common.Address, operator common.Address) (bool, error)
IsApprovedForAll is a free data retrieval call binding the contract method 0xe985e9c5.
Solidity: function isApprovedForAll(address owner, address operator) view returns(bool)
func (*NonfungiblePositionManagerSession) Mint ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Mint(params INonfungiblePositionManagerMintParams) (*types.Transaction, error)
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 (*NonfungiblePositionManagerSession) Multicall ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Multicall(data [][]byte) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0xac9650d8.
Solidity: function multicall(bytes[] data) payable returns(bytes[] results)
func (*NonfungiblePositionManagerSession) Name ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*NonfungiblePositionManagerSession) OwnerOf ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) OwnerOf(tokenId *big.Int) (common.Address, error)
OwnerOf is a free data retrieval call binding the contract method 0x6352211e.
Solidity: function ownerOf(uint256 tokenId) view returns(address)
func (*NonfungiblePositionManagerSession) PERMITTYPEHASH ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*NonfungiblePositionManagerSession) Permit ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Permit(spender common.Address, tokenId *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0x7ac2ff7b.
Solidity: function permit(address spender, uint256 tokenId, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*NonfungiblePositionManagerSession) Positions ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) 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)
func (*NonfungiblePositionManagerSession) Receive ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*NonfungiblePositionManagerSession) RefundETH ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) RefundETH() (*types.Transaction, error)
RefundETH is a paid mutator transaction binding the contract method 0x12210e8a.
Solidity: function refundETH() payable returns()
func (*NonfungiblePositionManagerSession) SafeTransferFrom ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*NonfungiblePositionManagerSession) SafeTransferFrom0 ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()
func (*NonfungiblePositionManagerSession) SelfPermit ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SelfPermit(token common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SelfPermit is a paid mutator transaction binding the contract method 0xf3995c67.
Solidity: function selfPermit(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*NonfungiblePositionManagerSession) SelfPermitAllowed ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SelfPermitAllowed(token common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SelfPermitAllowed is a paid mutator transaction binding the contract method 0x4659a494.
Solidity: function selfPermitAllowed(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*NonfungiblePositionManagerSession) SelfPermitAllowedIfNecessary ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SelfPermitAllowedIfNecessary(token common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SelfPermitAllowedIfNecessary is a paid mutator transaction binding the contract method 0xa4a78f0c.
Solidity: function selfPermitAllowedIfNecessary(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*NonfungiblePositionManagerSession) SelfPermitIfNecessary ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SelfPermitIfNecessary(token common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SelfPermitIfNecessary is a paid mutator transaction binding the contract method 0xc2e3140a.
Solidity: function selfPermitIfNecessary(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*NonfungiblePositionManagerSession) SetApprovalForAll ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*NonfungiblePositionManagerSession) SupportsInterface ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SupportsInterface(interfaceId [4]byte) (bool, error)
SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.
Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)
func (*NonfungiblePositionManagerSession) SweepToken ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) SweepToken(token common.Address, amountMinimum *big.Int, recipient common.Address) (*types.Transaction, error)
SweepToken is a paid mutator transaction binding the contract method 0xdf2ab5bb.
Solidity: function sweepToken(address token, uint256 amountMinimum, address recipient) payable returns()
func (*NonfungiblePositionManagerSession) Symbol ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*NonfungiblePositionManagerSession) TokenByIndex ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) TokenByIndex(index *big.Int) (*big.Int, error)
TokenByIndex is a free data retrieval call binding the contract method 0x4f6ccce7.
Solidity: function tokenByIndex(uint256 index) view returns(uint256)
func (*NonfungiblePositionManagerSession) TokenOfOwnerByIndex ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) TokenOfOwnerByIndex(owner common.Address, index *big.Int) (*big.Int, error)
TokenOfOwnerByIndex is a free data retrieval call binding the contract method 0x2f745c59.
Solidity: function tokenOfOwnerByIndex(address owner, uint256 index) view returns(uint256)
func (*NonfungiblePositionManagerSession) TokenURI ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) TokenURI(tokenId *big.Int) (string, error)
TokenURI is a free data retrieval call binding the contract method 0xc87b56dd.
Solidity: function tokenURI(uint256 tokenId) view returns(string)
func (*NonfungiblePositionManagerSession) TotalSupply ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*NonfungiblePositionManagerSession) TransferFrom ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
func (*NonfungiblePositionManagerSession) UniswapV3MintCallback ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) UniswapV3MintCallback(amount0Owed *big.Int, amount1Owed *big.Int, data []byte) (*types.Transaction, error)
UniswapV3MintCallback is a paid mutator transaction binding the contract method 0xd3487997.
Solidity: function uniswapV3MintCallback(uint256 amount0Owed, uint256 amount1Owed, bytes data) returns()
func (*NonfungiblePositionManagerSession) UnwrapWETH9 ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerSession) UnwrapWETH9(amountMinimum *big.Int, recipient common.Address) (*types.Transaction, error)
UnwrapWETH9 is a paid mutator transaction binding the contract method 0x49404b7c.
Solidity: function unwrapWETH9(uint256 amountMinimum, address recipient) payable returns()
type NonfungiblePositionManagerTransactor ¶
type NonfungiblePositionManagerTransactor struct {
// contains filtered or unexported fields
}
NonfungiblePositionManagerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewNonfungiblePositionManagerTransactor ¶
func NewNonfungiblePositionManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*NonfungiblePositionManagerTransactor, error)
NewNonfungiblePositionManagerTransactor creates a new write-only instance of NonfungiblePositionManager, bound to a specific deployed contract.
func (*NonfungiblePositionManagerTransactor) Approve ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) Approve(opts *bind.TransactOpts, to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*NonfungiblePositionManagerTransactor) Burn ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) 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 (*NonfungiblePositionManagerTransactor) Collect ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) Collect(opts *bind.TransactOpts, params INonfungiblePositionManagerCollectParams) (*types.Transaction, error)
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 (*NonfungiblePositionManagerTransactor) CreateAndInitializePoolIfNecessary ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) 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)
func (*NonfungiblePositionManagerTransactor) DecreaseLiquidity ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) DecreaseLiquidity(opts *bind.TransactOpts, 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 (*NonfungiblePositionManagerTransactor) IncreaseLiquidity ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) IncreaseLiquidity(opts *bind.TransactOpts, 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 (*NonfungiblePositionManagerTransactor) Mint ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) Mint(opts *bind.TransactOpts, params INonfungiblePositionManagerMintParams) (*types.Transaction, error)
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 (*NonfungiblePositionManagerTransactor) Multicall ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) Multicall(opts *bind.TransactOpts, data [][]byte) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0xac9650d8.
Solidity: function multicall(bytes[] data) payable returns(bytes[] results)
func (*NonfungiblePositionManagerTransactor) Permit ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) Permit(opts *bind.TransactOpts, spender common.Address, tokenId *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0x7ac2ff7b.
Solidity: function permit(address spender, uint256 tokenId, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*NonfungiblePositionManagerTransactor) Receive ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*NonfungiblePositionManagerTransactor) RefundETH ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) RefundETH(opts *bind.TransactOpts) (*types.Transaction, error)
RefundETH is a paid mutator transaction binding the contract method 0x12210e8a.
Solidity: function refundETH() payable returns()
func (*NonfungiblePositionManagerTransactor) SafeTransferFrom ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) SafeTransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*NonfungiblePositionManagerTransactor) SafeTransferFrom0 ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) SafeTransferFrom0(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()
func (*NonfungiblePositionManagerTransactor) SelfPermit ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) SelfPermit(opts *bind.TransactOpts, token common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SelfPermit is a paid mutator transaction binding the contract method 0xf3995c67.
Solidity: function selfPermit(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*NonfungiblePositionManagerTransactor) SelfPermitAllowed ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) SelfPermitAllowed(opts *bind.TransactOpts, token common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SelfPermitAllowed is a paid mutator transaction binding the contract method 0x4659a494.
Solidity: function selfPermitAllowed(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*NonfungiblePositionManagerTransactor) SelfPermitAllowedIfNecessary ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) SelfPermitAllowedIfNecessary(opts *bind.TransactOpts, token common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SelfPermitAllowedIfNecessary is a paid mutator transaction binding the contract method 0xa4a78f0c.
Solidity: function selfPermitAllowedIfNecessary(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*NonfungiblePositionManagerTransactor) SelfPermitIfNecessary ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) SelfPermitIfNecessary(opts *bind.TransactOpts, token common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SelfPermitIfNecessary is a paid mutator transaction binding the contract method 0xc2e3140a.
Solidity: function selfPermitIfNecessary(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*NonfungiblePositionManagerTransactor) SetApprovalForAll ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) SetApprovalForAll(opts *bind.TransactOpts, operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*NonfungiblePositionManagerTransactor) SweepToken ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) SweepToken(opts *bind.TransactOpts, token common.Address, amountMinimum *big.Int, recipient common.Address) (*types.Transaction, error)
SweepToken is a paid mutator transaction binding the contract method 0xdf2ab5bb.
Solidity: function sweepToken(address token, uint256 amountMinimum, address recipient) payable returns()
func (*NonfungiblePositionManagerTransactor) TransferFrom ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
func (*NonfungiblePositionManagerTransactor) UniswapV3MintCallback ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) UniswapV3MintCallback(opts *bind.TransactOpts, amount0Owed *big.Int, amount1Owed *big.Int, data []byte) (*types.Transaction, error)
UniswapV3MintCallback is a paid mutator transaction binding the contract method 0xd3487997.
Solidity: function uniswapV3MintCallback(uint256 amount0Owed, uint256 amount1Owed, bytes data) returns()
func (*NonfungiblePositionManagerTransactor) UnwrapWETH9 ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactor) UnwrapWETH9(opts *bind.TransactOpts, amountMinimum *big.Int, recipient common.Address) (*types.Transaction, error)
UnwrapWETH9 is a paid mutator transaction binding the contract method 0x49404b7c.
Solidity: function unwrapWETH9(uint256 amountMinimum, address recipient) payable returns()
type NonfungiblePositionManagerTransactorRaw ¶
type NonfungiblePositionManagerTransactorRaw struct {
Contract *NonfungiblePositionManagerTransactor // Generic write-only contract binding to access the raw methods on
}
NonfungiblePositionManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*NonfungiblePositionManagerTransactorRaw) Transact ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NonfungiblePositionManagerTransactorRaw) Transfer ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorRaw) 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 NonfungiblePositionManagerTransactorSession ¶
type NonfungiblePositionManagerTransactorSession struct { Contract *NonfungiblePositionManagerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
NonfungiblePositionManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*NonfungiblePositionManagerTransactorSession) Approve ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) Approve(to common.Address, tokenId *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address to, uint256 tokenId) returns()
func (*NonfungiblePositionManagerTransactorSession) Burn ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) 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 (*NonfungiblePositionManagerTransactorSession) Collect ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) Collect(params INonfungiblePositionManagerCollectParams) (*types.Transaction, error)
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 (*NonfungiblePositionManagerTransactorSession) CreateAndInitializePoolIfNecessary ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) 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)
func (*NonfungiblePositionManagerTransactorSession) DecreaseLiquidity ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) 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 (*NonfungiblePositionManagerTransactorSession) IncreaseLiquidity ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) 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 (*NonfungiblePositionManagerTransactorSession) Mint ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) Mint(params INonfungiblePositionManagerMintParams) (*types.Transaction, error)
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 (*NonfungiblePositionManagerTransactorSession) Multicall ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) Multicall(data [][]byte) (*types.Transaction, error)
Multicall is a paid mutator transaction binding the contract method 0xac9650d8.
Solidity: function multicall(bytes[] data) payable returns(bytes[] results)
func (*NonfungiblePositionManagerTransactorSession) Permit ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) Permit(spender common.Address, tokenId *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0x7ac2ff7b.
Solidity: function permit(address spender, uint256 tokenId, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*NonfungiblePositionManagerTransactorSession) Receive ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) Receive() (*types.Transaction, error)
Receive is a paid mutator transaction binding the contract receive function.
Solidity: receive() payable returns()
func (*NonfungiblePositionManagerTransactorSession) RefundETH ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) RefundETH() (*types.Transaction, error)
RefundETH is a paid mutator transaction binding the contract method 0x12210e8a.
Solidity: function refundETH() payable returns()
func (*NonfungiblePositionManagerTransactorSession) SafeTransferFrom ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) SafeTransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
SafeTransferFrom is a paid mutator transaction binding the contract method 0x42842e0e.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId) returns()
func (*NonfungiblePositionManagerTransactorSession) SafeTransferFrom0 ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) SafeTransferFrom0(from common.Address, to common.Address, tokenId *big.Int, _data []byte) (*types.Transaction, error)
SafeTransferFrom0 is a paid mutator transaction binding the contract method 0xb88d4fde.
Solidity: function safeTransferFrom(address from, address to, uint256 tokenId, bytes _data) returns()
func (*NonfungiblePositionManagerTransactorSession) SelfPermit ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) SelfPermit(token common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SelfPermit is a paid mutator transaction binding the contract method 0xf3995c67.
Solidity: function selfPermit(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*NonfungiblePositionManagerTransactorSession) SelfPermitAllowed ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) SelfPermitAllowed(token common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SelfPermitAllowed is a paid mutator transaction binding the contract method 0x4659a494.
Solidity: function selfPermitAllowed(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*NonfungiblePositionManagerTransactorSession) SelfPermitAllowedIfNecessary ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) SelfPermitAllowedIfNecessary(token common.Address, nonce *big.Int, expiry *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SelfPermitAllowedIfNecessary is a paid mutator transaction binding the contract method 0xa4a78f0c.
Solidity: function selfPermitAllowedIfNecessary(address token, uint256 nonce, uint256 expiry, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*NonfungiblePositionManagerTransactorSession) SelfPermitIfNecessary ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) SelfPermitIfNecessary(token common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
SelfPermitIfNecessary is a paid mutator transaction binding the contract method 0xc2e3140a.
Solidity: function selfPermitIfNecessary(address token, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) payable returns()
func (*NonfungiblePositionManagerTransactorSession) SetApprovalForAll ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) SetApprovalForAll(operator common.Address, approved bool) (*types.Transaction, error)
SetApprovalForAll is a paid mutator transaction binding the contract method 0xa22cb465.
Solidity: function setApprovalForAll(address operator, bool approved) returns()
func (*NonfungiblePositionManagerTransactorSession) SweepToken ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) SweepToken(token common.Address, amountMinimum *big.Int, recipient common.Address) (*types.Transaction, error)
SweepToken is a paid mutator transaction binding the contract method 0xdf2ab5bb.
Solidity: function sweepToken(address token, uint256 amountMinimum, address recipient) payable returns()
func (*NonfungiblePositionManagerTransactorSession) TransferFrom ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) TransferFrom(from common.Address, to common.Address, tokenId *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 tokenId) returns()
func (*NonfungiblePositionManagerTransactorSession) UniswapV3MintCallback ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) UniswapV3MintCallback(amount0Owed *big.Int, amount1Owed *big.Int, data []byte) (*types.Transaction, error)
UniswapV3MintCallback is a paid mutator transaction binding the contract method 0xd3487997.
Solidity: function uniswapV3MintCallback(uint256 amount0Owed, uint256 amount1Owed, bytes data) returns()
func (*NonfungiblePositionManagerTransactorSession) UnwrapWETH9 ¶
func (_NonfungiblePositionManager *NonfungiblePositionManagerTransactorSession) UnwrapWETH9(amountMinimum *big.Int, recipient common.Address) (*types.Transaction, error)
UnwrapWETH9 is a paid mutator transaction binding the contract method 0x49404b7c.
Solidity: function unwrapWETH9(uint256 amountMinimum, address recipient) payable returns()
type NonfungiblePositionManagerTransfer ¶
type NonfungiblePositionManagerTransfer struct { From common.Address To common.Address TokenId *big.Int Raw types.Log // Blockchain specific contextual infos }
NonfungiblePositionManagerTransfer represents a Transfer event raised by the NonfungiblePositionManager contract.
type NonfungiblePositionManagerTransferIterator ¶
type NonfungiblePositionManagerTransferIterator struct { Event *NonfungiblePositionManagerTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NonfungiblePositionManagerTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the NonfungiblePositionManager contract.
func (*NonfungiblePositionManagerTransferIterator) Close ¶
func (it *NonfungiblePositionManagerTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NonfungiblePositionManagerTransferIterator) Error ¶
func (it *NonfungiblePositionManagerTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NonfungiblePositionManagerTransferIterator) Next ¶
func (it *NonfungiblePositionManagerTransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V1Exchange ¶
type V1Exchange struct { V1ExchangeCaller // Read-only binding to the contract V1ExchangeTransactor // Write-only binding to the contract V1ExchangeFilterer // Log filterer for contract events }
V1Exchange is an auto generated Go binding around an Ethereum contract.
func NewV1Exchange ¶
func NewV1Exchange(address common.Address, backend bind.ContractBackend) (*V1Exchange, error)
NewV1Exchange creates a new instance of V1Exchange, bound to a specific deployed contract.
type V1ExchangeAddLiquidity ¶
type V1ExchangeAddLiquidity struct { Provider common.Address EthAmount *big.Int TokenAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
V1ExchangeAddLiquidity represents a AddLiquidity event raised by the V1Exchange contract.
type V1ExchangeAddLiquidityIterator ¶
type V1ExchangeAddLiquidityIterator struct { Event *V1ExchangeAddLiquidity // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V1ExchangeAddLiquidityIterator is returned from FilterAddLiquidity and is used to iterate over the raw logs and unpacked data for AddLiquidity events raised by the V1Exchange contract.
func (*V1ExchangeAddLiquidityIterator) Close ¶
func (it *V1ExchangeAddLiquidityIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V1ExchangeAddLiquidityIterator) Error ¶
func (it *V1ExchangeAddLiquidityIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V1ExchangeAddLiquidityIterator) Next ¶
func (it *V1ExchangeAddLiquidityIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V1ExchangeApproval ¶
type V1ExchangeApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
V1ExchangeApproval represents a Approval event raised by the V1Exchange contract.
type V1ExchangeApprovalIterator ¶
type V1ExchangeApprovalIterator struct { Event *V1ExchangeApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V1ExchangeApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the V1Exchange contract.
func (*V1ExchangeApprovalIterator) Close ¶
func (it *V1ExchangeApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V1ExchangeApprovalIterator) Error ¶
func (it *V1ExchangeApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V1ExchangeApprovalIterator) Next ¶
func (it *V1ExchangeApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V1ExchangeCaller ¶
type V1ExchangeCaller struct {
// contains filtered or unexported fields
}
V1ExchangeCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewV1ExchangeCaller ¶
func NewV1ExchangeCaller(address common.Address, caller bind.ContractCaller) (*V1ExchangeCaller, error)
NewV1ExchangeCaller creates a new read-only instance of V1Exchange, bound to a specific deployed contract.
func (*V1ExchangeCaller) Allowance ¶
func (_V1Exchange *V1ExchangeCaller) Allowance(opts *bind.CallOpts, _owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) returns(uint256 out)
func (*V1ExchangeCaller) BalanceOf ¶
func (_V1Exchange *V1ExchangeCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) returns(uint256 out)
func (*V1ExchangeCaller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() returns(uint256 out)
func (*V1ExchangeCaller) FactoryAddress ¶
FactoryAddress is a free data retrieval call binding the contract method 0x966dae0e.
Solidity: function factoryAddress() returns(address out)
func (*V1ExchangeCaller) GetEthToTokenInputPrice ¶
func (_V1Exchange *V1ExchangeCaller) GetEthToTokenInputPrice(opts *bind.CallOpts, eth_sold *big.Int) (*big.Int, error)
GetEthToTokenInputPrice is a free data retrieval call binding the contract method 0xcd7724c3.
Solidity: function getEthToTokenInputPrice(uint256 eth_sold) returns(uint256 out)
func (*V1ExchangeCaller) GetEthToTokenOutputPrice ¶
func (_V1Exchange *V1ExchangeCaller) GetEthToTokenOutputPrice(opts *bind.CallOpts, tokens_bought *big.Int) (*big.Int, error)
GetEthToTokenOutputPrice is a free data retrieval call binding the contract method 0x59e94862.
Solidity: function getEthToTokenOutputPrice(uint256 tokens_bought) returns(uint256 out)
func (*V1ExchangeCaller) GetTokenToEthInputPrice ¶
func (_V1Exchange *V1ExchangeCaller) GetTokenToEthInputPrice(opts *bind.CallOpts, tokens_sold *big.Int) (*big.Int, error)
GetTokenToEthInputPrice is a free data retrieval call binding the contract method 0x95b68fe7.
Solidity: function getTokenToEthInputPrice(uint256 tokens_sold) returns(uint256 out)
func (*V1ExchangeCaller) GetTokenToEthOutputPrice ¶
func (_V1Exchange *V1ExchangeCaller) GetTokenToEthOutputPrice(opts *bind.CallOpts, eth_bought *big.Int) (*big.Int, error)
GetTokenToEthOutputPrice is a free data retrieval call binding the contract method 0x2640f62c.
Solidity: function getTokenToEthOutputPrice(uint256 eth_bought) returns(uint256 out)
func (*V1ExchangeCaller) Name ¶
func (_V1Exchange *V1ExchangeCaller) Name(opts *bind.CallOpts) ([32]byte, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() returns(bytes32 out)
func (*V1ExchangeCaller) Symbol ¶
func (_V1Exchange *V1ExchangeCaller) Symbol(opts *bind.CallOpts) ([32]byte, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() returns(bytes32 out)
func (*V1ExchangeCaller) TokenAddress ¶
TokenAddress is a free data retrieval call binding the contract method 0x9d76ea58.
Solidity: function tokenAddress() returns(address out)
func (*V1ExchangeCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() returns(uint256 out)
type V1ExchangeCallerRaw ¶
type V1ExchangeCallerRaw struct {
Contract *V1ExchangeCaller // Generic read-only contract binding to access the raw methods on
}
V1ExchangeCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*V1ExchangeCallerRaw) Call ¶
func (_V1Exchange *V1ExchangeCallerRaw) 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 V1ExchangeCallerSession ¶
type V1ExchangeCallerSession struct { Contract *V1ExchangeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
V1ExchangeCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*V1ExchangeCallerSession) Allowance ¶
func (_V1Exchange *V1ExchangeCallerSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) returns(uint256 out)
func (*V1ExchangeCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) returns(uint256 out)
func (*V1ExchangeCallerSession) Decimals ¶
func (_V1Exchange *V1ExchangeCallerSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() returns(uint256 out)
func (*V1ExchangeCallerSession) FactoryAddress ¶
func (_V1Exchange *V1ExchangeCallerSession) FactoryAddress() (common.Address, error)
FactoryAddress is a free data retrieval call binding the contract method 0x966dae0e.
Solidity: function factoryAddress() returns(address out)
func (*V1ExchangeCallerSession) GetEthToTokenInputPrice ¶
func (_V1Exchange *V1ExchangeCallerSession) GetEthToTokenInputPrice(eth_sold *big.Int) (*big.Int, error)
GetEthToTokenInputPrice is a free data retrieval call binding the contract method 0xcd7724c3.
Solidity: function getEthToTokenInputPrice(uint256 eth_sold) returns(uint256 out)
func (*V1ExchangeCallerSession) GetEthToTokenOutputPrice ¶
func (_V1Exchange *V1ExchangeCallerSession) GetEthToTokenOutputPrice(tokens_bought *big.Int) (*big.Int, error)
GetEthToTokenOutputPrice is a free data retrieval call binding the contract method 0x59e94862.
Solidity: function getEthToTokenOutputPrice(uint256 tokens_bought) returns(uint256 out)
func (*V1ExchangeCallerSession) GetTokenToEthInputPrice ¶
func (_V1Exchange *V1ExchangeCallerSession) GetTokenToEthInputPrice(tokens_sold *big.Int) (*big.Int, error)
GetTokenToEthInputPrice is a free data retrieval call binding the contract method 0x95b68fe7.
Solidity: function getTokenToEthInputPrice(uint256 tokens_sold) returns(uint256 out)
func (*V1ExchangeCallerSession) GetTokenToEthOutputPrice ¶
func (_V1Exchange *V1ExchangeCallerSession) GetTokenToEthOutputPrice(eth_bought *big.Int) (*big.Int, error)
GetTokenToEthOutputPrice is a free data retrieval call binding the contract method 0x2640f62c.
Solidity: function getTokenToEthOutputPrice(uint256 eth_bought) returns(uint256 out)
func (*V1ExchangeCallerSession) Name ¶
func (_V1Exchange *V1ExchangeCallerSession) Name() ([32]byte, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() returns(bytes32 out)
func (*V1ExchangeCallerSession) Symbol ¶
func (_V1Exchange *V1ExchangeCallerSession) Symbol() ([32]byte, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() returns(bytes32 out)
func (*V1ExchangeCallerSession) TokenAddress ¶
func (_V1Exchange *V1ExchangeCallerSession) TokenAddress() (common.Address, error)
TokenAddress is a free data retrieval call binding the contract method 0x9d76ea58.
Solidity: function tokenAddress() returns(address out)
func (*V1ExchangeCallerSession) TotalSupply ¶
func (_V1Exchange *V1ExchangeCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() returns(uint256 out)
type V1ExchangeEthPurchase ¶
type V1ExchangeEthPurchase struct { Buyer common.Address TokensSold *big.Int EthBought *big.Int Raw types.Log // Blockchain specific contextual infos }
V1ExchangeEthPurchase represents a EthPurchase event raised by the V1Exchange contract.
type V1ExchangeEthPurchaseIterator ¶
type V1ExchangeEthPurchaseIterator struct { Event *V1ExchangeEthPurchase // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V1ExchangeEthPurchaseIterator is returned from FilterEthPurchase and is used to iterate over the raw logs and unpacked data for EthPurchase events raised by the V1Exchange contract.
func (*V1ExchangeEthPurchaseIterator) Close ¶
func (it *V1ExchangeEthPurchaseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V1ExchangeEthPurchaseIterator) Error ¶
func (it *V1ExchangeEthPurchaseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V1ExchangeEthPurchaseIterator) Next ¶
func (it *V1ExchangeEthPurchaseIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V1ExchangeFilterer ¶
type V1ExchangeFilterer struct {
// contains filtered or unexported fields
}
V1ExchangeFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewV1ExchangeFilterer ¶
func NewV1ExchangeFilterer(address common.Address, filterer bind.ContractFilterer) (*V1ExchangeFilterer, error)
NewV1ExchangeFilterer creates a new log filterer instance of V1Exchange, bound to a specific deployed contract.
func (*V1ExchangeFilterer) FilterAddLiquidity ¶
func (_V1Exchange *V1ExchangeFilterer) FilterAddLiquidity(opts *bind.FilterOpts, provider []common.Address, eth_amount []*big.Int, token_amount []*big.Int) (*V1ExchangeAddLiquidityIterator, error)
FilterAddLiquidity is a free log retrieval operation binding the contract event 0x06239653922ac7bea6aa2b19dc486b9361821d37712eb796adfd38d81de278ca.
Solidity: event AddLiquidity(address indexed provider, uint256 indexed eth_amount, uint256 indexed token_amount)
func (*V1ExchangeFilterer) FilterApproval ¶
func (_V1Exchange *V1ExchangeFilterer) FilterApproval(opts *bind.FilterOpts, _owner []common.Address, _spender []common.Address) (*V1ExchangeApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)
func (*V1ExchangeFilterer) FilterEthPurchase ¶
func (_V1Exchange *V1ExchangeFilterer) FilterEthPurchase(opts *bind.FilterOpts, buyer []common.Address, tokens_sold []*big.Int, eth_bought []*big.Int) (*V1ExchangeEthPurchaseIterator, error)
FilterEthPurchase is a free log retrieval operation binding the contract event 0x7f4091b46c33e918a0f3aa42307641d17bb67029427a5369e54b353984238705.
Solidity: event EthPurchase(address indexed buyer, uint256 indexed tokens_sold, uint256 indexed eth_bought)
func (*V1ExchangeFilterer) FilterRemoveLiquidity ¶
func (_V1Exchange *V1ExchangeFilterer) FilterRemoveLiquidity(opts *bind.FilterOpts, provider []common.Address, eth_amount []*big.Int, token_amount []*big.Int) (*V1ExchangeRemoveLiquidityIterator, error)
FilterRemoveLiquidity is a free log retrieval operation binding the contract event 0x0fbf06c058b90cb038a618f8c2acbf6145f8b3570fd1fa56abb8f0f3f05b36e8.
Solidity: event RemoveLiquidity(address indexed provider, uint256 indexed eth_amount, uint256 indexed token_amount)
func (*V1ExchangeFilterer) FilterTokenPurchase ¶
func (_V1Exchange *V1ExchangeFilterer) FilterTokenPurchase(opts *bind.FilterOpts, buyer []common.Address, eth_sold []*big.Int, tokens_bought []*big.Int) (*V1ExchangeTokenPurchaseIterator, error)
FilterTokenPurchase is a free log retrieval operation binding the contract event 0xcd60aa75dea3072fbc07ae6d7d856b5dc5f4eee88854f5b4abf7b680ef8bc50f.
Solidity: event TokenPurchase(address indexed buyer, uint256 indexed eth_sold, uint256 indexed tokens_bought)
func (*V1ExchangeFilterer) FilterTransfer ¶
func (_V1Exchange *V1ExchangeFilterer) FilterTransfer(opts *bind.FilterOpts, _from []common.Address, _to []common.Address) (*V1ExchangeTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)
func (*V1ExchangeFilterer) ParseAddLiquidity ¶
func (_V1Exchange *V1ExchangeFilterer) ParseAddLiquidity(log types.Log) (*V1ExchangeAddLiquidity, error)
ParseAddLiquidity is a log parse operation binding the contract event 0x06239653922ac7bea6aa2b19dc486b9361821d37712eb796adfd38d81de278ca.
Solidity: event AddLiquidity(address indexed provider, uint256 indexed eth_amount, uint256 indexed token_amount)
func (*V1ExchangeFilterer) ParseApproval ¶
func (_V1Exchange *V1ExchangeFilterer) ParseApproval(log types.Log) (*V1ExchangeApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)
func (*V1ExchangeFilterer) ParseEthPurchase ¶
func (_V1Exchange *V1ExchangeFilterer) ParseEthPurchase(log types.Log) (*V1ExchangeEthPurchase, error)
ParseEthPurchase is a log parse operation binding the contract event 0x7f4091b46c33e918a0f3aa42307641d17bb67029427a5369e54b353984238705.
Solidity: event EthPurchase(address indexed buyer, uint256 indexed tokens_sold, uint256 indexed eth_bought)
func (*V1ExchangeFilterer) ParseRemoveLiquidity ¶
func (_V1Exchange *V1ExchangeFilterer) ParseRemoveLiquidity(log types.Log) (*V1ExchangeRemoveLiquidity, error)
ParseRemoveLiquidity is a log parse operation binding the contract event 0x0fbf06c058b90cb038a618f8c2acbf6145f8b3570fd1fa56abb8f0f3f05b36e8.
Solidity: event RemoveLiquidity(address indexed provider, uint256 indexed eth_amount, uint256 indexed token_amount)
func (*V1ExchangeFilterer) ParseTokenPurchase ¶
func (_V1Exchange *V1ExchangeFilterer) ParseTokenPurchase(log types.Log) (*V1ExchangeTokenPurchase, error)
ParseTokenPurchase is a log parse operation binding the contract event 0xcd60aa75dea3072fbc07ae6d7d856b5dc5f4eee88854f5b4abf7b680ef8bc50f.
Solidity: event TokenPurchase(address indexed buyer, uint256 indexed eth_sold, uint256 indexed tokens_bought)
func (*V1ExchangeFilterer) ParseTransfer ¶
func (_V1Exchange *V1ExchangeFilterer) ParseTransfer(log types.Log) (*V1ExchangeTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)
func (*V1ExchangeFilterer) WatchAddLiquidity ¶
func (_V1Exchange *V1ExchangeFilterer) WatchAddLiquidity(opts *bind.WatchOpts, sink chan<- *V1ExchangeAddLiquidity, provider []common.Address, eth_amount []*big.Int, token_amount []*big.Int) (event.Subscription, error)
WatchAddLiquidity is a free log subscription operation binding the contract event 0x06239653922ac7bea6aa2b19dc486b9361821d37712eb796adfd38d81de278ca.
Solidity: event AddLiquidity(address indexed provider, uint256 indexed eth_amount, uint256 indexed token_amount)
func (*V1ExchangeFilterer) WatchApproval ¶
func (_V1Exchange *V1ExchangeFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *V1ExchangeApproval, _owner []common.Address, _spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed _owner, address indexed _spender, uint256 _value)
func (*V1ExchangeFilterer) WatchEthPurchase ¶
func (_V1Exchange *V1ExchangeFilterer) WatchEthPurchase(opts *bind.WatchOpts, sink chan<- *V1ExchangeEthPurchase, buyer []common.Address, tokens_sold []*big.Int, eth_bought []*big.Int) (event.Subscription, error)
WatchEthPurchase is a free log subscription operation binding the contract event 0x7f4091b46c33e918a0f3aa42307641d17bb67029427a5369e54b353984238705.
Solidity: event EthPurchase(address indexed buyer, uint256 indexed tokens_sold, uint256 indexed eth_bought)
func (*V1ExchangeFilterer) WatchRemoveLiquidity ¶
func (_V1Exchange *V1ExchangeFilterer) WatchRemoveLiquidity(opts *bind.WatchOpts, sink chan<- *V1ExchangeRemoveLiquidity, provider []common.Address, eth_amount []*big.Int, token_amount []*big.Int) (event.Subscription, error)
WatchRemoveLiquidity is a free log subscription operation binding the contract event 0x0fbf06c058b90cb038a618f8c2acbf6145f8b3570fd1fa56abb8f0f3f05b36e8.
Solidity: event RemoveLiquidity(address indexed provider, uint256 indexed eth_amount, uint256 indexed token_amount)
func (*V1ExchangeFilterer) WatchTokenPurchase ¶
func (_V1Exchange *V1ExchangeFilterer) WatchTokenPurchase(opts *bind.WatchOpts, sink chan<- *V1ExchangeTokenPurchase, buyer []common.Address, eth_sold []*big.Int, tokens_bought []*big.Int) (event.Subscription, error)
WatchTokenPurchase is a free log subscription operation binding the contract event 0xcd60aa75dea3072fbc07ae6d7d856b5dc5f4eee88854f5b4abf7b680ef8bc50f.
Solidity: event TokenPurchase(address indexed buyer, uint256 indexed eth_sold, uint256 indexed tokens_bought)
func (*V1ExchangeFilterer) WatchTransfer ¶
func (_V1Exchange *V1ExchangeFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *V1ExchangeTransfer, _from []common.Address, _to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed _from, address indexed _to, uint256 _value)
type V1ExchangeRaw ¶
type V1ExchangeRaw struct {
Contract *V1Exchange // Generic contract binding to access the raw methods on
}
V1ExchangeRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*V1ExchangeRaw) Call ¶
func (_V1Exchange *V1ExchangeRaw) 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 (*V1ExchangeRaw) Transact ¶
func (_V1Exchange *V1ExchangeRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*V1ExchangeRaw) Transfer ¶
func (_V1Exchange *V1ExchangeRaw) 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 V1ExchangeRemoveLiquidity ¶
type V1ExchangeRemoveLiquidity struct { Provider common.Address EthAmount *big.Int TokenAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
V1ExchangeRemoveLiquidity represents a RemoveLiquidity event raised by the V1Exchange contract.
type V1ExchangeRemoveLiquidityIterator ¶
type V1ExchangeRemoveLiquidityIterator struct { Event *V1ExchangeRemoveLiquidity // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V1ExchangeRemoveLiquidityIterator is returned from FilterRemoveLiquidity and is used to iterate over the raw logs and unpacked data for RemoveLiquidity events raised by the V1Exchange contract.
func (*V1ExchangeRemoveLiquidityIterator) Close ¶
func (it *V1ExchangeRemoveLiquidityIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V1ExchangeRemoveLiquidityIterator) Error ¶
func (it *V1ExchangeRemoveLiquidityIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V1ExchangeRemoveLiquidityIterator) Next ¶
func (it *V1ExchangeRemoveLiquidityIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V1ExchangeSession ¶
type V1ExchangeSession struct { Contract *V1Exchange // 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 }
V1ExchangeSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*V1ExchangeSession) AddLiquidity ¶
func (_V1Exchange *V1ExchangeSession) AddLiquidity(min_liquidity *big.Int, max_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x422f1043.
Solidity: function addLiquidity(uint256 min_liquidity, uint256 max_tokens, uint256 deadline) returns(uint256 out)
func (*V1ExchangeSession) Allowance ¶
func (_V1Exchange *V1ExchangeSession) Allowance(_owner common.Address, _spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address _owner, address _spender) returns(uint256 out)
func (*V1ExchangeSession) Approve ¶
func (_V1Exchange *V1ExchangeSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool out)
func (*V1ExchangeSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address _owner) returns(uint256 out)
func (*V1ExchangeSession) Decimals ¶
func (_V1Exchange *V1ExchangeSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() returns(uint256 out)
func (*V1ExchangeSession) Default ¶
func (_V1Exchange *V1ExchangeSession) Default() (*types.Transaction, error)
Default is a paid mutator transaction binding the contract method 0x89402a72.
Solidity: function __default__() returns()
func (*V1ExchangeSession) EthToTokenSwapInput ¶
func (_V1Exchange *V1ExchangeSession) EthToTokenSwapInput(min_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
EthToTokenSwapInput is a paid mutator transaction binding the contract method 0xf39b5b9b.
Solidity: function ethToTokenSwapInput(uint256 min_tokens, uint256 deadline) returns(uint256 out)
func (*V1ExchangeSession) EthToTokenSwapOutput ¶
func (_V1Exchange *V1ExchangeSession) EthToTokenSwapOutput(tokens_bought *big.Int, deadline *big.Int) (*types.Transaction, error)
EthToTokenSwapOutput is a paid mutator transaction binding the contract method 0x6b1d4db7.
Solidity: function ethToTokenSwapOutput(uint256 tokens_bought, uint256 deadline) returns(uint256 out)
func (*V1ExchangeSession) EthToTokenTransferInput ¶
func (_V1Exchange *V1ExchangeSession) EthToTokenTransferInput(min_tokens *big.Int, deadline *big.Int, recipient common.Address) (*types.Transaction, error)
EthToTokenTransferInput is a paid mutator transaction binding the contract method 0xad65d76d.
Solidity: function ethToTokenTransferInput(uint256 min_tokens, uint256 deadline, address recipient) returns(uint256 out)
func (*V1ExchangeSession) EthToTokenTransferOutput ¶
func (_V1Exchange *V1ExchangeSession) EthToTokenTransferOutput(tokens_bought *big.Int, deadline *big.Int, recipient common.Address) (*types.Transaction, error)
EthToTokenTransferOutput is a paid mutator transaction binding the contract method 0x0b573638.
Solidity: function ethToTokenTransferOutput(uint256 tokens_bought, uint256 deadline, address recipient) returns(uint256 out)
func (*V1ExchangeSession) FactoryAddress ¶
func (_V1Exchange *V1ExchangeSession) FactoryAddress() (common.Address, error)
FactoryAddress is a free data retrieval call binding the contract method 0x966dae0e.
Solidity: function factoryAddress() returns(address out)
func (*V1ExchangeSession) GetEthToTokenInputPrice ¶
GetEthToTokenInputPrice is a free data retrieval call binding the contract method 0xcd7724c3.
Solidity: function getEthToTokenInputPrice(uint256 eth_sold) returns(uint256 out)
func (*V1ExchangeSession) GetEthToTokenOutputPrice ¶
func (_V1Exchange *V1ExchangeSession) GetEthToTokenOutputPrice(tokens_bought *big.Int) (*big.Int, error)
GetEthToTokenOutputPrice is a free data retrieval call binding the contract method 0x59e94862.
Solidity: function getEthToTokenOutputPrice(uint256 tokens_bought) returns(uint256 out)
func (*V1ExchangeSession) GetTokenToEthInputPrice ¶
func (_V1Exchange *V1ExchangeSession) GetTokenToEthInputPrice(tokens_sold *big.Int) (*big.Int, error)
GetTokenToEthInputPrice is a free data retrieval call binding the contract method 0x95b68fe7.
Solidity: function getTokenToEthInputPrice(uint256 tokens_sold) returns(uint256 out)
func (*V1ExchangeSession) GetTokenToEthOutputPrice ¶
func (_V1Exchange *V1ExchangeSession) GetTokenToEthOutputPrice(eth_bought *big.Int) (*big.Int, error)
GetTokenToEthOutputPrice is a free data retrieval call binding the contract method 0x2640f62c.
Solidity: function getTokenToEthOutputPrice(uint256 eth_bought) returns(uint256 out)
func (*V1ExchangeSession) Name ¶
func (_V1Exchange *V1ExchangeSession) Name() ([32]byte, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() returns(bytes32 out)
func (*V1ExchangeSession) RemoveLiquidity ¶
func (_V1Exchange *V1ExchangeSession) RemoveLiquidity(amount *big.Int, min_eth *big.Int, min_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0xf88bf15a.
Solidity: function removeLiquidity(uint256 amount, uint256 min_eth, uint256 min_tokens, uint256 deadline) returns(uint256 out, uint256 out)
func (*V1ExchangeSession) Setup ¶
func (_V1Exchange *V1ExchangeSession) Setup(token_addr common.Address) (*types.Transaction, error)
Setup is a paid mutator transaction binding the contract method 0x66d38203.
Solidity: function setup(address token_addr) returns()
func (*V1ExchangeSession) Symbol ¶
func (_V1Exchange *V1ExchangeSession) Symbol() ([32]byte, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() returns(bytes32 out)
func (*V1ExchangeSession) TokenAddress ¶
func (_V1Exchange *V1ExchangeSession) TokenAddress() (common.Address, error)
TokenAddress is a free data retrieval call binding the contract method 0x9d76ea58.
Solidity: function tokenAddress() returns(address out)
func (*V1ExchangeSession) TokenToEthSwapInput ¶
func (_V1Exchange *V1ExchangeSession) TokenToEthSwapInput(tokens_sold *big.Int, min_eth *big.Int, deadline *big.Int) (*types.Transaction, error)
TokenToEthSwapInput is a paid mutator transaction binding the contract method 0x95e3c50b.
Solidity: function tokenToEthSwapInput(uint256 tokens_sold, uint256 min_eth, uint256 deadline) returns(uint256 out)
func (*V1ExchangeSession) TokenToEthSwapOutput ¶
func (_V1Exchange *V1ExchangeSession) TokenToEthSwapOutput(eth_bought *big.Int, max_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
TokenToEthSwapOutput is a paid mutator transaction binding the contract method 0x013efd8b.
Solidity: function tokenToEthSwapOutput(uint256 eth_bought, uint256 max_tokens, uint256 deadline) returns(uint256 out)
func (*V1ExchangeSession) TokenToEthTransferInput ¶
func (_V1Exchange *V1ExchangeSession) TokenToEthTransferInput(tokens_sold *big.Int, min_eth *big.Int, deadline *big.Int, recipient common.Address) (*types.Transaction, error)
TokenToEthTransferInput is a paid mutator transaction binding the contract method 0x7237e031.
Solidity: function tokenToEthTransferInput(uint256 tokens_sold, uint256 min_eth, uint256 deadline, address recipient) returns(uint256 out)
func (*V1ExchangeSession) TokenToEthTransferOutput ¶
func (_V1Exchange *V1ExchangeSession) TokenToEthTransferOutput(eth_bought *big.Int, max_tokens *big.Int, deadline *big.Int, recipient common.Address) (*types.Transaction, error)
TokenToEthTransferOutput is a paid mutator transaction binding the contract method 0xd4e4841d.
Solidity: function tokenToEthTransferOutput(uint256 eth_bought, uint256 max_tokens, uint256 deadline, address recipient) returns(uint256 out)
func (*V1ExchangeSession) TokenToExchangeSwapInput ¶
func (_V1Exchange *V1ExchangeSession) TokenToExchangeSwapInput(tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, deadline *big.Int, exchange_addr common.Address) (*types.Transaction, error)
TokenToExchangeSwapInput is a paid mutator transaction binding the contract method 0xb1cb43bf.
Solidity: function tokenToExchangeSwapInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address exchange_addr) returns(uint256 out)
func (*V1ExchangeSession) TokenToExchangeSwapOutput ¶
func (_V1Exchange *V1ExchangeSession) TokenToExchangeSwapOutput(tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, deadline *big.Int, exchange_addr common.Address) (*types.Transaction, error)
TokenToExchangeSwapOutput is a paid mutator transaction binding the contract method 0xea650c7d.
Solidity: function tokenToExchangeSwapOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address exchange_addr) returns(uint256 out)
func (*V1ExchangeSession) TokenToExchangeTransferInput ¶
func (_V1Exchange *V1ExchangeSession) TokenToExchangeTransferInput(tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, deadline *big.Int, recipient common.Address, exchange_addr common.Address) (*types.Transaction, error)
TokenToExchangeTransferInput is a paid mutator transaction binding the contract method 0xec384a3e.
Solidity: function tokenToExchangeTransferInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address recipient, address exchange_addr) returns(uint256 out)
func (*V1ExchangeSession) TokenToExchangeTransferOutput ¶
func (_V1Exchange *V1ExchangeSession) TokenToExchangeTransferOutput(tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, deadline *big.Int, recipient common.Address, exchange_addr common.Address) (*types.Transaction, error)
TokenToExchangeTransferOutput is a paid mutator transaction binding the contract method 0x981a1327.
Solidity: function tokenToExchangeTransferOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address recipient, address exchange_addr) returns(uint256 out)
func (*V1ExchangeSession) TokenToTokenSwapInput ¶
func (_V1Exchange *V1ExchangeSession) TokenToTokenSwapInput(tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, deadline *big.Int, token_addr common.Address) (*types.Transaction, error)
TokenToTokenSwapInput is a paid mutator transaction binding the contract method 0xddf7e1a7.
Solidity: function tokenToTokenSwapInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address token_addr) returns(uint256 out)
func (*V1ExchangeSession) TokenToTokenSwapOutput ¶
func (_V1Exchange *V1ExchangeSession) TokenToTokenSwapOutput(tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, deadline *big.Int, token_addr common.Address) (*types.Transaction, error)
TokenToTokenSwapOutput is a paid mutator transaction binding the contract method 0xb040d545.
Solidity: function tokenToTokenSwapOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address token_addr) returns(uint256 out)
func (*V1ExchangeSession) TokenToTokenTransferInput ¶
func (_V1Exchange *V1ExchangeSession) TokenToTokenTransferInput(tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, deadline *big.Int, recipient common.Address, token_addr common.Address) (*types.Transaction, error)
TokenToTokenTransferInput is a paid mutator transaction binding the contract method 0xf552d91b.
Solidity: function tokenToTokenTransferInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address recipient, address token_addr) returns(uint256 out)
func (*V1ExchangeSession) TokenToTokenTransferOutput ¶
func (_V1Exchange *V1ExchangeSession) TokenToTokenTransferOutput(tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, deadline *big.Int, recipient common.Address, token_addr common.Address) (*types.Transaction, error)
TokenToTokenTransferOutput is a paid mutator transaction binding the contract method 0xf3c0efe9.
Solidity: function tokenToTokenTransferOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address recipient, address token_addr) returns(uint256 out)
func (*V1ExchangeSession) TotalSupply ¶
func (_V1Exchange *V1ExchangeSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() returns(uint256 out)
func (*V1ExchangeSession) Transfer ¶
func (_V1Exchange *V1ExchangeSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool out)
func (*V1ExchangeSession) TransferFrom ¶
func (_V1Exchange *V1ExchangeSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool out)
type V1ExchangeTokenPurchase ¶
type V1ExchangeTokenPurchase struct { Buyer common.Address EthSold *big.Int TokensBought *big.Int Raw types.Log // Blockchain specific contextual infos }
V1ExchangeTokenPurchase represents a TokenPurchase event raised by the V1Exchange contract.
type V1ExchangeTokenPurchaseIterator ¶
type V1ExchangeTokenPurchaseIterator struct { Event *V1ExchangeTokenPurchase // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V1ExchangeTokenPurchaseIterator is returned from FilterTokenPurchase and is used to iterate over the raw logs and unpacked data for TokenPurchase events raised by the V1Exchange contract.
func (*V1ExchangeTokenPurchaseIterator) Close ¶
func (it *V1ExchangeTokenPurchaseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V1ExchangeTokenPurchaseIterator) Error ¶
func (it *V1ExchangeTokenPurchaseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V1ExchangeTokenPurchaseIterator) Next ¶
func (it *V1ExchangeTokenPurchaseIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V1ExchangeTransactor ¶
type V1ExchangeTransactor struct {
// contains filtered or unexported fields
}
V1ExchangeTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewV1ExchangeTransactor ¶
func NewV1ExchangeTransactor(address common.Address, transactor bind.ContractTransactor) (*V1ExchangeTransactor, error)
NewV1ExchangeTransactor creates a new write-only instance of V1Exchange, bound to a specific deployed contract.
func (*V1ExchangeTransactor) AddLiquidity ¶
func (_V1Exchange *V1ExchangeTransactor) AddLiquidity(opts *bind.TransactOpts, min_liquidity *big.Int, max_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x422f1043.
Solidity: function addLiquidity(uint256 min_liquidity, uint256 max_tokens, uint256 deadline) returns(uint256 out)
func (*V1ExchangeTransactor) Approve ¶
func (_V1Exchange *V1ExchangeTransactor) Approve(opts *bind.TransactOpts, _spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool out)
func (*V1ExchangeTransactor) Default ¶
func (_V1Exchange *V1ExchangeTransactor) Default(opts *bind.TransactOpts) (*types.Transaction, error)
Default is a paid mutator transaction binding the contract method 0x89402a72.
Solidity: function __default__() returns()
func (*V1ExchangeTransactor) EthToTokenSwapInput ¶
func (_V1Exchange *V1ExchangeTransactor) EthToTokenSwapInput(opts *bind.TransactOpts, min_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
EthToTokenSwapInput is a paid mutator transaction binding the contract method 0xf39b5b9b.
Solidity: function ethToTokenSwapInput(uint256 min_tokens, uint256 deadline) returns(uint256 out)
func (*V1ExchangeTransactor) EthToTokenSwapOutput ¶
func (_V1Exchange *V1ExchangeTransactor) EthToTokenSwapOutput(opts *bind.TransactOpts, tokens_bought *big.Int, deadline *big.Int) (*types.Transaction, error)
EthToTokenSwapOutput is a paid mutator transaction binding the contract method 0x6b1d4db7.
Solidity: function ethToTokenSwapOutput(uint256 tokens_bought, uint256 deadline) returns(uint256 out)
func (*V1ExchangeTransactor) EthToTokenTransferInput ¶
func (_V1Exchange *V1ExchangeTransactor) EthToTokenTransferInput(opts *bind.TransactOpts, min_tokens *big.Int, deadline *big.Int, recipient common.Address) (*types.Transaction, error)
EthToTokenTransferInput is a paid mutator transaction binding the contract method 0xad65d76d.
Solidity: function ethToTokenTransferInput(uint256 min_tokens, uint256 deadline, address recipient) returns(uint256 out)
func (*V1ExchangeTransactor) EthToTokenTransferOutput ¶
func (_V1Exchange *V1ExchangeTransactor) EthToTokenTransferOutput(opts *bind.TransactOpts, tokens_bought *big.Int, deadline *big.Int, recipient common.Address) (*types.Transaction, error)
EthToTokenTransferOutput is a paid mutator transaction binding the contract method 0x0b573638.
Solidity: function ethToTokenTransferOutput(uint256 tokens_bought, uint256 deadline, address recipient) returns(uint256 out)
func (*V1ExchangeTransactor) RemoveLiquidity ¶
func (_V1Exchange *V1ExchangeTransactor) RemoveLiquidity(opts *bind.TransactOpts, amount *big.Int, min_eth *big.Int, min_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0xf88bf15a.
Solidity: function removeLiquidity(uint256 amount, uint256 min_eth, uint256 min_tokens, uint256 deadline) returns(uint256 out, uint256 out)
func (*V1ExchangeTransactor) Setup ¶
func (_V1Exchange *V1ExchangeTransactor) Setup(opts *bind.TransactOpts, token_addr common.Address) (*types.Transaction, error)
Setup is a paid mutator transaction binding the contract method 0x66d38203.
Solidity: function setup(address token_addr) returns()
func (*V1ExchangeTransactor) TokenToEthSwapInput ¶
func (_V1Exchange *V1ExchangeTransactor) TokenToEthSwapInput(opts *bind.TransactOpts, tokens_sold *big.Int, min_eth *big.Int, deadline *big.Int) (*types.Transaction, error)
TokenToEthSwapInput is a paid mutator transaction binding the contract method 0x95e3c50b.
Solidity: function tokenToEthSwapInput(uint256 tokens_sold, uint256 min_eth, uint256 deadline) returns(uint256 out)
func (*V1ExchangeTransactor) TokenToEthSwapOutput ¶
func (_V1Exchange *V1ExchangeTransactor) TokenToEthSwapOutput(opts *bind.TransactOpts, eth_bought *big.Int, max_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
TokenToEthSwapOutput is a paid mutator transaction binding the contract method 0x013efd8b.
Solidity: function tokenToEthSwapOutput(uint256 eth_bought, uint256 max_tokens, uint256 deadline) returns(uint256 out)
func (*V1ExchangeTransactor) TokenToEthTransferInput ¶
func (_V1Exchange *V1ExchangeTransactor) TokenToEthTransferInput(opts *bind.TransactOpts, tokens_sold *big.Int, min_eth *big.Int, deadline *big.Int, recipient common.Address) (*types.Transaction, error)
TokenToEthTransferInput is a paid mutator transaction binding the contract method 0x7237e031.
Solidity: function tokenToEthTransferInput(uint256 tokens_sold, uint256 min_eth, uint256 deadline, address recipient) returns(uint256 out)
func (*V1ExchangeTransactor) TokenToEthTransferOutput ¶
func (_V1Exchange *V1ExchangeTransactor) TokenToEthTransferOutput(opts *bind.TransactOpts, eth_bought *big.Int, max_tokens *big.Int, deadline *big.Int, recipient common.Address) (*types.Transaction, error)
TokenToEthTransferOutput is a paid mutator transaction binding the contract method 0xd4e4841d.
Solidity: function tokenToEthTransferOutput(uint256 eth_bought, uint256 max_tokens, uint256 deadline, address recipient) returns(uint256 out)
func (*V1ExchangeTransactor) TokenToExchangeSwapInput ¶
func (_V1Exchange *V1ExchangeTransactor) TokenToExchangeSwapInput(opts *bind.TransactOpts, tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, deadline *big.Int, exchange_addr common.Address) (*types.Transaction, error)
TokenToExchangeSwapInput is a paid mutator transaction binding the contract method 0xb1cb43bf.
Solidity: function tokenToExchangeSwapInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address exchange_addr) returns(uint256 out)
func (*V1ExchangeTransactor) TokenToExchangeSwapOutput ¶
func (_V1Exchange *V1ExchangeTransactor) TokenToExchangeSwapOutput(opts *bind.TransactOpts, tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, deadline *big.Int, exchange_addr common.Address) (*types.Transaction, error)
TokenToExchangeSwapOutput is a paid mutator transaction binding the contract method 0xea650c7d.
Solidity: function tokenToExchangeSwapOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address exchange_addr) returns(uint256 out)
func (*V1ExchangeTransactor) TokenToExchangeTransferInput ¶
func (_V1Exchange *V1ExchangeTransactor) TokenToExchangeTransferInput(opts *bind.TransactOpts, tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, deadline *big.Int, recipient common.Address, exchange_addr common.Address) (*types.Transaction, error)
TokenToExchangeTransferInput is a paid mutator transaction binding the contract method 0xec384a3e.
Solidity: function tokenToExchangeTransferInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address recipient, address exchange_addr) returns(uint256 out)
func (*V1ExchangeTransactor) TokenToExchangeTransferOutput ¶
func (_V1Exchange *V1ExchangeTransactor) TokenToExchangeTransferOutput(opts *bind.TransactOpts, tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, deadline *big.Int, recipient common.Address, exchange_addr common.Address) (*types.Transaction, error)
TokenToExchangeTransferOutput is a paid mutator transaction binding the contract method 0x981a1327.
Solidity: function tokenToExchangeTransferOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address recipient, address exchange_addr) returns(uint256 out)
func (*V1ExchangeTransactor) TokenToTokenSwapInput ¶
func (_V1Exchange *V1ExchangeTransactor) TokenToTokenSwapInput(opts *bind.TransactOpts, tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, deadline *big.Int, token_addr common.Address) (*types.Transaction, error)
TokenToTokenSwapInput is a paid mutator transaction binding the contract method 0xddf7e1a7.
Solidity: function tokenToTokenSwapInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address token_addr) returns(uint256 out)
func (*V1ExchangeTransactor) TokenToTokenSwapOutput ¶
func (_V1Exchange *V1ExchangeTransactor) TokenToTokenSwapOutput(opts *bind.TransactOpts, tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, deadline *big.Int, token_addr common.Address) (*types.Transaction, error)
TokenToTokenSwapOutput is a paid mutator transaction binding the contract method 0xb040d545.
Solidity: function tokenToTokenSwapOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address token_addr) returns(uint256 out)
func (*V1ExchangeTransactor) TokenToTokenTransferInput ¶
func (_V1Exchange *V1ExchangeTransactor) TokenToTokenTransferInput(opts *bind.TransactOpts, tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, deadline *big.Int, recipient common.Address, token_addr common.Address) (*types.Transaction, error)
TokenToTokenTransferInput is a paid mutator transaction binding the contract method 0xf552d91b.
Solidity: function tokenToTokenTransferInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address recipient, address token_addr) returns(uint256 out)
func (*V1ExchangeTransactor) TokenToTokenTransferOutput ¶
func (_V1Exchange *V1ExchangeTransactor) TokenToTokenTransferOutput(opts *bind.TransactOpts, tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, deadline *big.Int, recipient common.Address, token_addr common.Address) (*types.Transaction, error)
TokenToTokenTransferOutput is a paid mutator transaction binding the contract method 0xf3c0efe9.
Solidity: function tokenToTokenTransferOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address recipient, address token_addr) returns(uint256 out)
func (*V1ExchangeTransactor) Transfer ¶
func (_V1Exchange *V1ExchangeTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool out)
func (*V1ExchangeTransactor) TransferFrom ¶
func (_V1Exchange *V1ExchangeTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool out)
type V1ExchangeTransactorRaw ¶
type V1ExchangeTransactorRaw struct {
Contract *V1ExchangeTransactor // Generic write-only contract binding to access the raw methods on
}
V1ExchangeTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*V1ExchangeTransactorRaw) Transact ¶
func (_V1Exchange *V1ExchangeTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*V1ExchangeTransactorRaw) Transfer ¶
func (_V1Exchange *V1ExchangeTransactorRaw) 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 V1ExchangeTransactorSession ¶
type V1ExchangeTransactorSession struct { Contract *V1ExchangeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
V1ExchangeTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*V1ExchangeTransactorSession) AddLiquidity ¶
func (_V1Exchange *V1ExchangeTransactorSession) AddLiquidity(min_liquidity *big.Int, max_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
AddLiquidity is a paid mutator transaction binding the contract method 0x422f1043.
Solidity: function addLiquidity(uint256 min_liquidity, uint256 max_tokens, uint256 deadline) returns(uint256 out)
func (*V1ExchangeTransactorSession) Approve ¶
func (_V1Exchange *V1ExchangeTransactorSession) Approve(_spender common.Address, _value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address _spender, uint256 _value) returns(bool out)
func (*V1ExchangeTransactorSession) Default ¶
func (_V1Exchange *V1ExchangeTransactorSession) Default() (*types.Transaction, error)
Default is a paid mutator transaction binding the contract method 0x89402a72.
Solidity: function __default__() returns()
func (*V1ExchangeTransactorSession) EthToTokenSwapInput ¶
func (_V1Exchange *V1ExchangeTransactorSession) EthToTokenSwapInput(min_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
EthToTokenSwapInput is a paid mutator transaction binding the contract method 0xf39b5b9b.
Solidity: function ethToTokenSwapInput(uint256 min_tokens, uint256 deadline) returns(uint256 out)
func (*V1ExchangeTransactorSession) EthToTokenSwapOutput ¶
func (_V1Exchange *V1ExchangeTransactorSession) EthToTokenSwapOutput(tokens_bought *big.Int, deadline *big.Int) (*types.Transaction, error)
EthToTokenSwapOutput is a paid mutator transaction binding the contract method 0x6b1d4db7.
Solidity: function ethToTokenSwapOutput(uint256 tokens_bought, uint256 deadline) returns(uint256 out)
func (*V1ExchangeTransactorSession) EthToTokenTransferInput ¶
func (_V1Exchange *V1ExchangeTransactorSession) EthToTokenTransferInput(min_tokens *big.Int, deadline *big.Int, recipient common.Address) (*types.Transaction, error)
EthToTokenTransferInput is a paid mutator transaction binding the contract method 0xad65d76d.
Solidity: function ethToTokenTransferInput(uint256 min_tokens, uint256 deadline, address recipient) returns(uint256 out)
func (*V1ExchangeTransactorSession) EthToTokenTransferOutput ¶
func (_V1Exchange *V1ExchangeTransactorSession) EthToTokenTransferOutput(tokens_bought *big.Int, deadline *big.Int, recipient common.Address) (*types.Transaction, error)
EthToTokenTransferOutput is a paid mutator transaction binding the contract method 0x0b573638.
Solidity: function ethToTokenTransferOutput(uint256 tokens_bought, uint256 deadline, address recipient) returns(uint256 out)
func (*V1ExchangeTransactorSession) RemoveLiquidity ¶
func (_V1Exchange *V1ExchangeTransactorSession) RemoveLiquidity(amount *big.Int, min_eth *big.Int, min_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
RemoveLiquidity is a paid mutator transaction binding the contract method 0xf88bf15a.
Solidity: function removeLiquidity(uint256 amount, uint256 min_eth, uint256 min_tokens, uint256 deadline) returns(uint256 out, uint256 out)
func (*V1ExchangeTransactorSession) Setup ¶
func (_V1Exchange *V1ExchangeTransactorSession) Setup(token_addr common.Address) (*types.Transaction, error)
Setup is a paid mutator transaction binding the contract method 0x66d38203.
Solidity: function setup(address token_addr) returns()
func (*V1ExchangeTransactorSession) TokenToEthSwapInput ¶
func (_V1Exchange *V1ExchangeTransactorSession) TokenToEthSwapInput(tokens_sold *big.Int, min_eth *big.Int, deadline *big.Int) (*types.Transaction, error)
TokenToEthSwapInput is a paid mutator transaction binding the contract method 0x95e3c50b.
Solidity: function tokenToEthSwapInput(uint256 tokens_sold, uint256 min_eth, uint256 deadline) returns(uint256 out)
func (*V1ExchangeTransactorSession) TokenToEthSwapOutput ¶
func (_V1Exchange *V1ExchangeTransactorSession) TokenToEthSwapOutput(eth_bought *big.Int, max_tokens *big.Int, deadline *big.Int) (*types.Transaction, error)
TokenToEthSwapOutput is a paid mutator transaction binding the contract method 0x013efd8b.
Solidity: function tokenToEthSwapOutput(uint256 eth_bought, uint256 max_tokens, uint256 deadline) returns(uint256 out)
func (*V1ExchangeTransactorSession) TokenToEthTransferInput ¶
func (_V1Exchange *V1ExchangeTransactorSession) TokenToEthTransferInput(tokens_sold *big.Int, min_eth *big.Int, deadline *big.Int, recipient common.Address) (*types.Transaction, error)
TokenToEthTransferInput is a paid mutator transaction binding the contract method 0x7237e031.
Solidity: function tokenToEthTransferInput(uint256 tokens_sold, uint256 min_eth, uint256 deadline, address recipient) returns(uint256 out)
func (*V1ExchangeTransactorSession) TokenToEthTransferOutput ¶
func (_V1Exchange *V1ExchangeTransactorSession) TokenToEthTransferOutput(eth_bought *big.Int, max_tokens *big.Int, deadline *big.Int, recipient common.Address) (*types.Transaction, error)
TokenToEthTransferOutput is a paid mutator transaction binding the contract method 0xd4e4841d.
Solidity: function tokenToEthTransferOutput(uint256 eth_bought, uint256 max_tokens, uint256 deadline, address recipient) returns(uint256 out)
func (*V1ExchangeTransactorSession) TokenToExchangeSwapInput ¶
func (_V1Exchange *V1ExchangeTransactorSession) TokenToExchangeSwapInput(tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, deadline *big.Int, exchange_addr common.Address) (*types.Transaction, error)
TokenToExchangeSwapInput is a paid mutator transaction binding the contract method 0xb1cb43bf.
Solidity: function tokenToExchangeSwapInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address exchange_addr) returns(uint256 out)
func (*V1ExchangeTransactorSession) TokenToExchangeSwapOutput ¶
func (_V1Exchange *V1ExchangeTransactorSession) TokenToExchangeSwapOutput(tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, deadline *big.Int, exchange_addr common.Address) (*types.Transaction, error)
TokenToExchangeSwapOutput is a paid mutator transaction binding the contract method 0xea650c7d.
Solidity: function tokenToExchangeSwapOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address exchange_addr) returns(uint256 out)
func (*V1ExchangeTransactorSession) TokenToExchangeTransferInput ¶
func (_V1Exchange *V1ExchangeTransactorSession) TokenToExchangeTransferInput(tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, deadline *big.Int, recipient common.Address, exchange_addr common.Address) (*types.Transaction, error)
TokenToExchangeTransferInput is a paid mutator transaction binding the contract method 0xec384a3e.
Solidity: function tokenToExchangeTransferInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address recipient, address exchange_addr) returns(uint256 out)
func (*V1ExchangeTransactorSession) TokenToExchangeTransferOutput ¶
func (_V1Exchange *V1ExchangeTransactorSession) TokenToExchangeTransferOutput(tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, deadline *big.Int, recipient common.Address, exchange_addr common.Address) (*types.Transaction, error)
TokenToExchangeTransferOutput is a paid mutator transaction binding the contract method 0x981a1327.
Solidity: function tokenToExchangeTransferOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address recipient, address exchange_addr) returns(uint256 out)
func (*V1ExchangeTransactorSession) TokenToTokenSwapInput ¶
func (_V1Exchange *V1ExchangeTransactorSession) TokenToTokenSwapInput(tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, deadline *big.Int, token_addr common.Address) (*types.Transaction, error)
TokenToTokenSwapInput is a paid mutator transaction binding the contract method 0xddf7e1a7.
Solidity: function tokenToTokenSwapInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address token_addr) returns(uint256 out)
func (*V1ExchangeTransactorSession) TokenToTokenSwapOutput ¶
func (_V1Exchange *V1ExchangeTransactorSession) TokenToTokenSwapOutput(tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, deadline *big.Int, token_addr common.Address) (*types.Transaction, error)
TokenToTokenSwapOutput is a paid mutator transaction binding the contract method 0xb040d545.
Solidity: function tokenToTokenSwapOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address token_addr) returns(uint256 out)
func (*V1ExchangeTransactorSession) TokenToTokenTransferInput ¶
func (_V1Exchange *V1ExchangeTransactorSession) TokenToTokenTransferInput(tokens_sold *big.Int, min_tokens_bought *big.Int, min_eth_bought *big.Int, deadline *big.Int, recipient common.Address, token_addr common.Address) (*types.Transaction, error)
TokenToTokenTransferInput is a paid mutator transaction binding the contract method 0xf552d91b.
Solidity: function tokenToTokenTransferInput(uint256 tokens_sold, uint256 min_tokens_bought, uint256 min_eth_bought, uint256 deadline, address recipient, address token_addr) returns(uint256 out)
func (*V1ExchangeTransactorSession) TokenToTokenTransferOutput ¶
func (_V1Exchange *V1ExchangeTransactorSession) TokenToTokenTransferOutput(tokens_bought *big.Int, max_tokens_sold *big.Int, max_eth_sold *big.Int, deadline *big.Int, recipient common.Address, token_addr common.Address) (*types.Transaction, error)
TokenToTokenTransferOutput is a paid mutator transaction binding the contract method 0xf3c0efe9.
Solidity: function tokenToTokenTransferOutput(uint256 tokens_bought, uint256 max_tokens_sold, uint256 max_eth_sold, uint256 deadline, address recipient, address token_addr) returns(uint256 out)
func (*V1ExchangeTransactorSession) Transfer ¶
func (_V1Exchange *V1ExchangeTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address _to, uint256 _value) returns(bool out)
func (*V1ExchangeTransactorSession) TransferFrom ¶
func (_V1Exchange *V1ExchangeTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address _from, address _to, uint256 _value) returns(bool out)
type V1ExchangeTransfer ¶
type V1ExchangeTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
V1ExchangeTransfer represents a Transfer event raised by the V1Exchange contract.
type V1ExchangeTransferIterator ¶
type V1ExchangeTransferIterator struct { Event *V1ExchangeTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V1ExchangeTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the V1Exchange contract.
func (*V1ExchangeTransferIterator) Close ¶
func (it *V1ExchangeTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V1ExchangeTransferIterator) Error ¶
func (it *V1ExchangeTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V1ExchangeTransferIterator) Next ¶
func (it *V1ExchangeTransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V1Factory ¶
type V1Factory struct { V1FactoryCaller // Read-only binding to the contract V1FactoryTransactor // Write-only binding to the contract V1FactoryFilterer // Log filterer for contract events }
V1Factory is an auto generated Go binding around an Ethereum contract.
func NewV1Factory ¶
NewV1Factory creates a new instance of V1Factory, bound to a specific deployed contract.
type V1FactoryCaller ¶
type V1FactoryCaller struct {
// contains filtered or unexported fields
}
V1FactoryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewV1FactoryCaller ¶
func NewV1FactoryCaller(address common.Address, caller bind.ContractCaller) (*V1FactoryCaller, error)
NewV1FactoryCaller creates a new read-only instance of V1Factory, bound to a specific deployed contract.
func (*V1FactoryCaller) ExchangeTemplate ¶
ExchangeTemplate is a free data retrieval call binding the contract method 0x1c2bbd18.
Solidity: function exchangeTemplate() returns(address out)
func (*V1FactoryCaller) GetExchange ¶
func (_V1Factory *V1FactoryCaller) GetExchange(opts *bind.CallOpts, token common.Address) (common.Address, error)
GetExchange is a free data retrieval call binding the contract method 0x06f2bf62.
Solidity: function getExchange(address token) returns(address out)
func (*V1FactoryCaller) GetToken ¶
func (_V1Factory *V1FactoryCaller) GetToken(opts *bind.CallOpts, exchange common.Address) (common.Address, error)
GetToken is a free data retrieval call binding the contract method 0x59770438.
Solidity: function getToken(address exchange) returns(address out)
func (*V1FactoryCaller) GetTokenWithId ¶
func (_V1Factory *V1FactoryCaller) GetTokenWithId(opts *bind.CallOpts, token_id *big.Int) (common.Address, error)
GetTokenWithId is a free data retrieval call binding the contract method 0xaa65a6c0.
Solidity: function getTokenWithId(uint256 token_id) returns(address out)
func (*V1FactoryCaller) TokenCount ¶
TokenCount is a free data retrieval call binding the contract method 0x9f181b5e.
Solidity: function tokenCount() returns(uint256 out)
type V1FactoryCallerRaw ¶
type V1FactoryCallerRaw struct {
Contract *V1FactoryCaller // Generic read-only contract binding to access the raw methods on
}
V1FactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*V1FactoryCallerRaw) Call ¶
func (_V1Factory *V1FactoryCallerRaw) 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 V1FactoryCallerSession ¶
type V1FactoryCallerSession struct { Contract *V1FactoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
V1FactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*V1FactoryCallerSession) ExchangeTemplate ¶
func (_V1Factory *V1FactoryCallerSession) ExchangeTemplate() (common.Address, error)
ExchangeTemplate is a free data retrieval call binding the contract method 0x1c2bbd18.
Solidity: function exchangeTemplate() returns(address out)
func (*V1FactoryCallerSession) GetExchange ¶
GetExchange is a free data retrieval call binding the contract method 0x06f2bf62.
Solidity: function getExchange(address token) returns(address out)
func (*V1FactoryCallerSession) GetToken ¶
GetToken is a free data retrieval call binding the contract method 0x59770438.
Solidity: function getToken(address exchange) returns(address out)
func (*V1FactoryCallerSession) GetTokenWithId ¶
GetTokenWithId is a free data retrieval call binding the contract method 0xaa65a6c0.
Solidity: function getTokenWithId(uint256 token_id) returns(address out)
func (*V1FactoryCallerSession) TokenCount ¶
func (_V1Factory *V1FactoryCallerSession) TokenCount() (*big.Int, error)
TokenCount is a free data retrieval call binding the contract method 0x9f181b5e.
Solidity: function tokenCount() returns(uint256 out)
type V1FactoryFilterer ¶
type V1FactoryFilterer struct {
// contains filtered or unexported fields
}
V1FactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewV1FactoryFilterer ¶
func NewV1FactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*V1FactoryFilterer, error)
NewV1FactoryFilterer creates a new log filterer instance of V1Factory, bound to a specific deployed contract.
func (*V1FactoryFilterer) FilterNewExchange ¶
func (_V1Factory *V1FactoryFilterer) FilterNewExchange(opts *bind.FilterOpts, token []common.Address, exchange []common.Address) (*V1FactoryNewExchangeIterator, error)
FilterNewExchange is a free log retrieval operation binding the contract event 0x9d42cb017eb05bd8944ab536a8b35bc68085931dd5f4356489801453923953f9.
Solidity: event NewExchange(address indexed token, address indexed exchange)
func (*V1FactoryFilterer) ParseNewExchange ¶
func (_V1Factory *V1FactoryFilterer) ParseNewExchange(log types.Log) (*V1FactoryNewExchange, error)
ParseNewExchange is a log parse operation binding the contract event 0x9d42cb017eb05bd8944ab536a8b35bc68085931dd5f4356489801453923953f9.
Solidity: event NewExchange(address indexed token, address indexed exchange)
func (*V1FactoryFilterer) WatchNewExchange ¶
func (_V1Factory *V1FactoryFilterer) WatchNewExchange(opts *bind.WatchOpts, sink chan<- *V1FactoryNewExchange, token []common.Address, exchange []common.Address) (event.Subscription, error)
WatchNewExchange is a free log subscription operation binding the contract event 0x9d42cb017eb05bd8944ab536a8b35bc68085931dd5f4356489801453923953f9.
Solidity: event NewExchange(address indexed token, address indexed exchange)
type V1FactoryNewExchange ¶
type V1FactoryNewExchange struct { Token common.Address Exchange common.Address Raw types.Log // Blockchain specific contextual infos }
V1FactoryNewExchange represents a NewExchange event raised by the V1Factory contract.
type V1FactoryNewExchangeIterator ¶
type V1FactoryNewExchangeIterator struct { Event *V1FactoryNewExchange // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V1FactoryNewExchangeIterator is returned from FilterNewExchange and is used to iterate over the raw logs and unpacked data for NewExchange events raised by the V1Factory contract.
func (*V1FactoryNewExchangeIterator) Close ¶
func (it *V1FactoryNewExchangeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V1FactoryNewExchangeIterator) Error ¶
func (it *V1FactoryNewExchangeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V1FactoryNewExchangeIterator) Next ¶
func (it *V1FactoryNewExchangeIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V1FactoryRaw ¶
type V1FactoryRaw struct {
Contract *V1Factory // Generic contract binding to access the raw methods on
}
V1FactoryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*V1FactoryRaw) Call ¶
func (_V1Factory *V1FactoryRaw) 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 (*V1FactoryRaw) Transact ¶
func (_V1Factory *V1FactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*V1FactoryRaw) Transfer ¶
func (_V1Factory *V1FactoryRaw) 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 V1FactorySession ¶
type V1FactorySession struct { Contract *V1Factory // 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 }
V1FactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*V1FactorySession) CreateExchange ¶
func (_V1Factory *V1FactorySession) CreateExchange(token common.Address) (*types.Transaction, error)
CreateExchange is a paid mutator transaction binding the contract method 0x1648f38e.
Solidity: function createExchange(address token) returns(address out)
func (*V1FactorySession) ExchangeTemplate ¶
func (_V1Factory *V1FactorySession) ExchangeTemplate() (common.Address, error)
ExchangeTemplate is a free data retrieval call binding the contract method 0x1c2bbd18.
Solidity: function exchangeTemplate() returns(address out)
func (*V1FactorySession) GetExchange ¶
GetExchange is a free data retrieval call binding the contract method 0x06f2bf62.
Solidity: function getExchange(address token) returns(address out)
func (*V1FactorySession) GetToken ¶
GetToken is a free data retrieval call binding the contract method 0x59770438.
Solidity: function getToken(address exchange) returns(address out)
func (*V1FactorySession) GetTokenWithId ¶
GetTokenWithId is a free data retrieval call binding the contract method 0xaa65a6c0.
Solidity: function getTokenWithId(uint256 token_id) returns(address out)
func (*V1FactorySession) InitializeFactory ¶
func (_V1Factory *V1FactorySession) InitializeFactory(template common.Address) (*types.Transaction, error)
InitializeFactory is a paid mutator transaction binding the contract method 0x538a3f0e.
Solidity: function initializeFactory(address template) returns()
func (*V1FactorySession) TokenCount ¶
func (_V1Factory *V1FactorySession) TokenCount() (*big.Int, error)
TokenCount is a free data retrieval call binding the contract method 0x9f181b5e.
Solidity: function tokenCount() returns(uint256 out)
type V1FactoryTransactor ¶
type V1FactoryTransactor struct {
// contains filtered or unexported fields
}
V1FactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewV1FactoryTransactor ¶
func NewV1FactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*V1FactoryTransactor, error)
NewV1FactoryTransactor creates a new write-only instance of V1Factory, bound to a specific deployed contract.
func (*V1FactoryTransactor) CreateExchange ¶
func (_V1Factory *V1FactoryTransactor) CreateExchange(opts *bind.TransactOpts, token common.Address) (*types.Transaction, error)
CreateExchange is a paid mutator transaction binding the contract method 0x1648f38e.
Solidity: function createExchange(address token) returns(address out)
func (*V1FactoryTransactor) InitializeFactory ¶
func (_V1Factory *V1FactoryTransactor) InitializeFactory(opts *bind.TransactOpts, template common.Address) (*types.Transaction, error)
InitializeFactory is a paid mutator transaction binding the contract method 0x538a3f0e.
Solidity: function initializeFactory(address template) returns()
type V1FactoryTransactorRaw ¶
type V1FactoryTransactorRaw struct {
Contract *V1FactoryTransactor // Generic write-only contract binding to access the raw methods on
}
V1FactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*V1FactoryTransactorRaw) Transact ¶
func (_V1Factory *V1FactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*V1FactoryTransactorRaw) Transfer ¶
func (_V1Factory *V1FactoryTransactorRaw) 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 V1FactoryTransactorSession ¶
type V1FactoryTransactorSession struct { Contract *V1FactoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
V1FactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*V1FactoryTransactorSession) CreateExchange ¶
func (_V1Factory *V1FactoryTransactorSession) CreateExchange(token common.Address) (*types.Transaction, error)
CreateExchange is a paid mutator transaction binding the contract method 0x1648f38e.
Solidity: function createExchange(address token) returns(address out)
func (*V1FactoryTransactorSession) InitializeFactory ¶
func (_V1Factory *V1FactoryTransactorSession) InitializeFactory(template common.Address) (*types.Transaction, error)
InitializeFactory is a paid mutator transaction binding the contract method 0x538a3f0e.
Solidity: function initializeFactory(address template) returns()
type V2Factory ¶
type V2Factory struct { V2FactoryCaller // Read-only binding to the contract V2FactoryTransactor // Write-only binding to the contract V2FactoryFilterer // Log filterer for contract events }
V2Factory is an auto generated Go binding around an Ethereum contract.
func NewV2Factory ¶
NewV2Factory creates a new instance of V2Factory, bound to a specific deployed contract.
type V2FactoryCaller ¶
type V2FactoryCaller struct {
// contains filtered or unexported fields
}
V2FactoryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewV2FactoryCaller ¶
func NewV2FactoryCaller(address common.Address, caller bind.ContractCaller) (*V2FactoryCaller, error)
NewV2FactoryCaller creates a new read-only instance of V2Factory, bound to a specific deployed contract.
func (*V2FactoryCaller) AllPairs ¶
func (_V2Factory *V2FactoryCaller) AllPairs(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.
Solidity: function allPairs(uint256 ) view returns(address)
func (*V2FactoryCaller) AllPairsLength ¶
AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.
Solidity: function allPairsLength() view returns(uint256)
func (*V2FactoryCaller) FeeTo ¶
FeeTo is a free data retrieval call binding the contract method 0x017e7e58.
Solidity: function feeTo() view returns(address)
func (*V2FactoryCaller) FeeToSetter ¶
FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.
Solidity: function feeToSetter() view returns(address)
func (*V2FactoryCaller) GetPair ¶
func (_V2Factory *V2FactoryCaller) GetPair(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (common.Address, error)
GetPair is a free data retrieval call binding the contract method 0xe6a43905.
Solidity: function getPair(address , address ) view returns(address)
type V2FactoryCallerRaw ¶
type V2FactoryCallerRaw struct {
Contract *V2FactoryCaller // Generic read-only contract binding to access the raw methods on
}
V2FactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*V2FactoryCallerRaw) Call ¶
func (_V2Factory *V2FactoryCallerRaw) 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 V2FactoryCallerSession ¶
type V2FactoryCallerSession struct { Contract *V2FactoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
V2FactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*V2FactoryCallerSession) AllPairs ¶
AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.
Solidity: function allPairs(uint256 ) view returns(address)
func (*V2FactoryCallerSession) AllPairsLength ¶
func (_V2Factory *V2FactoryCallerSession) AllPairsLength() (*big.Int, error)
AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.
Solidity: function allPairsLength() view returns(uint256)
func (*V2FactoryCallerSession) FeeTo ¶
func (_V2Factory *V2FactoryCallerSession) FeeTo() (common.Address, error)
FeeTo is a free data retrieval call binding the contract method 0x017e7e58.
Solidity: function feeTo() view returns(address)
func (*V2FactoryCallerSession) FeeToSetter ¶
func (_V2Factory *V2FactoryCallerSession) FeeToSetter() (common.Address, error)
FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.
Solidity: function feeToSetter() view returns(address)
func (*V2FactoryCallerSession) GetPair ¶
func (_V2Factory *V2FactoryCallerSession) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)
GetPair is a free data retrieval call binding the contract method 0xe6a43905.
Solidity: function getPair(address , address ) view returns(address)
type V2FactoryFilterer ¶
type V2FactoryFilterer struct {
// contains filtered or unexported fields
}
V2FactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewV2FactoryFilterer ¶
func NewV2FactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*V2FactoryFilterer, error)
NewV2FactoryFilterer creates a new log filterer instance of V2Factory, bound to a specific deployed contract.
func (*V2FactoryFilterer) FilterPairCreated ¶
func (_V2Factory *V2FactoryFilterer) FilterPairCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address) (*V2FactoryPairCreatedIterator, error)
FilterPairCreated is a free log retrieval operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.
Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)
func (*V2FactoryFilterer) ParsePairCreated ¶
func (_V2Factory *V2FactoryFilterer) ParsePairCreated(log types.Log) (*V2FactoryPairCreated, error)
ParsePairCreated is a log parse operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.
Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)
func (*V2FactoryFilterer) WatchPairCreated ¶
func (_V2Factory *V2FactoryFilterer) WatchPairCreated(opts *bind.WatchOpts, sink chan<- *V2FactoryPairCreated, token0 []common.Address, token1 []common.Address) (event.Subscription, error)
WatchPairCreated is a free log subscription operation binding the contract event 0x0d3648bd0f6ba80134a33ba9275ac585d9d315f0ad8355cddefde31afa28d0e9.
Solidity: event PairCreated(address indexed token0, address indexed token1, address pair, uint256 arg3)
type V2FactoryPairCreated ¶
type V2FactoryPairCreated struct { Token0 common.Address Token1 common.Address Pair common.Address Arg3 *big.Int Raw types.Log // Blockchain specific contextual infos }
V2FactoryPairCreated represents a PairCreated event raised by the V2Factory contract.
type V2FactoryPairCreatedIterator ¶
type V2FactoryPairCreatedIterator struct { Event *V2FactoryPairCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V2FactoryPairCreatedIterator is returned from FilterPairCreated and is used to iterate over the raw logs and unpacked data for PairCreated events raised by the V2Factory contract.
func (*V2FactoryPairCreatedIterator) Close ¶
func (it *V2FactoryPairCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V2FactoryPairCreatedIterator) Error ¶
func (it *V2FactoryPairCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V2FactoryPairCreatedIterator) Next ¶
func (it *V2FactoryPairCreatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V2FactoryRaw ¶
type V2FactoryRaw struct {
Contract *V2Factory // Generic contract binding to access the raw methods on
}
V2FactoryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*V2FactoryRaw) Call ¶
func (_V2Factory *V2FactoryRaw) 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 (*V2FactoryRaw) Transact ¶
func (_V2Factory *V2FactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*V2FactoryRaw) Transfer ¶
func (_V2Factory *V2FactoryRaw) 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 V2FactorySession ¶
type V2FactorySession struct { Contract *V2Factory // 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 }
V2FactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*V2FactorySession) AllPairs ¶
AllPairs is a free data retrieval call binding the contract method 0x1e3dd18b.
Solidity: function allPairs(uint256 ) view returns(address)
func (*V2FactorySession) AllPairsLength ¶
func (_V2Factory *V2FactorySession) AllPairsLength() (*big.Int, error)
AllPairsLength is a free data retrieval call binding the contract method 0x574f2ba3.
Solidity: function allPairsLength() view returns(uint256)
func (*V2FactorySession) CreatePair ¶
func (_V2Factory *V2FactorySession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)
CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.
Solidity: function createPair(address tokenA, address tokenB) returns(address pair)
func (*V2FactorySession) FeeTo ¶
func (_V2Factory *V2FactorySession) FeeTo() (common.Address, error)
FeeTo is a free data retrieval call binding the contract method 0x017e7e58.
Solidity: function feeTo() view returns(address)
func (*V2FactorySession) FeeToSetter ¶
func (_V2Factory *V2FactorySession) FeeToSetter() (common.Address, error)
FeeToSetter is a free data retrieval call binding the contract method 0x094b7415.
Solidity: function feeToSetter() view returns(address)
func (*V2FactorySession) GetPair ¶
func (_V2Factory *V2FactorySession) GetPair(arg0 common.Address, arg1 common.Address) (common.Address, error)
GetPair is a free data retrieval call binding the contract method 0xe6a43905.
Solidity: function getPair(address , address ) view returns(address)
func (*V2FactorySession) SetFeeTo ¶
func (_V2Factory *V2FactorySession) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)
SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.
Solidity: function setFeeTo(address _feeTo) returns()
func (*V2FactorySession) SetFeeToSetter ¶
func (_V2Factory *V2FactorySession) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)
SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.
Solidity: function setFeeToSetter(address _feeToSetter) returns()
type V2FactoryTransactor ¶
type V2FactoryTransactor struct {
// contains filtered or unexported fields
}
V2FactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewV2FactoryTransactor ¶
func NewV2FactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*V2FactoryTransactor, error)
NewV2FactoryTransactor creates a new write-only instance of V2Factory, bound to a specific deployed contract.
func (*V2FactoryTransactor) CreatePair ¶
func (_V2Factory *V2FactoryTransactor) CreatePair(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address) (*types.Transaction, error)
CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.
Solidity: function createPair(address tokenA, address tokenB) returns(address pair)
func (*V2FactoryTransactor) SetFeeTo ¶
func (_V2Factory *V2FactoryTransactor) SetFeeTo(opts *bind.TransactOpts, _feeTo common.Address) (*types.Transaction, error)
SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.
Solidity: function setFeeTo(address _feeTo) returns()
func (*V2FactoryTransactor) SetFeeToSetter ¶
func (_V2Factory *V2FactoryTransactor) SetFeeToSetter(opts *bind.TransactOpts, _feeToSetter common.Address) (*types.Transaction, error)
SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.
Solidity: function setFeeToSetter(address _feeToSetter) returns()
type V2FactoryTransactorRaw ¶
type V2FactoryTransactorRaw struct {
Contract *V2FactoryTransactor // Generic write-only contract binding to access the raw methods on
}
V2FactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*V2FactoryTransactorRaw) Transact ¶
func (_V2Factory *V2FactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*V2FactoryTransactorRaw) Transfer ¶
func (_V2Factory *V2FactoryTransactorRaw) 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 V2FactoryTransactorSession ¶
type V2FactoryTransactorSession struct { Contract *V2FactoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
V2FactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*V2FactoryTransactorSession) CreatePair ¶
func (_V2Factory *V2FactoryTransactorSession) CreatePair(tokenA common.Address, tokenB common.Address) (*types.Transaction, error)
CreatePair is a paid mutator transaction binding the contract method 0xc9c65396.
Solidity: function createPair(address tokenA, address tokenB) returns(address pair)
func (*V2FactoryTransactorSession) SetFeeTo ¶
func (_V2Factory *V2FactoryTransactorSession) SetFeeTo(_feeTo common.Address) (*types.Transaction, error)
SetFeeTo is a paid mutator transaction binding the contract method 0xf46901ed.
Solidity: function setFeeTo(address _feeTo) returns()
func (*V2FactoryTransactorSession) SetFeeToSetter ¶
func (_V2Factory *V2FactoryTransactorSession) SetFeeToSetter(_feeToSetter common.Address) (*types.Transaction, error)
SetFeeToSetter is a paid mutator transaction binding the contract method 0xa2e74af6.
Solidity: function setFeeToSetter(address _feeToSetter) returns()
type V2Pair ¶
type V2Pair struct { V2PairCaller // Read-only binding to the contract V2PairTransactor // Write-only binding to the contract V2PairFilterer // Log filterer for contract events }
V2Pair is an auto generated Go binding around an Ethereum contract.
type V2PairApproval ¶
type V2PairApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
V2PairApproval represents a Approval event raised by the V2Pair contract.
type V2PairApprovalIterator ¶
type V2PairApprovalIterator struct { Event *V2PairApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V2PairApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the V2Pair contract.
func (*V2PairApprovalIterator) Close ¶
func (it *V2PairApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V2PairApprovalIterator) Error ¶
func (it *V2PairApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V2PairApprovalIterator) Next ¶
func (it *V2PairApprovalIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V2PairBurn ¶
type V2PairBurn struct { Sender common.Address Amount0 *big.Int Amount1 *big.Int To common.Address Raw types.Log // Blockchain specific contextual infos }
V2PairBurn represents a Burn event raised by the V2Pair contract.
type V2PairBurnIterator ¶
type V2PairBurnIterator struct { Event *V2PairBurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V2PairBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the V2Pair contract.
func (*V2PairBurnIterator) Close ¶
func (it *V2PairBurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V2PairBurnIterator) Error ¶
func (it *V2PairBurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V2PairBurnIterator) Next ¶
func (it *V2PairBurnIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V2PairCaller ¶
type V2PairCaller struct {
// contains filtered or unexported fields
}
V2PairCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewV2PairCaller ¶
func NewV2PairCaller(address common.Address, caller bind.ContractCaller) (*V2PairCaller, error)
NewV2PairCaller creates a new read-only instance of V2Pair, bound to a specific deployed contract.
func (*V2PairCaller) Allowance ¶
func (_V2Pair *V2PairCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*V2PairCaller) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*V2PairCaller) DOMAINSEPARATOR ¶
func (_V2Pair *V2PairCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*V2PairCaller) Decimals ¶
func (_V2Pair *V2PairCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*V2PairCaller) Factory ¶
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*V2PairCaller) GetReserves ¶
func (_V2Pair *V2PairCaller) GetReserves(opts *bind.CallOpts) (struct { Reserve0 *big.Int Reserve1 *big.Int BlockTimestampLast uint32 }, error)
GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.
Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)
func (*V2PairCaller) KLast ¶
KLast is a free data retrieval call binding the contract method 0x7464fc3d.
Solidity: function kLast() view returns(uint256)
func (*V2PairCaller) MINIMUMLIQUIDITY ¶
MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.
Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)
func (*V2PairCaller) Name ¶
func (_V2Pair *V2PairCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*V2PairCaller) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*V2PairCaller) PERMITTYPEHASH ¶
func (_V2Pair *V2PairCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*V2PairCaller) Price0CumulativeLast ¶
Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.
Solidity: function price0CumulativeLast() view returns(uint256)
func (*V2PairCaller) Price1CumulativeLast ¶
Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.
Solidity: function price1CumulativeLast() view returns(uint256)
func (*V2PairCaller) Symbol ¶
func (_V2Pair *V2PairCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*V2PairCaller) Token0 ¶
Token0 is a free data retrieval call binding the contract method 0x0dfe1681.
Solidity: function token0() view returns(address)
func (*V2PairCaller) Token1 ¶
Token1 is a free data retrieval call binding the contract method 0xd21220a7.
Solidity: function token1() view returns(address)
func (*V2PairCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type V2PairCallerRaw ¶
type V2PairCallerRaw struct {
Contract *V2PairCaller // Generic read-only contract binding to access the raw methods on
}
V2PairCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*V2PairCallerRaw) Call ¶
func (_V2Pair *V2PairCallerRaw) 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 V2PairCallerSession ¶
type V2PairCallerSession struct { Contract *V2PairCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
V2PairCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*V2PairCallerSession) Allowance ¶
func (_V2Pair *V2PairCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*V2PairCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*V2PairCallerSession) DOMAINSEPARATOR ¶
func (_V2Pair *V2PairCallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*V2PairCallerSession) Decimals ¶
func (_V2Pair *V2PairCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*V2PairCallerSession) Factory ¶
func (_V2Pair *V2PairCallerSession) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*V2PairCallerSession) GetReserves ¶
func (_V2Pair *V2PairCallerSession) GetReserves() (struct { Reserve0 *big.Int Reserve1 *big.Int BlockTimestampLast uint32 }, error)
GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.
Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)
func (*V2PairCallerSession) KLast ¶
func (_V2Pair *V2PairCallerSession) KLast() (*big.Int, error)
KLast is a free data retrieval call binding the contract method 0x7464fc3d.
Solidity: function kLast() view returns(uint256)
func (*V2PairCallerSession) MINIMUMLIQUIDITY ¶
func (_V2Pair *V2PairCallerSession) MINIMUMLIQUIDITY() (*big.Int, error)
MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.
Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)
func (*V2PairCallerSession) Name ¶
func (_V2Pair *V2PairCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*V2PairCallerSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*V2PairCallerSession) PERMITTYPEHASH ¶
func (_V2Pair *V2PairCallerSession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*V2PairCallerSession) Price0CumulativeLast ¶
func (_V2Pair *V2PairCallerSession) Price0CumulativeLast() (*big.Int, error)
Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.
Solidity: function price0CumulativeLast() view returns(uint256)
func (*V2PairCallerSession) Price1CumulativeLast ¶
func (_V2Pair *V2PairCallerSession) Price1CumulativeLast() (*big.Int, error)
Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.
Solidity: function price1CumulativeLast() view returns(uint256)
func (*V2PairCallerSession) Symbol ¶
func (_V2Pair *V2PairCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*V2PairCallerSession) Token0 ¶
func (_V2Pair *V2PairCallerSession) Token0() (common.Address, error)
Token0 is a free data retrieval call binding the contract method 0x0dfe1681.
Solidity: function token0() view returns(address)
func (*V2PairCallerSession) Token1 ¶
func (_V2Pair *V2PairCallerSession) Token1() (common.Address, error)
Token1 is a free data retrieval call binding the contract method 0xd21220a7.
Solidity: function token1() view returns(address)
func (*V2PairCallerSession) TotalSupply ¶
func (_V2Pair *V2PairCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type V2PairFilterer ¶
type V2PairFilterer struct {
// contains filtered or unexported fields
}
V2PairFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewV2PairFilterer ¶
func NewV2PairFilterer(address common.Address, filterer bind.ContractFilterer) (*V2PairFilterer, error)
NewV2PairFilterer creates a new log filterer instance of V2Pair, bound to a specific deployed contract.
func (*V2PairFilterer) FilterApproval ¶
func (_V2Pair *V2PairFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*V2PairApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*V2PairFilterer) FilterBurn ¶
func (_V2Pair *V2PairFilterer) FilterBurn(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*V2PairBurnIterator, error)
FilterBurn is a free log retrieval operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.
Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)
func (*V2PairFilterer) FilterMint ¶
func (_V2Pair *V2PairFilterer) FilterMint(opts *bind.FilterOpts, sender []common.Address) (*V2PairMintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.
Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)
func (*V2PairFilterer) FilterSwap ¶
func (_V2Pair *V2PairFilterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, to []common.Address) (*V2PairSwapIterator, error)
FilterSwap is a free log retrieval operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.
Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)
func (*V2PairFilterer) FilterSync ¶
func (_V2Pair *V2PairFilterer) FilterSync(opts *bind.FilterOpts) (*V2PairSyncIterator, error)
FilterSync is a free log retrieval operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.
Solidity: event Sync(uint112 reserve0, uint112 reserve1)
func (*V2PairFilterer) FilterTransfer ¶
func (_V2Pair *V2PairFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*V2PairTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*V2PairFilterer) ParseApproval ¶
func (_V2Pair *V2PairFilterer) ParseApproval(log types.Log) (*V2PairApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*V2PairFilterer) ParseBurn ¶
func (_V2Pair *V2PairFilterer) ParseBurn(log types.Log) (*V2PairBurn, error)
ParseBurn is a log parse operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.
Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)
func (*V2PairFilterer) ParseMint ¶
func (_V2Pair *V2PairFilterer) ParseMint(log types.Log) (*V2PairMint, error)
ParseMint is a log parse operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.
Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)
func (*V2PairFilterer) ParseSwap ¶
func (_V2Pair *V2PairFilterer) ParseSwap(log types.Log) (*V2PairSwap, error)
ParseSwap is a log parse operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.
Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)
func (*V2PairFilterer) ParseSync ¶
func (_V2Pair *V2PairFilterer) ParseSync(log types.Log) (*V2PairSync, error)
ParseSync is a log parse operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.
Solidity: event Sync(uint112 reserve0, uint112 reserve1)
func (*V2PairFilterer) ParseTransfer ¶
func (_V2Pair *V2PairFilterer) ParseTransfer(log types.Log) (*V2PairTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*V2PairFilterer) WatchApproval ¶
func (_V2Pair *V2PairFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *V2PairApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*V2PairFilterer) WatchBurn ¶
func (_V2Pair *V2PairFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *V2PairBurn, sender []common.Address, to []common.Address) (event.Subscription, error)
WatchBurn is a free log subscription operation binding the contract event 0xdccd412f0b1252819cb1fd330b93224ca42612892bb3f4f789976e6d81936496.
Solidity: event Burn(address indexed sender, uint256 amount0, uint256 amount1, address indexed to)
func (*V2PairFilterer) WatchMint ¶
func (_V2Pair *V2PairFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *V2PairMint, sender []common.Address) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0x4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f.
Solidity: event Mint(address indexed sender, uint256 amount0, uint256 amount1)
func (*V2PairFilterer) WatchSwap ¶
func (_V2Pair *V2PairFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *V2PairSwap, sender []common.Address, to []common.Address) (event.Subscription, error)
WatchSwap is a free log subscription operation binding the contract event 0xd78ad95fa46c994b6551d0da85fc275fe613ce37657fb8d5e3d130840159d822.
Solidity: event Swap(address indexed sender, uint256 amount0In, uint256 amount1In, uint256 amount0Out, uint256 amount1Out, address indexed to)
func (*V2PairFilterer) WatchSync ¶
func (_V2Pair *V2PairFilterer) WatchSync(opts *bind.WatchOpts, sink chan<- *V2PairSync) (event.Subscription, error)
WatchSync is a free log subscription operation binding the contract event 0x1c411e9a96e071241c2f21f7726b17ae89e3cab4c78be50e062b03a9fffbbad1.
Solidity: event Sync(uint112 reserve0, uint112 reserve1)
func (*V2PairFilterer) WatchTransfer ¶
func (_V2Pair *V2PairFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *V2PairTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type V2PairMint ¶
type V2PairMint struct { Sender common.Address Amount0 *big.Int Amount1 *big.Int Raw types.Log // Blockchain specific contextual infos }
V2PairMint represents a Mint event raised by the V2Pair contract.
type V2PairMintIterator ¶
type V2PairMintIterator struct { Event *V2PairMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V2PairMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the V2Pair contract.
func (*V2PairMintIterator) Close ¶
func (it *V2PairMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V2PairMintIterator) Error ¶
func (it *V2PairMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V2PairMintIterator) Next ¶
func (it *V2PairMintIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V2PairRaw ¶
type V2PairRaw struct {
Contract *V2Pair // Generic contract binding to access the raw methods on
}
V2PairRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*V2PairRaw) Call ¶
func (_V2Pair *V2PairRaw) 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 (*V2PairRaw) Transact ¶
func (_V2Pair *V2PairRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*V2PairRaw) Transfer ¶
func (_V2Pair *V2PairRaw) 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 V2PairSession ¶
type V2PairSession struct { Contract *V2Pair // 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 }
V2PairSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*V2PairSession) Allowance ¶
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*V2PairSession) Approve ¶
func (_V2Pair *V2PairSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*V2PairSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*V2PairSession) Burn ¶
func (_V2Pair *V2PairSession) Burn(to common.Address) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x89afcb44.
Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)
func (*V2PairSession) DOMAINSEPARATOR ¶
func (_V2Pair *V2PairSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*V2PairSession) Decimals ¶
func (_V2Pair *V2PairSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*V2PairSession) Factory ¶
func (_V2Pair *V2PairSession) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*V2PairSession) GetReserves ¶
func (_V2Pair *V2PairSession) GetReserves() (struct { Reserve0 *big.Int Reserve1 *big.Int BlockTimestampLast uint32 }, error)
GetReserves is a free data retrieval call binding the contract method 0x0902f1ac.
Solidity: function getReserves() view returns(uint112 _reserve0, uint112 _reserve1, uint32 _blockTimestampLast)
func (*V2PairSession) Initialize ¶
func (_V2Pair *V2PairSession) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _token0, address _token1) returns()
func (*V2PairSession) KLast ¶
func (_V2Pair *V2PairSession) KLast() (*big.Int, error)
KLast is a free data retrieval call binding the contract method 0x7464fc3d.
Solidity: function kLast() view returns(uint256)
func (*V2PairSession) MINIMUMLIQUIDITY ¶
func (_V2Pair *V2PairSession) MINIMUMLIQUIDITY() (*big.Int, error)
MINIMUMLIQUIDITY is a free data retrieval call binding the contract method 0xba9a7a56.
Solidity: function MINIMUM_LIQUIDITY() view returns(uint256)
func (*V2PairSession) Mint ¶
func (_V2Pair *V2PairSession) Mint(to common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x6a627842.
Solidity: function mint(address to) returns(uint256 liquidity)
func (*V2PairSession) Name ¶
func (_V2Pair *V2PairSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*V2PairSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*V2PairSession) PERMITTYPEHASH ¶
func (_V2Pair *V2PairSession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*V2PairSession) Permit ¶
func (_V2Pair *V2PairSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*V2PairSession) Price0CumulativeLast ¶
func (_V2Pair *V2PairSession) Price0CumulativeLast() (*big.Int, error)
Price0CumulativeLast is a free data retrieval call binding the contract method 0x5909c0d5.
Solidity: function price0CumulativeLast() view returns(uint256)
func (*V2PairSession) Price1CumulativeLast ¶
func (_V2Pair *V2PairSession) Price1CumulativeLast() (*big.Int, error)
Price1CumulativeLast is a free data retrieval call binding the contract method 0x5a3d5493.
Solidity: function price1CumulativeLast() view returns(uint256)
func (*V2PairSession) Skim ¶
func (_V2Pair *V2PairSession) Skim(to common.Address) (*types.Transaction, error)
Skim is a paid mutator transaction binding the contract method 0xbc25cf77.
Solidity: function skim(address to) returns()
func (*V2PairSession) Swap ¶
func (_V2Pair *V2PairSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x022c0d9f.
Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()
func (*V2PairSession) Symbol ¶
func (_V2Pair *V2PairSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*V2PairSession) Sync ¶
func (_V2Pair *V2PairSession) Sync() (*types.Transaction, error)
Sync is a paid mutator transaction binding the contract method 0xfff6cae9.
Solidity: function sync() returns()
func (*V2PairSession) Token0 ¶
func (_V2Pair *V2PairSession) Token0() (common.Address, error)
Token0 is a free data retrieval call binding the contract method 0x0dfe1681.
Solidity: function token0() view returns(address)
func (*V2PairSession) Token1 ¶
func (_V2Pair *V2PairSession) Token1() (common.Address, error)
Token1 is a free data retrieval call binding the contract method 0xd21220a7.
Solidity: function token1() view returns(address)
func (*V2PairSession) TotalSupply ¶
func (_V2Pair *V2PairSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*V2PairSession) Transfer ¶
func (_V2Pair *V2PairSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*V2PairSession) TransferFrom ¶
func (_V2Pair *V2PairSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type V2PairSwap ¶
type V2PairSwap struct { Sender common.Address Amount0In *big.Int Amount1In *big.Int Amount0Out *big.Int Amount1Out *big.Int To common.Address Raw types.Log // Blockchain specific contextual infos }
V2PairSwap represents a Swap event raised by the V2Pair contract.
type V2PairSwapIterator ¶
type V2PairSwapIterator struct { Event *V2PairSwap // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V2PairSwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the V2Pair contract.
func (*V2PairSwapIterator) Close ¶
func (it *V2PairSwapIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V2PairSwapIterator) Error ¶
func (it *V2PairSwapIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V2PairSwapIterator) Next ¶
func (it *V2PairSwapIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V2PairSync ¶
type V2PairSync struct { Reserve0 *big.Int Reserve1 *big.Int Raw types.Log // Blockchain specific contextual infos }
V2PairSync represents a Sync event raised by the V2Pair contract.
type V2PairSyncIterator ¶
type V2PairSyncIterator struct { Event *V2PairSync // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V2PairSyncIterator is returned from FilterSync and is used to iterate over the raw logs and unpacked data for Sync events raised by the V2Pair contract.
func (*V2PairSyncIterator) Close ¶
func (it *V2PairSyncIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V2PairSyncIterator) Error ¶
func (it *V2PairSyncIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V2PairSyncIterator) Next ¶
func (it *V2PairSyncIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V2PairTransactor ¶
type V2PairTransactor struct {
// contains filtered or unexported fields
}
V2PairTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewV2PairTransactor ¶
func NewV2PairTransactor(address common.Address, transactor bind.ContractTransactor) (*V2PairTransactor, error)
NewV2PairTransactor creates a new write-only instance of V2Pair, bound to a specific deployed contract.
func (*V2PairTransactor) Approve ¶
func (_V2Pair *V2PairTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*V2PairTransactor) Burn ¶
func (_V2Pair *V2PairTransactor) Burn(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x89afcb44.
Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)
func (*V2PairTransactor) Initialize ¶
func (_V2Pair *V2PairTransactor) Initialize(opts *bind.TransactOpts, _token0 common.Address, _token1 common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _token0, address _token1) returns()
func (*V2PairTransactor) Mint ¶
func (_V2Pair *V2PairTransactor) Mint(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x6a627842.
Solidity: function mint(address to) returns(uint256 liquidity)
func (*V2PairTransactor) Permit ¶
func (_V2Pair *V2PairTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*V2PairTransactor) Skim ¶
func (_V2Pair *V2PairTransactor) Skim(opts *bind.TransactOpts, to common.Address) (*types.Transaction, error)
Skim is a paid mutator transaction binding the contract method 0xbc25cf77.
Solidity: function skim(address to) returns()
func (*V2PairTransactor) Swap ¶
func (_V2Pair *V2PairTransactor) Swap(opts *bind.TransactOpts, amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x022c0d9f.
Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()
func (*V2PairTransactor) Sync ¶
func (_V2Pair *V2PairTransactor) Sync(opts *bind.TransactOpts) (*types.Transaction, error)
Sync is a paid mutator transaction binding the contract method 0xfff6cae9.
Solidity: function sync() returns()
func (*V2PairTransactor) Transfer ¶
func (_V2Pair *V2PairTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*V2PairTransactor) TransferFrom ¶
func (_V2Pair *V2PairTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type V2PairTransactorRaw ¶
type V2PairTransactorRaw struct {
Contract *V2PairTransactor // Generic write-only contract binding to access the raw methods on
}
V2PairTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*V2PairTransactorRaw) Transact ¶
func (_V2Pair *V2PairTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*V2PairTransactorRaw) Transfer ¶
func (_V2Pair *V2PairTransactorRaw) 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 V2PairTransactorSession ¶
type V2PairTransactorSession struct { Contract *V2PairTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
V2PairTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*V2PairTransactorSession) Approve ¶
func (_V2Pair *V2PairTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*V2PairTransactorSession) Burn ¶
func (_V2Pair *V2PairTransactorSession) Burn(to common.Address) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x89afcb44.
Solidity: function burn(address to) returns(uint256 amount0, uint256 amount1)
func (*V2PairTransactorSession) Initialize ¶
func (_V2Pair *V2PairTransactorSession) Initialize(_token0 common.Address, _token1 common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0x485cc955.
Solidity: function initialize(address _token0, address _token1) returns()
func (*V2PairTransactorSession) Mint ¶
func (_V2Pair *V2PairTransactorSession) Mint(to common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x6a627842.
Solidity: function mint(address to) returns(uint256 liquidity)
func (*V2PairTransactorSession) Permit ¶
func (_V2Pair *V2PairTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*V2PairTransactorSession) Skim ¶
func (_V2Pair *V2PairTransactorSession) Skim(to common.Address) (*types.Transaction, error)
Skim is a paid mutator transaction binding the contract method 0xbc25cf77.
Solidity: function skim(address to) returns()
func (*V2PairTransactorSession) Swap ¶
func (_V2Pair *V2PairTransactorSession) Swap(amount0Out *big.Int, amount1Out *big.Int, to common.Address, data []byte) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x022c0d9f.
Solidity: function swap(uint256 amount0Out, uint256 amount1Out, address to, bytes data) returns()
func (*V2PairTransactorSession) Sync ¶
func (_V2Pair *V2PairTransactorSession) Sync() (*types.Transaction, error)
Sync is a paid mutator transaction binding the contract method 0xfff6cae9.
Solidity: function sync() returns()
func (*V2PairTransactorSession) Transfer ¶
func (_V2Pair *V2PairTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*V2PairTransactorSession) TransferFrom ¶
func (_V2Pair *V2PairTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
type V2PairTransfer ¶
type V2PairTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
V2PairTransfer represents a Transfer event raised by the V2Pair contract.
type V2PairTransferIterator ¶
type V2PairTransferIterator struct { Event *V2PairTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V2PairTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the V2Pair contract.
func (*V2PairTransferIterator) Close ¶
func (it *V2PairTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V2PairTransferIterator) Error ¶
func (it *V2PairTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V2PairTransferIterator) Next ¶
func (it *V2PairTransferIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V3Factory ¶
type V3Factory struct { V3FactoryCaller // Read-only binding to the contract V3FactoryTransactor // Write-only binding to the contract V3FactoryFilterer // Log filterer for contract events }
V3Factory is an auto generated Go binding around an Ethereum contract.
func NewV3Factory ¶
NewV3Factory creates a new instance of V3Factory, bound to a specific deployed contract.
type V3FactoryCaller ¶
type V3FactoryCaller struct {
// contains filtered or unexported fields
}
V3FactoryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewV3FactoryCaller ¶
func NewV3FactoryCaller(address common.Address, caller bind.ContractCaller) (*V3FactoryCaller, error)
NewV3FactoryCaller creates a new read-only instance of V3Factory, bound to a specific deployed contract.
func (*V3FactoryCaller) FeeAmountTickSpacing ¶
func (_V3Factory *V3FactoryCaller) FeeAmountTickSpacing(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.
Solidity: function feeAmountTickSpacing(uint24 ) view returns(int24)
func (*V3FactoryCaller) GetPool ¶
func (_V3Factory *V3FactoryCaller) GetPool(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
GetPool is a free data retrieval call binding the contract method 0x1698ee82.
Solidity: function getPool(address , address , uint24 ) view returns(address)
func (*V3FactoryCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*V3FactoryCaller) Parameters ¶
func (_V3Factory *V3FactoryCaller) Parameters(opts *bind.CallOpts) (struct { Factory common.Address Token0 common.Address Token1 common.Address Fee *big.Int TickSpacing *big.Int }, error)
Parameters is a free data retrieval call binding the contract method 0x89035730.
Solidity: function parameters() view returns(address factory, address token0, address token1, uint24 fee, int24 tickSpacing)
type V3FactoryCallerRaw ¶
type V3FactoryCallerRaw struct {
Contract *V3FactoryCaller // Generic read-only contract binding to access the raw methods on
}
V3FactoryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*V3FactoryCallerRaw) Call ¶
func (_V3Factory *V3FactoryCallerRaw) 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 V3FactoryCallerSession ¶
type V3FactoryCallerSession struct { Contract *V3FactoryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
V3FactoryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*V3FactoryCallerSession) FeeAmountTickSpacing ¶
FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.
Solidity: function feeAmountTickSpacing(uint24 ) view returns(int24)
func (*V3FactoryCallerSession) GetPool ¶
func (_V3Factory *V3FactoryCallerSession) GetPool(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
GetPool is a free data retrieval call binding the contract method 0x1698ee82.
Solidity: function getPool(address , address , uint24 ) view returns(address)
func (*V3FactoryCallerSession) Owner ¶
func (_V3Factory *V3FactoryCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*V3FactoryCallerSession) Parameters ¶
func (_V3Factory *V3FactoryCallerSession) Parameters() (struct { Factory common.Address Token0 common.Address Token1 common.Address Fee *big.Int TickSpacing *big.Int }, error)
Parameters is a free data retrieval call binding the contract method 0x89035730.
Solidity: function parameters() view returns(address factory, address token0, address token1, uint24 fee, int24 tickSpacing)
type V3FactoryFeeAmountEnabled ¶
type V3FactoryFeeAmountEnabled struct { Fee *big.Int TickSpacing *big.Int Raw types.Log // Blockchain specific contextual infos }
V3FactoryFeeAmountEnabled represents a FeeAmountEnabled event raised by the V3Factory contract.
type V3FactoryFeeAmountEnabledIterator ¶
type V3FactoryFeeAmountEnabledIterator struct { Event *V3FactoryFeeAmountEnabled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V3FactoryFeeAmountEnabledIterator is returned from FilterFeeAmountEnabled and is used to iterate over the raw logs and unpacked data for FeeAmountEnabled events raised by the V3Factory contract.
func (*V3FactoryFeeAmountEnabledIterator) Close ¶
func (it *V3FactoryFeeAmountEnabledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V3FactoryFeeAmountEnabledIterator) Error ¶
func (it *V3FactoryFeeAmountEnabledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V3FactoryFeeAmountEnabledIterator) Next ¶
func (it *V3FactoryFeeAmountEnabledIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V3FactoryFilterer ¶
type V3FactoryFilterer struct {
// contains filtered or unexported fields
}
V3FactoryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewV3FactoryFilterer ¶
func NewV3FactoryFilterer(address common.Address, filterer bind.ContractFilterer) (*V3FactoryFilterer, error)
NewV3FactoryFilterer creates a new log filterer instance of V3Factory, bound to a specific deployed contract.
func (*V3FactoryFilterer) FilterFeeAmountEnabled ¶
func (_V3Factory *V3FactoryFilterer) FilterFeeAmountEnabled(opts *bind.FilterOpts, fee []*big.Int, tickSpacing []*big.Int) (*V3FactoryFeeAmountEnabledIterator, error)
FilterFeeAmountEnabled is a free log retrieval operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.
Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)
func (*V3FactoryFilterer) FilterOwnerChanged ¶
func (_V3Factory *V3FactoryFilterer) FilterOwnerChanged(opts *bind.FilterOpts, oldOwner []common.Address, newOwner []common.Address) (*V3FactoryOwnerChangedIterator, error)
FilterOwnerChanged is a free log retrieval operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)
func (*V3FactoryFilterer) FilterPoolCreated ¶
func (_V3Factory *V3FactoryFilterer) FilterPoolCreated(opts *bind.FilterOpts, token0 []common.Address, token1 []common.Address, fee []*big.Int) (*V3FactoryPoolCreatedIterator, error)
FilterPoolCreated is a free log retrieval operation binding the contract event 0x783cca1c0412dd0d695e784568c96da2e9c22ff989357a2e8b1d9b2b4e6b7118.
Solidity: event PoolCreated(address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool)
func (*V3FactoryFilterer) ParseFeeAmountEnabled ¶
func (_V3Factory *V3FactoryFilterer) ParseFeeAmountEnabled(log types.Log) (*V3FactoryFeeAmountEnabled, error)
ParseFeeAmountEnabled is a log parse operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.
Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)
func (*V3FactoryFilterer) ParseOwnerChanged ¶
func (_V3Factory *V3FactoryFilterer) ParseOwnerChanged(log types.Log) (*V3FactoryOwnerChanged, error)
ParseOwnerChanged is a log parse operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)
func (*V3FactoryFilterer) ParsePoolCreated ¶
func (_V3Factory *V3FactoryFilterer) ParsePoolCreated(log types.Log) (*V3FactoryPoolCreated, error)
ParsePoolCreated is a log parse operation binding the contract event 0x783cca1c0412dd0d695e784568c96da2e9c22ff989357a2e8b1d9b2b4e6b7118.
Solidity: event PoolCreated(address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool)
func (*V3FactoryFilterer) WatchFeeAmountEnabled ¶
func (_V3Factory *V3FactoryFilterer) WatchFeeAmountEnabled(opts *bind.WatchOpts, sink chan<- *V3FactoryFeeAmountEnabled, fee []*big.Int, tickSpacing []*big.Int) (event.Subscription, error)
WatchFeeAmountEnabled is a free log subscription operation binding the contract event 0xc66a3fdf07232cdd185febcc6579d408c241b47ae2f9907d84be655141eeaecc.
Solidity: event FeeAmountEnabled(uint24 indexed fee, int24 indexed tickSpacing)
func (*V3FactoryFilterer) WatchOwnerChanged ¶
func (_V3Factory *V3FactoryFilterer) WatchOwnerChanged(opts *bind.WatchOpts, sink chan<- *V3FactoryOwnerChanged, oldOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnerChanged is a free log subscription operation binding the contract event 0xb532073b38c83145e3e5135377a08bf9aab55bc0fd7c1179cd4fb995d2a5159c.
Solidity: event OwnerChanged(address indexed oldOwner, address indexed newOwner)
func (*V3FactoryFilterer) WatchPoolCreated ¶
func (_V3Factory *V3FactoryFilterer) WatchPoolCreated(opts *bind.WatchOpts, sink chan<- *V3FactoryPoolCreated, token0 []common.Address, token1 []common.Address, fee []*big.Int) (event.Subscription, error)
WatchPoolCreated is a free log subscription operation binding the contract event 0x783cca1c0412dd0d695e784568c96da2e9c22ff989357a2e8b1d9b2b4e6b7118.
Solidity: event PoolCreated(address indexed token0, address indexed token1, uint24 indexed fee, int24 tickSpacing, address pool)
type V3FactoryOwnerChanged ¶
type V3FactoryOwnerChanged struct { OldOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
V3FactoryOwnerChanged represents a OwnerChanged event raised by the V3Factory contract.
type V3FactoryOwnerChangedIterator ¶
type V3FactoryOwnerChangedIterator struct { Event *V3FactoryOwnerChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V3FactoryOwnerChangedIterator is returned from FilterOwnerChanged and is used to iterate over the raw logs and unpacked data for OwnerChanged events raised by the V3Factory contract.
func (*V3FactoryOwnerChangedIterator) Close ¶
func (it *V3FactoryOwnerChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V3FactoryOwnerChangedIterator) Error ¶
func (it *V3FactoryOwnerChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V3FactoryOwnerChangedIterator) Next ¶
func (it *V3FactoryOwnerChangedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V3FactoryPoolCreated ¶
type V3FactoryPoolCreated struct { Token0 common.Address Token1 common.Address Fee *big.Int TickSpacing *big.Int Pool common.Address Raw types.Log // Blockchain specific contextual infos }
V3FactoryPoolCreated represents a PoolCreated event raised by the V3Factory contract.
type V3FactoryPoolCreatedIterator ¶
type V3FactoryPoolCreatedIterator struct { Event *V3FactoryPoolCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V3FactoryPoolCreatedIterator is returned from FilterPoolCreated and is used to iterate over the raw logs and unpacked data for PoolCreated events raised by the V3Factory contract.
func (*V3FactoryPoolCreatedIterator) Close ¶
func (it *V3FactoryPoolCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V3FactoryPoolCreatedIterator) Error ¶
func (it *V3FactoryPoolCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V3FactoryPoolCreatedIterator) Next ¶
func (it *V3FactoryPoolCreatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V3FactoryRaw ¶
type V3FactoryRaw struct {
Contract *V3Factory // Generic contract binding to access the raw methods on
}
V3FactoryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*V3FactoryRaw) Call ¶
func (_V3Factory *V3FactoryRaw) 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 (*V3FactoryRaw) Transact ¶
func (_V3Factory *V3FactoryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*V3FactoryRaw) Transfer ¶
func (_V3Factory *V3FactoryRaw) 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 V3FactorySession ¶
type V3FactorySession struct { Contract *V3Factory // 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 }
V3FactorySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*V3FactorySession) CreatePool ¶
func (_V3Factory *V3FactorySession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)
CreatePool is a paid mutator transaction binding the contract method 0xa1671295.
Solidity: function createPool(address tokenA, address tokenB, uint24 fee) returns(address pool)
func (*V3FactorySession) EnableFeeAmount ¶
func (_V3Factory *V3FactorySession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
EnableFeeAmount is a paid mutator transaction binding the contract method 0x8a7c195f.
Solidity: function enableFeeAmount(uint24 fee, int24 tickSpacing) returns()
func (*V3FactorySession) FeeAmountTickSpacing ¶
FeeAmountTickSpacing is a free data retrieval call binding the contract method 0x22afcccb.
Solidity: function feeAmountTickSpacing(uint24 ) view returns(int24)
func (*V3FactorySession) GetPool ¶
func (_V3Factory *V3FactorySession) GetPool(arg0 common.Address, arg1 common.Address, arg2 *big.Int) (common.Address, error)
GetPool is a free data retrieval call binding the contract method 0x1698ee82.
Solidity: function getPool(address , address , uint24 ) view returns(address)
func (*V3FactorySession) Owner ¶
func (_V3Factory *V3FactorySession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*V3FactorySession) Parameters ¶
func (_V3Factory *V3FactorySession) Parameters() (struct { Factory common.Address Token0 common.Address Token1 common.Address Fee *big.Int TickSpacing *big.Int }, error)
Parameters is a free data retrieval call binding the contract method 0x89035730.
Solidity: function parameters() view returns(address factory, address token0, address token1, uint24 fee, int24 tickSpacing)
func (*V3FactorySession) SetOwner ¶
func (_V3Factory *V3FactorySession) SetOwner(_owner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address _owner) returns()
type V3FactoryTransactor ¶
type V3FactoryTransactor struct {
// contains filtered or unexported fields
}
V3FactoryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewV3FactoryTransactor ¶
func NewV3FactoryTransactor(address common.Address, transactor bind.ContractTransactor) (*V3FactoryTransactor, error)
NewV3FactoryTransactor creates a new write-only instance of V3Factory, bound to a specific deployed contract.
func (*V3FactoryTransactor) CreatePool ¶
func (_V3Factory *V3FactoryTransactor) CreatePool(opts *bind.TransactOpts, tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)
CreatePool is a paid mutator transaction binding the contract method 0xa1671295.
Solidity: function createPool(address tokenA, address tokenB, uint24 fee) returns(address pool)
func (*V3FactoryTransactor) EnableFeeAmount ¶
func (_V3Factory *V3FactoryTransactor) EnableFeeAmount(opts *bind.TransactOpts, fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
EnableFeeAmount is a paid mutator transaction binding the contract method 0x8a7c195f.
Solidity: function enableFeeAmount(uint24 fee, int24 tickSpacing) returns()
func (*V3FactoryTransactor) SetOwner ¶
func (_V3Factory *V3FactoryTransactor) SetOwner(opts *bind.TransactOpts, _owner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address _owner) returns()
type V3FactoryTransactorRaw ¶
type V3FactoryTransactorRaw struct {
Contract *V3FactoryTransactor // Generic write-only contract binding to access the raw methods on
}
V3FactoryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*V3FactoryTransactorRaw) Transact ¶
func (_V3Factory *V3FactoryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*V3FactoryTransactorRaw) Transfer ¶
func (_V3Factory *V3FactoryTransactorRaw) 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 V3FactoryTransactorSession ¶
type V3FactoryTransactorSession struct { Contract *V3FactoryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
V3FactoryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*V3FactoryTransactorSession) CreatePool ¶
func (_V3Factory *V3FactoryTransactorSession) CreatePool(tokenA common.Address, tokenB common.Address, fee *big.Int) (*types.Transaction, error)
CreatePool is a paid mutator transaction binding the contract method 0xa1671295.
Solidity: function createPool(address tokenA, address tokenB, uint24 fee) returns(address pool)
func (*V3FactoryTransactorSession) EnableFeeAmount ¶
func (_V3Factory *V3FactoryTransactorSession) EnableFeeAmount(fee *big.Int, tickSpacing *big.Int) (*types.Transaction, error)
EnableFeeAmount is a paid mutator transaction binding the contract method 0x8a7c195f.
Solidity: function enableFeeAmount(uint24 fee, int24 tickSpacing) returns()
func (*V3FactoryTransactorSession) SetOwner ¶
func (_V3Factory *V3FactoryTransactorSession) SetOwner(_owner common.Address) (*types.Transaction, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address _owner) returns()
type V3Pool ¶
type V3Pool struct { V3PoolCaller // Read-only binding to the contract V3PoolTransactor // Write-only binding to the contract V3PoolFilterer // Log filterer for contract events }
V3Pool is an auto generated Go binding around an Ethereum contract.
type V3PoolBurn ¶
type V3PoolBurn struct { Owner common.Address TickLower *big.Int TickUpper *big.Int Amount *big.Int Amount0 *big.Int Amount1 *big.Int Raw types.Log // Blockchain specific contextual infos }
V3PoolBurn represents a Burn event raised by the V3Pool contract.
type V3PoolBurnIterator ¶
type V3PoolBurnIterator struct { Event *V3PoolBurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V3PoolBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the V3Pool contract.
func (*V3PoolBurnIterator) Close ¶
func (it *V3PoolBurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V3PoolBurnIterator) Error ¶
func (it *V3PoolBurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V3PoolBurnIterator) Next ¶
func (it *V3PoolBurnIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V3PoolCaller ¶
type V3PoolCaller struct {
// contains filtered or unexported fields
}
V3PoolCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewV3PoolCaller ¶
func NewV3PoolCaller(address common.Address, caller bind.ContractCaller) (*V3PoolCaller, error)
NewV3PoolCaller creates a new read-only instance of V3Pool, bound to a specific deployed contract.
func (*V3PoolCaller) Factory ¶
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*V3PoolCaller) Fee ¶
Fee is a free data retrieval call binding the contract method 0xddca3f43.
Solidity: function fee() view returns(uint24)
func (*V3PoolCaller) FeeGrowthGlobal0X128 ¶
FeeGrowthGlobal0X128 is a free data retrieval call binding the contract method 0xf3058399.
Solidity: function feeGrowthGlobal0X128() view returns(uint256)
func (*V3PoolCaller) FeeGrowthGlobal1X128 ¶
FeeGrowthGlobal1X128 is a free data retrieval call binding the contract method 0x46141319.
Solidity: function feeGrowthGlobal1X128() view returns(uint256)
func (*V3PoolCaller) Liquidity ¶
Liquidity is a free data retrieval call binding the contract method 0x1a686502.
Solidity: function liquidity() view returns(uint128)
func (*V3PoolCaller) MaxLiquidityPerTick ¶
MaxLiquidityPerTick is a free data retrieval call binding the contract method 0x70cf754a.
Solidity: function maxLiquidityPerTick() view returns(uint128)
func (*V3PoolCaller) Observations ¶
func (_V3Pool *V3PoolCaller) Observations(opts *bind.CallOpts, arg0 *big.Int) (struct { BlockTimestamp uint32 TickCumulative *big.Int SecondsPerLiquidityCumulativeX128 *big.Int Initialized bool }, error)
Observations is a free data retrieval call binding the contract method 0x252c09d7.
Solidity: function observations(uint256 ) view returns(uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulativeX128, bool initialized)
func (*V3PoolCaller) Observe ¶
func (_V3Pool *V3PoolCaller) Observe(opts *bind.CallOpts, secondsAgos []uint32) (struct { TickCumulatives []*big.Int SecondsPerLiquidityCumulativeX128s []*big.Int }, error)
Observe is a free data retrieval call binding the contract method 0x883bdbfd.
Solidity: function observe(uint32[] secondsAgos) view returns(int56[] tickCumulatives, uint160[] secondsPerLiquidityCumulativeX128s)
func (*V3PoolCaller) Positions ¶
func (_V3Pool *V3PoolCaller) Positions(opts *bind.CallOpts, arg0 [32]byte) (struct { Liquidity *big.Int FeeGrowthInside0LastX128 *big.Int FeeGrowthInside1LastX128 *big.Int TokensOwed0 *big.Int TokensOwed1 *big.Int }, error)
Positions is a free data retrieval call binding the contract method 0x514ea4bf.
Solidity: function positions(bytes32 ) view returns(uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)
func (*V3PoolCaller) ProtocolFees ¶
func (_V3Pool *V3PoolCaller) 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 (*V3PoolCaller) Slot0 ¶
func (_V3Pool *V3PoolCaller) 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 (*V3PoolCaller) SnapshotCumulativesInside ¶
func (_V3Pool *V3PoolCaller) SnapshotCumulativesInside(opts *bind.CallOpts, tickLower *big.Int, tickUpper *big.Int) (struct { TickCumulativeInside *big.Int SecondsPerLiquidityInsideX128 *big.Int SecondsInside uint32 }, error)
SnapshotCumulativesInside is a free data retrieval call binding the contract method 0xa38807f2.
Solidity: function snapshotCumulativesInside(int24 tickLower, int24 tickUpper) view returns(int56 tickCumulativeInside, uint160 secondsPerLiquidityInsideX128, uint32 secondsInside)
func (*V3PoolCaller) TickBitmap ¶
TickBitmap is a free data retrieval call binding the contract method 0x5339c296.
Solidity: function tickBitmap(int16 ) view returns(uint256)
func (*V3PoolCaller) TickSpacing ¶
TickSpacing is a free data retrieval call binding the contract method 0xd0c93a7c.
Solidity: function tickSpacing() view returns(int24)
func (*V3PoolCaller) Ticks ¶
func (_V3Pool *V3PoolCaller) Ticks(opts *bind.CallOpts, arg0 *big.Int) (struct { LiquidityGross *big.Int LiquidityNet *big.Int FeeGrowthOutside0X128 *big.Int FeeGrowthOutside1X128 *big.Int TickCumulativeOutside *big.Int SecondsPerLiquidityOutsideX128 *big.Int SecondsOutside uint32 Initialized bool }, error)
Ticks is a free data retrieval call binding the contract method 0xf30dba93.
Solidity: function ticks(int24 ) view returns(uint128 liquidityGross, int128 liquidityNet, uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128, int56 tickCumulativeOutside, uint160 secondsPerLiquidityOutsideX128, uint32 secondsOutside, bool initialized)
type V3PoolCallerRaw ¶
type V3PoolCallerRaw struct {
Contract *V3PoolCaller // Generic read-only contract binding to access the raw methods on
}
V3PoolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*V3PoolCallerRaw) Call ¶
func (_V3Pool *V3PoolCallerRaw) 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 V3PoolCallerSession ¶
type V3PoolCallerSession struct { Contract *V3PoolCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
V3PoolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*V3PoolCallerSession) Factory ¶
func (_V3Pool *V3PoolCallerSession) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*V3PoolCallerSession) Fee ¶
func (_V3Pool *V3PoolCallerSession) Fee() (*big.Int, error)
Fee is a free data retrieval call binding the contract method 0xddca3f43.
Solidity: function fee() view returns(uint24)
func (*V3PoolCallerSession) FeeGrowthGlobal0X128 ¶
func (_V3Pool *V3PoolCallerSession) FeeGrowthGlobal0X128() (*big.Int, error)
FeeGrowthGlobal0X128 is a free data retrieval call binding the contract method 0xf3058399.
Solidity: function feeGrowthGlobal0X128() view returns(uint256)
func (*V3PoolCallerSession) FeeGrowthGlobal1X128 ¶
func (_V3Pool *V3PoolCallerSession) FeeGrowthGlobal1X128() (*big.Int, error)
FeeGrowthGlobal1X128 is a free data retrieval call binding the contract method 0x46141319.
Solidity: function feeGrowthGlobal1X128() view returns(uint256)
func (*V3PoolCallerSession) Liquidity ¶
func (_V3Pool *V3PoolCallerSession) Liquidity() (*big.Int, error)
Liquidity is a free data retrieval call binding the contract method 0x1a686502.
Solidity: function liquidity() view returns(uint128)
func (*V3PoolCallerSession) MaxLiquidityPerTick ¶
func (_V3Pool *V3PoolCallerSession) MaxLiquidityPerTick() (*big.Int, error)
MaxLiquidityPerTick is a free data retrieval call binding the contract method 0x70cf754a.
Solidity: function maxLiquidityPerTick() view returns(uint128)
func (*V3PoolCallerSession) Observations ¶
func (_V3Pool *V3PoolCallerSession) Observations(arg0 *big.Int) (struct { BlockTimestamp uint32 TickCumulative *big.Int SecondsPerLiquidityCumulativeX128 *big.Int Initialized bool }, error)
Observations is a free data retrieval call binding the contract method 0x252c09d7.
Solidity: function observations(uint256 ) view returns(uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulativeX128, bool initialized)
func (*V3PoolCallerSession) Observe ¶
func (_V3Pool *V3PoolCallerSession) Observe(secondsAgos []uint32) (struct { TickCumulatives []*big.Int SecondsPerLiquidityCumulativeX128s []*big.Int }, error)
Observe is a free data retrieval call binding the contract method 0x883bdbfd.
Solidity: function observe(uint32[] secondsAgos) view returns(int56[] tickCumulatives, uint160[] secondsPerLiquidityCumulativeX128s)
func (*V3PoolCallerSession) Positions ¶
func (_V3Pool *V3PoolCallerSession) Positions(arg0 [32]byte) (struct { Liquidity *big.Int FeeGrowthInside0LastX128 *big.Int FeeGrowthInside1LastX128 *big.Int TokensOwed0 *big.Int TokensOwed1 *big.Int }, error)
Positions is a free data retrieval call binding the contract method 0x514ea4bf.
Solidity: function positions(bytes32 ) view returns(uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)
func (*V3PoolCallerSession) ProtocolFees ¶
func (_V3Pool *V3PoolCallerSession) 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 (*V3PoolCallerSession) Slot0 ¶
func (_V3Pool *V3PoolCallerSession) 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 (*V3PoolCallerSession) SnapshotCumulativesInside ¶
func (_V3Pool *V3PoolCallerSession) SnapshotCumulativesInside(tickLower *big.Int, tickUpper *big.Int) (struct { TickCumulativeInside *big.Int SecondsPerLiquidityInsideX128 *big.Int SecondsInside uint32 }, error)
SnapshotCumulativesInside is a free data retrieval call binding the contract method 0xa38807f2.
Solidity: function snapshotCumulativesInside(int24 tickLower, int24 tickUpper) view returns(int56 tickCumulativeInside, uint160 secondsPerLiquidityInsideX128, uint32 secondsInside)
func (*V3PoolCallerSession) TickBitmap ¶
func (_V3Pool *V3PoolCallerSession) TickBitmap(arg0 int16) (*big.Int, error)
TickBitmap is a free data retrieval call binding the contract method 0x5339c296.
Solidity: function tickBitmap(int16 ) view returns(uint256)
func (*V3PoolCallerSession) TickSpacing ¶
func (_V3Pool *V3PoolCallerSession) TickSpacing() (*big.Int, error)
TickSpacing is a free data retrieval call binding the contract method 0xd0c93a7c.
Solidity: function tickSpacing() view returns(int24)
func (*V3PoolCallerSession) Ticks ¶
func (_V3Pool *V3PoolCallerSession) Ticks(arg0 *big.Int) (struct { LiquidityGross *big.Int LiquidityNet *big.Int FeeGrowthOutside0X128 *big.Int FeeGrowthOutside1X128 *big.Int TickCumulativeOutside *big.Int SecondsPerLiquidityOutsideX128 *big.Int SecondsOutside uint32 Initialized bool }, error)
Ticks is a free data retrieval call binding the contract method 0xf30dba93.
Solidity: function ticks(int24 ) view returns(uint128 liquidityGross, int128 liquidityNet, uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128, int56 tickCumulativeOutside, uint160 secondsPerLiquidityOutsideX128, uint32 secondsOutside, bool initialized)
type V3PoolCollect ¶
type V3PoolCollect struct { Owner common.Address Recipient common.Address TickLower *big.Int TickUpper *big.Int Amount0 *big.Int Amount1 *big.Int Raw types.Log // Blockchain specific contextual infos }
V3PoolCollect represents a Collect event raised by the V3Pool contract.
type V3PoolCollectIterator ¶
type V3PoolCollectIterator struct { Event *V3PoolCollect // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V3PoolCollectIterator is returned from FilterCollect and is used to iterate over the raw logs and unpacked data for Collect events raised by the V3Pool contract.
func (*V3PoolCollectIterator) Close ¶
func (it *V3PoolCollectIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V3PoolCollectIterator) Error ¶
func (it *V3PoolCollectIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V3PoolCollectIterator) Next ¶
func (it *V3PoolCollectIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V3PoolCollectProtocol ¶
type V3PoolCollectProtocol struct { Sender common.Address Recipient common.Address Amount0 *big.Int Amount1 *big.Int Raw types.Log // Blockchain specific contextual infos }
V3PoolCollectProtocol represents a CollectProtocol event raised by the V3Pool contract.
type V3PoolCollectProtocolIterator ¶
type V3PoolCollectProtocolIterator struct { Event *V3PoolCollectProtocol // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V3PoolCollectProtocolIterator is returned from FilterCollectProtocol and is used to iterate over the raw logs and unpacked data for CollectProtocol events raised by the V3Pool contract.
func (*V3PoolCollectProtocolIterator) Close ¶
func (it *V3PoolCollectProtocolIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V3PoolCollectProtocolIterator) Error ¶
func (it *V3PoolCollectProtocolIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V3PoolCollectProtocolIterator) Next ¶
func (it *V3PoolCollectProtocolIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V3PoolFilterer ¶
type V3PoolFilterer struct {
// contains filtered or unexported fields
}
V3PoolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewV3PoolFilterer ¶
func NewV3PoolFilterer(address common.Address, filterer bind.ContractFilterer) (*V3PoolFilterer, error)
NewV3PoolFilterer creates a new log filterer instance of V3Pool, bound to a specific deployed contract.
func (*V3PoolFilterer) FilterBurn ¶
func (_V3Pool *V3PoolFilterer) FilterBurn(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (*V3PoolBurnIterator, error)
FilterBurn is a free log retrieval operation binding the contract event 0x0c396cd989a39f4459b5fa1aed6a9a8dcdbc45908acfd67e028cd568da98982c.
Solidity: event Burn(address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)
func (*V3PoolFilterer) FilterCollect ¶
func (_V3Pool *V3PoolFilterer) FilterCollect(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (*V3PoolCollectIterator, error)
FilterCollect is a free log retrieval operation binding the contract event 0x70935338e69775456a85ddef226c395fb668b63fa0115f5f20610b388e6ca9c0.
Solidity: event Collect(address indexed owner, address recipient, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount0, uint128 amount1)
func (*V3PoolFilterer) FilterCollectProtocol ¶
func (_V3Pool *V3PoolFilterer) FilterCollectProtocol(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*V3PoolCollectProtocolIterator, error)
FilterCollectProtocol is a free log retrieval operation binding the contract event 0x596b573906218d3411850b26a6b437d6c4522fdb43d2d2386263f86d50b8b151.
Solidity: event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1)
func (*V3PoolFilterer) FilterFlash ¶
func (_V3Pool *V3PoolFilterer) FilterFlash(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*V3PoolFlashIterator, error)
FilterFlash is a free log retrieval operation binding the contract event 0xbdbdb71d7860376ba52b25a5028beea23581364a40522f6bcfb86bb1f2dca633.
Solidity: event Flash(address indexed sender, address indexed recipient, uint256 amount0, uint256 amount1, uint256 paid0, uint256 paid1)
func (*V3PoolFilterer) FilterIncreaseObservationCardinalityNext ¶
func (_V3Pool *V3PoolFilterer) FilterIncreaseObservationCardinalityNext(opts *bind.FilterOpts) (*V3PoolIncreaseObservationCardinalityNextIterator, error)
FilterIncreaseObservationCardinalityNext is a free log retrieval operation binding the contract event 0xac49e518f90a358f652e4400164f05a5d8f7e35e7747279bc3a93dbf584e125a.
Solidity: event IncreaseObservationCardinalityNext(uint16 observationCardinalityNextOld, uint16 observationCardinalityNextNew)
func (*V3PoolFilterer) FilterInitialize ¶
func (_V3Pool *V3PoolFilterer) FilterInitialize(opts *bind.FilterOpts) (*V3PoolInitializeIterator, error)
FilterInitialize is a free log retrieval operation binding the contract event 0x98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95.
Solidity: event Initialize(uint160 sqrtPriceX96, int24 tick)
func (*V3PoolFilterer) FilterMint ¶
func (_V3Pool *V3PoolFilterer) FilterMint(opts *bind.FilterOpts, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (*V3PoolMintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x7a53080ba414158be7ec69b987b5fb7d07dee101fe85488f0853ae16239d0bde.
Solidity: event Mint(address sender, address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)
func (*V3PoolFilterer) FilterSetFeeProtocol ¶
func (_V3Pool *V3PoolFilterer) FilterSetFeeProtocol(opts *bind.FilterOpts) (*V3PoolSetFeeProtocolIterator, error)
FilterSetFeeProtocol is a free log retrieval operation binding the contract event 0x973d8d92bb299f4af6ce49b52a8adb85ae46b9f214c4c4fc06ac77401237b133.
Solidity: event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New)
func (*V3PoolFilterer) FilterSwap ¶
func (_V3Pool *V3PoolFilterer) FilterSwap(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*V3PoolSwapIterator, error)
FilterSwap is a free log retrieval operation binding the contract event 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67.
Solidity: event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick)
func (*V3PoolFilterer) ParseBurn ¶
func (_V3Pool *V3PoolFilterer) ParseBurn(log types.Log) (*V3PoolBurn, error)
ParseBurn is a log parse operation binding the contract event 0x0c396cd989a39f4459b5fa1aed6a9a8dcdbc45908acfd67e028cd568da98982c.
Solidity: event Burn(address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)
func (*V3PoolFilterer) ParseCollect ¶
func (_V3Pool *V3PoolFilterer) ParseCollect(log types.Log) (*V3PoolCollect, error)
ParseCollect is a log parse operation binding the contract event 0x70935338e69775456a85ddef226c395fb668b63fa0115f5f20610b388e6ca9c0.
Solidity: event Collect(address indexed owner, address recipient, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount0, uint128 amount1)
func (*V3PoolFilterer) ParseCollectProtocol ¶
func (_V3Pool *V3PoolFilterer) ParseCollectProtocol(log types.Log) (*V3PoolCollectProtocol, error)
ParseCollectProtocol is a log parse operation binding the contract event 0x596b573906218d3411850b26a6b437d6c4522fdb43d2d2386263f86d50b8b151.
Solidity: event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1)
func (*V3PoolFilterer) ParseFlash ¶
func (_V3Pool *V3PoolFilterer) ParseFlash(log types.Log) (*V3PoolFlash, error)
ParseFlash is a log parse operation binding the contract event 0xbdbdb71d7860376ba52b25a5028beea23581364a40522f6bcfb86bb1f2dca633.
Solidity: event Flash(address indexed sender, address indexed recipient, uint256 amount0, uint256 amount1, uint256 paid0, uint256 paid1)
func (*V3PoolFilterer) ParseIncreaseObservationCardinalityNext ¶
func (_V3Pool *V3PoolFilterer) ParseIncreaseObservationCardinalityNext(log types.Log) (*V3PoolIncreaseObservationCardinalityNext, error)
ParseIncreaseObservationCardinalityNext is a log parse operation binding the contract event 0xac49e518f90a358f652e4400164f05a5d8f7e35e7747279bc3a93dbf584e125a.
Solidity: event IncreaseObservationCardinalityNext(uint16 observationCardinalityNextOld, uint16 observationCardinalityNextNew)
func (*V3PoolFilterer) ParseInitialize ¶
func (_V3Pool *V3PoolFilterer) ParseInitialize(log types.Log) (*V3PoolInitialize, error)
ParseInitialize is a log parse operation binding the contract event 0x98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95.
Solidity: event Initialize(uint160 sqrtPriceX96, int24 tick)
func (*V3PoolFilterer) ParseMint ¶
func (_V3Pool *V3PoolFilterer) ParseMint(log types.Log) (*V3PoolMint, error)
ParseMint is a log parse operation binding the contract event 0x7a53080ba414158be7ec69b987b5fb7d07dee101fe85488f0853ae16239d0bde.
Solidity: event Mint(address sender, address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)
func (*V3PoolFilterer) ParseSetFeeProtocol ¶
func (_V3Pool *V3PoolFilterer) ParseSetFeeProtocol(log types.Log) (*V3PoolSetFeeProtocol, error)
ParseSetFeeProtocol is a log parse operation binding the contract event 0x973d8d92bb299f4af6ce49b52a8adb85ae46b9f214c4c4fc06ac77401237b133.
Solidity: event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New)
func (*V3PoolFilterer) ParseSwap ¶
func (_V3Pool *V3PoolFilterer) ParseSwap(log types.Log) (*V3PoolSwap, error)
ParseSwap is a log parse operation binding the contract event 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67.
Solidity: event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick)
func (*V3PoolFilterer) WatchBurn ¶
func (_V3Pool *V3PoolFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *V3PoolBurn, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (event.Subscription, error)
WatchBurn is a free log subscription operation binding the contract event 0x0c396cd989a39f4459b5fa1aed6a9a8dcdbc45908acfd67e028cd568da98982c.
Solidity: event Burn(address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)
func (*V3PoolFilterer) WatchCollect ¶
func (_V3Pool *V3PoolFilterer) WatchCollect(opts *bind.WatchOpts, sink chan<- *V3PoolCollect, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (event.Subscription, error)
WatchCollect is a free log subscription operation binding the contract event 0x70935338e69775456a85ddef226c395fb668b63fa0115f5f20610b388e6ca9c0.
Solidity: event Collect(address indexed owner, address recipient, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount0, uint128 amount1)
func (*V3PoolFilterer) WatchCollectProtocol ¶
func (_V3Pool *V3PoolFilterer) WatchCollectProtocol(opts *bind.WatchOpts, sink chan<- *V3PoolCollectProtocol, sender []common.Address, recipient []common.Address) (event.Subscription, error)
WatchCollectProtocol is a free log subscription operation binding the contract event 0x596b573906218d3411850b26a6b437d6c4522fdb43d2d2386263f86d50b8b151.
Solidity: event CollectProtocol(address indexed sender, address indexed recipient, uint128 amount0, uint128 amount1)
func (*V3PoolFilterer) WatchFlash ¶
func (_V3Pool *V3PoolFilterer) WatchFlash(opts *bind.WatchOpts, sink chan<- *V3PoolFlash, sender []common.Address, recipient []common.Address) (event.Subscription, error)
WatchFlash is a free log subscription operation binding the contract event 0xbdbdb71d7860376ba52b25a5028beea23581364a40522f6bcfb86bb1f2dca633.
Solidity: event Flash(address indexed sender, address indexed recipient, uint256 amount0, uint256 amount1, uint256 paid0, uint256 paid1)
func (*V3PoolFilterer) WatchIncreaseObservationCardinalityNext ¶
func (_V3Pool *V3PoolFilterer) WatchIncreaseObservationCardinalityNext(opts *bind.WatchOpts, sink chan<- *V3PoolIncreaseObservationCardinalityNext) (event.Subscription, error)
WatchIncreaseObservationCardinalityNext is a free log subscription operation binding the contract event 0xac49e518f90a358f652e4400164f05a5d8f7e35e7747279bc3a93dbf584e125a.
Solidity: event IncreaseObservationCardinalityNext(uint16 observationCardinalityNextOld, uint16 observationCardinalityNextNew)
func (*V3PoolFilterer) WatchInitialize ¶
func (_V3Pool *V3PoolFilterer) WatchInitialize(opts *bind.WatchOpts, sink chan<- *V3PoolInitialize) (event.Subscription, error)
WatchInitialize is a free log subscription operation binding the contract event 0x98636036cb66a9c19a37435efc1e90142190214e8abeb821bdba3f2990dd4c95.
Solidity: event Initialize(uint160 sqrtPriceX96, int24 tick)
func (*V3PoolFilterer) WatchMint ¶
func (_V3Pool *V3PoolFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *V3PoolMint, owner []common.Address, tickLower []*big.Int, tickUpper []*big.Int) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0x7a53080ba414158be7ec69b987b5fb7d07dee101fe85488f0853ae16239d0bde.
Solidity: event Mint(address sender, address indexed owner, int24 indexed tickLower, int24 indexed tickUpper, uint128 amount, uint256 amount0, uint256 amount1)
func (*V3PoolFilterer) WatchSetFeeProtocol ¶
func (_V3Pool *V3PoolFilterer) WatchSetFeeProtocol(opts *bind.WatchOpts, sink chan<- *V3PoolSetFeeProtocol) (event.Subscription, error)
WatchSetFeeProtocol is a free log subscription operation binding the contract event 0x973d8d92bb299f4af6ce49b52a8adb85ae46b9f214c4c4fc06ac77401237b133.
Solidity: event SetFeeProtocol(uint8 feeProtocol0Old, uint8 feeProtocol1Old, uint8 feeProtocol0New, uint8 feeProtocol1New)
func (*V3PoolFilterer) WatchSwap ¶
func (_V3Pool *V3PoolFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *V3PoolSwap, sender []common.Address, recipient []common.Address) (event.Subscription, error)
WatchSwap is a free log subscription operation binding the contract event 0xc42079f94a6350d7e6235f29174924f928cc2ac818eb64fed8004e115fbcca67.
Solidity: event Swap(address indexed sender, address indexed recipient, int256 amount0, int256 amount1, uint160 sqrtPriceX96, uint128 liquidity, int24 tick)
type V3PoolFlash ¶
type V3PoolFlash struct { Sender common.Address Recipient common.Address Amount0 *big.Int Amount1 *big.Int Paid0 *big.Int Paid1 *big.Int Raw types.Log // Blockchain specific contextual infos }
V3PoolFlash represents a Flash event raised by the V3Pool contract.
type V3PoolFlashIterator ¶
type V3PoolFlashIterator struct { Event *V3PoolFlash // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V3PoolFlashIterator is returned from FilterFlash and is used to iterate over the raw logs and unpacked data for Flash events raised by the V3Pool contract.
func (*V3PoolFlashIterator) Close ¶
func (it *V3PoolFlashIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V3PoolFlashIterator) Error ¶
func (it *V3PoolFlashIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V3PoolFlashIterator) Next ¶
func (it *V3PoolFlashIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V3PoolIncreaseObservationCardinalityNext ¶
type V3PoolIncreaseObservationCardinalityNext struct { ObservationCardinalityNextOld uint16 ObservationCardinalityNextNew uint16 Raw types.Log // Blockchain specific contextual infos }
V3PoolIncreaseObservationCardinalityNext represents a IncreaseObservationCardinalityNext event raised by the V3Pool contract.
type V3PoolIncreaseObservationCardinalityNextIterator ¶
type V3PoolIncreaseObservationCardinalityNextIterator struct { Event *V3PoolIncreaseObservationCardinalityNext // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V3PoolIncreaseObservationCardinalityNextIterator is returned from FilterIncreaseObservationCardinalityNext and is used to iterate over the raw logs and unpacked data for IncreaseObservationCardinalityNext events raised by the V3Pool contract.
func (*V3PoolIncreaseObservationCardinalityNextIterator) Close ¶
func (it *V3PoolIncreaseObservationCardinalityNextIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V3PoolIncreaseObservationCardinalityNextIterator) Error ¶
func (it *V3PoolIncreaseObservationCardinalityNextIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V3PoolIncreaseObservationCardinalityNextIterator) Next ¶
func (it *V3PoolIncreaseObservationCardinalityNextIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V3PoolInitialize ¶
type V3PoolInitialize struct { SqrtPriceX96 *big.Int Tick *big.Int Raw types.Log // Blockchain specific contextual infos }
V3PoolInitialize represents a Initialize event raised by the V3Pool contract.
type V3PoolInitializeIterator ¶
type V3PoolInitializeIterator struct { Event *V3PoolInitialize // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V3PoolInitializeIterator is returned from FilterInitialize and is used to iterate over the raw logs and unpacked data for Initialize events raised by the V3Pool contract.
func (*V3PoolInitializeIterator) Close ¶
func (it *V3PoolInitializeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V3PoolInitializeIterator) Error ¶
func (it *V3PoolInitializeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V3PoolInitializeIterator) Next ¶
func (it *V3PoolInitializeIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V3PoolMint ¶
type V3PoolMint struct { Sender common.Address Owner common.Address TickLower *big.Int TickUpper *big.Int Amount *big.Int Amount0 *big.Int Amount1 *big.Int Raw types.Log // Blockchain specific contextual infos }
V3PoolMint represents a Mint event raised by the V3Pool contract.
type V3PoolMintIterator ¶
type V3PoolMintIterator struct { Event *V3PoolMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V3PoolMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the V3Pool contract.
func (*V3PoolMintIterator) Close ¶
func (it *V3PoolMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V3PoolMintIterator) Error ¶
func (it *V3PoolMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V3PoolMintIterator) Next ¶
func (it *V3PoolMintIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V3PoolRaw ¶
type V3PoolRaw struct {
Contract *V3Pool // Generic contract binding to access the raw methods on
}
V3PoolRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*V3PoolRaw) Call ¶
func (_V3Pool *V3PoolRaw) 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 (*V3PoolRaw) Transact ¶
func (_V3Pool *V3PoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*V3PoolRaw) Transfer ¶
func (_V3Pool *V3PoolRaw) 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 V3PoolSession ¶
type V3PoolSession struct { Contract *V3Pool // 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 }
V3PoolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*V3PoolSession) Burn ¶
func (_V3Pool *V3PoolSession) Burn(tickLower *big.Int, tickUpper *big.Int, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xa34123a7.
Solidity: function burn(int24 tickLower, int24 tickUpper, uint128 amount) returns(uint256 amount0, uint256 amount1)
func (*V3PoolSession) Collect ¶
func (_V3Pool *V3PoolSession) Collect(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)
Collect is a paid mutator transaction binding the contract method 0x4f1eb3d8.
Solidity: function collect(address recipient, int24 tickLower, int24 tickUpper, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)
func (*V3PoolSession) CollectProtocol ¶
func (_V3Pool *V3PoolSession) CollectProtocol(recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)
CollectProtocol is a paid mutator transaction binding the contract method 0x85b66729.
Solidity: function collectProtocol(address recipient, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)
func (*V3PoolSession) Factory ¶
func (_V3Pool *V3PoolSession) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*V3PoolSession) Fee ¶
func (_V3Pool *V3PoolSession) Fee() (*big.Int, error)
Fee is a free data retrieval call binding the contract method 0xddca3f43.
Solidity: function fee() view returns(uint24)
func (*V3PoolSession) FeeGrowthGlobal0X128 ¶
func (_V3Pool *V3PoolSession) FeeGrowthGlobal0X128() (*big.Int, error)
FeeGrowthGlobal0X128 is a free data retrieval call binding the contract method 0xf3058399.
Solidity: function feeGrowthGlobal0X128() view returns(uint256)
func (*V3PoolSession) FeeGrowthGlobal1X128 ¶
func (_V3Pool *V3PoolSession) FeeGrowthGlobal1X128() (*big.Int, error)
FeeGrowthGlobal1X128 is a free data retrieval call binding the contract method 0x46141319.
Solidity: function feeGrowthGlobal1X128() view returns(uint256)
func (*V3PoolSession) Flash ¶
func (_V3Pool *V3PoolSession) Flash(recipient common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)
Flash is a paid mutator transaction binding the contract method 0x490e6cbc.
Solidity: function flash(address recipient, uint256 amount0, uint256 amount1, bytes data) returns()
func (*V3PoolSession) IncreaseObservationCardinalityNext ¶
func (_V3Pool *V3PoolSession) IncreaseObservationCardinalityNext(observationCardinalityNext uint16) (*types.Transaction, error)
IncreaseObservationCardinalityNext is a paid mutator transaction binding the contract method 0x32148f67.
Solidity: function increaseObservationCardinalityNext(uint16 observationCardinalityNext) returns()
func (*V3PoolSession) Initialize ¶
func (_V3Pool *V3PoolSession) Initialize(sqrtPriceX96 *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xf637731d.
Solidity: function initialize(uint160 sqrtPriceX96) returns()
func (*V3PoolSession) Liquidity ¶
func (_V3Pool *V3PoolSession) Liquidity() (*big.Int, error)
Liquidity is a free data retrieval call binding the contract method 0x1a686502.
Solidity: function liquidity() view returns(uint128)
func (*V3PoolSession) MaxLiquidityPerTick ¶
func (_V3Pool *V3PoolSession) MaxLiquidityPerTick() (*big.Int, error)
MaxLiquidityPerTick is a free data retrieval call binding the contract method 0x70cf754a.
Solidity: function maxLiquidityPerTick() view returns(uint128)
func (*V3PoolSession) Mint ¶
func (_V3Pool *V3PoolSession) Mint(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x3c8a7d8d.
Solidity: function mint(address recipient, int24 tickLower, int24 tickUpper, uint128 amount, bytes data) returns(uint256 amount0, uint256 amount1)
func (*V3PoolSession) Observations ¶
func (_V3Pool *V3PoolSession) Observations(arg0 *big.Int) (struct { BlockTimestamp uint32 TickCumulative *big.Int SecondsPerLiquidityCumulativeX128 *big.Int Initialized bool }, error)
Observations is a free data retrieval call binding the contract method 0x252c09d7.
Solidity: function observations(uint256 ) view returns(uint32 blockTimestamp, int56 tickCumulative, uint160 secondsPerLiquidityCumulativeX128, bool initialized)
func (*V3PoolSession) Observe ¶
func (_V3Pool *V3PoolSession) Observe(secondsAgos []uint32) (struct { TickCumulatives []*big.Int SecondsPerLiquidityCumulativeX128s []*big.Int }, error)
Observe is a free data retrieval call binding the contract method 0x883bdbfd.
Solidity: function observe(uint32[] secondsAgos) view returns(int56[] tickCumulatives, uint160[] secondsPerLiquidityCumulativeX128s)
func (*V3PoolSession) Positions ¶
func (_V3Pool *V3PoolSession) Positions(arg0 [32]byte) (struct { Liquidity *big.Int FeeGrowthInside0LastX128 *big.Int FeeGrowthInside1LastX128 *big.Int TokensOwed0 *big.Int TokensOwed1 *big.Int }, error)
Positions is a free data retrieval call binding the contract method 0x514ea4bf.
Solidity: function positions(bytes32 ) view returns(uint128 liquidity, uint256 feeGrowthInside0LastX128, uint256 feeGrowthInside1LastX128, uint128 tokensOwed0, uint128 tokensOwed1)
func (*V3PoolSession) ProtocolFees ¶
ProtocolFees is a free data retrieval call binding the contract method 0x1ad8b03b.
Solidity: function protocolFees() view returns(uint128 token0, uint128 token1)
func (*V3PoolSession) SetFeeProtocol ¶
func (_V3Pool *V3PoolSession) SetFeeProtocol(feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)
SetFeeProtocol is a paid mutator transaction binding the contract method 0x8206a4d1.
Solidity: function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) returns()
func (*V3PoolSession) Slot0 ¶
func (_V3Pool *V3PoolSession) 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 (*V3PoolSession) SnapshotCumulativesInside ¶
func (_V3Pool *V3PoolSession) SnapshotCumulativesInside(tickLower *big.Int, tickUpper *big.Int) (struct { TickCumulativeInside *big.Int SecondsPerLiquidityInsideX128 *big.Int SecondsInside uint32 }, error)
SnapshotCumulativesInside is a free data retrieval call binding the contract method 0xa38807f2.
Solidity: function snapshotCumulativesInside(int24 tickLower, int24 tickUpper) view returns(int56 tickCumulativeInside, uint160 secondsPerLiquidityInsideX128, uint32 secondsInside)
func (*V3PoolSession) Swap ¶
func (_V3Pool *V3PoolSession) Swap(recipient common.Address, zeroForOne bool, amountSpecified *big.Int, sqrtPriceLimitX96 *big.Int, data []byte) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x128acb08.
Solidity: function swap(address recipient, bool zeroForOne, int256 amountSpecified, uint160 sqrtPriceLimitX96, bytes data) returns(int256 amount0, int256 amount1)
func (*V3PoolSession) TickBitmap ¶
func (_V3Pool *V3PoolSession) TickBitmap(arg0 int16) (*big.Int, error)
TickBitmap is a free data retrieval call binding the contract method 0x5339c296.
Solidity: function tickBitmap(int16 ) view returns(uint256)
func (*V3PoolSession) TickSpacing ¶
func (_V3Pool *V3PoolSession) TickSpacing() (*big.Int, error)
TickSpacing is a free data retrieval call binding the contract method 0xd0c93a7c.
Solidity: function tickSpacing() view returns(int24)
func (*V3PoolSession) Ticks ¶
func (_V3Pool *V3PoolSession) Ticks(arg0 *big.Int) (struct { LiquidityGross *big.Int LiquidityNet *big.Int FeeGrowthOutside0X128 *big.Int FeeGrowthOutside1X128 *big.Int TickCumulativeOutside *big.Int SecondsPerLiquidityOutsideX128 *big.Int SecondsOutside uint32 Initialized bool }, error)
Ticks is a free data retrieval call binding the contract method 0xf30dba93.
Solidity: function ticks(int24 ) view returns(uint128 liquidityGross, int128 liquidityNet, uint256 feeGrowthOutside0X128, uint256 feeGrowthOutside1X128, int56 tickCumulativeOutside, uint160 secondsPerLiquidityOutsideX128, uint32 secondsOutside, bool initialized)
type V3PoolSetFeeProtocol ¶
type V3PoolSetFeeProtocol struct { FeeProtocol0Old uint8 FeeProtocol1Old uint8 FeeProtocol0New uint8 FeeProtocol1New uint8 Raw types.Log // Blockchain specific contextual infos }
V3PoolSetFeeProtocol represents a SetFeeProtocol event raised by the V3Pool contract.
type V3PoolSetFeeProtocolIterator ¶
type V3PoolSetFeeProtocolIterator struct { Event *V3PoolSetFeeProtocol // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V3PoolSetFeeProtocolIterator is returned from FilterSetFeeProtocol and is used to iterate over the raw logs and unpacked data for SetFeeProtocol events raised by the V3Pool contract.
func (*V3PoolSetFeeProtocolIterator) Close ¶
func (it *V3PoolSetFeeProtocolIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V3PoolSetFeeProtocolIterator) Error ¶
func (it *V3PoolSetFeeProtocolIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V3PoolSetFeeProtocolIterator) Next ¶
func (it *V3PoolSetFeeProtocolIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V3PoolSwap ¶
type V3PoolSwap struct { Sender common.Address Recipient common.Address Amount0 *big.Int Amount1 *big.Int SqrtPriceX96 *big.Int Liquidity *big.Int Tick *big.Int Raw types.Log // Blockchain specific contextual infos }
V3PoolSwap represents a Swap event raised by the V3Pool contract.
type V3PoolSwapIterator ¶
type V3PoolSwapIterator struct { Event *V3PoolSwap // Event containing the contract specifics and raw log // contains filtered or unexported fields }
V3PoolSwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the V3Pool contract.
func (*V3PoolSwapIterator) Close ¶
func (it *V3PoolSwapIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*V3PoolSwapIterator) Error ¶
func (it *V3PoolSwapIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*V3PoolSwapIterator) Next ¶
func (it *V3PoolSwapIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type V3PoolTransactor ¶
type V3PoolTransactor struct {
// contains filtered or unexported fields
}
V3PoolTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewV3PoolTransactor ¶
func NewV3PoolTransactor(address common.Address, transactor bind.ContractTransactor) (*V3PoolTransactor, error)
NewV3PoolTransactor creates a new write-only instance of V3Pool, bound to a specific deployed contract.
func (*V3PoolTransactor) Burn ¶
func (_V3Pool *V3PoolTransactor) Burn(opts *bind.TransactOpts, tickLower *big.Int, tickUpper *big.Int, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xa34123a7.
Solidity: function burn(int24 tickLower, int24 tickUpper, uint128 amount) returns(uint256 amount0, uint256 amount1)
func (*V3PoolTransactor) Collect ¶
func (_V3Pool *V3PoolTransactor) Collect(opts *bind.TransactOpts, recipient common.Address, tickLower *big.Int, tickUpper *big.Int, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)
Collect is a paid mutator transaction binding the contract method 0x4f1eb3d8.
Solidity: function collect(address recipient, int24 tickLower, int24 tickUpper, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)
func (*V3PoolTransactor) CollectProtocol ¶
func (_V3Pool *V3PoolTransactor) CollectProtocol(opts *bind.TransactOpts, recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)
CollectProtocol is a paid mutator transaction binding the contract method 0x85b66729.
Solidity: function collectProtocol(address recipient, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)
func (*V3PoolTransactor) Flash ¶
func (_V3Pool *V3PoolTransactor) Flash(opts *bind.TransactOpts, recipient common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)
Flash is a paid mutator transaction binding the contract method 0x490e6cbc.
Solidity: function flash(address recipient, uint256 amount0, uint256 amount1, bytes data) returns()
func (*V3PoolTransactor) IncreaseObservationCardinalityNext ¶
func (_V3Pool *V3PoolTransactor) IncreaseObservationCardinalityNext(opts *bind.TransactOpts, observationCardinalityNext uint16) (*types.Transaction, error)
IncreaseObservationCardinalityNext is a paid mutator transaction binding the contract method 0x32148f67.
Solidity: function increaseObservationCardinalityNext(uint16 observationCardinalityNext) returns()
func (*V3PoolTransactor) Initialize ¶
func (_V3Pool *V3PoolTransactor) Initialize(opts *bind.TransactOpts, sqrtPriceX96 *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xf637731d.
Solidity: function initialize(uint160 sqrtPriceX96) returns()
func (*V3PoolTransactor) Mint ¶
func (_V3Pool *V3PoolTransactor) Mint(opts *bind.TransactOpts, recipient common.Address, tickLower *big.Int, tickUpper *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x3c8a7d8d.
Solidity: function mint(address recipient, int24 tickLower, int24 tickUpper, uint128 amount, bytes data) returns(uint256 amount0, uint256 amount1)
func (*V3PoolTransactor) SetFeeProtocol ¶
func (_V3Pool *V3PoolTransactor) SetFeeProtocol(opts *bind.TransactOpts, feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)
SetFeeProtocol is a paid mutator transaction binding the contract method 0x8206a4d1.
Solidity: function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) returns()
func (*V3PoolTransactor) Swap ¶
func (_V3Pool *V3PoolTransactor) Swap(opts *bind.TransactOpts, recipient common.Address, zeroForOne bool, amountSpecified *big.Int, sqrtPriceLimitX96 *big.Int, data []byte) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x128acb08.
Solidity: function swap(address recipient, bool zeroForOne, int256 amountSpecified, uint160 sqrtPriceLimitX96, bytes data) returns(int256 amount0, int256 amount1)
type V3PoolTransactorRaw ¶
type V3PoolTransactorRaw struct {
Contract *V3PoolTransactor // Generic write-only contract binding to access the raw methods on
}
V3PoolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*V3PoolTransactorRaw) Transact ¶
func (_V3Pool *V3PoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*V3PoolTransactorRaw) Transfer ¶
func (_V3Pool *V3PoolTransactorRaw) 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 V3PoolTransactorSession ¶
type V3PoolTransactorSession struct { Contract *V3PoolTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
V3PoolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*V3PoolTransactorSession) Burn ¶
func (_V3Pool *V3PoolTransactorSession) Burn(tickLower *big.Int, tickUpper *big.Int, amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xa34123a7.
Solidity: function burn(int24 tickLower, int24 tickUpper, uint128 amount) returns(uint256 amount0, uint256 amount1)
func (*V3PoolTransactorSession) Collect ¶
func (_V3Pool *V3PoolTransactorSession) Collect(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)
Collect is a paid mutator transaction binding the contract method 0x4f1eb3d8.
Solidity: function collect(address recipient, int24 tickLower, int24 tickUpper, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)
func (*V3PoolTransactorSession) CollectProtocol ¶
func (_V3Pool *V3PoolTransactorSession) CollectProtocol(recipient common.Address, amount0Requested *big.Int, amount1Requested *big.Int) (*types.Transaction, error)
CollectProtocol is a paid mutator transaction binding the contract method 0x85b66729.
Solidity: function collectProtocol(address recipient, uint128 amount0Requested, uint128 amount1Requested) returns(uint128 amount0, uint128 amount1)
func (*V3PoolTransactorSession) Flash ¶
func (_V3Pool *V3PoolTransactorSession) Flash(recipient common.Address, amount0 *big.Int, amount1 *big.Int, data []byte) (*types.Transaction, error)
Flash is a paid mutator transaction binding the contract method 0x490e6cbc.
Solidity: function flash(address recipient, uint256 amount0, uint256 amount1, bytes data) returns()
func (*V3PoolTransactorSession) IncreaseObservationCardinalityNext ¶
func (_V3Pool *V3PoolTransactorSession) IncreaseObservationCardinalityNext(observationCardinalityNext uint16) (*types.Transaction, error)
IncreaseObservationCardinalityNext is a paid mutator transaction binding the contract method 0x32148f67.
Solidity: function increaseObservationCardinalityNext(uint16 observationCardinalityNext) returns()
func (*V3PoolTransactorSession) Initialize ¶
func (_V3Pool *V3PoolTransactorSession) Initialize(sqrtPriceX96 *big.Int) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xf637731d.
Solidity: function initialize(uint160 sqrtPriceX96) returns()
func (*V3PoolTransactorSession) Mint ¶
func (_V3Pool *V3PoolTransactorSession) Mint(recipient common.Address, tickLower *big.Int, tickUpper *big.Int, amount *big.Int, data []byte) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x3c8a7d8d.
Solidity: function mint(address recipient, int24 tickLower, int24 tickUpper, uint128 amount, bytes data) returns(uint256 amount0, uint256 amount1)
func (*V3PoolTransactorSession) SetFeeProtocol ¶
func (_V3Pool *V3PoolTransactorSession) SetFeeProtocol(feeProtocol0 uint8, feeProtocol1 uint8) (*types.Transaction, error)
SetFeeProtocol is a paid mutator transaction binding the contract method 0x8206a4d1.
Solidity: function setFeeProtocol(uint8 feeProtocol0, uint8 feeProtocol1) returns()
func (*V3PoolTransactorSession) Swap ¶
func (_V3Pool *V3PoolTransactorSession) Swap(recipient common.Address, zeroForOne bool, amountSpecified *big.Int, sqrtPriceLimitX96 *big.Int, data []byte) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x128acb08.
Solidity: function swap(address recipient, bool zeroForOne, int256 amountSpecified, uint160 sqrtPriceLimitX96, bytes data) returns(int256 amount0, int256 amount1)