Documentation ¶
Index ¶
- Variables
- type CrocLPERC20
- type CrocLPERC20Caller
- func (_CrocLPERC20 *CrocLPERC20Caller) BaseToken(opts *bind.CallOpts) (common.Address, error)
- func (_CrocLPERC20 *CrocLPERC20Caller) Factory(opts *bind.CallOpts) (common.Address, error)
- func (_CrocLPERC20 *CrocLPERC20Caller) PoolHash(opts *bind.CallOpts) ([32]byte, error)
- func (_CrocLPERC20 *CrocLPERC20Caller) PoolType(opts *bind.CallOpts) (*big.Int, error)
- func (_CrocLPERC20 *CrocLPERC20Caller) QuoteToken(opts *bind.CallOpts) (common.Address, error)
- type CrocLPERC20CallerRaw
- type CrocLPERC20CallerSession
- func (_CrocLPERC20 *CrocLPERC20CallerSession) BaseToken() (common.Address, error)
- func (_CrocLPERC20 *CrocLPERC20CallerSession) Factory() (common.Address, error)
- func (_CrocLPERC20 *CrocLPERC20CallerSession) PoolHash() ([32]byte, error)
- func (_CrocLPERC20 *CrocLPERC20CallerSession) PoolType() (*big.Int, error)
- func (_CrocLPERC20 *CrocLPERC20CallerSession) QuoteToken() (common.Address, error)
- type CrocLPERC20Filterer
- type CrocLPERC20Raw
- func (_CrocLPERC20 *CrocLPERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_CrocLPERC20 *CrocLPERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CrocLPERC20 *CrocLPERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CrocLPERC20Session
- func (_CrocLPERC20 *CrocLPERC20Session) BaseToken() (common.Address, error)
- func (_CrocLPERC20 *CrocLPERC20Session) Factory() (common.Address, error)
- func (_CrocLPERC20 *CrocLPERC20Session) PoolHash() ([32]byte, error)
- func (_CrocLPERC20 *CrocLPERC20Session) PoolType() (*big.Int, error)
- func (_CrocLPERC20 *CrocLPERC20Session) QuoteToken() (common.Address, error)
- type CrocLPERC20Transactor
- type CrocLPERC20TransactorRaw
- type CrocLPERC20TransactorSession
- type CrocQuery
- type CrocQueryCaller
- func (_CrocQuery *CrocQueryCaller) Dex(opts *bind.CallOpts) (common.Address, error)
- func (_CrocQuery *CrocQueryCaller) QueryAmbientPosition(opts *bind.CallOpts, owner common.Address, base common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCaller) QueryAmbientTokens(opts *bind.CallOpts, owner common.Address, base common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCaller) QueryConcRewards(opts *bind.CallOpts, owner common.Address, base common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCaller) QueryCurve(opts *bind.CallOpts, base common.Address, quote common.Address, ...) (CurveMathCurveState, error)
- func (_CrocQuery *CrocQueryCaller) QueryCurveTick(opts *bind.CallOpts, base common.Address, quote common.Address, ...) (*big.Int, error)
- func (_CrocQuery *CrocQueryCaller) QueryKnockoutMerkle(opts *bind.CallOpts, base common.Address, quote common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCaller) QueryKnockoutPivot(opts *bind.CallOpts, base common.Address, quote common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCaller) QueryKnockoutPos(opts *bind.CallOpts, owner common.Address, base common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCaller) QueryKnockoutTokens(opts *bind.CallOpts, owner common.Address, base common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCaller) QueryLevel(opts *bind.CallOpts, base common.Address, quote common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCaller) QueryLiquidity(opts *bind.CallOpts, base common.Address, quote common.Address, ...) (*big.Int, error)
- func (_CrocQuery *CrocQueryCaller) QueryPoolParams(opts *bind.CallOpts, base common.Address, quote common.Address, ...) (PoolSpecsPool, error)
- func (_CrocQuery *CrocQueryCaller) QueryPoolTemplate(opts *bind.CallOpts, poolIdx *big.Int) (PoolSpecsPool, error)
- func (_CrocQuery *CrocQueryCaller) QueryPrice(opts *bind.CallOpts, base common.Address, quote common.Address, ...) (*big.Int, error)
- func (_CrocQuery *CrocQueryCaller) QueryProtocolAccum(opts *bind.CallOpts, token common.Address) (*big.Int, error)
- func (_CrocQuery *CrocQueryCaller) QueryRangePosition(opts *bind.CallOpts, owner common.Address, base common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCaller) QueryRangeTokens(opts *bind.CallOpts, owner common.Address, base common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCaller) QuerySurplus(opts *bind.CallOpts, owner common.Address, token common.Address) (*big.Int, error)
- func (_CrocQuery *CrocQueryCaller) QueryVirtual(opts *bind.CallOpts, owner common.Address, tracker common.Address, ...) (*big.Int, error)
- type CrocQueryCallerRaw
- type CrocQueryCallerSession
- func (_CrocQuery *CrocQueryCallerSession) Dex() (common.Address, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryAmbientPosition(owner common.Address, base common.Address, quote common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryAmbientTokens(owner common.Address, base common.Address, quote common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryConcRewards(owner common.Address, base common.Address, quote common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryCurve(base common.Address, quote common.Address, poolIdx *big.Int) (CurveMathCurveState, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryCurveTick(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryKnockoutMerkle(base common.Address, quote common.Address, poolIdx *big.Int, isBid bool, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryKnockoutPivot(base common.Address, quote common.Address, poolIdx *big.Int, isBid bool, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryKnockoutPos(owner common.Address, base common.Address, quote common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryKnockoutTokens(owner common.Address, base common.Address, quote common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryLevel(base common.Address, quote common.Address, poolIdx *big.Int, tick *big.Int) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryLiquidity(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryPoolParams(base common.Address, quote common.Address, poolIdx *big.Int) (PoolSpecsPool, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryPoolTemplate(poolIdx *big.Int) (PoolSpecsPool, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryPrice(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryProtocolAccum(token common.Address) (*big.Int, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryRangePosition(owner common.Address, base common.Address, quote common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryRangeTokens(owner common.Address, base common.Address, quote common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQueryCallerSession) QuerySurplus(owner common.Address, token common.Address) (*big.Int, error)
- func (_CrocQuery *CrocQueryCallerSession) QueryVirtual(owner common.Address, tracker common.Address, salt *big.Int) (*big.Int, error)
- type CrocQueryFilterer
- type CrocQueryRaw
- func (_CrocQuery *CrocQueryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_CrocQuery *CrocQueryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_CrocQuery *CrocQueryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type CrocQuerySession
- func (_CrocQuery *CrocQuerySession) Dex() (common.Address, error)
- func (_CrocQuery *CrocQuerySession) QueryAmbientPosition(owner common.Address, base common.Address, quote common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQuerySession) QueryAmbientTokens(owner common.Address, base common.Address, quote common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQuerySession) QueryConcRewards(owner common.Address, base common.Address, quote common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQuerySession) QueryCurve(base common.Address, quote common.Address, poolIdx *big.Int) (CurveMathCurveState, error)
- func (_CrocQuery *CrocQuerySession) QueryCurveTick(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)
- func (_CrocQuery *CrocQuerySession) QueryKnockoutMerkle(base common.Address, quote common.Address, poolIdx *big.Int, isBid bool, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQuerySession) QueryKnockoutPivot(base common.Address, quote common.Address, poolIdx *big.Int, isBid bool, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQuerySession) QueryKnockoutPos(owner common.Address, base common.Address, quote common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQuerySession) QueryKnockoutTokens(owner common.Address, base common.Address, quote common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQuerySession) QueryLevel(base common.Address, quote common.Address, poolIdx *big.Int, tick *big.Int) (struct{ ... }, error)
- func (_CrocQuery *CrocQuerySession) QueryLiquidity(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)
- func (_CrocQuery *CrocQuerySession) QueryPoolParams(base common.Address, quote common.Address, poolIdx *big.Int) (PoolSpecsPool, error)
- func (_CrocQuery *CrocQuerySession) QueryPoolTemplate(poolIdx *big.Int) (PoolSpecsPool, error)
- func (_CrocQuery *CrocQuerySession) QueryPrice(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)
- func (_CrocQuery *CrocQuerySession) QueryProtocolAccum(token common.Address) (*big.Int, error)
- func (_CrocQuery *CrocQuerySession) QueryRangePosition(owner common.Address, base common.Address, quote common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQuerySession) QueryRangeTokens(owner common.Address, base common.Address, quote common.Address, ...) (struct{ ... }, error)
- func (_CrocQuery *CrocQuerySession) QuerySurplus(owner common.Address, token common.Address) (*big.Int, error)
- func (_CrocQuery *CrocQuerySession) QueryVirtual(owner common.Address, tracker common.Address, salt *big.Int) (*big.Int, error)
- type CrocQueryTransactor
- type CrocQueryTransactorRaw
- type CrocQueryTransactorSession
- type CurveMathCurveState
- type ERC20
- type ERC20Approval
- type ERC20ApprovalIterator
- type ERC20Caller
- func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Caller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Caller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_ERC20 *ERC20Caller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_ERC20 *ERC20Caller) Name(opts *bind.CallOpts) (string, error)
- func (_ERC20 *ERC20Caller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Caller) Symbol(opts *bind.CallOpts) (string, error)
- func (_ERC20 *ERC20Caller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- type ERC20CallerRaw
- type ERC20CallerSession
- func (_ERC20 *ERC20CallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_ERC20 *ERC20CallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_ERC20 *ERC20CallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_ERC20 *ERC20CallerSession) Decimals() (uint8, error)
- func (_ERC20 *ERC20CallerSession) Name() (string, error)
- func (_ERC20 *ERC20CallerSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_ERC20 *ERC20CallerSession) Symbol() (string, error)
- func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)
- type ERC20Filterer
- func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
- func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
- func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)
- func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)
- func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, owner []common.Address, ...) (event.Subscription, error)
- func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, from []common.Address, ...) (event.Subscription, error)
- type ERC20Raw
- func (_ERC20 *ERC20Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ERC20 *ERC20Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ERC20Session
- func (_ERC20 *ERC20Session) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) DOMAINSEPARATOR() ([32]byte, error)
- func (_ERC20 *ERC20Session) Decimals() (uint8, error)
- func (_ERC20 *ERC20Session) Name() (string, error)
- func (_ERC20 *ERC20Session) Nonces(arg0 common.Address) (*big.Int, error)
- func (_ERC20 *ERC20Session) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) Symbol() (string, error)
- func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
- func (_ERC20 *ERC20Session) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Session) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20Transactor
- func (_ERC20 *ERC20Transactor) Approve(opts *bind.TransactOpts, spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- type ERC20TransactorRaw
- type ERC20TransactorSession
- func (_ERC20 *ERC20TransactorSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
- func (_ERC20 *ERC20TransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
- type ERC20Transfer
- type ERC20TransferIterator
- 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
- type PoolSpecsPool
Constants ¶
This section is empty.
Variables ¶
var CrocLPERC20ABI = CrocLPERC20MetaData.ABI
CrocLPERC20ABI is the input ABI used to generate the binding from. Deprecated: Use CrocLPERC20MetaData.ABI instead.
var CrocLPERC20MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"name\":\"baseToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"factory\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolType\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"quoteToken\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
CrocLPERC20MetaData contains all meta data concerning the CrocLPERC20 contract.
var CrocQueryABI = CrocQueryMetaData.ABI
CrocQueryABI is the input ABI used to generate the binding from. Deprecated: Use CrocQueryMetaData.ABI instead.
var CrocQueryMetaData = &bind.MetaData{
ABI: "[{\"type\":\"constructor\",\"inputs\":[{\"name\":\"dex\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"dex_\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryAmbientPosition\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"seeds\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"timestamp\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryAmbientTokens\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"liq\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"baseQty\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"quoteQty\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryConcRewards\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"lowerTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"upperTick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"liqRewards\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"baseRewards\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"quoteRewards\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryCurve\",\"inputs\":[{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"curve\",\"type\":\"tuple\",\"internalType\":\"structCurveMath.CurveState\",\"components\":[{\"name\":\"priceRoot_\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"ambientSeeds_\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"concLiq_\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"seedDeflator_\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"concGrowth_\",\"type\":\"uint64\",\"internalType\":\"uint64\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryCurveTick\",\"inputs\":[{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryKnockoutMerkle\",\"inputs\":[{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"isBid\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"tick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"root\",\"type\":\"uint160\",\"internalType\":\"uint160\"},{\"name\":\"pivot\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"fee\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryKnockoutPivot\",\"inputs\":[{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"isBid\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"tick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"lots\",\"type\":\"uint96\",\"internalType\":\"uint96\"},{\"name\":\"pivot\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"range\",\"type\":\"uint16\",\"internalType\":\"uint16\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryKnockoutPos\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"pivot\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"isBid\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"lowerTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"upperTick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"lots\",\"type\":\"uint96\",\"internalType\":\"uint96\"},{\"name\":\"mileage\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"timestamp\",\"type\":\"uint32\",\"internalType\":\"uint32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryKnockoutTokens\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"pivot\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"isBid\",\"type\":\"bool\",\"internalType\":\"bool\"},{\"name\":\"lowerTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"upperTick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"liq\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"baseQty\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"quoteQty\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"knockedOut\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryLevel\",\"inputs\":[{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"tick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"bidLots\",\"type\":\"uint96\",\"internalType\":\"uint96\"},{\"name\":\"askLots\",\"type\":\"uint96\",\"internalType\":\"uint96\"},{\"name\":\"odometer\",\"type\":\"uint64\",\"internalType\":\"uint64\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryLiquidity\",\"inputs\":[{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryPoolParams\",\"inputs\":[{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"pool\",\"type\":\"tuple\",\"internalType\":\"structPoolSpecs.Pool\",\"components\":[{\"name\":\"schema_\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"feeRate_\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"protocolTake_\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"tickSize_\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"jitThresh_\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"knockoutBits_\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"oracleFlags_\",\"type\":\"uint8\",\"internalType\":\"uint8\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryPoolTemplate\",\"inputs\":[{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"pool\",\"type\":\"tuple\",\"internalType\":\"structPoolSpecs.Pool\",\"components\":[{\"name\":\"schema_\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"feeRate_\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"protocolTake_\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"tickSize_\",\"type\":\"uint16\",\"internalType\":\"uint16\"},{\"name\":\"jitThresh_\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"knockoutBits_\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"oracleFlags_\",\"type\":\"uint8\",\"internalType\":\"uint8\"}]}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryPrice\",\"inputs\":[{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryProtocolAccum\",\"inputs\":[{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryRangePosition\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"lowerTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"upperTick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"liq\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"fee\",\"type\":\"uint64\",\"internalType\":\"uint64\"},{\"name\":\"timestamp\",\"type\":\"uint32\",\"internalType\":\"uint32\"},{\"name\":\"atomic\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryRangeTokens\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"base\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"quote\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"poolIdx\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"lowerTick\",\"type\":\"int24\",\"internalType\":\"int24\"},{\"name\":\"upperTick\",\"type\":\"int24\",\"internalType\":\"int24\"}],\"outputs\":[{\"name\":\"liq\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"baseQty\",\"type\":\"uint128\",\"internalType\":\"uint128\"},{\"name\":\"quoteQty\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"querySurplus\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"token\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"surplus\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"queryVirtual\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"tracker\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"salt\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"surplus\",\"type\":\"uint128\",\"internalType\":\"uint128\"}],\"stateMutability\":\"view\"}]",
}
CrocQueryMetaData contains all meta data concerning the CrocQuery contract.
var ERC20ABI = ERC20MetaData.ABI
ERC20ABI is the input ABI used to generate the binding from. Deprecated: Use ERC20MetaData.ABI instead.
var ERC20MetaData = &bind.MetaData{
ABI: "[{\"type\":\"function\",\"name\":\"DOMAIN_SEPARATOR\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"allowance\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"approve\",\"inputs\":[{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"balanceOf\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"decimals\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint8\",\"internalType\":\"uint8\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"name\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"nonces\",\"inputs\":[{\"name\":\"\",\"type\":\"address\",\"internalType\":\"address\"}],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"permit\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"value\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"deadline\",\"type\":\"uint256\",\"internalType\":\"uint256\"},{\"name\":\"v\",\"type\":\"uint8\",\"internalType\":\"uint8\"},{\"name\":\"r\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"},{\"name\":\"s\",\"type\":\"bytes32\",\"internalType\":\"bytes32\"}],\"outputs\":[],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"symbol\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"string\",\"internalType\":\"string\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"totalSupply\",\"inputs\":[],\"outputs\":[{\"name\":\"\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"stateMutability\":\"view\"},{\"type\":\"function\",\"name\":\"transfer\",\"inputs\":[{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"function\",\"name\":\"transferFrom\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"internalType\":\"uint256\"}],\"outputs\":[{\"name\":\"\",\"type\":\"bool\",\"internalType\":\"bool\"}],\"stateMutability\":\"nonpayable\"},{\"type\":\"event\",\"name\":\"Approval\",\"inputs\":[{\"name\":\"owner\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"spender\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false},{\"type\":\"event\",\"name\":\"Transfer\",\"inputs\":[{\"name\":\"from\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"to\",\"type\":\"address\",\"indexed\":true,\"internalType\":\"address\"},{\"name\":\"amount\",\"type\":\"uint256\",\"indexed\":false,\"internalType\":\"uint256\"}],\"anonymous\":false}]",
}
ERC20MetaData contains all meta data concerning the ERC20 contract.
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 CrocLPERC20 ¶ added in v0.1.6
type CrocLPERC20 struct { CrocLPERC20Caller // Read-only binding to the contract CrocLPERC20Transactor // Write-only binding to the contract CrocLPERC20Filterer // Log filterer for contract events }
CrocLPERC20 is an auto generated Go binding around an Ethereum contract.
func NewCrocLPERC20 ¶ added in v0.1.6
func NewCrocLPERC20(address common.Address, backend bind.ContractBackend) (*CrocLPERC20, error)
NewCrocLPERC20 creates a new instance of CrocLPERC20, bound to a specific deployed contract.
type CrocLPERC20Caller ¶ added in v0.1.6
type CrocLPERC20Caller struct {
// contains filtered or unexported fields
}
CrocLPERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewCrocLPERC20Caller ¶ added in v0.1.6
func NewCrocLPERC20Caller(address common.Address, caller bind.ContractCaller) (*CrocLPERC20Caller, error)
NewCrocLPERC20Caller creates a new read-only instance of CrocLPERC20, bound to a specific deployed contract.
func (*CrocLPERC20Caller) BaseToken ¶ added in v0.1.6
BaseToken is a free data retrieval call binding the contract method 0xc55dae63.
Solidity: function baseToken() view returns(address)
func (*CrocLPERC20Caller) Factory ¶ added in v0.1.6
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*CrocLPERC20Caller) PoolHash ¶ added in v0.1.6
func (_CrocLPERC20 *CrocLPERC20Caller) PoolHash(opts *bind.CallOpts) ([32]byte, error)
PoolHash is a free data retrieval call binding the contract method 0x9b503daf.
Solidity: function poolHash() view returns(bytes32)
func (*CrocLPERC20Caller) PoolType ¶ added in v0.1.6
PoolType is a free data retrieval call binding the contract method 0xb1dd61b6.
Solidity: function poolType() view returns(uint256)
func (*CrocLPERC20Caller) QuoteToken ¶ added in v0.1.6
QuoteToken is a free data retrieval call binding the contract method 0x217a4b70.
Solidity: function quoteToken() view returns(address)
type CrocLPERC20CallerRaw ¶ added in v0.1.6
type CrocLPERC20CallerRaw struct {
Contract *CrocLPERC20Caller // Generic read-only contract binding to access the raw methods on
}
CrocLPERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CrocLPERC20CallerRaw) Call ¶ added in v0.1.6
func (_CrocLPERC20 *CrocLPERC20CallerRaw) 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 CrocLPERC20CallerSession ¶ added in v0.1.6
type CrocLPERC20CallerSession struct { Contract *CrocLPERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CrocLPERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CrocLPERC20CallerSession) BaseToken ¶ added in v0.1.6
func (_CrocLPERC20 *CrocLPERC20CallerSession) BaseToken() (common.Address, error)
BaseToken is a free data retrieval call binding the contract method 0xc55dae63.
Solidity: function baseToken() view returns(address)
func (*CrocLPERC20CallerSession) Factory ¶ added in v0.1.6
func (_CrocLPERC20 *CrocLPERC20CallerSession) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*CrocLPERC20CallerSession) PoolHash ¶ added in v0.1.6
func (_CrocLPERC20 *CrocLPERC20CallerSession) PoolHash() ([32]byte, error)
PoolHash is a free data retrieval call binding the contract method 0x9b503daf.
Solidity: function poolHash() view returns(bytes32)
func (*CrocLPERC20CallerSession) PoolType ¶ added in v0.1.6
func (_CrocLPERC20 *CrocLPERC20CallerSession) PoolType() (*big.Int, error)
PoolType is a free data retrieval call binding the contract method 0xb1dd61b6.
Solidity: function poolType() view returns(uint256)
func (*CrocLPERC20CallerSession) QuoteToken ¶ added in v0.1.6
func (_CrocLPERC20 *CrocLPERC20CallerSession) QuoteToken() (common.Address, error)
QuoteToken is a free data retrieval call binding the contract method 0x217a4b70.
Solidity: function quoteToken() view returns(address)
type CrocLPERC20Filterer ¶ added in v0.1.6
type CrocLPERC20Filterer struct {
// contains filtered or unexported fields
}
CrocLPERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCrocLPERC20Filterer ¶ added in v0.1.6
func NewCrocLPERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*CrocLPERC20Filterer, error)
NewCrocLPERC20Filterer creates a new log filterer instance of CrocLPERC20, bound to a specific deployed contract.
type CrocLPERC20Raw ¶ added in v0.1.6
type CrocLPERC20Raw struct {
Contract *CrocLPERC20 // Generic contract binding to access the raw methods on
}
CrocLPERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*CrocLPERC20Raw) Call ¶ added in v0.1.6
func (_CrocLPERC20 *CrocLPERC20Raw) 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 (*CrocLPERC20Raw) Transact ¶ added in v0.1.6
func (_CrocLPERC20 *CrocLPERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CrocLPERC20Raw) Transfer ¶ added in v0.1.6
func (_CrocLPERC20 *CrocLPERC20Raw) 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 CrocLPERC20Session ¶ added in v0.1.6
type CrocLPERC20Session struct { Contract *CrocLPERC20 // 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 }
CrocLPERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CrocLPERC20Session) BaseToken ¶ added in v0.1.6
func (_CrocLPERC20 *CrocLPERC20Session) BaseToken() (common.Address, error)
BaseToken is a free data retrieval call binding the contract method 0xc55dae63.
Solidity: function baseToken() view returns(address)
func (*CrocLPERC20Session) Factory ¶ added in v0.1.6
func (_CrocLPERC20 *CrocLPERC20Session) Factory() (common.Address, error)
Factory is a free data retrieval call binding the contract method 0xc45a0155.
Solidity: function factory() view returns(address)
func (*CrocLPERC20Session) PoolHash ¶ added in v0.1.6
func (_CrocLPERC20 *CrocLPERC20Session) PoolHash() ([32]byte, error)
PoolHash is a free data retrieval call binding the contract method 0x9b503daf.
Solidity: function poolHash() view returns(bytes32)
func (*CrocLPERC20Session) PoolType ¶ added in v0.1.6
func (_CrocLPERC20 *CrocLPERC20Session) PoolType() (*big.Int, error)
PoolType is a free data retrieval call binding the contract method 0xb1dd61b6.
Solidity: function poolType() view returns(uint256)
func (*CrocLPERC20Session) QuoteToken ¶ added in v0.1.6
func (_CrocLPERC20 *CrocLPERC20Session) QuoteToken() (common.Address, error)
QuoteToken is a free data retrieval call binding the contract method 0x217a4b70.
Solidity: function quoteToken() view returns(address)
type CrocLPERC20Transactor ¶ added in v0.1.6
type CrocLPERC20Transactor struct {
// contains filtered or unexported fields
}
CrocLPERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCrocLPERC20Transactor ¶ added in v0.1.6
func NewCrocLPERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*CrocLPERC20Transactor, error)
NewCrocLPERC20Transactor creates a new write-only instance of CrocLPERC20, bound to a specific deployed contract.
type CrocLPERC20TransactorRaw ¶ added in v0.1.6
type CrocLPERC20TransactorRaw struct {
Contract *CrocLPERC20Transactor // Generic write-only contract binding to access the raw methods on
}
CrocLPERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CrocLPERC20TransactorRaw) Transact ¶ added in v0.1.6
func (_CrocLPERC20 *CrocLPERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CrocLPERC20TransactorRaw) Transfer ¶ added in v0.1.6
func (_CrocLPERC20 *CrocLPERC20TransactorRaw) 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 CrocLPERC20TransactorSession ¶ added in v0.1.6
type CrocLPERC20TransactorSession struct { Contract *CrocLPERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CrocLPERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type CrocQuery ¶ added in v0.1.6
type CrocQuery struct { CrocQueryCaller // Read-only binding to the contract CrocQueryTransactor // Write-only binding to the contract CrocQueryFilterer // Log filterer for contract events }
CrocQuery is an auto generated Go binding around an Ethereum contract.
func NewCrocQuery ¶ added in v0.1.6
NewCrocQuery creates a new instance of CrocQuery, bound to a specific deployed contract.
type CrocQueryCaller ¶ added in v0.1.6
type CrocQueryCaller struct {
// contains filtered or unexported fields
}
CrocQueryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewCrocQueryCaller ¶ added in v0.1.6
func NewCrocQueryCaller(address common.Address, caller bind.ContractCaller) (*CrocQueryCaller, error)
NewCrocQueryCaller creates a new read-only instance of CrocQuery, bound to a specific deployed contract.
func (*CrocQueryCaller) Dex ¶ added in v0.1.6
Dex is a free data retrieval call binding the contract method 0x87834a0e.
Solidity: function dex_() view returns(address)
func (*CrocQueryCaller) QueryAmbientPosition ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryAmbientPosition(opts *bind.CallOpts, owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int) (struct { Seeds *big.Int Timestamp uint32 }, error)
QueryAmbientPosition is a free data retrieval call binding the contract method 0x7f44601a.
Solidity: function queryAmbientPosition(address owner, address base, address quote, uint256 poolIdx) view returns(uint128 seeds, uint32 timestamp)
func (*CrocQueryCaller) QueryAmbientTokens ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryAmbientTokens(opts *bind.CallOpts, owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int) (struct { Liq *big.Int BaseQty *big.Int QuoteQty *big.Int }, error)
QueryAmbientTokens is a free data retrieval call binding the contract method 0xebca95de.
Solidity: function queryAmbientTokens(address owner, address base, address quote, uint256 poolIdx) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty)
func (*CrocQueryCaller) QueryConcRewards ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryConcRewards(opts *bind.CallOpts, owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct { LiqRewards *big.Int BaseRewards *big.Int QuoteRewards *big.Int }, error)
QueryConcRewards is a free data retrieval call binding the contract method 0x3dccd7d7.
Solidity: function queryConcRewards(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liqRewards, uint128 baseRewards, uint128 quoteRewards)
func (*CrocQueryCaller) QueryCurve ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryCurve(opts *bind.CallOpts, base common.Address, quote common.Address, poolIdx *big.Int) (CurveMathCurveState, error)
QueryCurve is a free data retrieval call binding the contract method 0x8e56c1c1.
Solidity: function queryCurve(address base, address quote, uint256 poolIdx) view returns((uint128,uint128,uint128,uint64,uint64) curve)
func (*CrocQueryCaller) QueryCurveTick ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryCurveTick(opts *bind.CallOpts, base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)
QueryCurveTick is a free data retrieval call binding the contract method 0xdc91a6ad.
Solidity: function queryCurveTick(address base, address quote, uint256 poolIdx) view returns(int24)
func (*CrocQueryCaller) QueryKnockoutMerkle ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryKnockoutMerkle(opts *bind.CallOpts, base common.Address, quote common.Address, poolIdx *big.Int, isBid bool, tick *big.Int) (struct { Root *big.Int Pivot uint32 Fee uint64 }, error)
QueryKnockoutMerkle is a free data retrieval call binding the contract method 0xab0a9898.
Solidity: function queryKnockoutMerkle(address base, address quote, uint256 poolIdx, bool isBid, int24 tick) view returns(uint160 root, uint32 pivot, uint64 fee)
func (*CrocQueryCaller) QueryKnockoutPivot ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryKnockoutPivot(opts *bind.CallOpts, base common.Address, quote common.Address, poolIdx *big.Int, isBid bool, tick *big.Int) (struct { Lots *big.Int Pivot uint32 Range uint16 }, error)
QueryKnockoutPivot is a free data retrieval call binding the contract method 0x10fc74f4.
Solidity: function queryKnockoutPivot(address base, address quote, uint256 poolIdx, bool isBid, int24 tick) view returns(uint96 lots, uint32 pivot, uint16 range)
func (*CrocQueryCaller) QueryKnockoutPos ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryKnockoutPos(opts *bind.CallOpts, owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, pivot uint32, isBid bool, lowerTick *big.Int, upperTick *big.Int) (struct { Lots *big.Int Mileage uint64 Timestamp uint32 }, error)
QueryKnockoutPos is a free data retrieval call binding the contract method 0x391d582f.
Solidity: function queryKnockoutPos(address owner, address base, address quote, uint256 poolIdx, uint32 pivot, bool isBid, int24 lowerTick, int24 upperTick) view returns(uint96 lots, uint64 mileage, uint32 timestamp)
func (*CrocQueryCaller) QueryKnockoutTokens ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryKnockoutTokens(opts *bind.CallOpts, owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, pivot uint32, isBid bool, lowerTick *big.Int, upperTick *big.Int) (struct { Liq *big.Int BaseQty *big.Int QuoteQty *big.Int KnockedOut bool }, error)
QueryKnockoutTokens is a free data retrieval call binding the contract method 0x93c33a71.
Solidity: function queryKnockoutTokens(address owner, address base, address quote, uint256 poolIdx, uint32 pivot, bool isBid, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty, bool knockedOut)
func (*CrocQueryCaller) QueryLevel ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryLevel(opts *bind.CallOpts, base common.Address, quote common.Address, poolIdx *big.Int, tick *big.Int) (struct { BidLots *big.Int AskLots *big.Int Odometer uint64 }, error)
QueryLevel is a free data retrieval call binding the contract method 0x340bfa12.
Solidity: function queryLevel(address base, address quote, uint256 poolIdx, int24 tick) view returns(uint96 bidLots, uint96 askLots, uint64 odometer)
func (*CrocQueryCaller) QueryLiquidity ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryLiquidity(opts *bind.CallOpts, base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)
QueryLiquidity is a free data retrieval call binding the contract method 0x338adc67.
Solidity: function queryLiquidity(address base, address quote, uint256 poolIdx) view returns(uint128)
func (*CrocQueryCaller) QueryPoolParams ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryPoolParams(opts *bind.CallOpts, base common.Address, quote common.Address, poolIdx *big.Int) (PoolSpecsPool, error)
QueryPoolParams is a free data retrieval call binding the contract method 0xff163e14.
Solidity: function queryPoolParams(address base, address quote, uint256 poolIdx) view returns((uint8,uint16,uint8,uint16,uint8,uint8,uint8) pool)
func (*CrocQueryCaller) QueryPoolTemplate ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryPoolTemplate(opts *bind.CallOpts, poolIdx *big.Int) (PoolSpecsPool, error)
QueryPoolTemplate is a free data retrieval call binding the contract method 0x2855bcf3.
Solidity: function queryPoolTemplate(uint256 poolIdx) view returns((uint8,uint16,uint8,uint16,uint8,uint8,uint8) pool)
func (*CrocQueryCaller) QueryPrice ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryPrice(opts *bind.CallOpts, base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)
QueryPrice is a free data retrieval call binding the contract method 0xf8c7efa7.
Solidity: function queryPrice(address base, address quote, uint256 poolIdx) view returns(uint128)
func (*CrocQueryCaller) QueryProtocolAccum ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryProtocolAccum(opts *bind.CallOpts, token common.Address) (*big.Int, error)
QueryProtocolAccum is a free data retrieval call binding the contract method 0xed8f58f4.
Solidity: function queryProtocolAccum(address token) view returns(uint128)
func (*CrocQueryCaller) QueryRangePosition ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryRangePosition(opts *bind.CallOpts, owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct { Liq *big.Int Fee uint64 Timestamp uint32 Atomic bool }, error)
QueryRangePosition is a free data retrieval call binding the contract method 0x992236c5.
Solidity: function queryRangePosition(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint64 fee, uint32 timestamp, bool atomic)
func (*CrocQueryCaller) QueryRangeTokens ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryRangeTokens(opts *bind.CallOpts, owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct { Liq *big.Int BaseQty *big.Int QuoteQty *big.Int }, error)
QueryRangeTokens is a free data retrieval call binding the contract method 0xd7fd8d0f.
Solidity: function queryRangeTokens(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty)
func (*CrocQueryCaller) QuerySurplus ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QuerySurplus(opts *bind.CallOpts, owner common.Address, token common.Address) (*big.Int, error)
QuerySurplus is a free data retrieval call binding the contract method 0x56bf0f5b.
Solidity: function querySurplus(address owner, address token) view returns(uint128 surplus)
func (*CrocQueryCaller) QueryVirtual ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCaller) QueryVirtual(opts *bind.CallOpts, owner common.Address, tracker common.Address, salt *big.Int) (*big.Int, error)
QueryVirtual is a free data retrieval call binding the contract method 0x6756e9b8.
Solidity: function queryVirtual(address owner, address tracker, uint256 salt) view returns(uint128 surplus)
type CrocQueryCallerRaw ¶ added in v0.1.6
type CrocQueryCallerRaw struct {
Contract *CrocQueryCaller // Generic read-only contract binding to access the raw methods on
}
CrocQueryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*CrocQueryCallerRaw) Call ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerRaw) 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 CrocQueryCallerSession ¶ added in v0.1.6
type CrocQueryCallerSession struct { Contract *CrocQueryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CrocQueryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*CrocQueryCallerSession) Dex ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) Dex() (common.Address, error)
Dex is a free data retrieval call binding the contract method 0x87834a0e.
Solidity: function dex_() view returns(address)
func (*CrocQueryCallerSession) QueryAmbientPosition ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryAmbientPosition(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int) (struct { Seeds *big.Int Timestamp uint32 }, error)
QueryAmbientPosition is a free data retrieval call binding the contract method 0x7f44601a.
Solidity: function queryAmbientPosition(address owner, address base, address quote, uint256 poolIdx) view returns(uint128 seeds, uint32 timestamp)
func (*CrocQueryCallerSession) QueryAmbientTokens ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryAmbientTokens(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int) (struct { Liq *big.Int BaseQty *big.Int QuoteQty *big.Int }, error)
QueryAmbientTokens is a free data retrieval call binding the contract method 0xebca95de.
Solidity: function queryAmbientTokens(address owner, address base, address quote, uint256 poolIdx) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty)
func (*CrocQueryCallerSession) QueryConcRewards ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryConcRewards(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct { LiqRewards *big.Int BaseRewards *big.Int QuoteRewards *big.Int }, error)
QueryConcRewards is a free data retrieval call binding the contract method 0x3dccd7d7.
Solidity: function queryConcRewards(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liqRewards, uint128 baseRewards, uint128 quoteRewards)
func (*CrocQueryCallerSession) QueryCurve ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryCurve(base common.Address, quote common.Address, poolIdx *big.Int) (CurveMathCurveState, error)
QueryCurve is a free data retrieval call binding the contract method 0x8e56c1c1.
Solidity: function queryCurve(address base, address quote, uint256 poolIdx) view returns((uint128,uint128,uint128,uint64,uint64) curve)
func (*CrocQueryCallerSession) QueryCurveTick ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryCurveTick(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)
QueryCurveTick is a free data retrieval call binding the contract method 0xdc91a6ad.
Solidity: function queryCurveTick(address base, address quote, uint256 poolIdx) view returns(int24)
func (*CrocQueryCallerSession) QueryKnockoutMerkle ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryKnockoutMerkle(base common.Address, quote common.Address, poolIdx *big.Int, isBid bool, tick *big.Int) (struct { Root *big.Int Pivot uint32 Fee uint64 }, error)
QueryKnockoutMerkle is a free data retrieval call binding the contract method 0xab0a9898.
Solidity: function queryKnockoutMerkle(address base, address quote, uint256 poolIdx, bool isBid, int24 tick) view returns(uint160 root, uint32 pivot, uint64 fee)
func (*CrocQueryCallerSession) QueryKnockoutPivot ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryKnockoutPivot(base common.Address, quote common.Address, poolIdx *big.Int, isBid bool, tick *big.Int) (struct { Lots *big.Int Pivot uint32 Range uint16 }, error)
QueryKnockoutPivot is a free data retrieval call binding the contract method 0x10fc74f4.
Solidity: function queryKnockoutPivot(address base, address quote, uint256 poolIdx, bool isBid, int24 tick) view returns(uint96 lots, uint32 pivot, uint16 range)
func (*CrocQueryCallerSession) QueryKnockoutPos ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryKnockoutPos(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, pivot uint32, isBid bool, lowerTick *big.Int, upperTick *big.Int) (struct { Lots *big.Int Mileage uint64 Timestamp uint32 }, error)
QueryKnockoutPos is a free data retrieval call binding the contract method 0x391d582f.
Solidity: function queryKnockoutPos(address owner, address base, address quote, uint256 poolIdx, uint32 pivot, bool isBid, int24 lowerTick, int24 upperTick) view returns(uint96 lots, uint64 mileage, uint32 timestamp)
func (*CrocQueryCallerSession) QueryKnockoutTokens ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryKnockoutTokens(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, pivot uint32, isBid bool, lowerTick *big.Int, upperTick *big.Int) (struct { Liq *big.Int BaseQty *big.Int QuoteQty *big.Int KnockedOut bool }, error)
QueryKnockoutTokens is a free data retrieval call binding the contract method 0x93c33a71.
Solidity: function queryKnockoutTokens(address owner, address base, address quote, uint256 poolIdx, uint32 pivot, bool isBid, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty, bool knockedOut)
func (*CrocQueryCallerSession) QueryLevel ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryLevel(base common.Address, quote common.Address, poolIdx *big.Int, tick *big.Int) (struct { BidLots *big.Int AskLots *big.Int Odometer uint64 }, error)
QueryLevel is a free data retrieval call binding the contract method 0x340bfa12.
Solidity: function queryLevel(address base, address quote, uint256 poolIdx, int24 tick) view returns(uint96 bidLots, uint96 askLots, uint64 odometer)
func (*CrocQueryCallerSession) QueryLiquidity ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryLiquidity(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)
QueryLiquidity is a free data retrieval call binding the contract method 0x338adc67.
Solidity: function queryLiquidity(address base, address quote, uint256 poolIdx) view returns(uint128)
func (*CrocQueryCallerSession) QueryPoolParams ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryPoolParams(base common.Address, quote common.Address, poolIdx *big.Int) (PoolSpecsPool, error)
QueryPoolParams is a free data retrieval call binding the contract method 0xff163e14.
Solidity: function queryPoolParams(address base, address quote, uint256 poolIdx) view returns((uint8,uint16,uint8,uint16,uint8,uint8,uint8) pool)
func (*CrocQueryCallerSession) QueryPoolTemplate ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryPoolTemplate(poolIdx *big.Int) (PoolSpecsPool, error)
QueryPoolTemplate is a free data retrieval call binding the contract method 0x2855bcf3.
Solidity: function queryPoolTemplate(uint256 poolIdx) view returns((uint8,uint16,uint8,uint16,uint8,uint8,uint8) pool)
func (*CrocQueryCallerSession) QueryPrice ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryPrice(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)
QueryPrice is a free data retrieval call binding the contract method 0xf8c7efa7.
Solidity: function queryPrice(address base, address quote, uint256 poolIdx) view returns(uint128)
func (*CrocQueryCallerSession) QueryProtocolAccum ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryProtocolAccum(token common.Address) (*big.Int, error)
QueryProtocolAccum is a free data retrieval call binding the contract method 0xed8f58f4.
Solidity: function queryProtocolAccum(address token) view returns(uint128)
func (*CrocQueryCallerSession) QueryRangePosition ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryRangePosition(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct { Liq *big.Int Fee uint64 Timestamp uint32 Atomic bool }, error)
QueryRangePosition is a free data retrieval call binding the contract method 0x992236c5.
Solidity: function queryRangePosition(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint64 fee, uint32 timestamp, bool atomic)
func (*CrocQueryCallerSession) QueryRangeTokens ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryRangeTokens(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct { Liq *big.Int BaseQty *big.Int QuoteQty *big.Int }, error)
QueryRangeTokens is a free data retrieval call binding the contract method 0xd7fd8d0f.
Solidity: function queryRangeTokens(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty)
func (*CrocQueryCallerSession) QuerySurplus ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QuerySurplus(owner common.Address, token common.Address) (*big.Int, error)
QuerySurplus is a free data retrieval call binding the contract method 0x56bf0f5b.
Solidity: function querySurplus(address owner, address token) view returns(uint128 surplus)
func (*CrocQueryCallerSession) QueryVirtual ¶ added in v0.1.6
func (_CrocQuery *CrocQueryCallerSession) QueryVirtual(owner common.Address, tracker common.Address, salt *big.Int) (*big.Int, error)
QueryVirtual is a free data retrieval call binding the contract method 0x6756e9b8.
Solidity: function queryVirtual(address owner, address tracker, uint256 salt) view returns(uint128 surplus)
type CrocQueryFilterer ¶ added in v0.1.6
type CrocQueryFilterer struct {
// contains filtered or unexported fields
}
CrocQueryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewCrocQueryFilterer ¶ added in v0.1.6
func NewCrocQueryFilterer(address common.Address, filterer bind.ContractFilterer) (*CrocQueryFilterer, error)
NewCrocQueryFilterer creates a new log filterer instance of CrocQuery, bound to a specific deployed contract.
type CrocQueryRaw ¶ added in v0.1.6
type CrocQueryRaw struct {
Contract *CrocQuery // Generic contract binding to access the raw methods on
}
CrocQueryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*CrocQueryRaw) Call ¶ added in v0.1.6
func (_CrocQuery *CrocQueryRaw) 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 (*CrocQueryRaw) Transact ¶ added in v0.1.6
func (_CrocQuery *CrocQueryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CrocQueryRaw) Transfer ¶ added in v0.1.6
func (_CrocQuery *CrocQueryRaw) 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 CrocQuerySession ¶ added in v0.1.6
type CrocQuerySession struct { Contract *CrocQuery // 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 }
CrocQuerySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*CrocQuerySession) Dex ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) Dex() (common.Address, error)
Dex is a free data retrieval call binding the contract method 0x87834a0e.
Solidity: function dex_() view returns(address)
func (*CrocQuerySession) QueryAmbientPosition ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QueryAmbientPosition(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int) (struct { Seeds *big.Int Timestamp uint32 }, error)
QueryAmbientPosition is a free data retrieval call binding the contract method 0x7f44601a.
Solidity: function queryAmbientPosition(address owner, address base, address quote, uint256 poolIdx) view returns(uint128 seeds, uint32 timestamp)
func (*CrocQuerySession) QueryAmbientTokens ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QueryAmbientTokens(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int) (struct { Liq *big.Int BaseQty *big.Int QuoteQty *big.Int }, error)
QueryAmbientTokens is a free data retrieval call binding the contract method 0xebca95de.
Solidity: function queryAmbientTokens(address owner, address base, address quote, uint256 poolIdx) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty)
func (*CrocQuerySession) QueryConcRewards ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QueryConcRewards(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct { LiqRewards *big.Int BaseRewards *big.Int QuoteRewards *big.Int }, error)
QueryConcRewards is a free data retrieval call binding the contract method 0x3dccd7d7.
Solidity: function queryConcRewards(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liqRewards, uint128 baseRewards, uint128 quoteRewards)
func (*CrocQuerySession) QueryCurve ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QueryCurve(base common.Address, quote common.Address, poolIdx *big.Int) (CurveMathCurveState, error)
QueryCurve is a free data retrieval call binding the contract method 0x8e56c1c1.
Solidity: function queryCurve(address base, address quote, uint256 poolIdx) view returns((uint128,uint128,uint128,uint64,uint64) curve)
func (*CrocQuerySession) QueryCurveTick ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QueryCurveTick(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)
QueryCurveTick is a free data retrieval call binding the contract method 0xdc91a6ad.
Solidity: function queryCurveTick(address base, address quote, uint256 poolIdx) view returns(int24)
func (*CrocQuerySession) QueryKnockoutMerkle ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QueryKnockoutMerkle(base common.Address, quote common.Address, poolIdx *big.Int, isBid bool, tick *big.Int) (struct { Root *big.Int Pivot uint32 Fee uint64 }, error)
QueryKnockoutMerkle is a free data retrieval call binding the contract method 0xab0a9898.
Solidity: function queryKnockoutMerkle(address base, address quote, uint256 poolIdx, bool isBid, int24 tick) view returns(uint160 root, uint32 pivot, uint64 fee)
func (*CrocQuerySession) QueryKnockoutPivot ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QueryKnockoutPivot(base common.Address, quote common.Address, poolIdx *big.Int, isBid bool, tick *big.Int) (struct { Lots *big.Int Pivot uint32 Range uint16 }, error)
QueryKnockoutPivot is a free data retrieval call binding the contract method 0x10fc74f4.
Solidity: function queryKnockoutPivot(address base, address quote, uint256 poolIdx, bool isBid, int24 tick) view returns(uint96 lots, uint32 pivot, uint16 range)
func (*CrocQuerySession) QueryKnockoutPos ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QueryKnockoutPos(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, pivot uint32, isBid bool, lowerTick *big.Int, upperTick *big.Int) (struct { Lots *big.Int Mileage uint64 Timestamp uint32 }, error)
QueryKnockoutPos is a free data retrieval call binding the contract method 0x391d582f.
Solidity: function queryKnockoutPos(address owner, address base, address quote, uint256 poolIdx, uint32 pivot, bool isBid, int24 lowerTick, int24 upperTick) view returns(uint96 lots, uint64 mileage, uint32 timestamp)
func (*CrocQuerySession) QueryKnockoutTokens ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QueryKnockoutTokens(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, pivot uint32, isBid bool, lowerTick *big.Int, upperTick *big.Int) (struct { Liq *big.Int BaseQty *big.Int QuoteQty *big.Int KnockedOut bool }, error)
QueryKnockoutTokens is a free data retrieval call binding the contract method 0x93c33a71.
Solidity: function queryKnockoutTokens(address owner, address base, address quote, uint256 poolIdx, uint32 pivot, bool isBid, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty, bool knockedOut)
func (*CrocQuerySession) QueryLevel ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QueryLevel(base common.Address, quote common.Address, poolIdx *big.Int, tick *big.Int) (struct { BidLots *big.Int AskLots *big.Int Odometer uint64 }, error)
QueryLevel is a free data retrieval call binding the contract method 0x340bfa12.
Solidity: function queryLevel(address base, address quote, uint256 poolIdx, int24 tick) view returns(uint96 bidLots, uint96 askLots, uint64 odometer)
func (*CrocQuerySession) QueryLiquidity ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QueryLiquidity(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)
QueryLiquidity is a free data retrieval call binding the contract method 0x338adc67.
Solidity: function queryLiquidity(address base, address quote, uint256 poolIdx) view returns(uint128)
func (*CrocQuerySession) QueryPoolParams ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QueryPoolParams(base common.Address, quote common.Address, poolIdx *big.Int) (PoolSpecsPool, error)
QueryPoolParams is a free data retrieval call binding the contract method 0xff163e14.
Solidity: function queryPoolParams(address base, address quote, uint256 poolIdx) view returns((uint8,uint16,uint8,uint16,uint8,uint8,uint8) pool)
func (*CrocQuerySession) QueryPoolTemplate ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QueryPoolTemplate(poolIdx *big.Int) (PoolSpecsPool, error)
QueryPoolTemplate is a free data retrieval call binding the contract method 0x2855bcf3.
Solidity: function queryPoolTemplate(uint256 poolIdx) view returns((uint8,uint16,uint8,uint16,uint8,uint8,uint8) pool)
func (*CrocQuerySession) QueryPrice ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QueryPrice(base common.Address, quote common.Address, poolIdx *big.Int) (*big.Int, error)
QueryPrice is a free data retrieval call binding the contract method 0xf8c7efa7.
Solidity: function queryPrice(address base, address quote, uint256 poolIdx) view returns(uint128)
func (*CrocQuerySession) QueryProtocolAccum ¶ added in v0.1.6
QueryProtocolAccum is a free data retrieval call binding the contract method 0xed8f58f4.
Solidity: function queryProtocolAccum(address token) view returns(uint128)
func (*CrocQuerySession) QueryRangePosition ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QueryRangePosition(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct { Liq *big.Int Fee uint64 Timestamp uint32 Atomic bool }, error)
QueryRangePosition is a free data retrieval call binding the contract method 0x992236c5.
Solidity: function queryRangePosition(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint64 fee, uint32 timestamp, bool atomic)
func (*CrocQuerySession) QueryRangeTokens ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QueryRangeTokens(owner common.Address, base common.Address, quote common.Address, poolIdx *big.Int, lowerTick *big.Int, upperTick *big.Int) (struct { Liq *big.Int BaseQty *big.Int QuoteQty *big.Int }, error)
QueryRangeTokens is a free data retrieval call binding the contract method 0xd7fd8d0f.
Solidity: function queryRangeTokens(address owner, address base, address quote, uint256 poolIdx, int24 lowerTick, int24 upperTick) view returns(uint128 liq, uint128 baseQty, uint128 quoteQty)
func (*CrocQuerySession) QuerySurplus ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QuerySurplus(owner common.Address, token common.Address) (*big.Int, error)
QuerySurplus is a free data retrieval call binding the contract method 0x56bf0f5b.
Solidity: function querySurplus(address owner, address token) view returns(uint128 surplus)
func (*CrocQuerySession) QueryVirtual ¶ added in v0.1.6
func (_CrocQuery *CrocQuerySession) QueryVirtual(owner common.Address, tracker common.Address, salt *big.Int) (*big.Int, error)
QueryVirtual is a free data retrieval call binding the contract method 0x6756e9b8.
Solidity: function queryVirtual(address owner, address tracker, uint256 salt) view returns(uint128 surplus)
type CrocQueryTransactor ¶ added in v0.1.6
type CrocQueryTransactor struct {
// contains filtered or unexported fields
}
CrocQueryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewCrocQueryTransactor ¶ added in v0.1.6
func NewCrocQueryTransactor(address common.Address, transactor bind.ContractTransactor) (*CrocQueryTransactor, error)
NewCrocQueryTransactor creates a new write-only instance of CrocQuery, bound to a specific deployed contract.
type CrocQueryTransactorRaw ¶ added in v0.1.6
type CrocQueryTransactorRaw struct {
Contract *CrocQueryTransactor // Generic write-only contract binding to access the raw methods on
}
CrocQueryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*CrocQueryTransactorRaw) Transact ¶ added in v0.1.6
func (_CrocQuery *CrocQueryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*CrocQueryTransactorRaw) Transfer ¶ added in v0.1.6
func (_CrocQuery *CrocQueryTransactorRaw) 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 CrocQueryTransactorSession ¶ added in v0.1.6
type CrocQueryTransactorSession struct { Contract *CrocQueryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CrocQueryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
type CurveMathCurveState ¶ added in v0.1.6
type CurveMathCurveState struct { PriceRoot *big.Int AmbientSeeds *big.Int ConcLiq *big.Int SeedDeflator uint64 ConcGrowth uint64 }
CurveMathCurveState is an auto generated low-level Go binding around an user-defined struct.
type ERC20 ¶ added in v0.1.6
type ERC20 struct { ERC20Caller // Read-only binding to the contract ERC20Transactor // Write-only binding to the contract ERC20Filterer // Log filterer for contract events }
ERC20 is an auto generated Go binding around an Ethereum contract.
type ERC20Approval ¶ added in v0.1.6
type ERC20Approval struct { Owner common.Address Spender common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Approval represents a Approval event raised by the ERC20 contract.
type ERC20ApprovalIterator ¶ added in v0.1.6
type ERC20ApprovalIterator struct { Event *ERC20Approval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20ApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the ERC20 contract.
func (*ERC20ApprovalIterator) Close ¶ added in v0.1.6
func (it *ERC20ApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20ApprovalIterator) Error ¶ added in v0.1.6
func (it *ERC20ApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20ApprovalIterator) Next ¶ added in v0.1.6
func (it *ERC20ApprovalIterator) 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 ERC20Caller ¶ added in v0.1.6
type ERC20Caller struct {
// contains filtered or unexported fields
}
ERC20Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewERC20Caller ¶ added in v0.1.6
func NewERC20Caller(address common.Address, caller bind.ContractCaller) (*ERC20Caller, error)
NewERC20Caller creates a new read-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Caller) Allowance ¶ added in v0.1.6
func (_ERC20 *ERC20Caller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*ERC20Caller) BalanceOf ¶ added in v0.1.6
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*ERC20Caller) DOMAINSEPARATOR ¶ added in v0.1.6
func (_ERC20 *ERC20Caller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*ERC20Caller) Decimals ¶ added in v0.1.6
func (_ERC20 *ERC20Caller) 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 (*ERC20Caller) Name ¶ added in v0.1.6
func (_ERC20 *ERC20Caller) 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 (*ERC20Caller) Nonces ¶ added in v0.1.6
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*ERC20Caller) Symbol ¶ added in v0.1.6
func (_ERC20 *ERC20Caller) 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 (*ERC20Caller) TotalSupply ¶ added in v0.1.6
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20CallerRaw ¶ added in v0.1.6
type ERC20CallerRaw struct {
Contract *ERC20Caller // Generic read-only contract binding to access the raw methods on
}
ERC20CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ERC20CallerRaw) Call ¶ added in v0.1.6
func (_ERC20 *ERC20CallerRaw) 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 ERC20CallerSession ¶ added in v0.1.6
type ERC20CallerSession struct { Contract *ERC20Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ERC20CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ERC20CallerSession) Allowance ¶ added in v0.1.6
func (_ERC20 *ERC20CallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*ERC20CallerSession) BalanceOf ¶ added in v0.1.6
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*ERC20CallerSession) DOMAINSEPARATOR ¶ added in v0.1.6
func (_ERC20 *ERC20CallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*ERC20CallerSession) Decimals ¶ added in v0.1.6
func (_ERC20 *ERC20CallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20CallerSession) Name ¶ added in v0.1.6
func (_ERC20 *ERC20CallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20CallerSession) Nonces ¶ added in v0.1.6
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*ERC20CallerSession) Symbol ¶ added in v0.1.6
func (_ERC20 *ERC20CallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20CallerSession) TotalSupply ¶ added in v0.1.6
func (_ERC20 *ERC20CallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
type ERC20Filterer ¶ added in v0.1.6
type ERC20Filterer struct {
// contains filtered or unexported fields
}
ERC20Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewERC20Filterer ¶ added in v0.1.6
func NewERC20Filterer(address common.Address, filterer bind.ContractFilterer) (*ERC20Filterer, error)
NewERC20Filterer creates a new log filterer instance of ERC20, bound to a specific deployed contract.
func (*ERC20Filterer) FilterApproval ¶ added in v0.1.6
func (_ERC20 *ERC20Filterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*ERC20ApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)
func (*ERC20Filterer) FilterTransfer ¶ added in v0.1.6
func (_ERC20 *ERC20Filterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*ERC20TransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)
func (*ERC20Filterer) ParseApproval ¶ added in v0.1.6
func (_ERC20 *ERC20Filterer) ParseApproval(log types.Log) (*ERC20Approval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 amount)
func (*ERC20Filterer) ParseTransfer ¶ added in v0.1.6
func (_ERC20 *ERC20Filterer) ParseTransfer(log types.Log) (*ERC20Transfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 amount)
func (*ERC20Filterer) WatchApproval ¶ added in v0.1.6
func (_ERC20 *ERC20Filterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *ERC20Approval, 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 amount)
func (*ERC20Filterer) WatchTransfer ¶ added in v0.1.6
func (_ERC20 *ERC20Filterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *ERC20Transfer, 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 amount)
type ERC20Raw ¶ added in v0.1.6
type ERC20Raw struct {
Contract *ERC20 // Generic contract binding to access the raw methods on
}
ERC20Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*ERC20Raw) Call ¶ added in v0.1.6
func (_ERC20 *ERC20Raw) 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 (*ERC20Raw) Transact ¶ added in v0.1.6
func (_ERC20 *ERC20Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20Raw) Transfer ¶ added in v0.1.6
func (_ERC20 *ERC20Raw) 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 ERC20Session ¶ added in v0.1.6
type ERC20Session struct { Contract *ERC20 // 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 }
ERC20Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ERC20Session) Allowance ¶ added in v0.1.6
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address , address ) view returns(uint256)
func (*ERC20Session) Approve ¶ added in v0.1.6
func (_ERC20 *ERC20Session) 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 (*ERC20Session) BalanceOf ¶ added in v0.1.6
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*ERC20Session) DOMAINSEPARATOR ¶ added in v0.1.6
func (_ERC20 *ERC20Session) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*ERC20Session) Decimals ¶ added in v0.1.6
func (_ERC20 *ERC20Session) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint8)
func (*ERC20Session) Name ¶ added in v0.1.6
func (_ERC20 *ERC20Session) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*ERC20Session) Nonces ¶ added in v0.1.6
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*ERC20Session) Permit ¶ added in v0.1.6
func (_ERC20 *ERC20Session) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*ERC20Session) Symbol ¶ added in v0.1.6
func (_ERC20 *ERC20Session) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*ERC20Session) TotalSupply ¶ added in v0.1.6
func (_ERC20 *ERC20Session) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*ERC20Session) Transfer ¶ added in v0.1.6
func (_ERC20 *ERC20Session) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*ERC20Session) TransferFrom ¶ added in v0.1.6
func (_ERC20 *ERC20Session) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
type ERC20Transactor ¶ added in v0.1.6
type ERC20Transactor struct {
// contains filtered or unexported fields
}
ERC20Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewERC20Transactor ¶ added in v0.1.6
func NewERC20Transactor(address common.Address, transactor bind.ContractTransactor) (*ERC20Transactor, error)
NewERC20Transactor creates a new write-only instance of ERC20, bound to a specific deployed contract.
func (*ERC20Transactor) Approve ¶ added in v0.1.6
func (_ERC20 *ERC20Transactor) 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 (*ERC20Transactor) Permit ¶ added in v0.1.6
func (_ERC20 *ERC20Transactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*ERC20Transactor) Transfer ¶ added in v0.1.6
func (_ERC20 *ERC20Transactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*ERC20Transactor) TransferFrom ¶ added in v0.1.6
func (_ERC20 *ERC20Transactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
type ERC20TransactorRaw ¶ added in v0.1.6
type ERC20TransactorRaw struct {
Contract *ERC20Transactor // Generic write-only contract binding to access the raw methods on
}
ERC20TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ERC20TransactorRaw) Transact ¶ added in v0.1.6
func (_ERC20 *ERC20TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ERC20TransactorRaw) Transfer ¶ added in v0.1.6
func (_ERC20 *ERC20TransactorRaw) 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 ERC20TransactorSession ¶ added in v0.1.6
type ERC20TransactorSession struct { Contract *ERC20Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ERC20TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ERC20TransactorSession) Approve ¶ added in v0.1.6
func (_ERC20 *ERC20TransactorSession) 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 (*ERC20TransactorSession) Permit ¶ added in v0.1.6
func (_ERC20 *ERC20TransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
Permit is a paid mutator transaction binding the contract method 0xd505accf.
Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()
func (*ERC20TransactorSession) Transfer ¶ added in v0.1.6
func (_ERC20 *ERC20TransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 amount) returns(bool)
func (*ERC20TransactorSession) TransferFrom ¶ added in v0.1.6
func (_ERC20 *ERC20TransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)
type ERC20Transfer ¶ added in v0.1.6
type ERC20Transfer struct { From common.Address To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ERC20Transfer represents a Transfer event raised by the ERC20 contract.
type ERC20TransferIterator ¶ added in v0.1.6
type ERC20TransferIterator struct { Event *ERC20Transfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ERC20TransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the ERC20 contract.
func (*ERC20TransferIterator) Close ¶ added in v0.1.6
func (it *ERC20TransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ERC20TransferIterator) Error ¶ added in v0.1.6
func (it *ERC20TransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ERC20TransferIterator) Next ¶ added in v0.1.6
func (it *ERC20TransferIterator) 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 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.