Documentation
¶
Index ¶
- Variables
- type KodiakV1
- type KodiakV1Approval
- type KodiakV1ApprovalIterator
- type KodiakV1Burned
- type KodiakV1BurnedIterator
- type KodiakV1Caller
- func (_KodiakV1 *KodiakV1Caller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_KodiakV1 *KodiakV1Caller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_KodiakV1 *KodiakV1Caller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_KodiakV1 *KodiakV1Caller) GELATO(opts *bind.CallOpts) (common.Address, error)
- func (_KodiakV1 *KodiakV1Caller) GelatoRebalanceBPS(opts *bind.CallOpts) (uint16, error)
- func (_KodiakV1 *KodiakV1Caller) GelatoSlippageBPS(opts *bind.CallOpts) (uint16, error)
- func (_KodiakV1 *KodiakV1Caller) GelatoSlippageInterval(opts *bind.CallOpts) (uint32, error)
- func (_KodiakV1 *KodiakV1Caller) GetMintAmounts(opts *bind.CallOpts, amount0Max *big.Int, amount1Max *big.Int) (struct{ ... }, error)
- func (_KodiakV1 *KodiakV1Caller) GetPositionID(opts *bind.CallOpts) ([32]byte, error)
- func (_KodiakV1 *KodiakV1Caller) GetUnderlyingBalances(opts *bind.CallOpts) (struct{ ... }, error)
- func (_KodiakV1 *KodiakV1Caller) GetUnderlyingBalancesAtPrice(opts *bind.CallOpts, sqrtRatioX96 *big.Int) (struct{ ... }, error)
- func (_KodiakV1 *KodiakV1Caller) KodiakBalance0(opts *bind.CallOpts) (*big.Int, error)
- func (_KodiakV1 *KodiakV1Caller) KodiakBalance1(opts *bind.CallOpts) (*big.Int, error)
- func (_KodiakV1 *KodiakV1Caller) KodiakFeeBPS(opts *bind.CallOpts) (uint16, error)
- func (_KodiakV1 *KodiakV1Caller) KodiakTreasury(opts *bind.CallOpts) (common.Address, error)
- func (_KodiakV1 *KodiakV1Caller) LowerTick(opts *bind.CallOpts) (*big.Int, error)
- func (_KodiakV1 *KodiakV1Caller) Manager(opts *bind.CallOpts) (common.Address, error)
- func (_KodiakV1 *KodiakV1Caller) ManagerBalance0(opts *bind.CallOpts) (*big.Int, error)
- func (_KodiakV1 *KodiakV1Caller) ManagerBalance1(opts *bind.CallOpts) (*big.Int, error)
- func (_KodiakV1 *KodiakV1Caller) ManagerFeeBPS(opts *bind.CallOpts) (uint16, error)
- func (_KodiakV1 *KodiakV1Caller) ManagerTreasury(opts *bind.CallOpts) (common.Address, error)
- func (_KodiakV1 *KodiakV1Caller) Name(opts *bind.CallOpts) (string, error)
- func (_KodiakV1 *KodiakV1Caller) Pool(opts *bind.CallOpts) (common.Address, error)
- func (_KodiakV1 *KodiakV1Caller) RESTRICTEDMINTENABLED(opts *bind.CallOpts) (uint16, error)
- func (_KodiakV1 *KodiakV1Caller) RestrictedMintToggle(opts *bind.CallOpts) (uint16, error)
- func (_KodiakV1 *KodiakV1Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_KodiakV1 *KodiakV1Caller) Token0(opts *bind.CallOpts) (common.Address, error)
- func (_KodiakV1 *KodiakV1Caller) Token1(opts *bind.CallOpts) (common.Address, error)
- func (_KodiakV1 *KodiakV1Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_KodiakV1 *KodiakV1Caller) UpperTick(opts *bind.CallOpts) (*big.Int, error)
- func (_KodiakV1 *KodiakV1Caller) Version(opts *bind.CallOpts) (string, error)
- type KodiakV1CallerRaw
- type KodiakV1CallerSession
- func (_KodiakV1 *KodiakV1CallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_KodiakV1 *KodiakV1CallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_KodiakV1 *KodiakV1CallerSession) Decimals() (uint8, error)
- func (_KodiakV1 *KodiakV1CallerSession) GELATO() (common.Address, error)
- func (_KodiakV1 *KodiakV1CallerSession) GelatoRebalanceBPS() (uint16, error)
- func (_KodiakV1 *KodiakV1CallerSession) GelatoSlippageBPS() (uint16, error)
- func (_KodiakV1 *KodiakV1CallerSession) GelatoSlippageInterval() (uint32, error)
- func (_KodiakV1 *KodiakV1CallerSession) GetMintAmounts(amount0Max *big.Int, amount1Max *big.Int) (struct{ ... }, error)
- func (_KodiakV1 *KodiakV1CallerSession) GetPositionID() ([32]byte, error)
- func (_KodiakV1 *KodiakV1CallerSession) GetUnderlyingBalances() (struct{ ... }, error)
- func (_KodiakV1 *KodiakV1CallerSession) GetUnderlyingBalancesAtPrice(sqrtRatioX96 *big.Int) (struct{ ... }, error)
- func (_KodiakV1 *KodiakV1CallerSession) KodiakBalance0() (*big.Int, error)
- func (_KodiakV1 *KodiakV1CallerSession) KodiakBalance1() (*big.Int, error)
- func (_KodiakV1 *KodiakV1CallerSession) KodiakFeeBPS() (uint16, error)
- func (_KodiakV1 *KodiakV1CallerSession) KodiakTreasury() (common.Address, error)
- func (_KodiakV1 *KodiakV1CallerSession) LowerTick() (*big.Int, error)
- func (_KodiakV1 *KodiakV1CallerSession) Manager() (common.Address, error)
- func (_KodiakV1 *KodiakV1CallerSession) ManagerBalance0() (*big.Int, error)
- func (_KodiakV1 *KodiakV1CallerSession) ManagerBalance1() (*big.Int, error)
- func (_KodiakV1 *KodiakV1CallerSession) ManagerFeeBPS() (uint16, error)
- func (_KodiakV1 *KodiakV1CallerSession) ManagerTreasury() (common.Address, error)
- func (_KodiakV1 *KodiakV1CallerSession) Name() (string, error)
- func (_KodiakV1 *KodiakV1CallerSession) Pool() (common.Address, error)
- func (_KodiakV1 *KodiakV1CallerSession) RESTRICTEDMINTENABLED() (uint16, error)
- func (_KodiakV1 *KodiakV1CallerSession) RestrictedMintToggle() (uint16, error)
- func (_KodiakV1 *KodiakV1CallerSession) Symbol() (string, error)
- func (_KodiakV1 *KodiakV1CallerSession) Token0() (common.Address, error)
- func (_KodiakV1 *KodiakV1CallerSession) Token1() (common.Address, error)
- func (_KodiakV1 *KodiakV1CallerSession) TotalSupply() (*big.Int, error)
- func (_KodiakV1 *KodiakV1CallerSession) UpperTick() (*big.Int, error)
- func (_KodiakV1 *KodiakV1CallerSession) Version() (string, error)
- type KodiakV1FeesEarned
- type KodiakV1FeesEarnedIterator
- type KodiakV1Filterer
- func (_KodiakV1 *KodiakV1Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*KodiakV1ApprovalIterator, error)
- func (_KodiakV1 *KodiakV1Filterer) FilterBurned(opts *bind.FilterOpts) (*KodiakV1BurnedIterator, error)
- func (_KodiakV1 *KodiakV1Filterer) FilterFeesEarned(opts *bind.FilterOpts) (*KodiakV1FeesEarnedIterator, error)
- func (_KodiakV1 *KodiakV1Filterer) FilterMinted(opts *bind.FilterOpts) (*KodiakV1MintedIterator, error)
- func (_KodiakV1 *KodiakV1Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousManager []common.Address, ...) (*KodiakV1OwnershipTransferredIterator, error)
- func (_KodiakV1 *KodiakV1Filterer) FilterRebalance(opts *bind.FilterOpts) (*KodiakV1RebalanceIterator, error)
- func (_KodiakV1 *KodiakV1Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*KodiakV1TransferIterator, error)
- func (_KodiakV1 *KodiakV1Filterer) FilterUpdateManagerParams(opts *bind.FilterOpts) (*KodiakV1UpdateManagerParamsIterator, error)
- func (_KodiakV1 *KodiakV1Filterer) ParseApproval(log types.Log) (*KodiakV1Approval, error)
- func (_KodiakV1 *KodiakV1Filterer) ParseBurned(log types.Log) (*KodiakV1Burned, error)
- func (_KodiakV1 *KodiakV1Filterer) ParseFeesEarned(log types.Log) (*KodiakV1FeesEarned, error)
- func (_KodiakV1 *KodiakV1Filterer) ParseMinted(log types.Log) (*KodiakV1Minted, error)
- func (_KodiakV1 *KodiakV1Filterer) ParseOwnershipTransferred(log types.Log) (*KodiakV1OwnershipTransferred, error)
- func (_KodiakV1 *KodiakV1Filterer) ParseRebalance(log types.Log) (*KodiakV1Rebalance, error)
- func (_KodiakV1 *KodiakV1Filterer) ParseTransfer(log types.Log) (*KodiakV1Transfer, error)
- func (_KodiakV1 *KodiakV1Filterer) ParseUpdateManagerParams(log types.Log) (*KodiakV1UpdateManagerParams, error)
- func (_KodiakV1 *KodiakV1Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *KodiakV1Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_KodiakV1 *KodiakV1Filterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *KodiakV1Burned) (event.Subscription, error)
- func (_KodiakV1 *KodiakV1Filterer) WatchFeesEarned(opts *bind.WatchOpts, sink chan<- *KodiakV1FeesEarned) (event.Subscription, error)
- func (_KodiakV1 *KodiakV1Filterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *KodiakV1Minted) (event.Subscription, error)
- func (_KodiakV1 *KodiakV1Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *KodiakV1OwnershipTransferred, ...) (event.Subscription, error)
- func (_KodiakV1 *KodiakV1Filterer) WatchRebalance(opts *bind.WatchOpts, sink chan<- *KodiakV1Rebalance) (event.Subscription, error)
- func (_KodiakV1 *KodiakV1Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *KodiakV1Transfer, from []common.Address, ...) (event.Subscription, error)
- func (_KodiakV1 *KodiakV1Filterer) WatchUpdateManagerParams(opts *bind.WatchOpts, sink chan<- *KodiakV1UpdateManagerParams) (event.Subscription, error)
- type KodiakV1Minted
- type KodiakV1MintedIterator
- type KodiakV1OwnershipTransferred
- type KodiakV1OwnershipTransferredIterator
- type KodiakV1Raw
- func (_KodiakV1 *KodiakV1Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_KodiakV1 *KodiakV1Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type KodiakV1Rebalance
- type KodiakV1RebalanceIterator
- type KodiakV1Session
- func (_KodiakV1 *KodiakV1Session) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_KodiakV1 *KodiakV1Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Session) BalanceOf(account common.Address) (*big.Int, error)
- func (_KodiakV1 *KodiakV1Session) Burn(burnAmount *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Session) Decimals() (uint8, error)
- func (_KodiakV1 *KodiakV1Session) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Session) ExecutiveRebalance(newLowerTick *big.Int, newUpperTick *big.Int, swapThresholdPrice *big.Int, ...) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Session) GELATO() (common.Address, error)
- func (_KodiakV1 *KodiakV1Session) GelatoRebalanceBPS() (uint16, error)
- func (_KodiakV1 *KodiakV1Session) GelatoSlippageBPS() (uint16, error)
- func (_KodiakV1 *KodiakV1Session) GelatoSlippageInterval() (uint32, error)
- func (_KodiakV1 *KodiakV1Session) GetMintAmounts(amount0Max *big.Int, amount1Max *big.Int) (struct{ ... }, error)
- func (_KodiakV1 *KodiakV1Session) GetPositionID() ([32]byte, error)
- func (_KodiakV1 *KodiakV1Session) GetUnderlyingBalances() (struct{ ... }, error)
- func (_KodiakV1 *KodiakV1Session) GetUnderlyingBalancesAtPrice(sqrtRatioX96 *big.Int) (struct{ ... }, error)
- func (_KodiakV1 *KodiakV1Session) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Session) Initialize(_name string, _symbol string, _pool common.Address, _managerFeeBPS uint16, ...) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Session) KodiakBalance0() (*big.Int, error)
- func (_KodiakV1 *KodiakV1Session) KodiakBalance1() (*big.Int, error)
- func (_KodiakV1 *KodiakV1Session) KodiakFeeBPS() (uint16, error)
- func (_KodiakV1 *KodiakV1Session) KodiakTreasury() (common.Address, error)
- func (_KodiakV1 *KodiakV1Session) LowerTick() (*big.Int, error)
- func (_KodiakV1 *KodiakV1Session) Manager() (common.Address, error)
- func (_KodiakV1 *KodiakV1Session) ManagerBalance0() (*big.Int, error)
- func (_KodiakV1 *KodiakV1Session) ManagerBalance1() (*big.Int, error)
- func (_KodiakV1 *KodiakV1Session) ManagerFeeBPS() (uint16, error)
- func (_KodiakV1 *KodiakV1Session) ManagerTreasury() (common.Address, error)
- func (_KodiakV1 *KodiakV1Session) Mint(mintAmount *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Session) Name() (string, error)
- func (_KodiakV1 *KodiakV1Session) Pool() (common.Address, error)
- func (_KodiakV1 *KodiakV1Session) RESTRICTEDMINTENABLED() (uint16, error)
- func (_KodiakV1 *KodiakV1Session) Rebalance(swapThresholdPrice *big.Int, swapAmountBPS *big.Int, zeroForOne bool, ...) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Session) RenounceOwnership() (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Session) RestrictedMintToggle() (uint16, error)
- func (_KodiakV1 *KodiakV1Session) Symbol() (string, error)
- func (_KodiakV1 *KodiakV1Session) ToggleRestrictMint() (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Session) Token0() (common.Address, error)
- func (_KodiakV1 *KodiakV1Session) Token1() (common.Address, error)
- func (_KodiakV1 *KodiakV1Session) TotalSupply() (*big.Int, error)
- func (_KodiakV1 *KodiakV1Session) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Session) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Session) UniswapV3MintCallback(amount0Owed *big.Int, amount1Owed *big.Int, arg2 []byte) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Session) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, arg2 []byte) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Session) UpdateManagerParams(newManagerFeeBPS int16, newManagerTreasury common.Address, ...) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Session) UpperTick() (*big.Int, error)
- func (_KodiakV1 *KodiakV1Session) Version() (string, error)
- func (_KodiakV1 *KodiakV1Session) WithdrawKodiakBalance() (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Session) WithdrawManagerBalance() (*types.Transaction, error)
- type KodiakV1Transactor
- func (_KodiakV1 *KodiakV1Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Transactor) Burn(opts *bind.TransactOpts, burnAmount *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Transactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Transactor) ExecutiveRebalance(opts *bind.TransactOpts, newLowerTick *big.Int, newUpperTick *big.Int, ...) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Transactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Transactor) Initialize(opts *bind.TransactOpts, _name string, _symbol string, _pool common.Address, ...) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Transactor) Mint(opts *bind.TransactOpts, mintAmount *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Transactor) Rebalance(opts *bind.TransactOpts, swapThresholdPrice *big.Int, swapAmountBPS *big.Int, ...) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Transactor) ToggleRestrictMint(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Transactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Transactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Transactor) UniswapV3MintCallback(opts *bind.TransactOpts, amount0Owed *big.Int, amount1Owed *big.Int, ...) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Transactor) UniswapV3SwapCallback(opts *bind.TransactOpts, amount0Delta *big.Int, amount1Delta *big.Int, ...) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Transactor) UpdateManagerParams(opts *bind.TransactOpts, newManagerFeeBPS int16, ...) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Transactor) WithdrawKodiakBalance(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1Transactor) WithdrawManagerBalance(opts *bind.TransactOpts) (*types.Transaction, error)
- type KodiakV1TransactorRaw
- type KodiakV1TransactorSession
- func (_KodiakV1 *KodiakV1TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1TransactorSession) Burn(burnAmount *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1TransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1TransactorSession) ExecutiveRebalance(newLowerTick *big.Int, newUpperTick *big.Int, swapThresholdPrice *big.Int, ...) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1TransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1TransactorSession) Initialize(_name string, _symbol string, _pool common.Address, _managerFeeBPS uint16, ...) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1TransactorSession) Mint(mintAmount *big.Int, receiver common.Address) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1TransactorSession) Rebalance(swapThresholdPrice *big.Int, swapAmountBPS *big.Int, zeroForOne bool, ...) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1TransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1TransactorSession) ToggleRestrictMint() (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1TransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1TransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1TransactorSession) UniswapV3MintCallback(amount0Owed *big.Int, amount1Owed *big.Int, arg2 []byte) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1TransactorSession) UniswapV3SwapCallback(amount0Delta *big.Int, amount1Delta *big.Int, arg2 []byte) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1TransactorSession) UpdateManagerParams(newManagerFeeBPS int16, newManagerTreasury common.Address, ...) (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1TransactorSession) WithdrawKodiakBalance() (*types.Transaction, error)
- func (_KodiakV1 *KodiakV1TransactorSession) WithdrawManagerBalance() (*types.Transaction, error)
- type KodiakV1Transfer
- type KodiakV1TransferIterator
- type KodiakV1UpdateManagerParams
- type KodiakV1UpdateManagerParamsIterator
Constants ¶
This section is empty.
Variables ¶
var KodiakV1ABI = KodiakV1MetaData.ABI
KodiakV1ABI is the input ABI used to generate the binding from. Deprecated: Use KodiakV1MetaData.ABI instead.
var KodiakV1MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_gelato\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_kodiakTreasury\",\"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\":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\":\"uint16\",\"name\":\"managerFeeBPS\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"managerTreasury\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"gelatoRebalanceBPS\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"gelatoSlippageBPS\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint32\",\"name\":\"gelatoSlippageInterval\",\"type\":\"uint32\"}],\"name\":\"UpdateManagerParams\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"GELATO\",\"outputs\":[{\"internalType\":\"addresspayable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"RESTRICTED_MINT_ENABLED\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"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\":\"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\":[{\"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\":[],\"name\":\"kodiakBalance0\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kodiakBalance1\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kodiakFeeBPS\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"kodiakTreasury\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"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\":\"restrictedMintToggle\",\"outputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"toggleRestrictMint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"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\":\"int16\",\"name\":\"newManagerFeeBPS\",\"type\":\"int16\"},{\"internalType\":\"address\",\"name\":\"newManagerTreasury\",\"type\":\"address\"},{\"internalType\":\"int16\",\"name\":\"newRebalanceBPS\",\"type\":\"int16\"},{\"internalType\":\"int16\",\"name\":\"newSlippageBPS\",\"type\":\"int16\"},{\"internalType\":\"int32\",\"name\":\"newSlippageInterval\",\"type\":\"int32\"}],\"name\":\"updateManagerParams\",\"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\":[],\"name\":\"withdrawKodiakBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdrawManagerBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
KodiakV1MetaData contains all meta data concerning the KodiakV1 contract.
Functions ¶
This section is empty.
Types ¶
type KodiakV1 ¶
type KodiakV1 struct { KodiakV1Caller // Read-only binding to the contract KodiakV1Transactor // Write-only binding to the contract KodiakV1Filterer // Log filterer for contract events }
KodiakV1 is an auto generated Go binding around an Ethereum contract.
func NewKodiakV1 ¶
NewKodiakV1 creates a new instance of KodiakV1, bound to a specific deployed contract.
type KodiakV1Approval ¶
type KodiakV1Approval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
KodiakV1Approval represents a Approval event raised by the KodiakV1 contract.
type KodiakV1ApprovalIterator ¶
type KodiakV1ApprovalIterator struct { Event *KodiakV1Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KodiakV1ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the KodiakV1 contract.
func (*KodiakV1ApprovalIterator) Close ¶
func (it *KodiakV1ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KodiakV1ApprovalIterator) Error ¶
func (it *KodiakV1ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KodiakV1ApprovalIterator) Next ¶
func (it *KodiakV1ApprovalIterator) 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 KodiakV1Burned ¶
type KodiakV1Burned struct { Receiver common.Address BurnAmount *big.Int Amount0Out *big.Int Amount1Out *big.Int LiquidityBurned *big.Int Raw types.Log // Blockchain specific contextual infos }
KodiakV1Burned represents a Burned event raised by the KodiakV1 contract.
type KodiakV1BurnedIterator ¶
type KodiakV1BurnedIterator struct { Event *KodiakV1Burned // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KodiakV1BurnedIterator is returned from FilterBurned and is used to iterate over the raw logs and unpacked data for Burned events raised by the KodiakV1 contract.
func (*KodiakV1BurnedIterator) Close ¶
func (it *KodiakV1BurnedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KodiakV1BurnedIterator) Error ¶
func (it *KodiakV1BurnedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KodiakV1BurnedIterator) Next ¶
func (it *KodiakV1BurnedIterator) 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 KodiakV1Caller ¶
type KodiakV1Caller struct {
// contains filtered or unexported fields
}
KodiakV1Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewKodiakV1Caller ¶
func NewKodiakV1Caller(address common.Address, caller bind.ContractCaller) (*KodiakV1Caller, error)
NewKodiakV1Caller creates a new read-only instance of KodiakV1, bound to a specific deployed contract.
func (*KodiakV1Caller) Allowance ¶
func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) BalanceOf ¶
func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) Decimals ¶
func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) GELATO ¶
GELATO is a free data retrieval call binding the contract method 0xeff557a7.
Solidity: function GELATO() view returns(address)
func (*KodiakV1Caller) GelatoRebalanceBPS ¶
func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) GelatoSlippageBPS ¶
func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) GelatoSlippageInterval ¶
func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) GetMintAmounts ¶
func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) GetPositionID ¶
func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) GetUnderlyingBalances ¶
func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) GetUnderlyingBalancesAtPrice ¶
func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) KodiakBalance0 ¶
KodiakBalance0 is a free data retrieval call binding the contract method 0xd8d24145.
Solidity: function kodiakBalance0() view returns(uint256)
func (*KodiakV1Caller) KodiakBalance1 ¶
KodiakBalance1 is a free data retrieval call binding the contract method 0xf5338bcf.
Solidity: function kodiakBalance1() view returns(uint256)
func (*KodiakV1Caller) KodiakFeeBPS ¶
func (_KodiakV1 *KodiakV1Caller) KodiakFeeBPS(opts *bind.CallOpts) (uint16, error)
KodiakFeeBPS is a free data retrieval call binding the contract method 0xce311070.
Solidity: function kodiakFeeBPS() view returns(uint16)
func (*KodiakV1Caller) KodiakTreasury ¶
KodiakTreasury is a free data retrieval call binding the contract method 0x94a113ec.
Solidity: function kodiakTreasury() view returns(address)
func (*KodiakV1Caller) LowerTick ¶
LowerTick is a free data retrieval call binding the contract method 0x9b1344ac.
Solidity: function lowerTick() view returns(int24)
func (*KodiakV1Caller) Manager ¶
Manager is a free data retrieval call binding the contract method 0x481c6a75.
Solidity: function manager() view returns(address)
func (*KodiakV1Caller) ManagerBalance0 ¶
ManagerBalance0 is a free data retrieval call binding the contract method 0x065756db.
Solidity: function managerBalance0() view returns(uint256)
func (*KodiakV1Caller) ManagerBalance1 ¶
ManagerBalance1 is a free data retrieval call binding the contract method 0x42fb9d44.
Solidity: function managerBalance1() view returns(uint256)
func (*KodiakV1Caller) ManagerFeeBPS ¶
func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) ManagerTreasury ¶
ManagerTreasury is a free data retrieval call binding the contract method 0xcc95353e.
Solidity: function managerTreasury() view returns(address)
func (*KodiakV1Caller) Name ¶
func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) Pool ¶
Pool is a free data retrieval call binding the contract method 0x16f0115b.
Solidity: function pool() view returns(address)
func (*KodiakV1Caller) RESTRICTEDMINTENABLED ¶
func (_KodiakV1 *KodiakV1Caller) RESTRICTEDMINTENABLED(opts *bind.CallOpts) (uint16, error)
RESTRICTEDMINTENABLED is a free data retrieval call binding the contract method 0xd839fb3f.
Solidity: function RESTRICTED_MINT_ENABLED() view returns(uint16)
func (*KodiakV1Caller) RestrictedMintToggle ¶
func (_KodiakV1 *KodiakV1Caller) RestrictedMintToggle(opts *bind.CallOpts) (uint16, error)
RestrictedMintToggle is a free data retrieval call binding the contract method 0xdd40e322.
Solidity: function restrictedMintToggle() view returns(uint16)
func (*KodiakV1Caller) Symbol ¶
func (_KodiakV1 *KodiakV1Caller) 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 (*KodiakV1Caller) Token0 ¶
Token0 is a free data retrieval call binding the contract method 0x0dfe1681.
Solidity: function token0() view returns(address)
func (*KodiakV1Caller) Token1 ¶
Token1 is a free data retrieval call binding the contract method 0xd21220a7.
Solidity: function token1() view returns(address)
func (*KodiakV1Caller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type KodiakV1CallerRaw ¶
type KodiakV1CallerRaw struct {
Contract *KodiakV1Caller // Generic read-only contract binding to access the raw methods on
}
KodiakV1CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*KodiakV1CallerRaw) Call ¶
func (_KodiakV1 *KodiakV1CallerRaw) 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 KodiakV1CallerSession ¶
type KodiakV1CallerSession struct { Contract *KodiakV1Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
KodiakV1CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*KodiakV1CallerSession) Allowance ¶
func (_KodiakV1 *KodiakV1CallerSession) 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 (*KodiakV1CallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*KodiakV1CallerSession) Decimals ¶
func (_KodiakV1 *KodiakV1CallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*KodiakV1CallerSession) GELATO ¶
func (_KodiakV1 *KodiakV1CallerSession) GELATO() (common.Address, error)
GELATO is a free data retrieval call binding the contract method 0xeff557a7.
Solidity: function GELATO() view returns(address)
func (*KodiakV1CallerSession) GelatoRebalanceBPS ¶
func (_KodiakV1 *KodiakV1CallerSession) GelatoRebalanceBPS() (uint16, error)
GelatoRebalanceBPS is a free data retrieval call binding the contract method 0xa50b1fe7.
Solidity: function gelatoRebalanceBPS() view returns(uint16)
func (*KodiakV1CallerSession) GelatoSlippageBPS ¶
func (_KodiakV1 *KodiakV1CallerSession) GelatoSlippageBPS() (uint16, error)
GelatoSlippageBPS is a free data retrieval call binding the contract method 0xd6e7ff39.
Solidity: function gelatoSlippageBPS() view returns(uint16)
func (*KodiakV1CallerSession) GelatoSlippageInterval ¶
func (_KodiakV1 *KodiakV1CallerSession) GelatoSlippageInterval() (uint32, error)
GelatoSlippageInterval is a free data retrieval call binding the contract method 0x672152bd.
Solidity: function gelatoSlippageInterval() view returns(uint32)
func (*KodiakV1CallerSession) GetMintAmounts ¶
func (_KodiakV1 *KodiakV1CallerSession) 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 (*KodiakV1CallerSession) GetPositionID ¶
func (_KodiakV1 *KodiakV1CallerSession) GetPositionID() ([32]byte, error)
GetPositionID is a free data retrieval call binding the contract method 0xdf28408a.
Solidity: function getPositionID() view returns(bytes32 positionID)
func (*KodiakV1CallerSession) GetUnderlyingBalances ¶
func (_KodiakV1 *KodiakV1CallerSession) 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 (*KodiakV1CallerSession) GetUnderlyingBalancesAtPrice ¶
func (_KodiakV1 *KodiakV1CallerSession) 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 (*KodiakV1CallerSession) KodiakBalance0 ¶
func (_KodiakV1 *KodiakV1CallerSession) KodiakBalance0() (*big.Int, error)
KodiakBalance0 is a free data retrieval call binding the contract method 0xd8d24145.
Solidity: function kodiakBalance0() view returns(uint256)
func (*KodiakV1CallerSession) KodiakBalance1 ¶
func (_KodiakV1 *KodiakV1CallerSession) KodiakBalance1() (*big.Int, error)
KodiakBalance1 is a free data retrieval call binding the contract method 0xf5338bcf.
Solidity: function kodiakBalance1() view returns(uint256)
func (*KodiakV1CallerSession) KodiakFeeBPS ¶
func (_KodiakV1 *KodiakV1CallerSession) KodiakFeeBPS() (uint16, error)
KodiakFeeBPS is a free data retrieval call binding the contract method 0xce311070.
Solidity: function kodiakFeeBPS() view returns(uint16)
func (*KodiakV1CallerSession) KodiakTreasury ¶
func (_KodiakV1 *KodiakV1CallerSession) KodiakTreasury() (common.Address, error)
KodiakTreasury is a free data retrieval call binding the contract method 0x94a113ec.
Solidity: function kodiakTreasury() view returns(address)
func (*KodiakV1CallerSession) LowerTick ¶
func (_KodiakV1 *KodiakV1CallerSession) LowerTick() (*big.Int, error)
LowerTick is a free data retrieval call binding the contract method 0x9b1344ac.
Solidity: function lowerTick() view returns(int24)
func (*KodiakV1CallerSession) Manager ¶
func (_KodiakV1 *KodiakV1CallerSession) Manager() (common.Address, error)
Manager is a free data retrieval call binding the contract method 0x481c6a75.
Solidity: function manager() view returns(address)
func (*KodiakV1CallerSession) ManagerBalance0 ¶
func (_KodiakV1 *KodiakV1CallerSession) ManagerBalance0() (*big.Int, error)
ManagerBalance0 is a free data retrieval call binding the contract method 0x065756db.
Solidity: function managerBalance0() view returns(uint256)
func (*KodiakV1CallerSession) ManagerBalance1 ¶
func (_KodiakV1 *KodiakV1CallerSession) ManagerBalance1() (*big.Int, error)
ManagerBalance1 is a free data retrieval call binding the contract method 0x42fb9d44.
Solidity: function managerBalance1() view returns(uint256)
func (*KodiakV1CallerSession) ManagerFeeBPS ¶
func (_KodiakV1 *KodiakV1CallerSession) ManagerFeeBPS() (uint16, error)
ManagerFeeBPS is a free data retrieval call binding the contract method 0xccdf7a02.
Solidity: function managerFeeBPS() view returns(uint16)
func (*KodiakV1CallerSession) ManagerTreasury ¶
func (_KodiakV1 *KodiakV1CallerSession) ManagerTreasury() (common.Address, error)
ManagerTreasury is a free data retrieval call binding the contract method 0xcc95353e.
Solidity: function managerTreasury() view returns(address)
func (*KodiakV1CallerSession) Name ¶
func (_KodiakV1 *KodiakV1CallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*KodiakV1CallerSession) Pool ¶
func (_KodiakV1 *KodiakV1CallerSession) Pool() (common.Address, error)
Pool is a free data retrieval call binding the contract method 0x16f0115b.
Solidity: function pool() view returns(address)
func (*KodiakV1CallerSession) RESTRICTEDMINTENABLED ¶
func (_KodiakV1 *KodiakV1CallerSession) RESTRICTEDMINTENABLED() (uint16, error)
RESTRICTEDMINTENABLED is a free data retrieval call binding the contract method 0xd839fb3f.
Solidity: function RESTRICTED_MINT_ENABLED() view returns(uint16)
func (*KodiakV1CallerSession) RestrictedMintToggle ¶
func (_KodiakV1 *KodiakV1CallerSession) RestrictedMintToggle() (uint16, error)
RestrictedMintToggle is a free data retrieval call binding the contract method 0xdd40e322.
Solidity: function restrictedMintToggle() view returns(uint16)
func (*KodiakV1CallerSession) Symbol ¶
func (_KodiakV1 *KodiakV1CallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*KodiakV1CallerSession) Token0 ¶
func (_KodiakV1 *KodiakV1CallerSession) Token0() (common.Address, error)
Token0 is a free data retrieval call binding the contract method 0x0dfe1681.
Solidity: function token0() view returns(address)
func (*KodiakV1CallerSession) Token1 ¶
func (_KodiakV1 *KodiakV1CallerSession) Token1() (common.Address, error)
Token1 is a free data retrieval call binding the contract method 0xd21220a7.
Solidity: function token1() view returns(address)
func (*KodiakV1CallerSession) TotalSupply ¶
func (_KodiakV1 *KodiakV1CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*KodiakV1CallerSession) UpperTick ¶
func (_KodiakV1 *KodiakV1CallerSession) UpperTick() (*big.Int, error)
UpperTick is a free data retrieval call binding the contract method 0x727dd228.
Solidity: function upperTick() view returns(int24)
func (*KodiakV1CallerSession) Version ¶
func (_KodiakV1 *KodiakV1CallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
type KodiakV1FeesEarned ¶
type KodiakV1FeesEarned struct { FeesEarned0 *big.Int FeesEarned1 *big.Int Raw types.Log // Blockchain specific contextual infos }
KodiakV1FeesEarned represents a FeesEarned event raised by the KodiakV1 contract.
type KodiakV1FeesEarnedIterator ¶
type KodiakV1FeesEarnedIterator struct { Event *KodiakV1FeesEarned // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KodiakV1FeesEarnedIterator is returned from FilterFeesEarned and is used to iterate over the raw logs and unpacked data for FeesEarned events raised by the KodiakV1 contract.
func (*KodiakV1FeesEarnedIterator) Close ¶
func (it *KodiakV1FeesEarnedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KodiakV1FeesEarnedIterator) Error ¶
func (it *KodiakV1FeesEarnedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KodiakV1FeesEarnedIterator) Next ¶
func (it *KodiakV1FeesEarnedIterator) 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 KodiakV1Filterer ¶
type KodiakV1Filterer struct {
// contains filtered or unexported fields
}
KodiakV1Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewKodiakV1Filterer ¶
func NewKodiakV1Filterer(address common.Address, filterer bind.ContractFilterer) (*KodiakV1Filterer, error)
NewKodiakV1Filterer creates a new log filterer instance of KodiakV1, bound to a specific deployed contract.
func (*KodiakV1Filterer) FilterApproval ¶
func (_KodiakV1 *KodiakV1Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*KodiakV1ApprovalIterator, 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 (*KodiakV1Filterer) FilterBurned ¶
func (_KodiakV1 *KodiakV1Filterer) FilterBurned(opts *bind.FilterOpts) (*KodiakV1BurnedIterator, 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 (*KodiakV1Filterer) FilterFeesEarned ¶
func (_KodiakV1 *KodiakV1Filterer) FilterFeesEarned(opts *bind.FilterOpts) (*KodiakV1FeesEarnedIterator, error)
FilterFeesEarned is a free log retrieval operation binding the contract event 0xc28ad1de9c0c32e5394ba60323e44d8d9536312236a47231772e448a3e49de42.
Solidity: event FeesEarned(uint256 feesEarned0, uint256 feesEarned1)
func (*KodiakV1Filterer) FilterMinted ¶
func (_KodiakV1 *KodiakV1Filterer) FilterMinted(opts *bind.FilterOpts) (*KodiakV1MintedIterator, 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 (*KodiakV1Filterer) FilterOwnershipTransferred ¶
func (_KodiakV1 *KodiakV1Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousManager []common.Address, newManager []common.Address) (*KodiakV1OwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousManager, address indexed newManager)
func (*KodiakV1Filterer) FilterRebalance ¶
func (_KodiakV1 *KodiakV1Filterer) FilterRebalance(opts *bind.FilterOpts) (*KodiakV1RebalanceIterator, 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 (*KodiakV1Filterer) FilterTransfer ¶
func (_KodiakV1 *KodiakV1Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*KodiakV1TransferIterator, 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 (*KodiakV1Filterer) FilterUpdateManagerParams ¶
func (_KodiakV1 *KodiakV1Filterer) FilterUpdateManagerParams(opts *bind.FilterOpts) (*KodiakV1UpdateManagerParamsIterator, error)
FilterUpdateManagerParams is a free log retrieval operation binding the contract event 0xf459b381c988c676562c20a01f42f488c5560ed2e3957b0f27f26573418b6193.
Solidity: event UpdateManagerParams(uint16 managerFeeBPS, address managerTreasury, uint16 gelatoRebalanceBPS, uint16 gelatoSlippageBPS, uint32 gelatoSlippageInterval)
func (*KodiakV1Filterer) ParseApproval ¶
func (_KodiakV1 *KodiakV1Filterer) ParseApproval(log types.Log) (*KodiakV1Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*KodiakV1Filterer) ParseBurned ¶
func (_KodiakV1 *KodiakV1Filterer) ParseBurned(log types.Log) (*KodiakV1Burned, 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 (*KodiakV1Filterer) ParseFeesEarned ¶
func (_KodiakV1 *KodiakV1Filterer) ParseFeesEarned(log types.Log) (*KodiakV1FeesEarned, error)
ParseFeesEarned is a log parse operation binding the contract event 0xc28ad1de9c0c32e5394ba60323e44d8d9536312236a47231772e448a3e49de42.
Solidity: event FeesEarned(uint256 feesEarned0, uint256 feesEarned1)
func (*KodiakV1Filterer) ParseMinted ¶
func (_KodiakV1 *KodiakV1Filterer) ParseMinted(log types.Log) (*KodiakV1Minted, 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 (*KodiakV1Filterer) ParseOwnershipTransferred ¶
func (_KodiakV1 *KodiakV1Filterer) ParseOwnershipTransferred(log types.Log) (*KodiakV1OwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousManager, address indexed newManager)
func (*KodiakV1Filterer) ParseRebalance ¶
func (_KodiakV1 *KodiakV1Filterer) ParseRebalance(log types.Log) (*KodiakV1Rebalance, error)
ParseRebalance is a log parse operation binding the contract event 0xc749f9ae947d4734cf1569606a8a347391ae94a063478aa853aeff48ac5f99e8.
Solidity: event Rebalance(int24 lowerTick_, int24 upperTick_, uint128 liquidityBefore, uint128 liquidityAfter)
func (*KodiakV1Filterer) ParseTransfer ¶
func (_KodiakV1 *KodiakV1Filterer) ParseTransfer(log types.Log) (*KodiakV1Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*KodiakV1Filterer) ParseUpdateManagerParams ¶
func (_KodiakV1 *KodiakV1Filterer) ParseUpdateManagerParams(log types.Log) (*KodiakV1UpdateManagerParams, error)
ParseUpdateManagerParams is a log parse operation binding the contract event 0xf459b381c988c676562c20a01f42f488c5560ed2e3957b0f27f26573418b6193.
Solidity: event UpdateManagerParams(uint16 managerFeeBPS, address managerTreasury, uint16 gelatoRebalanceBPS, uint16 gelatoSlippageBPS, uint32 gelatoSlippageInterval)
func (*KodiakV1Filterer) WatchApproval ¶
func (_KodiakV1 *KodiakV1Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *KodiakV1Approval, 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 (*KodiakV1Filterer) WatchBurned ¶
func (_KodiakV1 *KodiakV1Filterer) WatchBurned(opts *bind.WatchOpts, sink chan<- *KodiakV1Burned) (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 (*KodiakV1Filterer) WatchFeesEarned ¶
func (_KodiakV1 *KodiakV1Filterer) WatchFeesEarned(opts *bind.WatchOpts, sink chan<- *KodiakV1FeesEarned) (event.Subscription, error)
WatchFeesEarned is a free log subscription operation binding the contract event 0xc28ad1de9c0c32e5394ba60323e44d8d9536312236a47231772e448a3e49de42.
Solidity: event FeesEarned(uint256 feesEarned0, uint256 feesEarned1)
func (*KodiakV1Filterer) WatchMinted ¶
func (_KodiakV1 *KodiakV1Filterer) WatchMinted(opts *bind.WatchOpts, sink chan<- *KodiakV1Minted) (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 (*KodiakV1Filterer) WatchOwnershipTransferred ¶
func (_KodiakV1 *KodiakV1Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *KodiakV1OwnershipTransferred, 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 (*KodiakV1Filterer) WatchRebalance ¶
func (_KodiakV1 *KodiakV1Filterer) WatchRebalance(opts *bind.WatchOpts, sink chan<- *KodiakV1Rebalance) (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 (*KodiakV1Filterer) WatchTransfer ¶
func (_KodiakV1 *KodiakV1Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *KodiakV1Transfer, 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 (*KodiakV1Filterer) WatchUpdateManagerParams ¶
func (_KodiakV1 *KodiakV1Filterer) WatchUpdateManagerParams(opts *bind.WatchOpts, sink chan<- *KodiakV1UpdateManagerParams) (event.Subscription, error)
WatchUpdateManagerParams is a free log subscription operation binding the contract event 0xf459b381c988c676562c20a01f42f488c5560ed2e3957b0f27f26573418b6193.
Solidity: event UpdateManagerParams(uint16 managerFeeBPS, address managerTreasury, uint16 gelatoRebalanceBPS, uint16 gelatoSlippageBPS, uint32 gelatoSlippageInterval)
type KodiakV1Minted ¶
type KodiakV1Minted struct { Receiver common.Address MintAmount *big.Int Amount0In *big.Int Amount1In *big.Int LiquidityMinted *big.Int Raw types.Log // Blockchain specific contextual infos }
KodiakV1Minted represents a Minted event raised by the KodiakV1 contract.
type KodiakV1MintedIterator ¶
type KodiakV1MintedIterator struct { Event *KodiakV1Minted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KodiakV1MintedIterator is returned from FilterMinted and is used to iterate over the raw logs and unpacked data for Minted events raised by the KodiakV1 contract.
func (*KodiakV1MintedIterator) Close ¶
func (it *KodiakV1MintedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KodiakV1MintedIterator) Error ¶
func (it *KodiakV1MintedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KodiakV1MintedIterator) Next ¶
func (it *KodiakV1MintedIterator) 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 KodiakV1OwnershipTransferred ¶
type KodiakV1OwnershipTransferred struct { PreviousManager common.Address NewManager common.Address Raw types.Log // Blockchain specific contextual infos }
KodiakV1OwnershipTransferred represents a OwnershipTransferred event raised by the KodiakV1 contract.
type KodiakV1OwnershipTransferredIterator ¶
type KodiakV1OwnershipTransferredIterator struct { Event *KodiakV1OwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KodiakV1OwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the KodiakV1 contract.
func (*KodiakV1OwnershipTransferredIterator) Close ¶
func (it *KodiakV1OwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KodiakV1OwnershipTransferredIterator) Error ¶
func (it *KodiakV1OwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KodiakV1OwnershipTransferredIterator) Next ¶
func (it *KodiakV1OwnershipTransferredIterator) 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 KodiakV1Raw ¶
type KodiakV1Raw struct {
Contract *KodiakV1 // Generic contract binding to access the raw methods on
}
KodiakV1Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*KodiakV1Raw) Call ¶
func (_KodiakV1 *KodiakV1Raw) 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 (*KodiakV1Raw) Transact ¶
func (_KodiakV1 *KodiakV1Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*KodiakV1Raw) Transfer ¶
func (_KodiakV1 *KodiakV1Raw) 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 KodiakV1Rebalance ¶
type KodiakV1Rebalance struct { LowerTick *big.Int UpperTick *big.Int LiquidityBefore *big.Int LiquidityAfter *big.Int Raw types.Log // Blockchain specific contextual infos }
KodiakV1Rebalance represents a Rebalance event raised by the KodiakV1 contract.
type KodiakV1RebalanceIterator ¶
type KodiakV1RebalanceIterator struct { Event *KodiakV1Rebalance // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KodiakV1RebalanceIterator is returned from FilterRebalance and is used to iterate over the raw logs and unpacked data for Rebalance events raised by the KodiakV1 contract.
func (*KodiakV1RebalanceIterator) Close ¶
func (it *KodiakV1RebalanceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KodiakV1RebalanceIterator) Error ¶
func (it *KodiakV1RebalanceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KodiakV1RebalanceIterator) Next ¶
func (it *KodiakV1RebalanceIterator) 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 KodiakV1Session ¶
type KodiakV1Session struct { Contract *KodiakV1 // 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 }
KodiakV1Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*KodiakV1Session) Allowance ¶
func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) Approve ¶
func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) view returns(uint256)
func (*KodiakV1Session) Burn ¶
func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) Decimals ¶
func (_KodiakV1 *KodiakV1Session) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*KodiakV1Session) DecreaseAllowance ¶
func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) ExecutiveRebalance ¶
func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) GELATO ¶
func (_KodiakV1 *KodiakV1Session) GELATO() (common.Address, error)
GELATO is a free data retrieval call binding the contract method 0xeff557a7.
Solidity: function GELATO() view returns(address)
func (*KodiakV1Session) GelatoRebalanceBPS ¶
func (_KodiakV1 *KodiakV1Session) GelatoRebalanceBPS() (uint16, error)
GelatoRebalanceBPS is a free data retrieval call binding the contract method 0xa50b1fe7.
Solidity: function gelatoRebalanceBPS() view returns(uint16)
func (*KodiakV1Session) GelatoSlippageBPS ¶
func (_KodiakV1 *KodiakV1Session) GelatoSlippageBPS() (uint16, error)
GelatoSlippageBPS is a free data retrieval call binding the contract method 0xd6e7ff39.
Solidity: function gelatoSlippageBPS() view returns(uint16)
func (*KodiakV1Session) GelatoSlippageInterval ¶
func (_KodiakV1 *KodiakV1Session) GelatoSlippageInterval() (uint32, error)
GelatoSlippageInterval is a free data retrieval call binding the contract method 0x672152bd.
Solidity: function gelatoSlippageInterval() view returns(uint32)
func (*KodiakV1Session) GetMintAmounts ¶
func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) GetPositionID ¶
func (_KodiakV1 *KodiakV1Session) GetPositionID() ([32]byte, error)
GetPositionID is a free data retrieval call binding the contract method 0xdf28408a.
Solidity: function getPositionID() view returns(bytes32 positionID)
func (*KodiakV1Session) GetUnderlyingBalances ¶
func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) GetUnderlyingBalancesAtPrice ¶
func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) IncreaseAllowance ¶
func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) Initialize ¶
func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) KodiakBalance0 ¶
func (_KodiakV1 *KodiakV1Session) KodiakBalance0() (*big.Int, error)
KodiakBalance0 is a free data retrieval call binding the contract method 0xd8d24145.
Solidity: function kodiakBalance0() view returns(uint256)
func (*KodiakV1Session) KodiakBalance1 ¶
func (_KodiakV1 *KodiakV1Session) KodiakBalance1() (*big.Int, error)
KodiakBalance1 is a free data retrieval call binding the contract method 0xf5338bcf.
Solidity: function kodiakBalance1() view returns(uint256)
func (*KodiakV1Session) KodiakFeeBPS ¶
func (_KodiakV1 *KodiakV1Session) KodiakFeeBPS() (uint16, error)
KodiakFeeBPS is a free data retrieval call binding the contract method 0xce311070.
Solidity: function kodiakFeeBPS() view returns(uint16)
func (*KodiakV1Session) KodiakTreasury ¶
func (_KodiakV1 *KodiakV1Session) KodiakTreasury() (common.Address, error)
KodiakTreasury is a free data retrieval call binding the contract method 0x94a113ec.
Solidity: function kodiakTreasury() view returns(address)
func (*KodiakV1Session) LowerTick ¶
func (_KodiakV1 *KodiakV1Session) LowerTick() (*big.Int, error)
LowerTick is a free data retrieval call binding the contract method 0x9b1344ac.
Solidity: function lowerTick() view returns(int24)
func (*KodiakV1Session) Manager ¶
func (_KodiakV1 *KodiakV1Session) Manager() (common.Address, error)
Manager is a free data retrieval call binding the contract method 0x481c6a75.
Solidity: function manager() view returns(address)
func (*KodiakV1Session) ManagerBalance0 ¶
func (_KodiakV1 *KodiakV1Session) ManagerBalance0() (*big.Int, error)
ManagerBalance0 is a free data retrieval call binding the contract method 0x065756db.
Solidity: function managerBalance0() view returns(uint256)
func (*KodiakV1Session) ManagerBalance1 ¶
func (_KodiakV1 *KodiakV1Session) ManagerBalance1() (*big.Int, error)
ManagerBalance1 is a free data retrieval call binding the contract method 0x42fb9d44.
Solidity: function managerBalance1() view returns(uint256)
func (*KodiakV1Session) ManagerFeeBPS ¶
func (_KodiakV1 *KodiakV1Session) ManagerFeeBPS() (uint16, error)
ManagerFeeBPS is a free data retrieval call binding the contract method 0xccdf7a02.
Solidity: function managerFeeBPS() view returns(uint16)
func (*KodiakV1Session) ManagerTreasury ¶
func (_KodiakV1 *KodiakV1Session) ManagerTreasury() (common.Address, error)
ManagerTreasury is a free data retrieval call binding the contract method 0xcc95353e.
Solidity: function managerTreasury() view returns(address)
func (*KodiakV1Session) Mint ¶
func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) Name ¶
func (_KodiakV1 *KodiakV1Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*KodiakV1Session) Pool ¶
func (_KodiakV1 *KodiakV1Session) Pool() (common.Address, error)
Pool is a free data retrieval call binding the contract method 0x16f0115b.
Solidity: function pool() view returns(address)
func (*KodiakV1Session) RESTRICTEDMINTENABLED ¶
func (_KodiakV1 *KodiakV1Session) RESTRICTEDMINTENABLED() (uint16, error)
RESTRICTEDMINTENABLED is a free data retrieval call binding the contract method 0xd839fb3f.
Solidity: function RESTRICTED_MINT_ENABLED() view returns(uint16)
func (*KodiakV1Session) Rebalance ¶
func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) RenounceOwnership ¶
func (_KodiakV1 *KodiakV1Session) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*KodiakV1Session) RestrictedMintToggle ¶
func (_KodiakV1 *KodiakV1Session) RestrictedMintToggle() (uint16, error)
RestrictedMintToggle is a free data retrieval call binding the contract method 0xdd40e322.
Solidity: function restrictedMintToggle() view returns(uint16)
func (*KodiakV1Session) Symbol ¶
func (_KodiakV1 *KodiakV1Session) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*KodiakV1Session) ToggleRestrictMint ¶
func (_KodiakV1 *KodiakV1Session) ToggleRestrictMint() (*types.Transaction, error)
ToggleRestrictMint is a paid mutator transaction binding the contract method 0x5f59dce5.
Solidity: function toggleRestrictMint() returns()
func (*KodiakV1Session) Token0 ¶
func (_KodiakV1 *KodiakV1Session) Token0() (common.Address, error)
Token0 is a free data retrieval call binding the contract method 0x0dfe1681.
Solidity: function token0() view returns(address)
func (*KodiakV1Session) Token1 ¶
func (_KodiakV1 *KodiakV1Session) Token1() (common.Address, error)
Token1 is a free data retrieval call binding the contract method 0xd21220a7.
Solidity: function token1() view returns(address)
func (*KodiakV1Session) TotalSupply ¶
func (_KodiakV1 *KodiakV1Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*KodiakV1Session) Transfer ¶
func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) TransferFrom ¶
func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) TransferOwnership ¶
func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) UniswapV3MintCallback ¶
func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) UniswapV3SwapCallback ¶
func (_KodiakV1 *KodiakV1Session) 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 (*KodiakV1Session) UpdateManagerParams ¶
func (_KodiakV1 *KodiakV1Session) UpdateManagerParams(newManagerFeeBPS int16, newManagerTreasury common.Address, newRebalanceBPS int16, newSlippageBPS int16, newSlippageInterval int32) (*types.Transaction, error)
UpdateManagerParams is a paid mutator transaction binding the contract method 0xc540e483.
Solidity: function updateManagerParams(int16 newManagerFeeBPS, address newManagerTreasury, int16 newRebalanceBPS, int16 newSlippageBPS, int32 newSlippageInterval) returns()
func (*KodiakV1Session) UpperTick ¶
func (_KodiakV1 *KodiakV1Session) UpperTick() (*big.Int, error)
UpperTick is a free data retrieval call binding the contract method 0x727dd228.
Solidity: function upperTick() view returns(int24)
func (*KodiakV1Session) Version ¶
func (_KodiakV1 *KodiakV1Session) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(string)
func (*KodiakV1Session) WithdrawKodiakBalance ¶
func (_KodiakV1 *KodiakV1Session) WithdrawKodiakBalance() (*types.Transaction, error)
WithdrawKodiakBalance is a paid mutator transaction binding the contract method 0xd83bfb90.
Solidity: function withdrawKodiakBalance() returns()
func (*KodiakV1Session) WithdrawManagerBalance ¶
func (_KodiakV1 *KodiakV1Session) WithdrawManagerBalance() (*types.Transaction, error)
WithdrawManagerBalance is a paid mutator transaction binding the contract method 0x7ecd6717.
Solidity: function withdrawManagerBalance() returns()
type KodiakV1Transactor ¶
type KodiakV1Transactor struct {
// contains filtered or unexported fields
}
KodiakV1Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewKodiakV1Transactor ¶
func NewKodiakV1Transactor(address common.Address, transactor bind.ContractTransactor) (*KodiakV1Transactor, error)
NewKodiakV1Transactor creates a new write-only instance of KodiakV1, bound to a specific deployed contract.
func (*KodiakV1Transactor) Approve ¶
func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) Burn ¶
func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) DecreaseAllowance ¶
func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) ExecutiveRebalance ¶
func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) IncreaseAllowance ¶
func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) Initialize ¶
func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) Mint ¶
func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) Rebalance ¶
func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) RenounceOwnership ¶
func (_KodiakV1 *KodiakV1Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*KodiakV1Transactor) ToggleRestrictMint ¶
func (_KodiakV1 *KodiakV1Transactor) ToggleRestrictMint(opts *bind.TransactOpts) (*types.Transaction, error)
ToggleRestrictMint is a paid mutator transaction binding the contract method 0x5f59dce5.
Solidity: function toggleRestrictMint() returns()
func (*KodiakV1Transactor) Transfer ¶
func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) TransferFrom ¶
func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) TransferOwnership ¶
func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) UniswapV3MintCallback ¶
func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) UniswapV3SwapCallback ¶
func (_KodiakV1 *KodiakV1Transactor) 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 (*KodiakV1Transactor) UpdateManagerParams ¶
func (_KodiakV1 *KodiakV1Transactor) UpdateManagerParams(opts *bind.TransactOpts, newManagerFeeBPS int16, newManagerTreasury common.Address, newRebalanceBPS int16, newSlippageBPS int16, newSlippageInterval int32) (*types.Transaction, error)
UpdateManagerParams is a paid mutator transaction binding the contract method 0xc540e483.
Solidity: function updateManagerParams(int16 newManagerFeeBPS, address newManagerTreasury, int16 newRebalanceBPS, int16 newSlippageBPS, int32 newSlippageInterval) returns()
func (*KodiakV1Transactor) WithdrawKodiakBalance ¶
func (_KodiakV1 *KodiakV1Transactor) WithdrawKodiakBalance(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawKodiakBalance is a paid mutator transaction binding the contract method 0xd83bfb90.
Solidity: function withdrawKodiakBalance() returns()
func (*KodiakV1Transactor) WithdrawManagerBalance ¶
func (_KodiakV1 *KodiakV1Transactor) WithdrawManagerBalance(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawManagerBalance is a paid mutator transaction binding the contract method 0x7ecd6717.
Solidity: function withdrawManagerBalance() returns()
type KodiakV1TransactorRaw ¶
type KodiakV1TransactorRaw struct {
Contract *KodiakV1Transactor // Generic write-only contract binding to access the raw methods on
}
KodiakV1TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*KodiakV1TransactorRaw) Transact ¶
func (_KodiakV1 *KodiakV1TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*KodiakV1TransactorRaw) Transfer ¶
func (_KodiakV1 *KodiakV1TransactorRaw) 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 KodiakV1TransactorSession ¶
type KodiakV1TransactorSession struct { Contract *KodiakV1Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
KodiakV1TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*KodiakV1TransactorSession) Approve ¶
func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) Burn ¶
func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) DecreaseAllowance ¶
func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) ExecutiveRebalance ¶
func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) IncreaseAllowance ¶
func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) Initialize ¶
func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) Mint ¶
func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) Rebalance ¶
func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) RenounceOwnership ¶
func (_KodiakV1 *KodiakV1TransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*KodiakV1TransactorSession) ToggleRestrictMint ¶
func (_KodiakV1 *KodiakV1TransactorSession) ToggleRestrictMint() (*types.Transaction, error)
ToggleRestrictMint is a paid mutator transaction binding the contract method 0x5f59dce5.
Solidity: function toggleRestrictMint() returns()
func (*KodiakV1TransactorSession) Transfer ¶
func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) TransferFrom ¶
func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) TransferOwnership ¶
func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) UniswapV3MintCallback ¶
func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) UniswapV3SwapCallback ¶
func (_KodiakV1 *KodiakV1TransactorSession) 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 (*KodiakV1TransactorSession) UpdateManagerParams ¶
func (_KodiakV1 *KodiakV1TransactorSession) UpdateManagerParams(newManagerFeeBPS int16, newManagerTreasury common.Address, newRebalanceBPS int16, newSlippageBPS int16, newSlippageInterval int32) (*types.Transaction, error)
UpdateManagerParams is a paid mutator transaction binding the contract method 0xc540e483.
Solidity: function updateManagerParams(int16 newManagerFeeBPS, address newManagerTreasury, int16 newRebalanceBPS, int16 newSlippageBPS, int32 newSlippageInterval) returns()
func (*KodiakV1TransactorSession) WithdrawKodiakBalance ¶
func (_KodiakV1 *KodiakV1TransactorSession) WithdrawKodiakBalance() (*types.Transaction, error)
WithdrawKodiakBalance is a paid mutator transaction binding the contract method 0xd83bfb90.
Solidity: function withdrawKodiakBalance() returns()
func (*KodiakV1TransactorSession) WithdrawManagerBalance ¶
func (_KodiakV1 *KodiakV1TransactorSession) WithdrawManagerBalance() (*types.Transaction, error)
WithdrawManagerBalance is a paid mutator transaction binding the contract method 0x7ecd6717.
Solidity: function withdrawManagerBalance() returns()
type KodiakV1Transfer ¶
type KodiakV1Transfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
KodiakV1Transfer represents a Transfer event raised by the KodiakV1 contract.
type KodiakV1TransferIterator ¶
type KodiakV1TransferIterator struct { Event *KodiakV1Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KodiakV1TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the KodiakV1 contract.
func (*KodiakV1TransferIterator) Close ¶
func (it *KodiakV1TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KodiakV1TransferIterator) Error ¶
func (it *KodiakV1TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KodiakV1TransferIterator) Next ¶
func (it *KodiakV1TransferIterator) 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 KodiakV1UpdateManagerParams ¶
type KodiakV1UpdateManagerParams struct { ManagerFeeBPS uint16 ManagerTreasury common.Address GelatoRebalanceBPS uint16 GelatoSlippageBPS uint16 GelatoSlippageInterval uint32 Raw types.Log // Blockchain specific contextual infos }
KodiakV1UpdateManagerParams represents a UpdateManagerParams event raised by the KodiakV1 contract.
type KodiakV1UpdateManagerParamsIterator ¶
type KodiakV1UpdateManagerParamsIterator struct { Event *KodiakV1UpdateManagerParams // Event containing the contract specifics and raw log // contains filtered or unexported fields }
KodiakV1UpdateManagerParamsIterator is returned from FilterUpdateManagerParams and is used to iterate over the raw logs and unpacked data for UpdateManagerParams events raised by the KodiakV1 contract.
func (*KodiakV1UpdateManagerParamsIterator) Close ¶
func (it *KodiakV1UpdateManagerParamsIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*KodiakV1UpdateManagerParamsIterator) Error ¶
func (it *KodiakV1UpdateManagerParamsIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*KodiakV1UpdateManagerParamsIterator) Next ¶
func (it *KodiakV1UpdateManagerParamsIterator) 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.