Documentation ¶
Index ¶
- Variables
- type GNniPool
- type GNniPoolApproval
- type GNniPoolApprovalIterator
- type GNniPoolBurned
- type GNniPoolBurnedIterator
- type GNniPoolCaller
- func (_GNniPool *GNniPoolCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_GNniPool *GNniPoolCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_GNniPool *GNniPoolCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_GNniPool *GNniPoolCaller) GELATO(opts *bind.CallOpts) (common.Address, error)
- func (_GNniPool *GNniPoolCaller) GelatoBalance0(opts *bind.CallOpts) (*big.Int, error)
- func (_GNniPool *GNniPoolCaller) GelatoBalance1(opts *bind.CallOpts) (*big.Int, error)
- func (_GNniPool *GNniPoolCaller) GelatoFeeBPS(opts *bind.CallOpts) (uint16, error)
- func (_GNniPool *GNniPoolCaller) GelatoRebalanceBPS(opts *bind.CallOpts) (uint16, error)
- func (_GNniPool *GNniPoolCaller) GelatoSlippageBPS(opts *bind.CallOpts) (uint16, error)
- func (_GNniPool *GNniPoolCaller) GelatoSlippageInterval(opts *bind.CallOpts) (uint32, error)
- func (_GNniPool *GNniPoolCaller) GelatoWithdrawBPS(opts *bind.CallOpts) (uint16, error)
- func (_GNniPool *GNniPoolCaller) GetMintAmounts(opts *bind.CallOpts, amount0Max *big.Int, amount1Max *big.Int) (struct{ ... }, error)
- func (_GNniPool *GNniPoolCaller) GetPositionID(opts *bind.CallOpts) ([32]byte, error)
- func (_GNniPool *GNniPoolCaller) GetUnderlyingBalances(opts *bind.CallOpts) (struct{ ... }, error)
- func (_GNniPool *GNniPoolCaller) GetUnderlyingBalancesAtPrice(opts *bind.CallOpts, sqrtRatioX96 *big.Int) (struct{ ... }, error)
- func (_GNniPool *GNniPoolCaller) LowerTick(opts *bind.CallOpts) (*big.Int, error)
- func (_GNniPool *GNniPoolCaller) Manager(opts *bind.CallOpts) (common.Address, error)
- func (_GNniPool *GNniPoolCaller) ManagerBalance0(opts *bind.CallOpts) (*big.Int, error)
- func (_GNniPool *GNniPoolCaller) ManagerBalance1(opts *bind.CallOpts) (*big.Int, error)
- func (_GNniPool *GNniPoolCaller) ManagerFeeBPS(opts *bind.CallOpts) (uint16, error)
- func (_GNniPool *GNniPoolCaller) ManagerTreasury(opts *bind.CallOpts) (common.Address, error)
- func (_GNniPool *GNniPoolCaller) Name(opts *bind.CallOpts) (string, error)
- func (_GNniPool *GNniPoolCaller) Pool(opts *bind.CallOpts) (common.Address, error)
- func (_GNniPool *GNniPoolCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_GNniPool *GNniPoolCaller) Token0(opts *bind.CallOpts) (common.Address, error)
- func (_GNniPool *GNniPoolCaller) Token1(opts *bind.CallOpts) (common.Address, error)
- func (_GNniPool *GNniPoolCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_GNniPool *GNniPoolCaller) UpperTick(opts *bind.CallOpts) (*big.Int, error)
- func (_GNniPool *GNniPoolCaller) Version(opts *bind.CallOpts) (string, error)
- type GNniPoolCallerRaw
- type GNniPoolCallerSession
- func (_GNniPool *GNniPoolCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_GNniPool *GNniPoolCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_GNniPool *GNniPoolCallerSession) Decimals() (uint8, error)
- func (_GNniPool *GNniPoolCallerSession) GELATO() (common.Address, error)
- func (_GNniPool *GNniPoolCallerSession) GelatoBalance0() (*big.Int, error)
- func (_GNniPool *GNniPoolCallerSession) GelatoBalance1() (*big.Int, error)
- func (_GNniPool *GNniPoolCallerSession) GelatoFeeBPS() (uint16, error)
- func (_GNniPool *GNniPoolCallerSession) GelatoRebalanceBPS() (uint16, error)
- func (_GNniPool *GNniPoolCallerSession) GelatoSlippageBPS() (uint16, error)
- func (_GNniPool *GNniPoolCallerSession) GelatoSlippageInterval() (uint32, error)
- func (_GNniPool *GNniPoolCallerSession) GelatoWithdrawBPS() (uint16, error)
- func (_GNniPool *GNniPoolCallerSession) GetMintAmounts(amount0Max *big.Int, amount1Max *big.Int) (struct{ ... }, error)
- func (_GNniPool *GNniPoolCallerSession) GetPositionID() ([32]byte, error)
- func (_GNniPool *GNniPoolCallerSession) GetUnderlyingBalances() (struct{ ... }, error)
- func (_GNniPool *GNniPoolCallerSession) GetUnderlyingBalancesAtPrice(sqrtRatioX96 *big.Int) (struct{ ... }, error)
- func (_GNniPool *GNniPoolCallerSession) LowerTick() (*big.Int, error)
- func (_GNniPool *GNniPoolCallerSession) Manager() (common.Address, error)
- func (_GNniPool *GNniPoolCallerSession) ManagerBalance0() (*big.Int, error)
- func (_GNniPool *GNniPoolCallerSession) ManagerBalance1() (*big.Int, error)
- func (_GNniPool *GNniPoolCallerSession) ManagerFeeBPS() (uint16, error)
- func (_GNniPool *GNniPoolCallerSession) ManagerTreasury() (common.Address, error)
- func (_GNniPool *GNniPoolCallerSession) Name() (string, error)
- func (_GNniPool *GNniPoolCallerSession) Pool() (common.Address, error)
- func (_GNniPool *GNniPoolCallerSession) Symbol() (string, error)
- func (_GNniPool *GNniPoolCallerSession) Token0() (common.Address, error)
- func (_GNniPool *GNniPoolCallerSession) Token1() (common.Address, error)
- func (_GNniPool *GNniPoolCallerSession) TotalSupply() (*big.Int, error)
- func (_GNniPool *GNniPoolCallerSession) UpperTick() (*big.Int, error)
- func (_GNniPool *GNniPoolCallerSession) Version() (string, error)
- type GNniPoolFeesEarned
- type GNniPoolFeesEarnedIterator
- type GNniPoolFilterer
- func (_GNniPool *GNniPoolFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*GNniPoolApprovalIterator, error)
- func (_GNniPool *GNniPoolFilterer) FilterBurned(opts *bind.FilterOpts) (*GNniPoolBurnedIterator, error)
- func (_GNniPool *GNniPoolFilterer) FilterFeesEarned(opts *bind.FilterOpts) (*GNniPoolFeesEarnedIterator, error)
- func (_GNniPool *GNniPoolFilterer) FilterMinted(opts *bind.FilterOpts) (*GNniPoolMintedIterator, error)
- func (_GNniPool *GNniPoolFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousManager []common.Address, ...) (*GNniPoolOwnershipTransferredIterator, error)
- func (_GNniPool *GNniPoolFilterer) FilterRebalance(opts *bind.FilterOpts) (*GNniPoolRebalanceIterator, error)
- func (_GNniPool *GNniPoolFilterer) FilterSetManagerFee(opts *bind.FilterOpts) (*GNniPoolSetManagerFeeIterator, error)
- func (_GNniPool *GNniPoolFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*GNniPoolTransferIterator, error)
- func (_GNniPool *GNniPoolFilterer) FilterUpdateAdminTreasury(opts *bind.FilterOpts) (*GNniPoolUpdateAdminTreasuryIterator, error)
- func (_GNniPool *GNniPoolFilterer) FilterUpdateGelatoParams(opts *bind.FilterOpts) (*GNniPoolUpdateGelatoParamsIterator, error)
- func (_GNniPool *GNniPoolFilterer) ParseApproval(log types.Log) (*GNniPoolApproval, error)
- func (_GNniPool *GNniPoolFilterer) ParseBurned(log types.Log) (*GNniPoolBurned, error)
- func (_GNniPool *GNniPoolFilterer) ParseFeesEarned(log types.Log) (*GNniPoolFeesEarned, error)
- func (_GNniPool *GNniPoolFilterer) ParseMinted(log types.Log) (*GNniPoolMinted, error)
- func (_GNniPool *GNniPoolFilterer) ParseOwnershipTransferred(log types.Log) (*GNniPoolOwnershipTransferred, error)
- func (_GNniPool *GNniPoolFilterer) ParseRebalance(log types.Log) (*GNniPoolRebalance, error)
- func (_GNniPool *GNniPoolFilterer) ParseSetManagerFee(log types.Log) (*GNniPoolSetManagerFee, error)
- func (_GNniPool *GNniPoolFilterer) ParseTransfer(log types.Log) (*GNniPoolTransfer, error)
- func (_GNniPool *GNniPoolFilterer) ParseUpdateAdminTreasury(log types.Log) (*GNniPoolUpdateAdminTreasury, error)
- func (_GNniPool *GNniPoolFilterer) ParseUpdateGelatoParams(log types.Log) (*GNniPoolUpdateGelatoParams, error)
- func (_GNniPool *GNniPoolFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *GNniPoolApproval, owner []common.Address, ...) (event.Subscription, error)
- func (_GNniPool *GNniPoolFilterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *GNniPoolBurned) (event.Subscription, error)
- func (_GNniPool *GNniPoolFilterer) WatchFeesEarned(opts *bind.WatchOpts, sink chan<- *GNniPoolFeesEarned) (event.Subscription, error)
- func (_GNniPool *GNniPoolFilterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *GNniPoolMinted) (event.Subscription, error)
- func (_GNniPool *GNniPoolFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *GNniPoolOwnershipTransferred, ...) (event.Subscription, error)
- func (_GNniPool *GNniPoolFilterer) WatchRebalance(opts *bind.WatchOpts, sink chan<- *GNniPoolRebalance) (event.Subscription, error)
- func (_GNniPool *GNniPoolFilterer) WatchSetManagerFee(opts *bind.WatchOpts, sink chan<- *GNniPoolSetManagerFee) (event.Subscription, error)
- func (_GNniPool *GNniPoolFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *GNniPoolTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_GNniPool *GNniPoolFilterer) WatchUpdateAdminTreasury(opts *bind.WatchOpts, sink chan<- *GNniPoolUpdateAdminTreasury) (event.Subscription, error)
- func (_GNniPool *GNniPoolFilterer) WatchUpdateGelatoParams(opts *bind.WatchOpts, sink chan<- *GNniPoolUpdateGelatoParams) (event.Subscription, error)
- type GNniPoolMinted
- type GNniPoolMintedIterator
- type GNniPoolOwnershipTransferred
- type GNniPoolOwnershipTransferredIterator
- type GNniPoolRaw
- func (_GNniPool *GNniPoolRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_GNniPool *GNniPoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_GNniPool *GNniPoolRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GNniPoolRebalance
- type GNniPoolRebalanceIterator
- type GNniPoolSession
- func (_GNniPool *GNniPoolSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_GNniPool *GNniPoolSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_GNniPool *GNniPoolSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_GNniPool *GNniPoolSession) Burn(burnAmount *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_GNniPool *GNniPoolSession) Decimals() (uint8, error)
- func (_GNniPool *GNniPoolSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_GNniPool *GNniPoolSession) ExecutiveRebalance(newLowerTick *big.Int, newUpperTick *big.Int, swapThresholdPrice *big.Int, ...) (*types.Transaction, error)
- func (_GNniPool *GNniPoolSession) GELATO() (common.Address, error)
- func (_GNniPool *GNniPoolSession) GelatoBalance0() (*big.Int, error)
- func (_GNniPool *GNniPoolSession) GelatoBalance1() (*big.Int, error)
- func (_GNniPool *GNniPoolSession) GelatoFeeBPS() (uint16, error)
- func (_GNniPool *GNniPoolSession) GelatoRebalanceBPS() (uint16, error)
- func (_GNniPool *GNniPoolSession) GelatoSlippageBPS() (uint16, error)
- func (_GNniPool *GNniPoolSession) GelatoSlippageInterval() (uint32, error)
- func (_GNniPool *GNniPoolSession) GelatoWithdrawBPS() (uint16, error)
- func (_GNniPool *GNniPoolSession) GetMintAmounts(amount0Max *big.Int, amount1Max *big.Int) (struct{ ... }, error)
- func (_GNniPool *GNniPoolSession) GetPositionID() ([32]byte, error)
- func (_GNniPool *GNniPoolSession) GetUnderlyingBalances() (struct{ ... }, error)
- func (_GNniPool *GNniPoolSession) GetUnderlyingBalancesAtPrice(sqrtRatioX96 *big.Int) (struct{ ... }, error)
- func (_GNniPool *GNniPoolSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_GNniPool *GNniPoolSession) Initialize(_name string, _symbol string, _pool common.Address, _managerFeeBPS uint16, ...) (*types.Transaction, error)
- func (_GNniPool *GNniPoolSession) InitializeManagerFee(_managerFeeBPS uint16) (*types.Transaction, error)
- func (_GNniPool *GNniPoolSession) LowerTick() (*big.Int, error)
- func (_GNniPool *GNniPoolSession) Manager() (common.Address, error)
- func (_GNniPool *GNniPoolSession) ManagerBalance0() (*big.Int, error)
- func (_GNniPool *GNniPoolSession) ManagerBalance1() (*big.Int, error)
- func (_GNniPool *GNniPoolSession) ManagerFeeBPS() (uint16, error)
- func (_GNniPool *GNniPoolSession) ManagerTreasury() (common.Address, error)
- func (_GNniPool *GNniPoolSession) Mint(mintAmount *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_GNniPool *GNniPoolSession) Name() (string, error)
- func (_GNniPool *GNniPoolSession) Pool() (common.Address, error)
- func (_GNniPool *GNniPoolSession) Rebalance(swapThresholdPrice *big.Int, swapAmountBPS *big.Int, zeroForOne bool, ...) (*types.Transaction, error)
- func (_GNniPool *GNniPoolSession) RenounceOwnership() (*types.Transaction, error)
- func (_GNniPool *GNniPoolSession) Symbol() (string, error)
- func (_GNniPool *GNniPoolSession) Token0() (common.Address, error)
- func (_GNniPool *GNniPoolSession) Token1() (common.Address, error)
- func (_GNniPool *GNniPoolSession) TotalSupply() (*big.Int, error)
- func (_GNniPool *GNniPoolSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_GNniPool *GNniPoolSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_GNniPool *GNniPoolSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_GNniPool *GNniPoolSession) UniswapV3MintCallback(amount0Owed *big.Int, amount1Owed *big.Int, arg2 []byte) (*types.Transaction, error)
- func (_GNniPool *GNniPoolSession) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, arg2 []byte) (*types.Transaction, error)
- func (_GNniPool *GNniPoolSession) UpdateGelatoParams(newRebalanceBPS uint16, newWithdrawBPS uint16, newSlippageBPS uint16, ...) (*types.Transaction, error)
- func (_GNniPool *GNniPoolSession) UpperTick() (*big.Int, error)
- func (_GNniPool *GNniPoolSession) Version() (string, error)
- func (_GNniPool *GNniPoolSession) WithdrawGelatoBalance(feeAmount *big.Int, feeToken common.Address) (*types.Transaction, error)
- func (_GNniPool *GNniPoolSession) WithdrawManagerBalance(feeAmount *big.Int, feeToken common.Address) (*types.Transaction, error)
- type GNniPoolSetManagerFee
- type GNniPoolSetManagerFeeIterator
- type GNniPoolTransactor
- func (_GNniPool *GNniPoolTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactor) Burn(opts *bind.TransactOpts, burnAmount *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactor) ExecutiveRebalance(opts *bind.TransactOpts, newLowerTick *big.Int, newUpperTick *big.Int, ...) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactor) Initialize(opts *bind.TransactOpts, _name string, _symbol string, _pool common.Address, ...) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactor) InitializeManagerFee(opts *bind.TransactOpts, _managerFeeBPS uint16) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactor) Mint(opts *bind.TransactOpts, mintAmount *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactor) Rebalance(opts *bind.TransactOpts, swapThresholdPrice *big.Int, swapAmountBPS *big.Int, ...) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactor) UniswapV3MintCallback(opts *bind.TransactOpts, amount0Owed *big.Int, amount1Owed *big.Int, ...) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactor) UniswapV3SwapCallback(opts *bind.TransactOpts, amount0Delta *big.Int, amount1Delta *big.Int, ...) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactor) UpdateGelatoParams(opts *bind.TransactOpts, newRebalanceBPS uint16, newWithdrawBPS uint16, ...) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactor) WithdrawGelatoBalance(opts *bind.TransactOpts, feeAmount *big.Int, feeToken common.Address) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactor) WithdrawManagerBalance(opts *bind.TransactOpts, feeAmount *big.Int, feeToken common.Address) (*types.Transaction, error)
- type GNniPoolTransactorRaw
- type GNniPoolTransactorSession
- func (_GNniPool *GNniPoolTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactorSession) Burn(burnAmount *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactorSession) ExecutiveRebalance(newLowerTick *big.Int, newUpperTick *big.Int, swapThresholdPrice *big.Int, ...) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactorSession) Initialize(_name string, _symbol string, _pool common.Address, _managerFeeBPS uint16, ...) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactorSession) InitializeManagerFee(_managerFeeBPS uint16) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactorSession) Mint(mintAmount *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactorSession) Rebalance(swapThresholdPrice *big.Int, swapAmountBPS *big.Int, zeroForOne bool, ...) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactorSession) UniswapV3MintCallback(amount0Owed *big.Int, amount1Owed *big.Int, arg2 []byte) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactorSession) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, arg2 []byte) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactorSession) UpdateGelatoParams(newRebalanceBPS uint16, newWithdrawBPS uint16, newSlippageBPS uint16, ...) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactorSession) WithdrawGelatoBalance(feeAmount *big.Int, feeToken common.Address) (*types.Transaction, error)
- func (_GNniPool *GNniPoolTransactorSession) WithdrawManagerBalance(feeAmount *big.Int, feeToken common.Address) (*types.Transaction, error)
- type GNniPoolTransfer
- type GNniPoolTransferIterator
- type GNniPoolUpdateAdminTreasury
- type GNniPoolUpdateAdminTreasuryIterator
- type GNniPoolUpdateGelatoParams
- type GNniPoolUpdateGelatoParamsIterator
Constants ¶
This section is empty.
Variables ¶
var GNniPoolABI = GNniPoolMetaData.ABI
GNniPoolABI is the input ABI used to generate the binding from. Deprecated: Use GNniPoolMetaData.ABI instead.
var GNniPoolMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_gelato\",\"type\":\"address\"}],\"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\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"burnAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0Out\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1Out\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidityBurned\",\"type\":\"uint128\"}],\"name\":\"Burned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feesEarned0\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feesEarned1\",\"type\":\"uint256\"}],\"name\":\"FeesEarned\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"mintAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount0In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount1In\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidityMinted\",\"type\":\"uint128\"}],\"name\":\"Minted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousManager\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newManager\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"lowerTick_\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"int24\",\"name\":\"upperTick_\",\"type\":\"int24\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidityBefore\",\"type\":\"uint128\"},{\"indexed\":false,\"internalType\":\"uint128\",\"name\":\"liquidityAfter\",\"type\":\"uint128\"}],\"name\":\"Rebalance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"managerFee\",\"type\":\"uint16\"}],\"name\":\"SetManagerFee\",\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldAdminTreasury\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdminTreasury\",\"type\":\"address\"}],\"name\":\"UpdateAdminTreasury\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"gelatoRebalanceBPS\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"gelatoWithdrawBPS\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"gelatoSlippageBPS\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"gelatoSlippageInterval\",\"type\":\"uint32\"}],\"name\":\"UpdateGelatoParams\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"GELATO\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"burnAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"burn\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"liquidityBurned\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int24\",\"name\":\"newLowerTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"newUpperTick\",\"type\":\"int24\"},{\"internalType\":\"uint160\",\"name\":\"swapThresholdPrice\",\"type\":\"uint160\"},{\"internalType\":\"uint256\",\"name\":\"swapAmountBPS\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"zeroForOne\",\"type\":\"bool\"}],\"name\":\"executiveRebalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gelatoBalance0\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gelatoBalance1\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gelatoFeeBPS\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gelatoRebalanceBPS\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gelatoSlippageBPS\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gelatoSlippageInterval\",\"outputs\":[{\"internalType\":\"uint32\",\"name\":\"\",\"type\":\"uint32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"gelatoWithdrawBPS\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0Max\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Max\",\"type\":\"uint256\"}],\"name\":\"getMintAmounts\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mintAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getPositionID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"positionID\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getUnderlyingBalances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0Current\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Current\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint160\",\"name\":\"sqrtRatioX96\",\"type\":\"uint160\"}],\"name\":\"getUnderlyingBalancesAtPrice\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0Current\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Current\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"address\",\"name\":\"_pool\",\"type\":\"address\"},{\"internalType\":\"uint16\",\"name\":\"_managerFeeBPS\",\"type\":\"uint16\"},{\"internalType\":\"int24\",\"name\":\"_lowerTick\",\"type\":\"int24\"},{\"internalType\":\"int24\",\"name\":\"_upperTick\",\"type\":\"int24\"},{\"internalType\":\"address\",\"name\":\"_manager_\",\"type\":\"address\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_managerFeeBPS\",\"type\":\"uint16\"}],\"name\":\"initializeManagerFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lowerTick\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"manager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"managerBalance0\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"managerBalance1\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"managerFeeBPS\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"managerTreasury\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"mintAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"receiver\",\"type\":\"address\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1\",\"type\":\"uint256\"},{\"internalType\":\"uint128\",\"name\":\"liquidityMinted\",\"type\":\"uint128\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pool\",\"outputs\":[{\"internalType\":\"contractIUniswapV3Pool\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint160\",\"name\":\"swapThresholdPrice\",\"type\":\"uint160\"},{\"internalType\":\"uint256\",\"name\":\"swapAmountBPS\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"zeroForOne\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"paymentToken\",\"type\":\"address\"}],\"name\":\"rebalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token0\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token1\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"amount0Owed\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"amount1Owed\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"uniswapV3MintCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"int256\",\"name\":\"amount0Delta\",\"type\":\"int256\"},{\"internalType\":\"int256\",\"name\":\"amount1Delta\",\"type\":\"int256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"uniswapV3SwapCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"newRebalanceBPS\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"newWithdrawBPS\",\"type\":\"uint16\"},{\"internalType\":\"uint16\",\"name\":\"newSlippageBPS\",\"type\":\"uint16\"},{\"internalType\":\"uint32\",\"name\":\"newSlippageInterval\",\"type\":\"uint32\"},{\"internalType\":\"address\",\"name\":\"newTreasury\",\"type\":\"address\"}],\"name\":\"updateGelatoParams\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"upperTick\",\"outputs\":[{\"internalType\":\"int24\",\"name\":\"\",\"type\":\"int24\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"feeToken\",\"type\":\"address\"}],\"name\":\"withdrawGelatoBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"feeAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"feeToken\",\"type\":\"address\"}],\"name\":\"withdrawManagerBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
GNniPoolMetaData contains all meta data concerning the GNniPool contract.
Functions ¶
This section is empty.
Types ¶
type GNniPool ¶
type GNniPool struct { GNniPoolCaller // Read-only binding to the contract GNniPoolTransactor // Write-only binding to the contract GNniPoolFilterer // Log filterer for contract events }
GNniPool is an auto generated Go binding around an Ethereum contract.
func NewGNniPool ¶
NewGNniPool creates a new instance of GNniPool, bound to a specific deployed contract.
type GNniPoolApproval ¶
type GNniPoolApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
GNniPoolApproval represents a Approval event raised by the GNniPool contract.
type GNniPoolApprovalIterator ¶
type GNniPoolApprovalIterator struct { Event *GNniPoolApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GNniPoolApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the GNniPool contract.
func (*GNniPoolApprovalIterator) Close ¶
func (it *GNniPoolApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GNniPoolApprovalIterator) Error ¶
func (it *GNniPoolApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GNniPoolApprovalIterator) Next ¶
func (it *GNniPoolApprovalIterator) 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 GNniPoolBurned ¶
type GNniPoolBurned struct { Receiver common.Address BurnAmount *big.Int Amount0Out *big.Int Amount1Out *big.Int LiquidityBurned *big.Int Raw types.Log // Blockchain specific contextual infos }
GNniPoolBurned represents a Burned event raised by the GNniPool contract.
type GNniPoolBurnedIterator ¶
type GNniPoolBurnedIterator struct { Event *GNniPoolBurned // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GNniPoolBurnedIterator is returned from FilterBurned and is used to iterate over the raw logs and unpacked data for Burned events raised by the GNniPool contract.
func (*GNniPoolBurnedIterator) Close ¶
func (it *GNniPoolBurnedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GNniPoolBurnedIterator) Error ¶
func (it *GNniPoolBurnedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GNniPoolBurnedIterator) Next ¶
func (it *GNniPoolBurnedIterator) 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 GNniPoolCaller ¶
type GNniPoolCaller struct {
// contains filtered or unexported fields
}
GNniPoolCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGNniPoolCaller ¶
func NewGNniPoolCaller(address common.Address, caller bind.ContractCaller) (*GNniPoolCaller, error)
NewGNniPoolCaller creates a new read-only instance of GNniPool, bound to a specific deployed contract.
func (*GNniPoolCaller) Allowance ¶
func (_GNniPool *GNniPoolCaller) 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) view returns(uint256)
func (*GNniPoolCaller) BalanceOf ¶
func (_GNniPool *GNniPoolCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*GNniPoolCaller) Decimals ¶
func (_GNniPool *GNniPoolCaller) 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 (*GNniPoolCaller) GELATO ¶
GELATO is a free data retrieval call binding the contract method 0xeff557a7.
Solidity: function GELATO() view returns(address)
func (*GNniPoolCaller) GelatoBalance0 ¶
GelatoBalance0 is a free data retrieval call binding the contract method 0xb536bd12.
Solidity: function gelatoBalance0() view returns(uint256)
func (*GNniPoolCaller) GelatoBalance1 ¶
GelatoBalance1 is a free data retrieval call binding the contract method 0xc3454459.
Solidity: function gelatoBalance1() view returns(uint256)
func (*GNniPoolCaller) GelatoFeeBPS ¶
func (_GNniPool *GNniPoolCaller) GelatoFeeBPS(opts *bind.CallOpts) (uint16, error)
GelatoFeeBPS is a free data retrieval call binding the contract method 0x31366be4.
Solidity: function gelatoFeeBPS() view returns(uint16)
func (*GNniPoolCaller) GelatoRebalanceBPS ¶
func (_GNniPool *GNniPoolCaller) GelatoRebalanceBPS(opts *bind.CallOpts) (uint16, error)
GelatoRebalanceBPS is a free data retrieval call binding the contract method 0xa50b1fe7.
Solidity: function gelatoRebalanceBPS() view returns(uint16)
func (*GNniPoolCaller) GelatoSlippageBPS ¶
func (_GNniPool *GNniPoolCaller) GelatoSlippageBPS(opts *bind.CallOpts) (uint16, error)
GelatoSlippageBPS is a free data retrieval call binding the contract method 0xd6e7ff39.
Solidity: function gelatoSlippageBPS() view returns(uint16)
func (*GNniPoolCaller) GelatoSlippageInterval ¶
func (_GNniPool *GNniPoolCaller) GelatoSlippageInterval(opts *bind.CallOpts) (uint32, error)
GelatoSlippageInterval is a free data retrieval call binding the contract method 0x672152bd.
Solidity: function gelatoSlippageInterval() view returns(uint32)
func (*GNniPoolCaller) GelatoWithdrawBPS ¶
func (_GNniPool *GNniPoolCaller) GelatoWithdrawBPS(opts *bind.CallOpts) (uint16, error)
GelatoWithdrawBPS is a free data retrieval call binding the contract method 0x3d8b30e1.
Solidity: function gelatoWithdrawBPS() view returns(uint16)
func (*GNniPoolCaller) GetMintAmounts ¶
func (_GNniPool *GNniPoolCaller) GetMintAmounts(opts *bind.CallOpts, amount0Max *big.Int, amount1Max *big.Int) (struct { Amount0 *big.Int Amount1 *big.Int MintAmount *big.Int }, error)
GetMintAmounts is a free data retrieval call binding the contract method 0x9894f21a.
Solidity: function getMintAmounts(uint256 amount0Max, uint256 amount1Max) view returns(uint256 amount0, uint256 amount1, uint256 mintAmount)
func (*GNniPoolCaller) GetPositionID ¶
func (_GNniPool *GNniPoolCaller) GetPositionID(opts *bind.CallOpts) ([32]byte, error)
GetPositionID is a free data retrieval call binding the contract method 0xdf28408a.
Solidity: function getPositionID() view returns(bytes32 positionID)
func (*GNniPoolCaller) GetUnderlyingBalances ¶
func (_GNniPool *GNniPoolCaller) GetUnderlyingBalances(opts *bind.CallOpts) (struct { Amount0Current *big.Int Amount1Current *big.Int }, error)
GetUnderlyingBalances is a free data retrieval call binding the contract method 0x1322d954.
Solidity: function getUnderlyingBalances() view returns(uint256 amount0Current, uint256 amount1Current)
func (*GNniPoolCaller) GetUnderlyingBalancesAtPrice ¶
func (_GNniPool *GNniPoolCaller) GetUnderlyingBalancesAtPrice(opts *bind.CallOpts, sqrtRatioX96 *big.Int) (struct { Amount0Current *big.Int Amount1Current *big.Int }, error)
GetUnderlyingBalancesAtPrice is a free data retrieval call binding the contract method 0xb670ed7d.
Solidity: function getUnderlyingBalancesAtPrice(uint160 sqrtRatioX96) view returns(uint256 amount0Current, uint256 amount1Current)
func (*GNniPoolCaller) LowerTick ¶
LowerTick is a free data retrieval call binding the contract method 0x9b1344ac.
Solidity: function lowerTick() view returns(int24)
func (*GNniPoolCaller) Manager ¶
Manager is a free data retrieval call binding the contract method 0x481c6a75.
Solidity: function manager() view returns(address)
func (*GNniPoolCaller) ManagerBalance0 ¶
ManagerBalance0 is a free data retrieval call binding the contract method 0x065756db.
Solidity: function managerBalance0() view returns(uint256)
func (*GNniPoolCaller) ManagerBalance1 ¶
ManagerBalance1 is a free data retrieval call binding the contract method 0x42fb9d44.
Solidity: function managerBalance1() view returns(uint256)
func (*GNniPoolCaller) ManagerFeeBPS ¶
func (_GNniPool *GNniPoolCaller) ManagerFeeBPS(opts *bind.CallOpts) (uint16, error)
ManagerFeeBPS is a free data retrieval call binding the contract method 0xccdf7a02.
Solidity: function managerFeeBPS() view returns(uint16)
func (*GNniPoolCaller) ManagerTreasury ¶
ManagerTreasury is a free data retrieval call binding the contract method 0xcc95353e.
Solidity: function managerTreasury() view returns(address)
func (*GNniPoolCaller) Name ¶
func (_GNniPool *GNniPoolCaller) 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 (*GNniPoolCaller) Pool ¶
Pool is a free data retrieval call binding the contract method 0x16f0115b.
Solidity: function pool() view returns(address)
func (*GNniPoolCaller) Symbol ¶
func (_GNniPool *GNniPoolCaller) 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 (*GNniPoolCaller) Token0 ¶
Token0 is a free data retrieval call binding the contract method 0x0dfe1681.
Solidity: function token0() view returns(address)
func (*GNniPoolCaller) Token1 ¶
Token1 is a free data retrieval call binding the contract method 0xd21220a7.
Solidity: function token1() view returns(address)
func (*GNniPoolCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type GNniPoolCallerRaw ¶
type GNniPoolCallerRaw struct {
Contract *GNniPoolCaller // Generic read-only contract binding to access the raw methods on
}
GNniPoolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GNniPoolCallerRaw) Call ¶
func (_GNniPool *GNniPoolCallerRaw) 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 GNniPoolCallerSession ¶
type GNniPoolCallerSession struct { Contract *GNniPoolCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
GNniPoolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*GNniPoolCallerSession) Allowance ¶
func (_GNniPool *GNniPoolCallerSession) 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) view returns(uint256)
func (*GNniPoolCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*GNniPoolCallerSession) Decimals ¶
func (_GNniPool *GNniPoolCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*GNniPoolCallerSession) GELATO ¶
func (_GNniPool *GNniPoolCallerSession) GELATO() (common.Address, error)
GELATO is a free data retrieval call binding the contract method 0xeff557a7.
Solidity: function GELATO() view returns(address)
func (*GNniPoolCallerSession) GelatoBalance0 ¶
func (_GNniPool *GNniPoolCallerSession) GelatoBalance0() (*big.Int, error)
GelatoBalance0 is a free data retrieval call binding the contract method 0xb536bd12.
Solidity: function gelatoBalance0() view returns(uint256)
func (*GNniPoolCallerSession) GelatoBalance1 ¶
func (_GNniPool *GNniPoolCallerSession) GelatoBalance1() (*big.Int, error)
GelatoBalance1 is a free data retrieval call binding the contract method 0xc3454459.
Solidity: function gelatoBalance1() view returns(uint256)
func (*GNniPoolCallerSession) GelatoFeeBPS ¶
func (_GNniPool *GNniPoolCallerSession) GelatoFeeBPS() (uint16, error)
GelatoFeeBPS is a free data retrieval call binding the contract method 0x31366be4.
Solidity: function gelatoFeeBPS() view returns(uint16)
func (*GNniPoolCallerSession) GelatoRebalanceBPS ¶
func (_GNniPool *GNniPoolCallerSession) GelatoRebalanceBPS() (uint16, error)
GelatoRebalanceBPS is a free data retrieval call binding the contract method 0xa50b1fe7.
Solidity: function gelatoRebalanceBPS() view returns(uint16)
func (*GNniPoolCallerSession) GelatoSlippageBPS ¶
func (_GNniPool *GNniPoolCallerSession) GelatoSlippageBPS() (uint16, error)
GelatoSlippageBPS is a free data retrieval call binding the contract method 0xd6e7ff39.
Solidity: function gelatoSlippageBPS() view returns(uint16)
func (*GNniPoolCallerSession) GelatoSlippageInterval ¶
func (_GNniPool *GNniPoolCallerSession) GelatoSlippageInterval() (uint32, error)
GelatoSlippageInterval is a free data retrieval call binding the contract method 0x672152bd.
Solidity: function gelatoSlippageInterval() view returns(uint32)
func (*GNniPoolCallerSession) GelatoWithdrawBPS ¶
func (_GNniPool *GNniPoolCallerSession) GelatoWithdrawBPS() (uint16, error)
GelatoWithdrawBPS is a free data retrieval call binding the contract method 0x3d8b30e1.
Solidity: function gelatoWithdrawBPS() view returns(uint16)
func (*GNniPoolCallerSession) GetMintAmounts ¶
func (_GNniPool *GNniPoolCallerSession) GetMintAmounts(amount0Max *big.Int, amount1Max *big.Int) (struct { Amount0 *big.Int Amount1 *big.Int MintAmount *big.Int }, error)
GetMintAmounts is a free data retrieval call binding the contract method 0x9894f21a.
Solidity: function getMintAmounts(uint256 amount0Max, uint256 amount1Max) view returns(uint256 amount0, uint256 amount1, uint256 mintAmount)
func (*GNniPoolCallerSession) GetPositionID ¶
func (_GNniPool *GNniPoolCallerSession) GetPositionID() ([32]byte, error)
GetPositionID is a free data retrieval call binding the contract method 0xdf28408a.
Solidity: function getPositionID() view returns(bytes32 positionID)
func (*GNniPoolCallerSession) GetUnderlyingBalances ¶
func (_GNniPool *GNniPoolCallerSession) GetUnderlyingBalances() (struct { Amount0Current *big.Int Amount1Current *big.Int }, error)
GetUnderlyingBalances is a free data retrieval call binding the contract method 0x1322d954.
Solidity: function getUnderlyingBalances() view returns(uint256 amount0Current, uint256 amount1Current)
func (*GNniPoolCallerSession) GetUnderlyingBalancesAtPrice ¶
func (_GNniPool *GNniPoolCallerSession) GetUnderlyingBalancesAtPrice(sqrtRatioX96 *big.Int) (struct { Amount0Current *big.Int Amount1Current *big.Int }, error)
GetUnderlyingBalancesAtPrice is a free data retrieval call binding the contract method 0xb670ed7d.
Solidity: function getUnderlyingBalancesAtPrice(uint160 sqrtRatioX96) view returns(uint256 amount0Current, uint256 amount1Current)
func (*GNniPoolCallerSession) LowerTick ¶
func (_GNniPool *GNniPoolCallerSession) LowerTick() (*big.Int, error)
LowerTick is a free data retrieval call binding the contract method 0x9b1344ac.
Solidity: function lowerTick() view returns(int24)
func (*GNniPoolCallerSession) Manager ¶
func (_GNniPool *GNniPoolCallerSession) Manager() (common.Address, error)
Manager is a free data retrieval call binding the contract method 0x481c6a75.
Solidity: function manager() view returns(address)
func (*GNniPoolCallerSession) ManagerBalance0 ¶
func (_GNniPool *GNniPoolCallerSession) ManagerBalance0() (*big.Int, error)
ManagerBalance0 is a free data retrieval call binding the contract method 0x065756db.
Solidity: function managerBalance0() view returns(uint256)
func (*GNniPoolCallerSession) ManagerBalance1 ¶
func (_GNniPool *GNniPoolCallerSession) ManagerBalance1() (*big.Int, error)
ManagerBalance1 is a free data retrieval call binding the contract method 0x42fb9d44.
Solidity: function managerBalance1() view returns(uint256)
func (*GNniPoolCallerSession) ManagerFeeBPS ¶
func (_GNniPool *GNniPoolCallerSession) ManagerFeeBPS() (uint16, error)
ManagerFeeBPS is a free data retrieval call binding the contract method 0xccdf7a02.
Solidity: function managerFeeBPS() view returns(uint16)
func (*GNniPoolCallerSession) ManagerTreasury ¶
func (_GNniPool *GNniPoolCallerSession) ManagerTreasury() (common.Address, error)
ManagerTreasury is a free data retrieval call binding the contract method 0xcc95353e.
Solidity: function managerTreasury() view returns(address)
func (*GNniPoolCallerSession) Name ¶
func (_GNniPool *GNniPoolCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*GNniPoolCallerSession) Pool ¶
func (_GNniPool *GNniPoolCallerSession) Pool() (common.Address, error)
Pool is a free data retrieval call binding the contract method 0x16f0115b.
Solidity: function pool() view returns(address)
func (*GNniPoolCallerSession) Symbol ¶
func (_GNniPool *GNniPoolCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*GNniPoolCallerSession) Token0 ¶
func (_GNniPool *GNniPoolCallerSession) Token0() (common.Address, error)
Token0 is a free data retrieval call binding the contract method 0x0dfe1681.
Solidity: function token0() view returns(address)
func (*GNniPoolCallerSession) Token1 ¶
func (_GNniPool *GNniPoolCallerSession) Token1() (common.Address, error)
Token1 is a free data retrieval call binding the contract method 0xd21220a7.
Solidity: function token1() view returns(address)
func (*GNniPoolCallerSession) TotalSupply ¶
func (_GNniPool *GNniPoolCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*GNniPoolCallerSession) UpperTick ¶
func (_GNniPool *GNniPoolCallerSession) UpperTick() (*big.Int, error)
UpperTick is a free data retrieval call binding the contract method 0x727dd228.
Solidity: function upperTick() view returns(int24)
func (*GNniPoolCallerSession) Version ¶
func (_GNniPool *GNniPoolCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type GNniPoolFeesEarned ¶
type GNniPoolFeesEarned struct { FeesEarned0 *big.Int FeesEarned1 *big.Int Raw types.Log // Blockchain specific contextual infos }
GNniPoolFeesEarned represents a FeesEarned event raised by the GNniPool contract.
type GNniPoolFeesEarnedIterator ¶
type GNniPoolFeesEarnedIterator struct { Event *GNniPoolFeesEarned // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GNniPoolFeesEarnedIterator is returned from FilterFeesEarned and is used to iterate over the raw logs and unpacked data for FeesEarned events raised by the GNniPool contract.
func (*GNniPoolFeesEarnedIterator) Close ¶
func (it *GNniPoolFeesEarnedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GNniPoolFeesEarnedIterator) Error ¶
func (it *GNniPoolFeesEarnedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GNniPoolFeesEarnedIterator) Next ¶
func (it *GNniPoolFeesEarnedIterator) 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 GNniPoolFilterer ¶
type GNniPoolFilterer struct {
// contains filtered or unexported fields
}
GNniPoolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGNniPoolFilterer ¶
func NewGNniPoolFilterer(address common.Address, filterer bind.ContractFilterer) (*GNniPoolFilterer, error)
NewGNniPoolFilterer creates a new log filterer instance of GNniPool, bound to a specific deployed contract.
func (*GNniPoolFilterer) FilterApproval ¶
func (_GNniPool *GNniPoolFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*GNniPoolApprovalIterator, 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 (*GNniPoolFilterer) FilterBurned ¶
func (_GNniPool *GNniPoolFilterer) FilterBurned(opts *bind.FilterOpts) (*GNniPoolBurnedIterator, error)
FilterBurned is a free log retrieval operation binding the contract event 0x7239dff1718b550db7f36cbf69c665cfeb56d0e96b4fb76a5cba712961b65509.
Solidity: event Burned(address receiver, uint256 burnAmount, uint256 amount0Out, uint256 amount1Out, uint128 liquidityBurned)
func (*GNniPoolFilterer) FilterFeesEarned ¶
func (_GNniPool *GNniPoolFilterer) FilterFeesEarned(opts *bind.FilterOpts) (*GNniPoolFeesEarnedIterator, error)
FilterFeesEarned is a free log retrieval operation binding the contract event 0xc28ad1de9c0c32e5394ba60323e44d8d9536312236a47231772e448a3e49de42.
Solidity: event FeesEarned(uint256 feesEarned0, uint256 feesEarned1)
func (*GNniPoolFilterer) FilterMinted ¶
func (_GNniPool *GNniPoolFilterer) FilterMinted(opts *bind.FilterOpts) (*GNniPoolMintedIterator, error)
FilterMinted is a free log retrieval operation binding the contract event 0x55801cfe493000b734571da1694b21e7f66b11e8ce9fdaa0524ecb59105e73e7.
Solidity: event Minted(address receiver, uint256 mintAmount, uint256 amount0In, uint256 amount1In, uint128 liquidityMinted)
func (*GNniPoolFilterer) FilterOwnershipTransferred ¶
func (_GNniPool *GNniPoolFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousManager []common.Address, newManager []common.Address) (*GNniPoolOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousManager, address indexed newManager)
func (*GNniPoolFilterer) FilterRebalance ¶
func (_GNniPool *GNniPoolFilterer) FilterRebalance(opts *bind.FilterOpts) (*GNniPoolRebalanceIterator, error)
FilterRebalance is a free log retrieval operation binding the contract event 0xc749f9ae947d4734cf1569606a8a347391ae94a063478aa853aeff48ac5f99e8.
Solidity: event Rebalance(int24 lowerTick_, int24 upperTick_, uint128 liquidityBefore, uint128 liquidityAfter)
func (*GNniPoolFilterer) FilterSetManagerFee ¶
func (_GNniPool *GNniPoolFilterer) FilterSetManagerFee(opts *bind.FilterOpts) (*GNniPoolSetManagerFeeIterator, error)
FilterSetManagerFee is a free log retrieval operation binding the contract event 0x8a1ffb520c943072e654fc414750dbefad5b6d6311339d041901c4752782fad3.
Solidity: event SetManagerFee(uint16 managerFee)
func (*GNniPoolFilterer) FilterTransfer ¶
func (_GNniPool *GNniPoolFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*GNniPoolTransferIterator, 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 (*GNniPoolFilterer) FilterUpdateAdminTreasury ¶
func (_GNniPool *GNniPoolFilterer) FilterUpdateAdminTreasury(opts *bind.FilterOpts) (*GNniPoolUpdateAdminTreasuryIterator, error)
FilterUpdateAdminTreasury is a free log retrieval operation binding the contract event 0xc303359fc7b372cb806c4742a78ad4d2986613eb7875edbbfc53df3088ab67da.
Solidity: event UpdateAdminTreasury(address oldAdminTreasury, address newAdminTreasury)
func (*GNniPoolFilterer) FilterUpdateGelatoParams ¶
func (_GNniPool *GNniPoolFilterer) FilterUpdateGelatoParams(opts *bind.FilterOpts) (*GNniPoolUpdateGelatoParamsIterator, error)
FilterUpdateGelatoParams is a free log retrieval operation binding the contract event 0x0b7615006627cf7664941bc288d4641731f895e102f95cb8690583ad7508faa8.
Solidity: event UpdateGelatoParams(uint16 gelatoRebalanceBPS, uint16 gelatoWithdrawBPS, uint16 gelatoSlippageBPS, uint32 gelatoSlippageInterval)
func (*GNniPoolFilterer) ParseApproval ¶
func (_GNniPool *GNniPoolFilterer) ParseApproval(log types.Log) (*GNniPoolApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*GNniPoolFilterer) ParseBurned ¶
func (_GNniPool *GNniPoolFilterer) ParseBurned(log types.Log) (*GNniPoolBurned, error)
ParseBurned is a log parse operation binding the contract event 0x7239dff1718b550db7f36cbf69c665cfeb56d0e96b4fb76a5cba712961b65509.
Solidity: event Burned(address receiver, uint256 burnAmount, uint256 amount0Out, uint256 amount1Out, uint128 liquidityBurned)
func (*GNniPoolFilterer) ParseFeesEarned ¶
func (_GNniPool *GNniPoolFilterer) ParseFeesEarned(log types.Log) (*GNniPoolFeesEarned, error)
ParseFeesEarned is a log parse operation binding the contract event 0xc28ad1de9c0c32e5394ba60323e44d8d9536312236a47231772e448a3e49de42.
Solidity: event FeesEarned(uint256 feesEarned0, uint256 feesEarned1)
func (*GNniPoolFilterer) ParseMinted ¶
func (_GNniPool *GNniPoolFilterer) ParseMinted(log types.Log) (*GNniPoolMinted, error)
ParseMinted is a log parse operation binding the contract event 0x55801cfe493000b734571da1694b21e7f66b11e8ce9fdaa0524ecb59105e73e7.
Solidity: event Minted(address receiver, uint256 mintAmount, uint256 amount0In, uint256 amount1In, uint128 liquidityMinted)
func (*GNniPoolFilterer) ParseOwnershipTransferred ¶
func (_GNniPool *GNniPoolFilterer) ParseOwnershipTransferred(log types.Log) (*GNniPoolOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousManager, address indexed newManager)
func (*GNniPoolFilterer) ParseRebalance ¶
func (_GNniPool *GNniPoolFilterer) ParseRebalance(log types.Log) (*GNniPoolRebalance, error)
ParseRebalance is a log parse operation binding the contract event 0xc749f9ae947d4734cf1569606a8a347391ae94a063478aa853aeff48ac5f99e8.
Solidity: event Rebalance(int24 lowerTick_, int24 upperTick_, uint128 liquidityBefore, uint128 liquidityAfter)
func (*GNniPoolFilterer) ParseSetManagerFee ¶
func (_GNniPool *GNniPoolFilterer) ParseSetManagerFee(log types.Log) (*GNniPoolSetManagerFee, error)
ParseSetManagerFee is a log parse operation binding the contract event 0x8a1ffb520c943072e654fc414750dbefad5b6d6311339d041901c4752782fad3.
Solidity: event SetManagerFee(uint16 managerFee)
func (*GNniPoolFilterer) ParseTransfer ¶
func (_GNniPool *GNniPoolFilterer) ParseTransfer(log types.Log) (*GNniPoolTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*GNniPoolFilterer) ParseUpdateAdminTreasury ¶
func (_GNniPool *GNniPoolFilterer) ParseUpdateAdminTreasury(log types.Log) (*GNniPoolUpdateAdminTreasury, error)
ParseUpdateAdminTreasury is a log parse operation binding the contract event 0xc303359fc7b372cb806c4742a78ad4d2986613eb7875edbbfc53df3088ab67da.
Solidity: event UpdateAdminTreasury(address oldAdminTreasury, address newAdminTreasury)
func (*GNniPoolFilterer) ParseUpdateGelatoParams ¶
func (_GNniPool *GNniPoolFilterer) ParseUpdateGelatoParams(log types.Log) (*GNniPoolUpdateGelatoParams, error)
ParseUpdateGelatoParams is a log parse operation binding the contract event 0x0b7615006627cf7664941bc288d4641731f895e102f95cb8690583ad7508faa8.
Solidity: event UpdateGelatoParams(uint16 gelatoRebalanceBPS, uint16 gelatoWithdrawBPS, uint16 gelatoSlippageBPS, uint32 gelatoSlippageInterval)
func (*GNniPoolFilterer) WatchApproval ¶
func (_GNniPool *GNniPoolFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *GNniPoolApproval, 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 (*GNniPoolFilterer) WatchBurned ¶
func (_GNniPool *GNniPoolFilterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *GNniPoolBurned) (event.Subscription, error)
WatchBurned is a free log subscription operation binding the contract event 0x7239dff1718b550db7f36cbf69c665cfeb56d0e96b4fb76a5cba712961b65509.
Solidity: event Burned(address receiver, uint256 burnAmount, uint256 amount0Out, uint256 amount1Out, uint128 liquidityBurned)
func (*GNniPoolFilterer) WatchFeesEarned ¶
func (_GNniPool *GNniPoolFilterer) WatchFeesEarned(opts *bind.WatchOpts, sink chan<- *GNniPoolFeesEarned) (event.Subscription, error)
WatchFeesEarned is a free log subscription operation binding the contract event 0xc28ad1de9c0c32e5394ba60323e44d8d9536312236a47231772e448a3e49de42.
Solidity: event FeesEarned(uint256 feesEarned0, uint256 feesEarned1)
func (*GNniPoolFilterer) WatchMinted ¶
func (_GNniPool *GNniPoolFilterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *GNniPoolMinted) (event.Subscription, error)
WatchMinted is a free log subscription operation binding the contract event 0x55801cfe493000b734571da1694b21e7f66b11e8ce9fdaa0524ecb59105e73e7.
Solidity: event Minted(address receiver, uint256 mintAmount, uint256 amount0In, uint256 amount1In, uint128 liquidityMinted)
func (*GNniPoolFilterer) WatchOwnershipTransferred ¶
func (_GNniPool *GNniPoolFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *GNniPoolOwnershipTransferred, previousManager []common.Address, newManager []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousManager, address indexed newManager)
func (*GNniPoolFilterer) WatchRebalance ¶
func (_GNniPool *GNniPoolFilterer) WatchRebalance(opts *bind.WatchOpts, sink chan<- *GNniPoolRebalance) (event.Subscription, error)
WatchRebalance is a free log subscription operation binding the contract event 0xc749f9ae947d4734cf1569606a8a347391ae94a063478aa853aeff48ac5f99e8.
Solidity: event Rebalance(int24 lowerTick_, int24 upperTick_, uint128 liquidityBefore, uint128 liquidityAfter)
func (*GNniPoolFilterer) WatchSetManagerFee ¶
func (_GNniPool *GNniPoolFilterer) WatchSetManagerFee(opts *bind.WatchOpts, sink chan<- *GNniPoolSetManagerFee) (event.Subscription, error)
WatchSetManagerFee is a free log subscription operation binding the contract event 0x8a1ffb520c943072e654fc414750dbefad5b6d6311339d041901c4752782fad3.
Solidity: event SetManagerFee(uint16 managerFee)
func (*GNniPoolFilterer) WatchTransfer ¶
func (_GNniPool *GNniPoolFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *GNniPoolTransfer, 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)
func (*GNniPoolFilterer) WatchUpdateAdminTreasury ¶
func (_GNniPool *GNniPoolFilterer) WatchUpdateAdminTreasury(opts *bind.WatchOpts, sink chan<- *GNniPoolUpdateAdminTreasury) (event.Subscription, error)
WatchUpdateAdminTreasury is a free log subscription operation binding the contract event 0xc303359fc7b372cb806c4742a78ad4d2986613eb7875edbbfc53df3088ab67da.
Solidity: event UpdateAdminTreasury(address oldAdminTreasury, address newAdminTreasury)
func (*GNniPoolFilterer) WatchUpdateGelatoParams ¶
func (_GNniPool *GNniPoolFilterer) WatchUpdateGelatoParams(opts *bind.WatchOpts, sink chan<- *GNniPoolUpdateGelatoParams) (event.Subscription, error)
WatchUpdateGelatoParams is a free log subscription operation binding the contract event 0x0b7615006627cf7664941bc288d4641731f895e102f95cb8690583ad7508faa8.
Solidity: event UpdateGelatoParams(uint16 gelatoRebalanceBPS, uint16 gelatoWithdrawBPS, uint16 gelatoSlippageBPS, uint32 gelatoSlippageInterval)
type GNniPoolMinted ¶
type GNniPoolMinted struct { Receiver common.Address MintAmount *big.Int Amount0In *big.Int Amount1In *big.Int LiquidityMinted *big.Int Raw types.Log // Blockchain specific contextual infos }
GNniPoolMinted represents a Minted event raised by the GNniPool contract.
type GNniPoolMintedIterator ¶
type GNniPoolMintedIterator struct { Event *GNniPoolMinted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GNniPoolMintedIterator is returned from FilterMinted and is used to iterate over the raw logs and unpacked data for Minted events raised by the GNniPool contract.
func (*GNniPoolMintedIterator) Close ¶
func (it *GNniPoolMintedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GNniPoolMintedIterator) Error ¶
func (it *GNniPoolMintedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GNniPoolMintedIterator) Next ¶
func (it *GNniPoolMintedIterator) 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 GNniPoolOwnershipTransferred ¶
type GNniPoolOwnershipTransferred struct { PreviousManager common.Address NewManager common.Address Raw types.Log // Blockchain specific contextual infos }
GNniPoolOwnershipTransferred represents a OwnershipTransferred event raised by the GNniPool contract.
type GNniPoolOwnershipTransferredIterator ¶
type GNniPoolOwnershipTransferredIterator struct { Event *GNniPoolOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GNniPoolOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the GNniPool contract.
func (*GNniPoolOwnershipTransferredIterator) Close ¶
func (it *GNniPoolOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GNniPoolOwnershipTransferredIterator) Error ¶
func (it *GNniPoolOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GNniPoolOwnershipTransferredIterator) Next ¶
func (it *GNniPoolOwnershipTransferredIterator) 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 GNniPoolRaw ¶
type GNniPoolRaw struct {
Contract *GNniPool // Generic contract binding to access the raw methods on
}
GNniPoolRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GNniPoolRaw) Call ¶
func (_GNniPool *GNniPoolRaw) 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 (*GNniPoolRaw) Transact ¶
func (_GNniPool *GNniPoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GNniPoolRaw) Transfer ¶
func (_GNniPool *GNniPoolRaw) 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 GNniPoolRebalance ¶
type GNniPoolRebalance struct { LowerTick *big.Int UpperTick *big.Int LiquidityBefore *big.Int LiquidityAfter *big.Int Raw types.Log // Blockchain specific contextual infos }
GNniPoolRebalance represents a Rebalance event raised by the GNniPool contract.
type GNniPoolRebalanceIterator ¶
type GNniPoolRebalanceIterator struct { Event *GNniPoolRebalance // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GNniPoolRebalanceIterator is returned from FilterRebalance and is used to iterate over the raw logs and unpacked data for Rebalance events raised by the GNniPool contract.
func (*GNniPoolRebalanceIterator) Close ¶
func (it *GNniPoolRebalanceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GNniPoolRebalanceIterator) Error ¶
func (it *GNniPoolRebalanceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GNniPoolRebalanceIterator) Next ¶
func (it *GNniPoolRebalanceIterator) 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 GNniPoolSession ¶
type GNniPoolSession struct { Contract *GNniPool // 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 }
GNniPoolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*GNniPoolSession) Allowance ¶
func (_GNniPool *GNniPoolSession) 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) view returns(uint256)
func (*GNniPoolSession) Approve ¶
func (_GNniPool *GNniPoolSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*GNniPoolSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*GNniPoolSession) Burn ¶
func (_GNniPool *GNniPoolSession) Burn(burnAmount *big.Int, receiver common.Address) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xfcd3533c.
Solidity: function burn(uint256 burnAmount, address receiver) returns(uint256 amount0, uint256 amount1, uint128 liquidityBurned)
func (*GNniPoolSession) Decimals ¶
func (_GNniPool *GNniPoolSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*GNniPoolSession) DecreaseAllowance ¶
func (_GNniPool *GNniPoolSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*GNniPoolSession) ExecutiveRebalance ¶
func (_GNniPool *GNniPoolSession) ExecutiveRebalance(newLowerTick *big.Int, newUpperTick *big.Int, swapThresholdPrice *big.Int, swapAmountBPS *big.Int, zeroForOne bool) (*types.Transaction, error)
ExecutiveRebalance is a paid mutator transaction binding the contract method 0x24b8fd1b.
Solidity: function executiveRebalance(int24 newLowerTick, int24 newUpperTick, uint160 swapThresholdPrice, uint256 swapAmountBPS, bool zeroForOne) returns()
func (*GNniPoolSession) GELATO ¶
func (_GNniPool *GNniPoolSession) GELATO() (common.Address, error)
GELATO is a free data retrieval call binding the contract method 0xeff557a7.
Solidity: function GELATO() view returns(address)
func (*GNniPoolSession) GelatoBalance0 ¶
func (_GNniPool *GNniPoolSession) GelatoBalance0() (*big.Int, error)
GelatoBalance0 is a free data retrieval call binding the contract method 0xb536bd12.
Solidity: function gelatoBalance0() view returns(uint256)
func (*GNniPoolSession) GelatoBalance1 ¶
func (_GNniPool *GNniPoolSession) GelatoBalance1() (*big.Int, error)
GelatoBalance1 is a free data retrieval call binding the contract method 0xc3454459.
Solidity: function gelatoBalance1() view returns(uint256)
func (*GNniPoolSession) GelatoFeeBPS ¶
func (_GNniPool *GNniPoolSession) GelatoFeeBPS() (uint16, error)
GelatoFeeBPS is a free data retrieval call binding the contract method 0x31366be4.
Solidity: function gelatoFeeBPS() view returns(uint16)
func (*GNniPoolSession) GelatoRebalanceBPS ¶
func (_GNniPool *GNniPoolSession) GelatoRebalanceBPS() (uint16, error)
GelatoRebalanceBPS is a free data retrieval call binding the contract method 0xa50b1fe7.
Solidity: function gelatoRebalanceBPS() view returns(uint16)
func (*GNniPoolSession) GelatoSlippageBPS ¶
func (_GNniPool *GNniPoolSession) GelatoSlippageBPS() (uint16, error)
GelatoSlippageBPS is a free data retrieval call binding the contract method 0xd6e7ff39.
Solidity: function gelatoSlippageBPS() view returns(uint16)
func (*GNniPoolSession) GelatoSlippageInterval ¶
func (_GNniPool *GNniPoolSession) GelatoSlippageInterval() (uint32, error)
GelatoSlippageInterval is a free data retrieval call binding the contract method 0x672152bd.
Solidity: function gelatoSlippageInterval() view returns(uint32)
func (*GNniPoolSession) GelatoWithdrawBPS ¶
func (_GNniPool *GNniPoolSession) GelatoWithdrawBPS() (uint16, error)
GelatoWithdrawBPS is a free data retrieval call binding the contract method 0x3d8b30e1.
Solidity: function gelatoWithdrawBPS() view returns(uint16)
func (*GNniPoolSession) GetMintAmounts ¶
func (_GNniPool *GNniPoolSession) GetMintAmounts(amount0Max *big.Int, amount1Max *big.Int) (struct { Amount0 *big.Int Amount1 *big.Int MintAmount *big.Int }, error)
GetMintAmounts is a free data retrieval call binding the contract method 0x9894f21a.
Solidity: function getMintAmounts(uint256 amount0Max, uint256 amount1Max) view returns(uint256 amount0, uint256 amount1, uint256 mintAmount)
func (*GNniPoolSession) GetPositionID ¶
func (_GNniPool *GNniPoolSession) GetPositionID() ([32]byte, error)
GetPositionID is a free data retrieval call binding the contract method 0xdf28408a.
Solidity: function getPositionID() view returns(bytes32 positionID)
func (*GNniPoolSession) GetUnderlyingBalances ¶
func (_GNniPool *GNniPoolSession) GetUnderlyingBalances() (struct { Amount0Current *big.Int Amount1Current *big.Int }, error)
GetUnderlyingBalances is a free data retrieval call binding the contract method 0x1322d954.
Solidity: function getUnderlyingBalances() view returns(uint256 amount0Current, uint256 amount1Current)
func (*GNniPoolSession) GetUnderlyingBalancesAtPrice ¶
func (_GNniPool *GNniPoolSession) GetUnderlyingBalancesAtPrice(sqrtRatioX96 *big.Int) (struct { Amount0Current *big.Int Amount1Current *big.Int }, error)
GetUnderlyingBalancesAtPrice is a free data retrieval call binding the contract method 0xb670ed7d.
Solidity: function getUnderlyingBalancesAtPrice(uint160 sqrtRatioX96) view returns(uint256 amount0Current, uint256 amount1Current)
func (*GNniPoolSession) IncreaseAllowance ¶
func (_GNniPool *GNniPoolSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*GNniPoolSession) Initialize ¶
func (_GNniPool *GNniPoolSession) Initialize(_name string, _symbol string, _pool common.Address, _managerFeeBPS uint16, _lowerTick *big.Int, _upperTick *big.Int, _manager_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xe25e15e3.
Solidity: function initialize(string _name, string _symbol, address _pool, uint16 _managerFeeBPS, int24 _lowerTick, int24 _upperTick, address _manager_) returns()
func (*GNniPoolSession) InitializeManagerFee ¶
func (_GNniPool *GNniPoolSession) InitializeManagerFee(_managerFeeBPS uint16) (*types.Transaction, error)
InitializeManagerFee is a paid mutator transaction binding the contract method 0xe4077894.
Solidity: function initializeManagerFee(uint16 _managerFeeBPS) returns()
func (*GNniPoolSession) LowerTick ¶
func (_GNniPool *GNniPoolSession) LowerTick() (*big.Int, error)
LowerTick is a free data retrieval call binding the contract method 0x9b1344ac.
Solidity: function lowerTick() view returns(int24)
func (*GNniPoolSession) Manager ¶
func (_GNniPool *GNniPoolSession) Manager() (common.Address, error)
Manager is a free data retrieval call binding the contract method 0x481c6a75.
Solidity: function manager() view returns(address)
func (*GNniPoolSession) ManagerBalance0 ¶
func (_GNniPool *GNniPoolSession) ManagerBalance0() (*big.Int, error)
ManagerBalance0 is a free data retrieval call binding the contract method 0x065756db.
Solidity: function managerBalance0() view returns(uint256)
func (*GNniPoolSession) ManagerBalance1 ¶
func (_GNniPool *GNniPoolSession) ManagerBalance1() (*big.Int, error)
ManagerBalance1 is a free data retrieval call binding the contract method 0x42fb9d44.
Solidity: function managerBalance1() view returns(uint256)
func (*GNniPoolSession) ManagerFeeBPS ¶
func (_GNniPool *GNniPoolSession) ManagerFeeBPS() (uint16, error)
ManagerFeeBPS is a free data retrieval call binding the contract method 0xccdf7a02.
Solidity: function managerFeeBPS() view returns(uint16)
func (*GNniPoolSession) ManagerTreasury ¶
func (_GNniPool *GNniPoolSession) ManagerTreasury() (common.Address, error)
ManagerTreasury is a free data retrieval call binding the contract method 0xcc95353e.
Solidity: function managerTreasury() view returns(address)
func (*GNniPoolSession) Mint ¶
func (_GNniPool *GNniPoolSession) Mint(mintAmount *big.Int, receiver common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x94bf804d.
Solidity: function mint(uint256 mintAmount, address receiver) returns(uint256 amount0, uint256 amount1, uint128 liquidityMinted)
func (*GNniPoolSession) Name ¶
func (_GNniPool *GNniPoolSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*GNniPoolSession) Pool ¶
func (_GNniPool *GNniPoolSession) Pool() (common.Address, error)
Pool is a free data retrieval call binding the contract method 0x16f0115b.
Solidity: function pool() view returns(address)
func (*GNniPoolSession) Rebalance ¶
func (_GNniPool *GNniPoolSession) Rebalance(swapThresholdPrice *big.Int, swapAmountBPS *big.Int, zeroForOne bool, feeAmount *big.Int, paymentToken common.Address) (*types.Transaction, error)
Rebalance is a paid mutator transaction binding the contract method 0xb135c99f.
Solidity: function rebalance(uint160 swapThresholdPrice, uint256 swapAmountBPS, bool zeroForOne, uint256 feeAmount, address paymentToken) returns()
func (*GNniPoolSession) RenounceOwnership ¶
func (_GNniPool *GNniPoolSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*GNniPoolSession) Symbol ¶
func (_GNniPool *GNniPoolSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*GNniPoolSession) Token0 ¶
func (_GNniPool *GNniPoolSession) Token0() (common.Address, error)
Token0 is a free data retrieval call binding the contract method 0x0dfe1681.
Solidity: function token0() view returns(address)
func (*GNniPoolSession) Token1 ¶
func (_GNniPool *GNniPoolSession) Token1() (common.Address, error)
Token1 is a free data retrieval call binding the contract method 0xd21220a7.
Solidity: function token1() view returns(address)
func (*GNniPoolSession) TotalSupply ¶
func (_GNniPool *GNniPoolSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*GNniPoolSession) Transfer ¶
func (_GNniPool *GNniPoolSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*GNniPoolSession) TransferFrom ¶
func (_GNniPool *GNniPoolSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*GNniPoolSession) TransferOwnership ¶
func (_GNniPool *GNniPoolSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*GNniPoolSession) UniswapV3MintCallback ¶
func (_GNniPool *GNniPoolSession) UniswapV3MintCallback(amount0Owed *big.Int, amount1Owed *big.Int, arg2 []byte) (*types.Transaction, error)
UniswapV3MintCallback is a paid mutator transaction binding the contract method 0xd3487997.
Solidity: function uniswapV3MintCallback(uint256 amount0Owed, uint256 amount1Owed, bytes ) returns()
func (*GNniPoolSession) UniswapV3SwapCallback ¶
func (_GNniPool *GNniPoolSession) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, arg2 []byte) (*types.Transaction, error)
UniswapV3SwapCallback is a paid mutator transaction binding the contract method 0xfa461e33.
Solidity: function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes ) returns()
func (*GNniPoolSession) UpdateGelatoParams ¶
func (_GNniPool *GNniPoolSession) UpdateGelatoParams(newRebalanceBPS uint16, newWithdrawBPS uint16, newSlippageBPS uint16, newSlippageInterval uint32, newTreasury common.Address) (*types.Transaction, error)
UpdateGelatoParams is a paid mutator transaction binding the contract method 0x99fd808c.
Solidity: function updateGelatoParams(uint16 newRebalanceBPS, uint16 newWithdrawBPS, uint16 newSlippageBPS, uint32 newSlippageInterval, address newTreasury) returns()
func (*GNniPoolSession) UpperTick ¶
func (_GNniPool *GNniPoolSession) UpperTick() (*big.Int, error)
UpperTick is a free data retrieval call binding the contract method 0x727dd228.
Solidity: function upperTick() view returns(int24)
func (*GNniPoolSession) Version ¶
func (_GNniPool *GNniPoolSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
func (*GNniPoolSession) WithdrawGelatoBalance ¶
func (_GNniPool *GNniPoolSession) WithdrawGelatoBalance(feeAmount *big.Int, feeToken common.Address) (*types.Transaction, error)
WithdrawGelatoBalance is a paid mutator transaction binding the contract method 0xbe93dd5f.
Solidity: function withdrawGelatoBalance(uint256 feeAmount, address feeToken) returns()
func (*GNniPoolSession) WithdrawManagerBalance ¶
func (_GNniPool *GNniPoolSession) WithdrawManagerBalance(feeAmount *big.Int, feeToken common.Address) (*types.Transaction, error)
WithdrawManagerBalance is a paid mutator transaction binding the contract method 0x78ac6357.
Solidity: function withdrawManagerBalance(uint256 feeAmount, address feeToken) returns()
type GNniPoolSetManagerFee ¶
type GNniPoolSetManagerFee struct { ManagerFee uint16 Raw types.Log // Blockchain specific contextual infos }
GNniPoolSetManagerFee represents a SetManagerFee event raised by the GNniPool contract.
type GNniPoolSetManagerFeeIterator ¶
type GNniPoolSetManagerFeeIterator struct { Event *GNniPoolSetManagerFee // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GNniPoolSetManagerFeeIterator is returned from FilterSetManagerFee and is used to iterate over the raw logs and unpacked data for SetManagerFee events raised by the GNniPool contract.
func (*GNniPoolSetManagerFeeIterator) Close ¶
func (it *GNniPoolSetManagerFeeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GNniPoolSetManagerFeeIterator) Error ¶
func (it *GNniPoolSetManagerFeeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GNniPoolSetManagerFeeIterator) Next ¶
func (it *GNniPoolSetManagerFeeIterator) 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 GNniPoolTransactor ¶
type GNniPoolTransactor struct {
// contains filtered or unexported fields
}
GNniPoolTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGNniPoolTransactor ¶
func NewGNniPoolTransactor(address common.Address, transactor bind.ContractTransactor) (*GNniPoolTransactor, error)
NewGNniPoolTransactor creates a new write-only instance of GNniPool, bound to a specific deployed contract.
func (*GNniPoolTransactor) Approve ¶
func (_GNniPool *GNniPoolTransactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*GNniPoolTransactor) Burn ¶
func (_GNniPool *GNniPoolTransactor) Burn(opts *bind.TransactOpts, burnAmount *big.Int, receiver common.Address) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xfcd3533c.
Solidity: function burn(uint256 burnAmount, address receiver) returns(uint256 amount0, uint256 amount1, uint128 liquidityBurned)
func (*GNniPoolTransactor) DecreaseAllowance ¶
func (_GNniPool *GNniPoolTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*GNniPoolTransactor) ExecutiveRebalance ¶
func (_GNniPool *GNniPoolTransactor) ExecutiveRebalance(opts *bind.TransactOpts, newLowerTick *big.Int, newUpperTick *big.Int, swapThresholdPrice *big.Int, swapAmountBPS *big.Int, zeroForOne bool) (*types.Transaction, error)
ExecutiveRebalance is a paid mutator transaction binding the contract method 0x24b8fd1b.
Solidity: function executiveRebalance(int24 newLowerTick, int24 newUpperTick, uint160 swapThresholdPrice, uint256 swapAmountBPS, bool zeroForOne) returns()
func (*GNniPoolTransactor) IncreaseAllowance ¶
func (_GNniPool *GNniPoolTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*GNniPoolTransactor) Initialize ¶
func (_GNniPool *GNniPoolTransactor) Initialize(opts *bind.TransactOpts, _name string, _symbol string, _pool common.Address, _managerFeeBPS uint16, _lowerTick *big.Int, _upperTick *big.Int, _manager_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xe25e15e3.
Solidity: function initialize(string _name, string _symbol, address _pool, uint16 _managerFeeBPS, int24 _lowerTick, int24 _upperTick, address _manager_) returns()
func (*GNniPoolTransactor) InitializeManagerFee ¶
func (_GNniPool *GNniPoolTransactor) InitializeManagerFee(opts *bind.TransactOpts, _managerFeeBPS uint16) (*types.Transaction, error)
InitializeManagerFee is a paid mutator transaction binding the contract method 0xe4077894.
Solidity: function initializeManagerFee(uint16 _managerFeeBPS) returns()
func (*GNniPoolTransactor) Mint ¶
func (_GNniPool *GNniPoolTransactor) Mint(opts *bind.TransactOpts, mintAmount *big.Int, receiver common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x94bf804d.
Solidity: function mint(uint256 mintAmount, address receiver) returns(uint256 amount0, uint256 amount1, uint128 liquidityMinted)
func (*GNniPoolTransactor) Rebalance ¶
func (_GNniPool *GNniPoolTransactor) Rebalance(opts *bind.TransactOpts, swapThresholdPrice *big.Int, swapAmountBPS *big.Int, zeroForOne bool, feeAmount *big.Int, paymentToken common.Address) (*types.Transaction, error)
Rebalance is a paid mutator transaction binding the contract method 0xb135c99f.
Solidity: function rebalance(uint160 swapThresholdPrice, uint256 swapAmountBPS, bool zeroForOne, uint256 feeAmount, address paymentToken) returns()
func (*GNniPoolTransactor) RenounceOwnership ¶
func (_GNniPool *GNniPoolTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*GNniPoolTransactor) Transfer ¶
func (_GNniPool *GNniPoolTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*GNniPoolTransactor) TransferFrom ¶
func (_GNniPool *GNniPoolTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*GNniPoolTransactor) TransferOwnership ¶
func (_GNniPool *GNniPoolTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*GNniPoolTransactor) UniswapV3MintCallback ¶
func (_GNniPool *GNniPoolTransactor) UniswapV3MintCallback(opts *bind.TransactOpts, amount0Owed *big.Int, amount1Owed *big.Int, arg2 []byte) (*types.Transaction, error)
UniswapV3MintCallback is a paid mutator transaction binding the contract method 0xd3487997.
Solidity: function uniswapV3MintCallback(uint256 amount0Owed, uint256 amount1Owed, bytes ) returns()
func (*GNniPoolTransactor) UniswapV3SwapCallback ¶
func (_GNniPool *GNniPoolTransactor) UniswapV3SwapCallback(opts *bind.TransactOpts, amount0Delta *big.Int, amount1Delta *big.Int, arg2 []byte) (*types.Transaction, error)
UniswapV3SwapCallback is a paid mutator transaction binding the contract method 0xfa461e33.
Solidity: function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes ) returns()
func (*GNniPoolTransactor) UpdateGelatoParams ¶
func (_GNniPool *GNniPoolTransactor) UpdateGelatoParams(opts *bind.TransactOpts, newRebalanceBPS uint16, newWithdrawBPS uint16, newSlippageBPS uint16, newSlippageInterval uint32, newTreasury common.Address) (*types.Transaction, error)
UpdateGelatoParams is a paid mutator transaction binding the contract method 0x99fd808c.
Solidity: function updateGelatoParams(uint16 newRebalanceBPS, uint16 newWithdrawBPS, uint16 newSlippageBPS, uint32 newSlippageInterval, address newTreasury) returns()
func (*GNniPoolTransactor) WithdrawGelatoBalance ¶
func (_GNniPool *GNniPoolTransactor) WithdrawGelatoBalance(opts *bind.TransactOpts, feeAmount *big.Int, feeToken common.Address) (*types.Transaction, error)
WithdrawGelatoBalance is a paid mutator transaction binding the contract method 0xbe93dd5f.
Solidity: function withdrawGelatoBalance(uint256 feeAmount, address feeToken) returns()
func (*GNniPoolTransactor) WithdrawManagerBalance ¶
func (_GNniPool *GNniPoolTransactor) WithdrawManagerBalance(opts *bind.TransactOpts, feeAmount *big.Int, feeToken common.Address) (*types.Transaction, error)
WithdrawManagerBalance is a paid mutator transaction binding the contract method 0x78ac6357.
Solidity: function withdrawManagerBalance(uint256 feeAmount, address feeToken) returns()
type GNniPoolTransactorRaw ¶
type GNniPoolTransactorRaw struct {
Contract *GNniPoolTransactor // Generic write-only contract binding to access the raw methods on
}
GNniPoolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GNniPoolTransactorRaw) Transact ¶
func (_GNniPool *GNniPoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GNniPoolTransactorRaw) Transfer ¶
func (_GNniPool *GNniPoolTransactorRaw) 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 GNniPoolTransactorSession ¶
type GNniPoolTransactorSession struct { Contract *GNniPoolTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GNniPoolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*GNniPoolTransactorSession) Approve ¶
func (_GNniPool *GNniPoolTransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 amount) returns(bool)
func (*GNniPoolTransactorSession) Burn ¶
func (_GNniPool *GNniPoolTransactorSession) Burn(burnAmount *big.Int, receiver common.Address) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0xfcd3533c.
Solidity: function burn(uint256 burnAmount, address receiver) returns(uint256 amount0, uint256 amount1, uint128 liquidityBurned)
func (*GNniPoolTransactorSession) DecreaseAllowance ¶
func (_GNniPool *GNniPoolTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*GNniPoolTransactorSession) ExecutiveRebalance ¶
func (_GNniPool *GNniPoolTransactorSession) ExecutiveRebalance(newLowerTick *big.Int, newUpperTick *big.Int, swapThresholdPrice *big.Int, swapAmountBPS *big.Int, zeroForOne bool) (*types.Transaction, error)
ExecutiveRebalance is a paid mutator transaction binding the contract method 0x24b8fd1b.
Solidity: function executiveRebalance(int24 newLowerTick, int24 newUpperTick, uint160 swapThresholdPrice, uint256 swapAmountBPS, bool zeroForOne) returns()
func (*GNniPoolTransactorSession) IncreaseAllowance ¶
func (_GNniPool *GNniPoolTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*GNniPoolTransactorSession) Initialize ¶
func (_GNniPool *GNniPoolTransactorSession) Initialize(_name string, _symbol string, _pool common.Address, _managerFeeBPS uint16, _lowerTick *big.Int, _upperTick *big.Int, _manager_ common.Address) (*types.Transaction, error)
Initialize is a paid mutator transaction binding the contract method 0xe25e15e3.
Solidity: function initialize(string _name, string _symbol, address _pool, uint16 _managerFeeBPS, int24 _lowerTick, int24 _upperTick, address _manager_) returns()
func (*GNniPoolTransactorSession) InitializeManagerFee ¶
func (_GNniPool *GNniPoolTransactorSession) InitializeManagerFee(_managerFeeBPS uint16) (*types.Transaction, error)
InitializeManagerFee is a paid mutator transaction binding the contract method 0xe4077894.
Solidity: function initializeManagerFee(uint16 _managerFeeBPS) returns()
func (*GNniPoolTransactorSession) Mint ¶
func (_GNniPool *GNniPoolTransactorSession) Mint(mintAmount *big.Int, receiver common.Address) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x94bf804d.
Solidity: function mint(uint256 mintAmount, address receiver) returns(uint256 amount0, uint256 amount1, uint128 liquidityMinted)
func (*GNniPoolTransactorSession) Rebalance ¶
func (_GNniPool *GNniPoolTransactorSession) Rebalance(swapThresholdPrice *big.Int, swapAmountBPS *big.Int, zeroForOne bool, feeAmount *big.Int, paymentToken common.Address) (*types.Transaction, error)
Rebalance is a paid mutator transaction binding the contract method 0xb135c99f.
Solidity: function rebalance(uint160 swapThresholdPrice, uint256 swapAmountBPS, bool zeroForOne, uint256 feeAmount, address paymentToken) returns()
func (*GNniPoolTransactorSession) RenounceOwnership ¶
func (_GNniPool *GNniPoolTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*GNniPoolTransactorSession) Transfer ¶
func (_GNniPool *GNniPoolTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*GNniPoolTransactorSession) TransferFrom ¶
func (_GNniPool *GNniPoolTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*GNniPoolTransactorSession) TransferOwnership ¶
func (_GNniPool *GNniPoolTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*GNniPoolTransactorSession) UniswapV3MintCallback ¶
func (_GNniPool *GNniPoolTransactorSession) UniswapV3MintCallback(amount0Owed *big.Int, amount1Owed *big.Int, arg2 []byte) (*types.Transaction, error)
UniswapV3MintCallback is a paid mutator transaction binding the contract method 0xd3487997.
Solidity: function uniswapV3MintCallback(uint256 amount0Owed, uint256 amount1Owed, bytes ) returns()
func (*GNniPoolTransactorSession) UniswapV3SwapCallback ¶
func (_GNniPool *GNniPoolTransactorSession) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, arg2 []byte) (*types.Transaction, error)
UniswapV3SwapCallback is a paid mutator transaction binding the contract method 0xfa461e33.
Solidity: function uniswapV3SwapCallback(int256 amount0Delta, int256 amount1Delta, bytes ) returns()
func (*GNniPoolTransactorSession) UpdateGelatoParams ¶
func (_GNniPool *GNniPoolTransactorSession) UpdateGelatoParams(newRebalanceBPS uint16, newWithdrawBPS uint16, newSlippageBPS uint16, newSlippageInterval uint32, newTreasury common.Address) (*types.Transaction, error)
UpdateGelatoParams is a paid mutator transaction binding the contract method 0x99fd808c.
Solidity: function updateGelatoParams(uint16 newRebalanceBPS, uint16 newWithdrawBPS, uint16 newSlippageBPS, uint32 newSlippageInterval, address newTreasury) returns()
func (*GNniPoolTransactorSession) WithdrawGelatoBalance ¶
func (_GNniPool *GNniPoolTransactorSession) WithdrawGelatoBalance(feeAmount *big.Int, feeToken common.Address) (*types.Transaction, error)
WithdrawGelatoBalance is a paid mutator transaction binding the contract method 0xbe93dd5f.
Solidity: function withdrawGelatoBalance(uint256 feeAmount, address feeToken) returns()
func (*GNniPoolTransactorSession) WithdrawManagerBalance ¶
func (_GNniPool *GNniPoolTransactorSession) WithdrawManagerBalance(feeAmount *big.Int, feeToken common.Address) (*types.Transaction, error)
WithdrawManagerBalance is a paid mutator transaction binding the contract method 0x78ac6357.
Solidity: function withdrawManagerBalance(uint256 feeAmount, address feeToken) returns()
type GNniPoolTransfer ¶
type GNniPoolTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
GNniPoolTransfer represents a Transfer event raised by the GNniPool contract.
type GNniPoolTransferIterator ¶
type GNniPoolTransferIterator struct { Event *GNniPoolTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GNniPoolTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the GNniPool contract.
func (*GNniPoolTransferIterator) Close ¶
func (it *GNniPoolTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GNniPoolTransferIterator) Error ¶
func (it *GNniPoolTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GNniPoolTransferIterator) Next ¶
func (it *GNniPoolTransferIterator) 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 GNniPoolUpdateAdminTreasury ¶
type GNniPoolUpdateAdminTreasury struct { OldAdminTreasury common.Address NewAdminTreasury common.Address Raw types.Log // Blockchain specific contextual infos }
GNniPoolUpdateAdminTreasury represents a UpdateAdminTreasury event raised by the GNniPool contract.
type GNniPoolUpdateAdminTreasuryIterator ¶
type GNniPoolUpdateAdminTreasuryIterator struct { Event *GNniPoolUpdateAdminTreasury // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GNniPoolUpdateAdminTreasuryIterator is returned from FilterUpdateAdminTreasury and is used to iterate over the raw logs and unpacked data for UpdateAdminTreasury events raised by the GNniPool contract.
func (*GNniPoolUpdateAdminTreasuryIterator) Close ¶
func (it *GNniPoolUpdateAdminTreasuryIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GNniPoolUpdateAdminTreasuryIterator) Error ¶
func (it *GNniPoolUpdateAdminTreasuryIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GNniPoolUpdateAdminTreasuryIterator) Next ¶
func (it *GNniPoolUpdateAdminTreasuryIterator) 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 GNniPoolUpdateGelatoParams ¶
type GNniPoolUpdateGelatoParams struct { GelatoRebalanceBPS uint16 GelatoWithdrawBPS uint16 GelatoSlippageBPS uint16 GelatoSlippageInterval uint32 Raw types.Log // Blockchain specific contextual infos }
GNniPoolUpdateGelatoParams represents a UpdateGelatoParams event raised by the GNniPool contract.
type GNniPoolUpdateGelatoParamsIterator ¶
type GNniPoolUpdateGelatoParamsIterator struct { Event *GNniPoolUpdateGelatoParams // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GNniPoolUpdateGelatoParamsIterator is returned from FilterUpdateGelatoParams and is used to iterate over the raw logs and unpacked data for UpdateGelatoParams events raised by the GNniPool contract.
func (*GNniPoolUpdateGelatoParamsIterator) Close ¶
func (it *GNniPoolUpdateGelatoParamsIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GNniPoolUpdateGelatoParamsIterator) Error ¶
func (it *GNniPoolUpdateGelatoParamsIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GNniPoolUpdateGelatoParamsIterator) Next ¶
func (it *GNniPoolUpdateGelatoParamsIterator) 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.