Documentation ¶
Index ¶
- Variables
- type PoolChainPath
- type PoolCreditObj
- type PoolSwapObj
- type StargateLpStaking
- type StargateLpStakingCaller
- func (_StargateLpStaking *StargateLpStakingCaller) BONUSMULTIPLIER(opts *bind.CallOpts) (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCaller) BonusEndBlock(opts *bind.CallOpts) (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCaller) GetMultiplier(opts *bind.CallOpts, _from *big.Int, _to *big.Int) (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCaller) LpBalances(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_StargateLpStaking *StargateLpStakingCaller) PendingStargate(opts *bind.CallOpts, _pid *big.Int, _user common.Address) (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCaller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_StargateLpStaking *StargateLpStakingCaller) PoolLength(opts *bind.CallOpts) (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCaller) Stargate(opts *bind.CallOpts) (common.Address, error)
- func (_StargateLpStaking *StargateLpStakingCaller) StargatePerBlock(opts *bind.CallOpts) (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCaller) StartBlock(opts *bind.CallOpts) (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCaller) TotalAllocPoint(opts *bind.CallOpts) (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCaller) UserInfo(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (struct{ ... }, error)
- type StargateLpStakingCallerRaw
- type StargateLpStakingCallerSession
- func (_StargateLpStaking *StargateLpStakingCallerSession) BONUSMULTIPLIER() (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCallerSession) BonusEndBlock() (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCallerSession) GetMultiplier(_from *big.Int, _to *big.Int) (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCallerSession) LpBalances(arg0 *big.Int) (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCallerSession) Owner() (common.Address, error)
- func (_StargateLpStaking *StargateLpStakingCallerSession) PendingStargate(_pid *big.Int, _user common.Address) (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCallerSession) PoolInfo(arg0 *big.Int) (struct{ ... }, error)
- func (_StargateLpStaking *StargateLpStakingCallerSession) PoolLength() (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCallerSession) Stargate() (common.Address, error)
- func (_StargateLpStaking *StargateLpStakingCallerSession) StargatePerBlock() (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCallerSession) StartBlock() (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCallerSession) TotalAllocPoint() (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingCallerSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct{ ... }, error)
- type StargateLpStakingDeposit
- type StargateLpStakingDepositIterator
- type StargateLpStakingEmergencyWithdraw
- type StargateLpStakingEmergencyWithdrawIterator
- type StargateLpStakingFilterer
- func (_StargateLpStaking *StargateLpStakingFilterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*StargateLpStakingDepositIterator, error)
- func (_StargateLpStaking *StargateLpStakingFilterer) FilterEmergencyWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*StargateLpStakingEmergencyWithdrawIterator, error)
- func (_StargateLpStaking *StargateLpStakingFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*StargateLpStakingOwnershipTransferredIterator, error)
- func (_StargateLpStaking *StargateLpStakingFilterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*StargateLpStakingWithdrawIterator, error)
- func (_StargateLpStaking *StargateLpStakingFilterer) ParseDeposit(log types.Log) (*StargateLpStakingDeposit, error)
- func (_StargateLpStaking *StargateLpStakingFilterer) ParseEmergencyWithdraw(log types.Log) (*StargateLpStakingEmergencyWithdraw, error)
- func (_StargateLpStaking *StargateLpStakingFilterer) ParseOwnershipTransferred(log types.Log) (*StargateLpStakingOwnershipTransferred, error)
- func (_StargateLpStaking *StargateLpStakingFilterer) ParseWithdraw(log types.Log) (*StargateLpStakingWithdraw, error)
- func (_StargateLpStaking *StargateLpStakingFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *StargateLpStakingDeposit, ...) (event.Subscription, error)
- func (_StargateLpStaking *StargateLpStakingFilterer) WatchEmergencyWithdraw(opts *bind.WatchOpts, sink chan<- *StargateLpStakingEmergencyWithdraw, ...) (event.Subscription, error)
- func (_StargateLpStaking *StargateLpStakingFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *StargateLpStakingOwnershipTransferred, ...) (event.Subscription, error)
- func (_StargateLpStaking *StargateLpStakingFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *StargateLpStakingWithdraw, ...) (event.Subscription, error)
- type StargateLpStakingOwnershipTransferred
- type StargateLpStakingOwnershipTransferredIterator
- type StargateLpStakingRaw
- func (_StargateLpStaking *StargateLpStakingRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_StargateLpStaking *StargateLpStakingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StargateLpStakingSession
- func (_StargateLpStaking *StargateLpStakingSession) Add(_allocPoint *big.Int, _lpToken common.Address) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingSession) BONUSMULTIPLIER() (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingSession) BonusEndBlock() (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingSession) Deposit(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingSession) EmergencyWithdraw(_pid *big.Int) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingSession) GetMultiplier(_from *big.Int, _to *big.Int) (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingSession) LpBalances(arg0 *big.Int) (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingSession) MassUpdatePools() (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingSession) Owner() (common.Address, error)
- func (_StargateLpStaking *StargateLpStakingSession) PendingStargate(_pid *big.Int, _user common.Address) (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingSession) PoolInfo(arg0 *big.Int) (struct{ ... }, error)
- func (_StargateLpStaking *StargateLpStakingSession) PoolLength() (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingSession) RenounceOwnership() (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingSession) Set(_pid *big.Int, _allocPoint *big.Int) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingSession) SetStargatePerBlock(_stargatePerBlock *big.Int) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingSession) Stargate() (common.Address, error)
- func (_StargateLpStaking *StargateLpStakingSession) StargatePerBlock() (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingSession) StartBlock() (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingSession) TotalAllocPoint() (*big.Int, error)
- func (_StargateLpStaking *StargateLpStakingSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingSession) UpdatePool(_pid *big.Int) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct{ ... }, error)
- func (_StargateLpStaking *StargateLpStakingSession) Withdraw(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)
- type StargateLpStakingTransactor
- func (_StargateLpStaking *StargateLpStakingTransactor) Add(opts *bind.TransactOpts, _allocPoint *big.Int, _lpToken common.Address) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactor) Deposit(opts *bind.TransactOpts, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactor) EmergencyWithdraw(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactor) MassUpdatePools(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactor) Set(opts *bind.TransactOpts, _pid *big.Int, _allocPoint *big.Int) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactor) SetStargatePerBlock(opts *bind.TransactOpts, _stargatePerBlock *big.Int) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactor) UpdatePool(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactor) Withdraw(opts *bind.TransactOpts, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)
- type StargateLpStakingTransactorRaw
- type StargateLpStakingTransactorSession
- func (_StargateLpStaking *StargateLpStakingTransactorSession) Add(_allocPoint *big.Int, _lpToken common.Address) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactorSession) Deposit(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactorSession) EmergencyWithdraw(_pid *big.Int) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactorSession) MassUpdatePools() (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactorSession) Set(_pid *big.Int, _allocPoint *big.Int) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactorSession) SetStargatePerBlock(_stargatePerBlock *big.Int) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactorSession) UpdatePool(_pid *big.Int) (*types.Transaction, error)
- func (_StargateLpStaking *StargateLpStakingTransactorSession) Withdraw(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)
- type StargateLpStakingWithdraw
- type StargateLpStakingWithdrawIterator
- type StargatePool
- type StargatePoolApproval
- type StargatePoolApprovalIterator
- type StargatePoolBurn
- type StargatePoolBurnIterator
- type StargatePoolCaller
- func (_StargatePool *StargatePoolCaller) Allowance(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) AmountLPtoLD(opts *bind.CallOpts, _amountLP *big.Int) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) BPDENOMINATOR(opts *bind.CallOpts) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) Batched(opts *bind.CallOpts) (bool, error)
- func (_StargatePool *StargatePoolCaller) ChainPathIndexLookup(opts *bind.CallOpts, arg0 uint16, arg1 *big.Int) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) ChainPaths(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_StargatePool *StargatePoolCaller) ConvertRate(opts *bind.CallOpts) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)
- func (_StargatePool *StargatePoolCaller) Decimals(opts *bind.CallOpts) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) DefaultLPMode(opts *bind.CallOpts) (bool, error)
- func (_StargatePool *StargatePoolCaller) DefaultSwapMode(opts *bind.CallOpts) (bool, error)
- func (_StargatePool *StargatePoolCaller) DeltaCredit(opts *bind.CallOpts) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) EqFeePool(opts *bind.CallOpts) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) FeeLibrary(opts *bind.CallOpts) (common.Address, error)
- func (_StargatePool *StargatePoolCaller) GetChainPath(opts *bind.CallOpts, _dstChainId uint16, _dstPoolId *big.Int) (PoolChainPath, error)
- func (_StargatePool *StargatePoolCaller) GetChainPathsLength(opts *bind.CallOpts) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) LocalDecimals(opts *bind.CallOpts) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) LpDeltaBP(opts *bind.CallOpts) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) MintFeeBP(opts *bind.CallOpts) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) MintFeeBalance(opts *bind.CallOpts) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) Name(opts *bind.CallOpts) (string, error)
- func (_StargatePool *StargatePoolCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_StargatePool *StargatePoolCaller) PoolId(opts *bind.CallOpts) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) ProtocolFeeBalance(opts *bind.CallOpts) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) Router(opts *bind.CallOpts) (common.Address, error)
- func (_StargatePool *StargatePoolCaller) SharedDecimals(opts *bind.CallOpts) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) StopSwap(opts *bind.CallOpts) (bool, error)
- func (_StargatePool *StargatePoolCaller) SwapDeltaBP(opts *bind.CallOpts) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_StargatePool *StargatePoolCaller) Token(opts *bind.CallOpts) (common.Address, error)
- func (_StargatePool *StargatePoolCaller) TotalLiquidity(opts *bind.CallOpts) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_StargatePool *StargatePoolCaller) TotalWeight(opts *bind.CallOpts) (*big.Int, error)
- type StargatePoolCallerRaw
- type StargatePoolCallerSession
- func (_StargatePool *StargatePoolCallerSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) AmountLPtoLD(_amountLP *big.Int) (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) BPDENOMINATOR() (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) Batched() (bool, error)
- func (_StargatePool *StargatePoolCallerSession) ChainPathIndexLookup(arg0 uint16, arg1 *big.Int) (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) ChainPaths(arg0 *big.Int) (struct{ ... }, error)
- func (_StargatePool *StargatePoolCallerSession) ConvertRate() (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_StargatePool *StargatePoolCallerSession) Decimals() (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) DefaultLPMode() (bool, error)
- func (_StargatePool *StargatePoolCallerSession) DefaultSwapMode() (bool, error)
- func (_StargatePool *StargatePoolCallerSession) DeltaCredit() (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) EqFeePool() (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) FeeLibrary() (common.Address, error)
- func (_StargatePool *StargatePoolCallerSession) GetChainPath(_dstChainId uint16, _dstPoolId *big.Int) (PoolChainPath, error)
- func (_StargatePool *StargatePoolCallerSession) GetChainPathsLength() (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) LocalDecimals() (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) LpDeltaBP() (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) MintFeeBP() (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) MintFeeBalance() (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) Name() (string, error)
- func (_StargatePool *StargatePoolCallerSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) PERMITTYPEHASH() ([32]byte, error)
- func (_StargatePool *StargatePoolCallerSession) PoolId() (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) ProtocolFeeBalance() (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) Router() (common.Address, error)
- func (_StargatePool *StargatePoolCallerSession) SharedDecimals() (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) StopSwap() (bool, error)
- func (_StargatePool *StargatePoolCallerSession) SwapDeltaBP() (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) Symbol() (string, error)
- func (_StargatePool *StargatePoolCallerSession) Token() (common.Address, error)
- func (_StargatePool *StargatePoolCallerSession) TotalLiquidity() (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) TotalSupply() (*big.Int, error)
- func (_StargatePool *StargatePoolCallerSession) TotalWeight() (*big.Int, error)
- type StargatePoolChainPathUpdate
- type StargatePoolChainPathUpdateIterator
- type StargatePoolCreditChainPath
- type StargatePoolCreditChainPathIterator
- type StargatePoolDeltaParamUpdated
- type StargatePoolDeltaParamUpdatedIterator
- type StargatePoolFeeLibraryUpdated
- type StargatePoolFeeLibraryUpdatedIterator
- type StargatePoolFeesUpdated
- type StargatePoolFeesUpdatedIterator
- type StargatePoolFilterer
- func (_StargatePool *StargatePoolFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StargatePoolApprovalIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterBurn(opts *bind.FilterOpts) (*StargatePoolBurnIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterChainPathUpdate(opts *bind.FilterOpts) (*StargatePoolChainPathUpdateIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterCreditChainPath(opts *bind.FilterOpts) (*StargatePoolCreditChainPathIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterDeltaParamUpdated(opts *bind.FilterOpts) (*StargatePoolDeltaParamUpdatedIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterFeeLibraryUpdated(opts *bind.FilterOpts) (*StargatePoolFeeLibraryUpdatedIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterFeesUpdated(opts *bind.FilterOpts) (*StargatePoolFeesUpdatedIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterInstantRedeemLocal(opts *bind.FilterOpts) (*StargatePoolInstantRedeemLocalIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterMint(opts *bind.FilterOpts) (*StargatePoolMintIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterRedeemLocal(opts *bind.FilterOpts) (*StargatePoolRedeemLocalIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterRedeemLocalCallback(opts *bind.FilterOpts) (*StargatePoolRedeemLocalCallbackIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterRedeemRemote(opts *bind.FilterOpts) (*StargatePoolRedeemRemoteIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterSendCredits(opts *bind.FilterOpts) (*StargatePoolSendCreditsIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterStopSwapUpdated(opts *bind.FilterOpts) (*StargatePoolStopSwapUpdatedIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterSwap(opts *bind.FilterOpts) (*StargatePoolSwapIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterSwapRemote(opts *bind.FilterOpts) (*StargatePoolSwapRemoteIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StargatePoolTransferIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterWithdrawMintFeeBalance(opts *bind.FilterOpts) (*StargatePoolWithdrawMintFeeBalanceIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterWithdrawProtocolFeeBalance(opts *bind.FilterOpts) (*StargatePoolWithdrawProtocolFeeBalanceIterator, error)
- func (_StargatePool *StargatePoolFilterer) FilterWithdrawRemote(opts *bind.FilterOpts) (*StargatePoolWithdrawRemoteIterator, error)
- func (_StargatePool *StargatePoolFilterer) ParseApproval(log types.Log) (*StargatePoolApproval, error)
- func (_StargatePool *StargatePoolFilterer) ParseBurn(log types.Log) (*StargatePoolBurn, error)
- func (_StargatePool *StargatePoolFilterer) ParseChainPathUpdate(log types.Log) (*StargatePoolChainPathUpdate, error)
- func (_StargatePool *StargatePoolFilterer) ParseCreditChainPath(log types.Log) (*StargatePoolCreditChainPath, error)
- func (_StargatePool *StargatePoolFilterer) ParseDeltaParamUpdated(log types.Log) (*StargatePoolDeltaParamUpdated, error)
- func (_StargatePool *StargatePoolFilterer) ParseFeeLibraryUpdated(log types.Log) (*StargatePoolFeeLibraryUpdated, error)
- func (_StargatePool *StargatePoolFilterer) ParseFeesUpdated(log types.Log) (*StargatePoolFeesUpdated, error)
- func (_StargatePool *StargatePoolFilterer) ParseInstantRedeemLocal(log types.Log) (*StargatePoolInstantRedeemLocal, error)
- func (_StargatePool *StargatePoolFilterer) ParseMint(log types.Log) (*StargatePoolMint, error)
- func (_StargatePool *StargatePoolFilterer) ParseRedeemLocal(log types.Log) (*StargatePoolRedeemLocal, error)
- func (_StargatePool *StargatePoolFilterer) ParseRedeemLocalCallback(log types.Log) (*StargatePoolRedeemLocalCallback, error)
- func (_StargatePool *StargatePoolFilterer) ParseRedeemRemote(log types.Log) (*StargatePoolRedeemRemote, error)
- func (_StargatePool *StargatePoolFilterer) ParseSendCredits(log types.Log) (*StargatePoolSendCredits, error)
- func (_StargatePool *StargatePoolFilterer) ParseStopSwapUpdated(log types.Log) (*StargatePoolStopSwapUpdated, error)
- func (_StargatePool *StargatePoolFilterer) ParseSwap(log types.Log) (*StargatePoolSwap, error)
- func (_StargatePool *StargatePoolFilterer) ParseSwapRemote(log types.Log) (*StargatePoolSwapRemote, error)
- func (_StargatePool *StargatePoolFilterer) ParseTransfer(log types.Log) (*StargatePoolTransfer, error)
- func (_StargatePool *StargatePoolFilterer) ParseWithdrawMintFeeBalance(log types.Log) (*StargatePoolWithdrawMintFeeBalance, error)
- func (_StargatePool *StargatePoolFilterer) ParseWithdrawProtocolFeeBalance(log types.Log) (*StargatePoolWithdrawProtocolFeeBalance, error)
- func (_StargatePool *StargatePoolFilterer) ParseWithdrawRemote(log types.Log) (*StargatePoolWithdrawRemote, error)
- func (_StargatePool *StargatePoolFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *StargatePoolApproval, ...) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *StargatePoolBurn) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchChainPathUpdate(opts *bind.WatchOpts, sink chan<- *StargatePoolChainPathUpdate) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchCreditChainPath(opts *bind.WatchOpts, sink chan<- *StargatePoolCreditChainPath) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchDeltaParamUpdated(opts *bind.WatchOpts, sink chan<- *StargatePoolDeltaParamUpdated) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchFeeLibraryUpdated(opts *bind.WatchOpts, sink chan<- *StargatePoolFeeLibraryUpdated) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchFeesUpdated(opts *bind.WatchOpts, sink chan<- *StargatePoolFeesUpdated) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchInstantRedeemLocal(opts *bind.WatchOpts, sink chan<- *StargatePoolInstantRedeemLocal) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *StargatePoolMint) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchRedeemLocal(opts *bind.WatchOpts, sink chan<- *StargatePoolRedeemLocal) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchRedeemLocalCallback(opts *bind.WatchOpts, sink chan<- *StargatePoolRedeemLocalCallback) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchRedeemRemote(opts *bind.WatchOpts, sink chan<- *StargatePoolRedeemRemote) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchSendCredits(opts *bind.WatchOpts, sink chan<- *StargatePoolSendCredits) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchStopSwapUpdated(opts *bind.WatchOpts, sink chan<- *StargatePoolStopSwapUpdated) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *StargatePoolSwap) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchSwapRemote(opts *bind.WatchOpts, sink chan<- *StargatePoolSwapRemote) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StargatePoolTransfer, from []common.Address, ...) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchWithdrawMintFeeBalance(opts *bind.WatchOpts, sink chan<- *StargatePoolWithdrawMintFeeBalance) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchWithdrawProtocolFeeBalance(opts *bind.WatchOpts, sink chan<- *StargatePoolWithdrawProtocolFeeBalance) (event.Subscription, error)
- func (_StargatePool *StargatePoolFilterer) WatchWithdrawRemote(opts *bind.WatchOpts, sink chan<- *StargatePoolWithdrawRemote) (event.Subscription, error)
- type StargatePoolInstantRedeemLocal
- type StargatePoolInstantRedeemLocalIterator
- type StargatePoolMint
- type StargatePoolMintIterator
- type StargatePoolRaw
- func (_StargatePool *StargatePoolRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_StargatePool *StargatePoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_StargatePool *StargatePoolRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type StargatePoolRedeemLocal
- type StargatePoolRedeemLocalCallback
- type StargatePoolRedeemLocalCallbackIterator
- type StargatePoolRedeemLocalIterator
- type StargatePoolRedeemRemote
- type StargatePoolRedeemRemoteIterator
- type StargatePoolSendCredits
- type StargatePoolSendCreditsIterator
- type StargatePoolSession
- func (_StargatePool *StargatePoolSession) ActivateChainPath(_dstChainId uint16, _dstPoolId *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) Allowance(arg0 common.Address, arg1 common.Address) (*big.Int, error)
- func (_StargatePool *StargatePoolSession) AmountLPtoLD(_amountLP *big.Int) (*big.Int, error)
- func (_StargatePool *StargatePoolSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) BPDENOMINATOR() (*big.Int, error)
- func (_StargatePool *StargatePoolSession) BalanceOf(arg0 common.Address) (*big.Int, error)
- func (_StargatePool *StargatePoolSession) Batched() (bool, error)
- func (_StargatePool *StargatePoolSession) CallDelta(_fullMode bool) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) ChainPathIndexLookup(arg0 uint16, arg1 *big.Int) (*big.Int, error)
- func (_StargatePool *StargatePoolSession) ChainPaths(arg0 *big.Int) (struct{ ... }, error)
- func (_StargatePool *StargatePoolSession) ConvertRate() (*big.Int, error)
- func (_StargatePool *StargatePoolSession) CreateChainPath(_dstChainId uint16, _dstPoolId *big.Int, _weight *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) CreditChainPath(_dstChainId uint16, _dstPoolId *big.Int, _c PoolCreditObj) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) DOMAINSEPARATOR() ([32]byte, error)
- func (_StargatePool *StargatePoolSession) Decimals() (*big.Int, error)
- func (_StargatePool *StargatePoolSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) DefaultLPMode() (bool, error)
- func (_StargatePool *StargatePoolSession) DefaultSwapMode() (bool, error)
- func (_StargatePool *StargatePoolSession) DeltaCredit() (*big.Int, error)
- func (_StargatePool *StargatePoolSession) EqFeePool() (*big.Int, error)
- func (_StargatePool *StargatePoolSession) FeeLibrary() (common.Address, error)
- func (_StargatePool *StargatePoolSession) GetChainPath(_dstChainId uint16, _dstPoolId *big.Int) (PoolChainPath, error)
- func (_StargatePool *StargatePoolSession) GetChainPathsLength() (*big.Int, error)
- func (_StargatePool *StargatePoolSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) InstantRedeemLocal(_from common.Address, _amountLP *big.Int, _to common.Address) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) LocalDecimals() (*big.Int, error)
- func (_StargatePool *StargatePoolSession) LpDeltaBP() (*big.Int, error)
- func (_StargatePool *StargatePoolSession) Mint(_to common.Address, _amountLD *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) MintFeeBP() (*big.Int, error)
- func (_StargatePool *StargatePoolSession) MintFeeBalance() (*big.Int, error)
- func (_StargatePool *StargatePoolSession) Name() (string, error)
- func (_StargatePool *StargatePoolSession) Nonces(arg0 common.Address) (*big.Int, error)
- func (_StargatePool *StargatePoolSession) PERMITTYPEHASH() ([32]byte, error)
- func (_StargatePool *StargatePoolSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) PoolId() (*big.Int, error)
- func (_StargatePool *StargatePoolSession) ProtocolFeeBalance() (*big.Int, error)
- func (_StargatePool *StargatePoolSession) RedeemLocal(_from common.Address, _amountLP *big.Int, _dstChainId uint16, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) RedeemLocalCallback(_srcChainId uint16, _srcPoolId *big.Int, _to common.Address, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) RedeemLocalCheckOnRemote(_srcChainId uint16, _srcPoolId *big.Int, _amountSD *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) RedeemRemote(_dstChainId uint16, _dstPoolId *big.Int, _from common.Address, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) Router() (common.Address, error)
- func (_StargatePool *StargatePoolSession) SendCredits(_dstChainId uint16, _dstPoolId *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) SetDeltaParam(_batched bool, _swapDeltaBP *big.Int, _lpDeltaBP *big.Int, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) SetFee(_mintFeeBP *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) SetFeeLibrary(_feeLibraryAddr common.Address) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) SetSwapStop(_swapStop bool) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) SetWeightForChainPath(_dstChainId uint16, _dstPoolId *big.Int, _weight uint16) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) SharedDecimals() (*big.Int, error)
- func (_StargatePool *StargatePoolSession) StopSwap() (bool, error)
- func (_StargatePool *StargatePoolSession) Swap(_dstChainId uint16, _dstPoolId *big.Int, _from common.Address, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) SwapDeltaBP() (*big.Int, error)
- func (_StargatePool *StargatePoolSession) SwapRemote(_srcChainId uint16, _srcPoolId *big.Int, _to common.Address, _s PoolSwapObj) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) Symbol() (string, error)
- func (_StargatePool *StargatePoolSession) Token() (common.Address, error)
- func (_StargatePool *StargatePoolSession) TotalLiquidity() (*big.Int, error)
- func (_StargatePool *StargatePoolSession) TotalSupply() (*big.Int, error)
- func (_StargatePool *StargatePoolSession) TotalWeight() (*big.Int, error)
- func (_StargatePool *StargatePoolSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) WithdrawMintFeeBalance(_to common.Address) (*types.Transaction, error)
- func (_StargatePool *StargatePoolSession) WithdrawProtocolFeeBalance(_to common.Address) (*types.Transaction, error)
- type StargatePoolStopSwapUpdated
- type StargatePoolStopSwapUpdatedIterator
- type StargatePoolSwap
- type StargatePoolSwapIterator
- type StargatePoolSwapRemote
- type StargatePoolSwapRemoteIterator
- type StargatePoolTransactor
- func (_StargatePool *StargatePoolTransactor) ActivateChainPath(opts *bind.TransactOpts, _dstChainId uint16, _dstPoolId *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) CallDelta(opts *bind.TransactOpts, _fullMode bool) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) CreateChainPath(opts *bind.TransactOpts, _dstChainId uint16, _dstPoolId *big.Int, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) CreditChainPath(opts *bind.TransactOpts, _dstChainId uint16, _dstPoolId *big.Int, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) InstantRedeemLocal(opts *bind.TransactOpts, _from common.Address, _amountLP *big.Int, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amountLD *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) RedeemLocal(opts *bind.TransactOpts, _from common.Address, _amountLP *big.Int, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) RedeemLocalCallback(opts *bind.TransactOpts, _srcChainId uint16, _srcPoolId *big.Int, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) RedeemLocalCheckOnRemote(opts *bind.TransactOpts, _srcChainId uint16, _srcPoolId *big.Int, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) RedeemRemote(opts *bind.TransactOpts, _dstChainId uint16, _dstPoolId *big.Int, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) SendCredits(opts *bind.TransactOpts, _dstChainId uint16, _dstPoolId *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) SetDeltaParam(opts *bind.TransactOpts, _batched bool, _swapDeltaBP *big.Int, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) SetFee(opts *bind.TransactOpts, _mintFeeBP *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) SetFeeLibrary(opts *bind.TransactOpts, _feeLibraryAddr common.Address) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) SetSwapStop(opts *bind.TransactOpts, _swapStop bool) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) SetWeightForChainPath(opts *bind.TransactOpts, _dstChainId uint16, _dstPoolId *big.Int, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) Swap(opts *bind.TransactOpts, _dstChainId uint16, _dstPoolId *big.Int, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) SwapRemote(opts *bind.TransactOpts, _srcChainId uint16, _srcPoolId *big.Int, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) WithdrawMintFeeBalance(opts *bind.TransactOpts, _to common.Address) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactor) WithdrawProtocolFeeBalance(opts *bind.TransactOpts, _to common.Address) (*types.Transaction, error)
- type StargatePoolTransactorRaw
- type StargatePoolTransactorSession
- func (_StargatePool *StargatePoolTransactorSession) ActivateChainPath(_dstChainId uint16, _dstPoolId *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) CallDelta(_fullMode bool) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) CreateChainPath(_dstChainId uint16, _dstPoolId *big.Int, _weight *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) CreditChainPath(_dstChainId uint16, _dstPoolId *big.Int, _c PoolCreditObj) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) InstantRedeemLocal(_from common.Address, _amountLP *big.Int, _to common.Address) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) Mint(_to common.Address, _amountLD *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) RedeemLocal(_from common.Address, _amountLP *big.Int, _dstChainId uint16, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) RedeemLocalCallback(_srcChainId uint16, _srcPoolId *big.Int, _to common.Address, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) RedeemLocalCheckOnRemote(_srcChainId uint16, _srcPoolId *big.Int, _amountSD *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) RedeemRemote(_dstChainId uint16, _dstPoolId *big.Int, _from common.Address, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) SendCredits(_dstChainId uint16, _dstPoolId *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) SetDeltaParam(_batched bool, _swapDeltaBP *big.Int, _lpDeltaBP *big.Int, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) SetFee(_mintFeeBP *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) SetFeeLibrary(_feeLibraryAddr common.Address) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) SetSwapStop(_swapStop bool) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) SetWeightForChainPath(_dstChainId uint16, _dstPoolId *big.Int, _weight uint16) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) Swap(_dstChainId uint16, _dstPoolId *big.Int, _from common.Address, ...) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) SwapRemote(_srcChainId uint16, _srcPoolId *big.Int, _to common.Address, _s PoolSwapObj) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) WithdrawMintFeeBalance(_to common.Address) (*types.Transaction, error)
- func (_StargatePool *StargatePoolTransactorSession) WithdrawProtocolFeeBalance(_to common.Address) (*types.Transaction, error)
- type StargatePoolTransfer
- type StargatePoolTransferIterator
- type StargatePoolWithdrawMintFeeBalance
- type StargatePoolWithdrawMintFeeBalanceIterator
- type StargatePoolWithdrawProtocolFeeBalance
- type StargatePoolWithdrawProtocolFeeBalanceIterator
- type StargatePoolWithdrawRemote
- type StargatePoolWithdrawRemoteIterator
Constants ¶
This section is empty.
Variables ¶
var StargateLpStakingABI = StargateLpStakingMetaData.ABI
StargateLpStakingABI is the input ABI used to generate the binding from. Deprecated: Use StargateLpStakingMetaData.ABI instead.
var StargateLpStakingMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"contractStargateToken\",\"name\":\"_stargate\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_stargatePerBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_startBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_bonusEndBlock\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Deposit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"EmergencyWithdraw\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"user\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"pid\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Withdraw\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BONUS_MULTIPLIER\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"contractIERC20\",\"name\":\"_lpToken\",\"type\":\"address\"}],\"name\":\"add\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bonusEndBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"deposit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"emergencyWithdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_from\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_to\",\"type\":\"uint256\"}],\"name\":\"getMultiplier\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"lpBalances\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"massUpdatePools\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_user\",\"type\":\"address\"}],\"name\":\"pendingStargate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"poolInfo\",\"outputs\":[{\"internalType\":\"contractIERC20\",\"name\":\"lpToken\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"allocPoint\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastRewardBlock\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"accStargatePerShare\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_allocPoint\",\"type\":\"uint256\"}],\"name\":\"set\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_stargatePerBlock\",\"type\":\"uint256\"}],\"name\":\"setStargatePerBlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stargate\",\"outputs\":[{\"internalType\":\"contractStargateToken\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stargatePerBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"startBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalAllocPoint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"}],\"name\":\"updatePool\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"userInfo\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardDebt\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pid\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
StargateLpStakingMetaData contains all meta data concerning the StargateLpStaking contract.
var StargatePoolABI = StargatePoolMetaData.ABI
StargatePoolABI is the input ABI used to generate the binding from. Deprecated: Use StargatePoolMetaData.ABI instead.
var StargatePoolMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_poolId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_router\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_sharedDecimals\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_localDecimals\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_feeLibrary\",\"type\":\"address\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"}],\"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\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountLP\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountSD\",\"type\":\"uint256\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"dstChainId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstPoolId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"}],\"name\":\"ChainPathUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"chainId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"srcPoolId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountSD\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"idealBalance\",\"type\":\"uint256\"}],\"name\":\"CreditChainPath\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"batched\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"swapDeltaBP\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpDeltaBP\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"defaultSwapMode\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"defaultLPMode\",\"type\":\"bool\"}],\"name\":\"DeltaParamUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"feeLibraryAddr\",\"type\":\"address\"}],\"name\":\"FeeLibraryUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"mintFeeBP\",\"type\":\"uint256\"}],\"name\":\"FeesUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountLP\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountSD\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"InstantRedeemLocal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountLP\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountSD\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"mintFeeAmountSD\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountLP\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountSD\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"chainId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstPoolId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"to\",\"type\":\"bytes\"}],\"name\":\"RedeemLocal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amountSD\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amountToMintSD\",\"type\":\"uint256\"}],\"name\":\"RedeemLocalCallback\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"chainId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstPoolId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountLP\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountSD\",\"type\":\"uint256\"}],\"name\":\"RedeemRemote\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"dstChainId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstPoolId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"credits\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"idealBalance\",\"type\":\"uint256\"}],\"name\":\"SendCredits\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"swapStop\",\"type\":\"bool\"}],\"name\":\"StopSwapUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"chainId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstPoolId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountSD\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"eqReward\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"eqFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"protocolFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"lpFee\",\"type\":\"uint256\"}],\"name\":\"Swap\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountSD\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"protocolFee\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"dstFee\",\"type\":\"uint256\"}],\"name\":\"SwapRemote\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountSD\",\"type\":\"uint256\"}],\"name\":\"WithdrawMintFeeBalance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amountSD\",\"type\":\"uint256\"}],\"name\":\"WithdrawProtocolFeeBalance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint16\",\"name\":\"srcChainId\",\"type\":\"uint16\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"srcPoolId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"swapAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"mintAmount\",\"type\":\"uint256\"}],\"name\":\"WithdrawRemote\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BP_DENOMINATOR\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"PERMIT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_dstChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"_dstPoolId\",\"type\":\"uint256\"}],\"name\":\"activateChainPath\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amountLP\",\"type\":\"uint256\"}],\"name\":\"amountLPtoLD\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"batched\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_fullMode\",\"type\":\"bool\"}],\"name\":\"callDelta\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"chainPathIndexLookup\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"chainPaths\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"ready\",\"type\":\"bool\"},{\"internalType\":\"uint16\",\"name\":\"dstChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"dstPoolId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lkb\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"credits\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"idealBalance\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"convertRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_dstChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"_dstPoolId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_weight\",\"type\":\"uint256\"}],\"name\":\"createChainPath\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_dstChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"_dstPoolId\",\"type\":\"uint256\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"credits\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"idealBalance\",\"type\":\"uint256\"}],\"internalType\":\"structPool.CreditObj\",\"name\":\"_c\",\"type\":\"tuple\"}],\"name\":\"creditChainPath\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"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\":[],\"name\":\"defaultLPMode\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"defaultSwapMode\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"deltaCredit\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eqFeePool\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"feeLibrary\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_dstChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"_dstPoolId\",\"type\":\"uint256\"}],\"name\":\"getChainPath\",\"outputs\":[{\"components\":[{\"internalType\":\"bool\",\"name\":\"ready\",\"type\":\"bool\"},{\"internalType\":\"uint16\",\"name\":\"dstChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"dstPoolId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"balance\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lkb\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"credits\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"idealBalance\",\"type\":\"uint256\"}],\"internalType\":\"structPool.ChainPath\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getChainPathsLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"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\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amountLP\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"instantRedeemLocal\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountSD\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"localDecimals\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lpDeltaBP\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amountLD\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mintFeeBP\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"mintFeeBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"poolId\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"protocolFeeBalance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amountLP\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"_dstChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"_dstPoolId\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"_to\",\"type\":\"bytes\"}],\"name\":\"redeemLocal\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountSD\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_srcChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"_srcPoolId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amountSD\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amountToMintSD\",\"type\":\"uint256\"}],\"name\":\"redeemLocalCallback\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_srcChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"_srcPoolId\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_amountSD\",\"type\":\"uint256\"}],\"name\":\"redeemLocalCheckOnRemote\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"swapAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"mintAmount\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_dstChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"_dstPoolId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amountLP\",\"type\":\"uint256\"}],\"name\":\"redeemRemote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"router\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_dstChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"_dstPoolId\",\"type\":\"uint256\"}],\"name\":\"sendCredits\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"credits\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"idealBalance\",\"type\":\"uint256\"}],\"internalType\":\"structPool.CreditObj\",\"name\":\"c\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_batched\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"_swapDeltaBP\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_lpDeltaBP\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"_defaultSwapMode\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"_defaultLPMode\",\"type\":\"bool\"}],\"name\":\"setDeltaParam\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_mintFeeBP\",\"type\":\"uint256\"}],\"name\":\"setFee\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_feeLibraryAddr\",\"type\":\"address\"}],\"name\":\"setFeeLibrary\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"_swapStop\",\"type\":\"bool\"}],\"name\":\"setSwapStop\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_dstChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"_dstPoolId\",\"type\":\"uint256\"},{\"internalType\":\"uint16\",\"name\":\"_weight\",\"type\":\"uint16\"}],\"name\":\"setWeightForChainPath\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"sharedDecimals\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"stopSwap\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_dstChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"_dstPoolId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amountLD\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_minAmountLD\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"newLiquidity\",\"type\":\"bool\"}],\"name\":\"swap\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"eqFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"eqReward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lpFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"protocolFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lkbRemove\",\"type\":\"uint256\"}],\"internalType\":\"structPool.SwapObj\",\"name\":\"\",\"type\":\"tuple\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"swapDeltaBP\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint16\",\"name\":\"_srcChainId\",\"type\":\"uint16\"},{\"internalType\":\"uint256\",\"name\":\"_srcPoolId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"eqFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"eqReward\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lpFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"protocolFee\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lkbRemove\",\"type\":\"uint256\"}],\"internalType\":\"structPool.SwapObj\",\"name\":\"_s\",\"type\":\"tuple\"}],\"name\":\"swapRemote\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amountLD\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalLiquidity\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalWeight\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"withdrawMintFeeBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"withdrawProtocolFeeBalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
StargatePoolMetaData contains all meta data concerning the StargatePool contract.
Functions ¶
This section is empty.
Types ¶
type PoolChainPath ¶
type PoolChainPath struct { Ready bool DstChainId uint16 DstPoolId *big.Int Weight *big.Int Balance *big.Int Lkb *big.Int Credits *big.Int IdealBalance *big.Int }
PoolChainPath is an auto generated low-level Go binding around an user-defined struct.
type PoolCreditObj ¶
PoolCreditObj is an auto generated low-level Go binding around an user-defined struct.
type PoolSwapObj ¶
type PoolSwapObj struct { Amount *big.Int EqFee *big.Int EqReward *big.Int LpFee *big.Int ProtocolFee *big.Int LkbRemove *big.Int }
PoolSwapObj is an auto generated low-level Go binding around an user-defined struct.
type StargateLpStaking ¶
type StargateLpStaking struct { StargateLpStakingCaller // Read-only binding to the contract StargateLpStakingTransactor // Write-only binding to the contract StargateLpStakingFilterer // Log filterer for contract events }
StargateLpStaking is an auto generated Go binding around an Ethereum contract.
func NewStargateLpStaking ¶
func NewStargateLpStaking(address common.Address, backend bind.ContractBackend) (*StargateLpStaking, error)
NewStargateLpStaking creates a new instance of StargateLpStaking, bound to a specific deployed contract.
type StargateLpStakingCaller ¶
type StargateLpStakingCaller struct {
// contains filtered or unexported fields
}
StargateLpStakingCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStargateLpStakingCaller ¶
func NewStargateLpStakingCaller(address common.Address, caller bind.ContractCaller) (*StargateLpStakingCaller, error)
NewStargateLpStakingCaller creates a new read-only instance of StargateLpStaking, bound to a specific deployed contract.
func (*StargateLpStakingCaller) BONUSMULTIPLIER ¶
func (_StargateLpStaking *StargateLpStakingCaller) BONUSMULTIPLIER(opts *bind.CallOpts) (*big.Int, error)
BONUSMULTIPLIER is a free data retrieval call binding the contract method 0x8aa28550.
Solidity: function BONUS_MULTIPLIER() view returns(uint256)
func (*StargateLpStakingCaller) BonusEndBlock ¶
func (_StargateLpStaking *StargateLpStakingCaller) BonusEndBlock(opts *bind.CallOpts) (*big.Int, error)
BonusEndBlock is a free data retrieval call binding the contract method 0x1aed6553.
Solidity: function bonusEndBlock() view returns(uint256)
func (*StargateLpStakingCaller) GetMultiplier ¶
func (_StargateLpStaking *StargateLpStakingCaller) GetMultiplier(opts *bind.CallOpts, _from *big.Int, _to *big.Int) (*big.Int, error)
GetMultiplier is a free data retrieval call binding the contract method 0x8dbb1e3a.
Solidity: function getMultiplier(uint256 _from, uint256 _to) view returns(uint256)
func (*StargateLpStakingCaller) LpBalances ¶
func (_StargateLpStaking *StargateLpStakingCaller) LpBalances(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
LpBalances is a free data retrieval call binding the contract method 0x0328e32f.
Solidity: function lpBalances(uint256 ) view returns(uint256)
func (*StargateLpStakingCaller) Owner ¶
func (_StargateLpStaking *StargateLpStakingCaller) Owner(opts *bind.CallOpts) (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StargateLpStakingCaller) PendingStargate ¶
func (_StargateLpStaking *StargateLpStakingCaller) PendingStargate(opts *bind.CallOpts, _pid *big.Int, _user common.Address) (*big.Int, error)
PendingStargate is a free data retrieval call binding the contract method 0x2f607fdd.
Solidity: function pendingStargate(uint256 _pid, address _user) view returns(uint256)
func (*StargateLpStakingCaller) PoolInfo ¶
func (_StargateLpStaking *StargateLpStakingCaller) PoolInfo(opts *bind.CallOpts, arg0 *big.Int) (struct { LpToken common.Address AllocPoint *big.Int LastRewardBlock *big.Int AccStargatePerShare *big.Int }, error)
PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.
Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 allocPoint, uint256 lastRewardBlock, uint256 accStargatePerShare)
func (*StargateLpStakingCaller) PoolLength ¶
func (_StargateLpStaking *StargateLpStakingCaller) PoolLength(opts *bind.CallOpts) (*big.Int, error)
PoolLength is a free data retrieval call binding the contract method 0x081e3eda.
Solidity: function poolLength() view returns(uint256)
func (*StargateLpStakingCaller) Stargate ¶
func (_StargateLpStaking *StargateLpStakingCaller) Stargate(opts *bind.CallOpts) (common.Address, error)
Stargate is a free data retrieval call binding the contract method 0x6c099dee.
Solidity: function stargate() view returns(address)
func (*StargateLpStakingCaller) StargatePerBlock ¶
func (_StargateLpStaking *StargateLpStakingCaller) StargatePerBlock(opts *bind.CallOpts) (*big.Int, error)
StargatePerBlock is a free data retrieval call binding the contract method 0x98c03a72.
Solidity: function stargatePerBlock() view returns(uint256)
func (*StargateLpStakingCaller) StartBlock ¶
func (_StargateLpStaking *StargateLpStakingCaller) StartBlock(opts *bind.CallOpts) (*big.Int, error)
StartBlock is a free data retrieval call binding the contract method 0x48cd4cb1.
Solidity: function startBlock() view returns(uint256)
func (*StargateLpStakingCaller) TotalAllocPoint ¶
func (_StargateLpStaking *StargateLpStakingCaller) TotalAllocPoint(opts *bind.CallOpts) (*big.Int, error)
TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.
Solidity: function totalAllocPoint() view returns(uint256)
func (*StargateLpStakingCaller) UserInfo ¶
func (_StargateLpStaking *StargateLpStakingCaller) UserInfo(opts *bind.CallOpts, arg0 *big.Int, arg1 common.Address) (struct { Amount *big.Int RewardDebt *big.Int }, error)
UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.
Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)
type StargateLpStakingCallerRaw ¶
type StargateLpStakingCallerRaw struct {
Contract *StargateLpStakingCaller // Generic read-only contract binding to access the raw methods on
}
StargateLpStakingCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StargateLpStakingCallerRaw) Call ¶
func (_StargateLpStaking *StargateLpStakingCallerRaw) 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 StargateLpStakingCallerSession ¶
type StargateLpStakingCallerSession struct { Contract *StargateLpStakingCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StargateLpStakingCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StargateLpStakingCallerSession) BONUSMULTIPLIER ¶
func (_StargateLpStaking *StargateLpStakingCallerSession) BONUSMULTIPLIER() (*big.Int, error)
BONUSMULTIPLIER is a free data retrieval call binding the contract method 0x8aa28550.
Solidity: function BONUS_MULTIPLIER() view returns(uint256)
func (*StargateLpStakingCallerSession) BonusEndBlock ¶
func (_StargateLpStaking *StargateLpStakingCallerSession) BonusEndBlock() (*big.Int, error)
BonusEndBlock is a free data retrieval call binding the contract method 0x1aed6553.
Solidity: function bonusEndBlock() view returns(uint256)
func (*StargateLpStakingCallerSession) GetMultiplier ¶
func (_StargateLpStaking *StargateLpStakingCallerSession) GetMultiplier(_from *big.Int, _to *big.Int) (*big.Int, error)
GetMultiplier is a free data retrieval call binding the contract method 0x8dbb1e3a.
Solidity: function getMultiplier(uint256 _from, uint256 _to) view returns(uint256)
func (*StargateLpStakingCallerSession) LpBalances ¶
func (_StargateLpStaking *StargateLpStakingCallerSession) LpBalances(arg0 *big.Int) (*big.Int, error)
LpBalances is a free data retrieval call binding the contract method 0x0328e32f.
Solidity: function lpBalances(uint256 ) view returns(uint256)
func (*StargateLpStakingCallerSession) Owner ¶
func (_StargateLpStaking *StargateLpStakingCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StargateLpStakingCallerSession) PendingStargate ¶
func (_StargateLpStaking *StargateLpStakingCallerSession) PendingStargate(_pid *big.Int, _user common.Address) (*big.Int, error)
PendingStargate is a free data retrieval call binding the contract method 0x2f607fdd.
Solidity: function pendingStargate(uint256 _pid, address _user) view returns(uint256)
func (*StargateLpStakingCallerSession) PoolInfo ¶
func (_StargateLpStaking *StargateLpStakingCallerSession) PoolInfo(arg0 *big.Int) (struct { LpToken common.Address AllocPoint *big.Int LastRewardBlock *big.Int AccStargatePerShare *big.Int }, error)
PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.
Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 allocPoint, uint256 lastRewardBlock, uint256 accStargatePerShare)
func (*StargateLpStakingCallerSession) PoolLength ¶
func (_StargateLpStaking *StargateLpStakingCallerSession) PoolLength() (*big.Int, error)
PoolLength is a free data retrieval call binding the contract method 0x081e3eda.
Solidity: function poolLength() view returns(uint256)
func (*StargateLpStakingCallerSession) Stargate ¶
func (_StargateLpStaking *StargateLpStakingCallerSession) Stargate() (common.Address, error)
Stargate is a free data retrieval call binding the contract method 0x6c099dee.
Solidity: function stargate() view returns(address)
func (*StargateLpStakingCallerSession) StargatePerBlock ¶
func (_StargateLpStaking *StargateLpStakingCallerSession) StargatePerBlock() (*big.Int, error)
StargatePerBlock is a free data retrieval call binding the contract method 0x98c03a72.
Solidity: function stargatePerBlock() view returns(uint256)
func (*StargateLpStakingCallerSession) StartBlock ¶
func (_StargateLpStaking *StargateLpStakingCallerSession) StartBlock() (*big.Int, error)
StartBlock is a free data retrieval call binding the contract method 0x48cd4cb1.
Solidity: function startBlock() view returns(uint256)
func (*StargateLpStakingCallerSession) TotalAllocPoint ¶
func (_StargateLpStaking *StargateLpStakingCallerSession) TotalAllocPoint() (*big.Int, error)
TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.
Solidity: function totalAllocPoint() view returns(uint256)
func (*StargateLpStakingCallerSession) UserInfo ¶
func (_StargateLpStaking *StargateLpStakingCallerSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct { Amount *big.Int RewardDebt *big.Int }, error)
UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.
Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)
type StargateLpStakingDeposit ¶
type StargateLpStakingDeposit struct { User common.Address Pid *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
StargateLpStakingDeposit represents a Deposit event raised by the StargateLpStaking contract.
type StargateLpStakingDepositIterator ¶
type StargateLpStakingDepositIterator struct { Event *StargateLpStakingDeposit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargateLpStakingDepositIterator is returned from FilterDeposit and is used to iterate over the raw logs and unpacked data for Deposit events raised by the StargateLpStaking contract.
func (*StargateLpStakingDepositIterator) Close ¶
func (it *StargateLpStakingDepositIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargateLpStakingDepositIterator) Error ¶
func (it *StargateLpStakingDepositIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargateLpStakingDepositIterator) Next ¶
func (it *StargateLpStakingDepositIterator) 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 StargateLpStakingEmergencyWithdraw ¶
type StargateLpStakingEmergencyWithdraw struct { User common.Address Pid *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
StargateLpStakingEmergencyWithdraw represents a EmergencyWithdraw event raised by the StargateLpStaking contract.
type StargateLpStakingEmergencyWithdrawIterator ¶
type StargateLpStakingEmergencyWithdrawIterator struct { Event *StargateLpStakingEmergencyWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargateLpStakingEmergencyWithdrawIterator is returned from FilterEmergencyWithdraw and is used to iterate over the raw logs and unpacked data for EmergencyWithdraw events raised by the StargateLpStaking contract.
func (*StargateLpStakingEmergencyWithdrawIterator) Close ¶
func (it *StargateLpStakingEmergencyWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargateLpStakingEmergencyWithdrawIterator) Error ¶
func (it *StargateLpStakingEmergencyWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargateLpStakingEmergencyWithdrawIterator) Next ¶
func (it *StargateLpStakingEmergencyWithdrawIterator) 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 StargateLpStakingFilterer ¶
type StargateLpStakingFilterer struct {
// contains filtered or unexported fields
}
StargateLpStakingFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStargateLpStakingFilterer ¶
func NewStargateLpStakingFilterer(address common.Address, filterer bind.ContractFilterer) (*StargateLpStakingFilterer, error)
NewStargateLpStakingFilterer creates a new log filterer instance of StargateLpStaking, bound to a specific deployed contract.
func (*StargateLpStakingFilterer) FilterDeposit ¶
func (_StargateLpStaking *StargateLpStakingFilterer) FilterDeposit(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*StargateLpStakingDepositIterator, error)
FilterDeposit is a free log retrieval operation binding the contract event 0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15.
Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)
func (*StargateLpStakingFilterer) FilterEmergencyWithdraw ¶
func (_StargateLpStaking *StargateLpStakingFilterer) FilterEmergencyWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*StargateLpStakingEmergencyWithdrawIterator, error)
FilterEmergencyWithdraw is a free log retrieval operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.
Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)
func (*StargateLpStakingFilterer) FilterOwnershipTransferred ¶
func (_StargateLpStaking *StargateLpStakingFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*StargateLpStakingOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*StargateLpStakingFilterer) FilterWithdraw ¶
func (_StargateLpStaking *StargateLpStakingFilterer) FilterWithdraw(opts *bind.FilterOpts, user []common.Address, pid []*big.Int) (*StargateLpStakingWithdrawIterator, error)
FilterWithdraw is a free log retrieval operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.
Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)
func (*StargateLpStakingFilterer) ParseDeposit ¶
func (_StargateLpStaking *StargateLpStakingFilterer) ParseDeposit(log types.Log) (*StargateLpStakingDeposit, error)
ParseDeposit is a log parse operation binding the contract event 0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15.
Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)
func (*StargateLpStakingFilterer) ParseEmergencyWithdraw ¶
func (_StargateLpStaking *StargateLpStakingFilterer) ParseEmergencyWithdraw(log types.Log) (*StargateLpStakingEmergencyWithdraw, error)
ParseEmergencyWithdraw is a log parse operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.
Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)
func (*StargateLpStakingFilterer) ParseOwnershipTransferred ¶
func (_StargateLpStaking *StargateLpStakingFilterer) ParseOwnershipTransferred(log types.Log) (*StargateLpStakingOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*StargateLpStakingFilterer) ParseWithdraw ¶
func (_StargateLpStaking *StargateLpStakingFilterer) ParseWithdraw(log types.Log) (*StargateLpStakingWithdraw, error)
ParseWithdraw is a log parse operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.
Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)
func (*StargateLpStakingFilterer) WatchDeposit ¶
func (_StargateLpStaking *StargateLpStakingFilterer) WatchDeposit(opts *bind.WatchOpts, sink chan<- *StargateLpStakingDeposit, user []common.Address, pid []*big.Int) (event.Subscription, error)
WatchDeposit is a free log subscription operation binding the contract event 0x90890809c654f11d6e72a28fa60149770a0d11ec6c92319d6ceb2bb0a4ea1a15.
Solidity: event Deposit(address indexed user, uint256 indexed pid, uint256 amount)
func (*StargateLpStakingFilterer) WatchEmergencyWithdraw ¶
func (_StargateLpStaking *StargateLpStakingFilterer) WatchEmergencyWithdraw(opts *bind.WatchOpts, sink chan<- *StargateLpStakingEmergencyWithdraw, user []common.Address, pid []*big.Int) (event.Subscription, error)
WatchEmergencyWithdraw is a free log subscription operation binding the contract event 0xbb757047c2b5f3974fe26b7c10f732e7bce710b0952a71082702781e62ae0595.
Solidity: event EmergencyWithdraw(address indexed user, uint256 indexed pid, uint256 amount)
func (*StargateLpStakingFilterer) WatchOwnershipTransferred ¶
func (_StargateLpStaking *StargateLpStakingFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *StargateLpStakingOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*StargateLpStakingFilterer) WatchWithdraw ¶
func (_StargateLpStaking *StargateLpStakingFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *StargateLpStakingWithdraw, user []common.Address, pid []*big.Int) (event.Subscription, error)
WatchWithdraw is a free log subscription operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.
Solidity: event Withdraw(address indexed user, uint256 indexed pid, uint256 amount)
type StargateLpStakingOwnershipTransferred ¶
type StargateLpStakingOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
StargateLpStakingOwnershipTransferred represents a OwnershipTransferred event raised by the StargateLpStaking contract.
type StargateLpStakingOwnershipTransferredIterator ¶
type StargateLpStakingOwnershipTransferredIterator struct { Event *StargateLpStakingOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargateLpStakingOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the StargateLpStaking contract.
func (*StargateLpStakingOwnershipTransferredIterator) Close ¶
func (it *StargateLpStakingOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargateLpStakingOwnershipTransferredIterator) Error ¶
func (it *StargateLpStakingOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargateLpStakingOwnershipTransferredIterator) Next ¶
func (it *StargateLpStakingOwnershipTransferredIterator) 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 StargateLpStakingRaw ¶
type StargateLpStakingRaw struct {
Contract *StargateLpStaking // Generic contract binding to access the raw methods on
}
StargateLpStakingRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StargateLpStakingRaw) Call ¶
func (_StargateLpStaking *StargateLpStakingRaw) 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 (*StargateLpStakingRaw) Transact ¶
func (_StargateLpStaking *StargateLpStakingRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StargateLpStakingRaw) Transfer ¶
func (_StargateLpStaking *StargateLpStakingRaw) 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 StargateLpStakingSession ¶
type StargateLpStakingSession struct { Contract *StargateLpStaking // 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 }
StargateLpStakingSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StargateLpStakingSession) Add ¶
func (_StargateLpStaking *StargateLpStakingSession) Add(_allocPoint *big.Int, _lpToken common.Address) (*types.Transaction, error)
Add is a paid mutator transaction binding the contract method 0x2b8bbbe8.
Solidity: function add(uint256 _allocPoint, address _lpToken) returns()
func (*StargateLpStakingSession) BONUSMULTIPLIER ¶
func (_StargateLpStaking *StargateLpStakingSession) BONUSMULTIPLIER() (*big.Int, error)
BONUSMULTIPLIER is a free data retrieval call binding the contract method 0x8aa28550.
Solidity: function BONUS_MULTIPLIER() view returns(uint256)
func (*StargateLpStakingSession) BonusEndBlock ¶
func (_StargateLpStaking *StargateLpStakingSession) BonusEndBlock() (*big.Int, error)
BonusEndBlock is a free data retrieval call binding the contract method 0x1aed6553.
Solidity: function bonusEndBlock() view returns(uint256)
func (*StargateLpStakingSession) Deposit ¶
func (_StargateLpStaking *StargateLpStakingSession) Deposit(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xe2bbb158.
Solidity: function deposit(uint256 _pid, uint256 _amount) returns()
func (*StargateLpStakingSession) EmergencyWithdraw ¶
func (_StargateLpStaking *StargateLpStakingSession) EmergencyWithdraw(_pid *big.Int) (*types.Transaction, error)
EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.
Solidity: function emergencyWithdraw(uint256 _pid) returns()
func (*StargateLpStakingSession) GetMultiplier ¶
func (_StargateLpStaking *StargateLpStakingSession) GetMultiplier(_from *big.Int, _to *big.Int) (*big.Int, error)
GetMultiplier is a free data retrieval call binding the contract method 0x8dbb1e3a.
Solidity: function getMultiplier(uint256 _from, uint256 _to) view returns(uint256)
func (*StargateLpStakingSession) LpBalances ¶
LpBalances is a free data retrieval call binding the contract method 0x0328e32f.
Solidity: function lpBalances(uint256 ) view returns(uint256)
func (*StargateLpStakingSession) MassUpdatePools ¶
func (_StargateLpStaking *StargateLpStakingSession) MassUpdatePools() (*types.Transaction, error)
MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.
Solidity: function massUpdatePools() returns()
func (*StargateLpStakingSession) Owner ¶
func (_StargateLpStaking *StargateLpStakingSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*StargateLpStakingSession) PendingStargate ¶
func (_StargateLpStaking *StargateLpStakingSession) PendingStargate(_pid *big.Int, _user common.Address) (*big.Int, error)
PendingStargate is a free data retrieval call binding the contract method 0x2f607fdd.
Solidity: function pendingStargate(uint256 _pid, address _user) view returns(uint256)
func (*StargateLpStakingSession) PoolInfo ¶
func (_StargateLpStaking *StargateLpStakingSession) PoolInfo(arg0 *big.Int) (struct { LpToken common.Address AllocPoint *big.Int LastRewardBlock *big.Int AccStargatePerShare *big.Int }, error)
PoolInfo is a free data retrieval call binding the contract method 0x1526fe27.
Solidity: function poolInfo(uint256 ) view returns(address lpToken, uint256 allocPoint, uint256 lastRewardBlock, uint256 accStargatePerShare)
func (*StargateLpStakingSession) PoolLength ¶
func (_StargateLpStaking *StargateLpStakingSession) PoolLength() (*big.Int, error)
PoolLength is a free data retrieval call binding the contract method 0x081e3eda.
Solidity: function poolLength() view returns(uint256)
func (*StargateLpStakingSession) RenounceOwnership ¶
func (_StargateLpStaking *StargateLpStakingSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*StargateLpStakingSession) Set ¶
func (_StargateLpStaking *StargateLpStakingSession) Set(_pid *big.Int, _allocPoint *big.Int) (*types.Transaction, error)
Set is a paid mutator transaction binding the contract method 0x1ab06ee5.
Solidity: function set(uint256 _pid, uint256 _allocPoint) returns()
func (*StargateLpStakingSession) SetStargatePerBlock ¶
func (_StargateLpStaking *StargateLpStakingSession) SetStargatePerBlock(_stargatePerBlock *big.Int) (*types.Transaction, error)
SetStargatePerBlock is a paid mutator transaction binding the contract method 0x34970706.
Solidity: function setStargatePerBlock(uint256 _stargatePerBlock) returns()
func (*StargateLpStakingSession) Stargate ¶
func (_StargateLpStaking *StargateLpStakingSession) Stargate() (common.Address, error)
Stargate is a free data retrieval call binding the contract method 0x6c099dee.
Solidity: function stargate() view returns(address)
func (*StargateLpStakingSession) StargatePerBlock ¶
func (_StargateLpStaking *StargateLpStakingSession) StargatePerBlock() (*big.Int, error)
StargatePerBlock is a free data retrieval call binding the contract method 0x98c03a72.
Solidity: function stargatePerBlock() view returns(uint256)
func (*StargateLpStakingSession) StartBlock ¶
func (_StargateLpStaking *StargateLpStakingSession) StartBlock() (*big.Int, error)
StartBlock is a free data retrieval call binding the contract method 0x48cd4cb1.
Solidity: function startBlock() view returns(uint256)
func (*StargateLpStakingSession) TotalAllocPoint ¶
func (_StargateLpStaking *StargateLpStakingSession) TotalAllocPoint() (*big.Int, error)
TotalAllocPoint is a free data retrieval call binding the contract method 0x17caf6f1.
Solidity: function totalAllocPoint() view returns(uint256)
func (*StargateLpStakingSession) TransferOwnership ¶
func (_StargateLpStaking *StargateLpStakingSession) 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 (*StargateLpStakingSession) UpdatePool ¶
func (_StargateLpStaking *StargateLpStakingSession) UpdatePool(_pid *big.Int) (*types.Transaction, error)
UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.
Solidity: function updatePool(uint256 _pid) returns()
func (*StargateLpStakingSession) UserInfo ¶
func (_StargateLpStaking *StargateLpStakingSession) UserInfo(arg0 *big.Int, arg1 common.Address) (struct { Amount *big.Int RewardDebt *big.Int }, error)
UserInfo is a free data retrieval call binding the contract method 0x93f1a40b.
Solidity: function userInfo(uint256 , address ) view returns(uint256 amount, uint256 rewardDebt)
func (*StargateLpStakingSession) Withdraw ¶
func (_StargateLpStaking *StargateLpStakingSession) Withdraw(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.
Solidity: function withdraw(uint256 _pid, uint256 _amount) returns()
type StargateLpStakingTransactor ¶
type StargateLpStakingTransactor struct {
// contains filtered or unexported fields
}
StargateLpStakingTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStargateLpStakingTransactor ¶
func NewStargateLpStakingTransactor(address common.Address, transactor bind.ContractTransactor) (*StargateLpStakingTransactor, error)
NewStargateLpStakingTransactor creates a new write-only instance of StargateLpStaking, bound to a specific deployed contract.
func (*StargateLpStakingTransactor) Add ¶
func (_StargateLpStaking *StargateLpStakingTransactor) Add(opts *bind.TransactOpts, _allocPoint *big.Int, _lpToken common.Address) (*types.Transaction, error)
Add is a paid mutator transaction binding the contract method 0x2b8bbbe8.
Solidity: function add(uint256 _allocPoint, address _lpToken) returns()
func (*StargateLpStakingTransactor) Deposit ¶
func (_StargateLpStaking *StargateLpStakingTransactor) Deposit(opts *bind.TransactOpts, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xe2bbb158.
Solidity: function deposit(uint256 _pid, uint256 _amount) returns()
func (*StargateLpStakingTransactor) EmergencyWithdraw ¶
func (_StargateLpStaking *StargateLpStakingTransactor) EmergencyWithdraw(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)
EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.
Solidity: function emergencyWithdraw(uint256 _pid) returns()
func (*StargateLpStakingTransactor) MassUpdatePools ¶
func (_StargateLpStaking *StargateLpStakingTransactor) MassUpdatePools(opts *bind.TransactOpts) (*types.Transaction, error)
MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.
Solidity: function massUpdatePools() returns()
func (*StargateLpStakingTransactor) RenounceOwnership ¶
func (_StargateLpStaking *StargateLpStakingTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*StargateLpStakingTransactor) Set ¶
func (_StargateLpStaking *StargateLpStakingTransactor) Set(opts *bind.TransactOpts, _pid *big.Int, _allocPoint *big.Int) (*types.Transaction, error)
Set is a paid mutator transaction binding the contract method 0x1ab06ee5.
Solidity: function set(uint256 _pid, uint256 _allocPoint) returns()
func (*StargateLpStakingTransactor) SetStargatePerBlock ¶
func (_StargateLpStaking *StargateLpStakingTransactor) SetStargatePerBlock(opts *bind.TransactOpts, _stargatePerBlock *big.Int) (*types.Transaction, error)
SetStargatePerBlock is a paid mutator transaction binding the contract method 0x34970706.
Solidity: function setStargatePerBlock(uint256 _stargatePerBlock) returns()
func (*StargateLpStakingTransactor) TransferOwnership ¶
func (_StargateLpStaking *StargateLpStakingTransactor) 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 (*StargateLpStakingTransactor) UpdatePool ¶
func (_StargateLpStaking *StargateLpStakingTransactor) UpdatePool(opts *bind.TransactOpts, _pid *big.Int) (*types.Transaction, error)
UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.
Solidity: function updatePool(uint256 _pid) returns()
func (*StargateLpStakingTransactor) Withdraw ¶
func (_StargateLpStaking *StargateLpStakingTransactor) Withdraw(opts *bind.TransactOpts, _pid *big.Int, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.
Solidity: function withdraw(uint256 _pid, uint256 _amount) returns()
type StargateLpStakingTransactorRaw ¶
type StargateLpStakingTransactorRaw struct {
Contract *StargateLpStakingTransactor // Generic write-only contract binding to access the raw methods on
}
StargateLpStakingTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StargateLpStakingTransactorRaw) Transact ¶
func (_StargateLpStaking *StargateLpStakingTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StargateLpStakingTransactorRaw) Transfer ¶
func (_StargateLpStaking *StargateLpStakingTransactorRaw) 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 StargateLpStakingTransactorSession ¶
type StargateLpStakingTransactorSession struct { Contract *StargateLpStakingTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StargateLpStakingTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StargateLpStakingTransactorSession) Add ¶
func (_StargateLpStaking *StargateLpStakingTransactorSession) Add(_allocPoint *big.Int, _lpToken common.Address) (*types.Transaction, error)
Add is a paid mutator transaction binding the contract method 0x2b8bbbe8.
Solidity: function add(uint256 _allocPoint, address _lpToken) returns()
func (*StargateLpStakingTransactorSession) Deposit ¶
func (_StargateLpStaking *StargateLpStakingTransactorSession) Deposit(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xe2bbb158.
Solidity: function deposit(uint256 _pid, uint256 _amount) returns()
func (*StargateLpStakingTransactorSession) EmergencyWithdraw ¶
func (_StargateLpStaking *StargateLpStakingTransactorSession) EmergencyWithdraw(_pid *big.Int) (*types.Transaction, error)
EmergencyWithdraw is a paid mutator transaction binding the contract method 0x5312ea8e.
Solidity: function emergencyWithdraw(uint256 _pid) returns()
func (*StargateLpStakingTransactorSession) MassUpdatePools ¶
func (_StargateLpStaking *StargateLpStakingTransactorSession) MassUpdatePools() (*types.Transaction, error)
MassUpdatePools is a paid mutator transaction binding the contract method 0x630b5ba1.
Solidity: function massUpdatePools() returns()
func (*StargateLpStakingTransactorSession) RenounceOwnership ¶
func (_StargateLpStaking *StargateLpStakingTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*StargateLpStakingTransactorSession) Set ¶
func (_StargateLpStaking *StargateLpStakingTransactorSession) Set(_pid *big.Int, _allocPoint *big.Int) (*types.Transaction, error)
Set is a paid mutator transaction binding the contract method 0x1ab06ee5.
Solidity: function set(uint256 _pid, uint256 _allocPoint) returns()
func (*StargateLpStakingTransactorSession) SetStargatePerBlock ¶
func (_StargateLpStaking *StargateLpStakingTransactorSession) SetStargatePerBlock(_stargatePerBlock *big.Int) (*types.Transaction, error)
SetStargatePerBlock is a paid mutator transaction binding the contract method 0x34970706.
Solidity: function setStargatePerBlock(uint256 _stargatePerBlock) returns()
func (*StargateLpStakingTransactorSession) TransferOwnership ¶
func (_StargateLpStaking *StargateLpStakingTransactorSession) 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 (*StargateLpStakingTransactorSession) UpdatePool ¶
func (_StargateLpStaking *StargateLpStakingTransactorSession) UpdatePool(_pid *big.Int) (*types.Transaction, error)
UpdatePool is a paid mutator transaction binding the contract method 0x51eb05a6.
Solidity: function updatePool(uint256 _pid) returns()
func (*StargateLpStakingTransactorSession) Withdraw ¶
func (_StargateLpStaking *StargateLpStakingTransactorSession) Withdraw(_pid *big.Int, _amount *big.Int) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.
Solidity: function withdraw(uint256 _pid, uint256 _amount) returns()
type StargateLpStakingWithdraw ¶
type StargateLpStakingWithdraw struct { User common.Address Pid *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
StargateLpStakingWithdraw represents a Withdraw event raised by the StargateLpStaking contract.
type StargateLpStakingWithdrawIterator ¶
type StargateLpStakingWithdrawIterator struct { Event *StargateLpStakingWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargateLpStakingWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the StargateLpStaking contract.
func (*StargateLpStakingWithdrawIterator) Close ¶
func (it *StargateLpStakingWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargateLpStakingWithdrawIterator) Error ¶
func (it *StargateLpStakingWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargateLpStakingWithdrawIterator) Next ¶
func (it *StargateLpStakingWithdrawIterator) 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 StargatePool ¶
type StargatePool struct { StargatePoolCaller // Read-only binding to the contract StargatePoolTransactor // Write-only binding to the contract StargatePoolFilterer // Log filterer for contract events }
StargatePool is an auto generated Go binding around an Ethereum contract.
func NewStargatePool ¶
func NewStargatePool(address common.Address, backend bind.ContractBackend) (*StargatePool, error)
NewStargatePool creates a new instance of StargatePool, bound to a specific deployed contract.
type StargatePoolApproval ¶
type StargatePoolApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
StargatePoolApproval represents a Approval event raised by the StargatePool contract.
type StargatePoolApprovalIterator ¶
type StargatePoolApprovalIterator struct { Event *StargatePoolApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the StargatePool contract.
func (*StargatePoolApprovalIterator) Close ¶
func (it *StargatePoolApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolApprovalIterator) Error ¶
func (it *StargatePoolApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolApprovalIterator) Next ¶
func (it *StargatePoolApprovalIterator) 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 StargatePoolBurn ¶
type StargatePoolBurn struct { From common.Address AmountLP *big.Int AmountSD *big.Int Raw types.Log // Blockchain specific contextual infos }
StargatePoolBurn represents a Burn event raised by the StargatePool contract.
type StargatePoolBurnIterator ¶
type StargatePoolBurnIterator struct { Event *StargatePoolBurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the StargatePool contract.
func (*StargatePoolBurnIterator) Close ¶
func (it *StargatePoolBurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolBurnIterator) Error ¶
func (it *StargatePoolBurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolBurnIterator) Next ¶
func (it *StargatePoolBurnIterator) 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 StargatePoolCaller ¶
type StargatePoolCaller struct {
// contains filtered or unexported fields
}
StargatePoolCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewStargatePoolCaller ¶
func NewStargatePoolCaller(address common.Address, caller bind.ContractCaller) (*StargatePoolCaller, error)
NewStargatePoolCaller creates a new read-only instance of StargatePool, bound to a specific deployed contract.
func (*StargatePoolCaller) Allowance ¶
func (_StargatePool *StargatePoolCaller) 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 (*StargatePoolCaller) AmountLPtoLD ¶
func (_StargatePool *StargatePoolCaller) AmountLPtoLD(opts *bind.CallOpts, _amountLP *big.Int) (*big.Int, error)
AmountLPtoLD is a free data retrieval call binding the contract method 0xf6cd35ee.
Solidity: function amountLPtoLD(uint256 _amountLP) view returns(uint256)
func (*StargatePoolCaller) BPDENOMINATOR ¶
BPDENOMINATOR is a free data retrieval call binding the contract method 0xabe685cd.
Solidity: function BP_DENOMINATOR() view returns(uint256)
func (*StargatePoolCaller) BalanceOf ¶
func (_StargatePool *StargatePoolCaller) BalanceOf(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*StargatePoolCaller) Batched ¶
func (_StargatePool *StargatePoolCaller) Batched(opts *bind.CallOpts) (bool, error)
Batched is a free data retrieval call binding the contract method 0x27f92376.
Solidity: function batched() view returns(bool)
func (*StargatePoolCaller) ChainPathIndexLookup ¶
func (_StargatePool *StargatePoolCaller) ChainPathIndexLookup(opts *bind.CallOpts, arg0 uint16, arg1 *big.Int) (*big.Int, error)
ChainPathIndexLookup is a free data retrieval call binding the contract method 0x64c5f02d.
Solidity: function chainPathIndexLookup(uint16 , uint256 ) view returns(uint256)
func (*StargatePoolCaller) ChainPaths ¶
func (_StargatePool *StargatePoolCaller) ChainPaths(opts *bind.CallOpts, arg0 *big.Int) (struct { Ready bool DstChainId uint16 DstPoolId *big.Int Weight *big.Int Balance *big.Int Lkb *big.Int Credits *big.Int IdealBalance *big.Int }, error)
ChainPaths is a free data retrieval call binding the contract method 0xa138ed6b.
Solidity: function chainPaths(uint256 ) view returns(bool ready, uint16 dstChainId, uint256 dstPoolId, uint256 weight, uint256 balance, uint256 lkb, uint256 credits, uint256 idealBalance)
func (*StargatePoolCaller) ConvertRate ¶
ConvertRate is a free data retrieval call binding the contract method 0xfeb56b15.
Solidity: function convertRate() view returns(uint256)
func (*StargatePoolCaller) DOMAINSEPARATOR ¶
func (_StargatePool *StargatePoolCaller) 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 (*StargatePoolCaller) Decimals ¶
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*StargatePoolCaller) DefaultLPMode ¶
func (_StargatePool *StargatePoolCaller) DefaultLPMode(opts *bind.CallOpts) (bool, error)
DefaultLPMode is a free data retrieval call binding the contract method 0x28f079c2.
Solidity: function defaultLPMode() view returns(bool)
func (*StargatePoolCaller) DefaultSwapMode ¶
func (_StargatePool *StargatePoolCaller) DefaultSwapMode(opts *bind.CallOpts) (bool, error)
DefaultSwapMode is a free data retrieval call binding the contract method 0x99a22d68.
Solidity: function defaultSwapMode() view returns(bool)
func (*StargatePoolCaller) DeltaCredit ¶
DeltaCredit is a free data retrieval call binding the contract method 0x1e8e51da.
Solidity: function deltaCredit() view returns(uint256)
func (*StargatePoolCaller) EqFeePool ¶
EqFeePool is a free data retrieval call binding the contract method 0x9bb81119.
Solidity: function eqFeePool() view returns(uint256)
func (*StargatePoolCaller) FeeLibrary ¶
FeeLibrary is a free data retrieval call binding the contract method 0x001edfab.
Solidity: function feeLibrary() view returns(address)
func (*StargatePoolCaller) GetChainPath ¶
func (_StargatePool *StargatePoolCaller) GetChainPath(opts *bind.CallOpts, _dstChainId uint16, _dstPoolId *big.Int) (PoolChainPath, error)
GetChainPath is a free data retrieval call binding the contract method 0x159f6add.
Solidity: function getChainPath(uint16 _dstChainId, uint256 _dstPoolId) view returns((bool,uint16,uint256,uint256,uint256,uint256,uint256,uint256))
func (*StargatePoolCaller) GetChainPathsLength ¶
GetChainPathsLength is a free data retrieval call binding the contract method 0x163ef490.
Solidity: function getChainPathsLength() view returns(uint256)
func (*StargatePoolCaller) LocalDecimals ¶
LocalDecimals is a free data retrieval call binding the contract method 0xe46e7058.
Solidity: function localDecimals() view returns(uint256)
func (*StargatePoolCaller) LpDeltaBP ¶
LpDeltaBP is a free data retrieval call binding the contract method 0x36448777.
Solidity: function lpDeltaBP() view returns(uint256)
func (*StargatePoolCaller) MintFeeBP ¶
MintFeeBP is a free data retrieval call binding the contract method 0xfaa24f07.
Solidity: function mintFeeBP() view returns(uint256)
func (*StargatePoolCaller) MintFeeBalance ¶
MintFeeBalance is a free data retrieval call binding the contract method 0x65152f2b.
Solidity: function mintFeeBalance() view returns(uint256)
func (*StargatePoolCaller) Name ¶
func (_StargatePool *StargatePoolCaller) 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 (*StargatePoolCaller) Nonces ¶
func (_StargatePool *StargatePoolCaller) Nonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*StargatePoolCaller) PERMITTYPEHASH ¶
func (_StargatePool *StargatePoolCaller) PERMITTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*StargatePoolCaller) PoolId ¶
PoolId is a free data retrieval call binding the contract method 0x3e0dc34e.
Solidity: function poolId() view returns(uint256)
func (*StargatePoolCaller) ProtocolFeeBalance ¶
ProtocolFeeBalance is a free data retrieval call binding the contract method 0x0a22d68c.
Solidity: function protocolFeeBalance() view returns(uint256)
func (*StargatePoolCaller) Router ¶
Router is a free data retrieval call binding the contract method 0xf887ea40.
Solidity: function router() view returns(address)
func (*StargatePoolCaller) SharedDecimals ¶
SharedDecimals is a free data retrieval call binding the contract method 0x857749b0.
Solidity: function sharedDecimals() view returns(uint256)
func (*StargatePoolCaller) StopSwap ¶
func (_StargatePool *StargatePoolCaller) StopSwap(opts *bind.CallOpts) (bool, error)
StopSwap is a free data retrieval call binding the contract method 0xb633b364.
Solidity: function stopSwap() view returns(bool)
func (*StargatePoolCaller) SwapDeltaBP ¶
SwapDeltaBP is a free data retrieval call binding the contract method 0xcdfed0ab.
Solidity: function swapDeltaBP() view returns(uint256)
func (*StargatePoolCaller) Symbol ¶
func (_StargatePool *StargatePoolCaller) 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 (*StargatePoolCaller) Token ¶
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*StargatePoolCaller) TotalLiquidity ¶
TotalLiquidity is a free data retrieval call binding the contract method 0x15770f92.
Solidity: function totalLiquidity() view returns(uint256)
func (*StargatePoolCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*StargatePoolCaller) TotalWeight ¶
TotalWeight is a free data retrieval call binding the contract method 0x96c82e57.
Solidity: function totalWeight() view returns(uint256)
type StargatePoolCallerRaw ¶
type StargatePoolCallerRaw struct {
Contract *StargatePoolCaller // Generic read-only contract binding to access the raw methods on
}
StargatePoolCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*StargatePoolCallerRaw) Call ¶
func (_StargatePool *StargatePoolCallerRaw) 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 StargatePoolCallerSession ¶
type StargatePoolCallerSession struct { Contract *StargatePoolCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
StargatePoolCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*StargatePoolCallerSession) Allowance ¶
func (_StargatePool *StargatePoolCallerSession) 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 (*StargatePoolCallerSession) AmountLPtoLD ¶
AmountLPtoLD is a free data retrieval call binding the contract method 0xf6cd35ee.
Solidity: function amountLPtoLD(uint256 _amountLP) view returns(uint256)
func (*StargatePoolCallerSession) BPDENOMINATOR ¶
func (_StargatePool *StargatePoolCallerSession) BPDENOMINATOR() (*big.Int, error)
BPDENOMINATOR is a free data retrieval call binding the contract method 0xabe685cd.
Solidity: function BP_DENOMINATOR() view returns(uint256)
func (*StargatePoolCallerSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*StargatePoolCallerSession) Batched ¶
func (_StargatePool *StargatePoolCallerSession) Batched() (bool, error)
Batched is a free data retrieval call binding the contract method 0x27f92376.
Solidity: function batched() view returns(bool)
func (*StargatePoolCallerSession) ChainPathIndexLookup ¶
func (_StargatePool *StargatePoolCallerSession) ChainPathIndexLookup(arg0 uint16, arg1 *big.Int) (*big.Int, error)
ChainPathIndexLookup is a free data retrieval call binding the contract method 0x64c5f02d.
Solidity: function chainPathIndexLookup(uint16 , uint256 ) view returns(uint256)
func (*StargatePoolCallerSession) ChainPaths ¶
func (_StargatePool *StargatePoolCallerSession) ChainPaths(arg0 *big.Int) (struct { Ready bool DstChainId uint16 DstPoolId *big.Int Weight *big.Int Balance *big.Int Lkb *big.Int Credits *big.Int IdealBalance *big.Int }, error)
ChainPaths is a free data retrieval call binding the contract method 0xa138ed6b.
Solidity: function chainPaths(uint256 ) view returns(bool ready, uint16 dstChainId, uint256 dstPoolId, uint256 weight, uint256 balance, uint256 lkb, uint256 credits, uint256 idealBalance)
func (*StargatePoolCallerSession) ConvertRate ¶
func (_StargatePool *StargatePoolCallerSession) ConvertRate() (*big.Int, error)
ConvertRate is a free data retrieval call binding the contract method 0xfeb56b15.
Solidity: function convertRate() view returns(uint256)
func (*StargatePoolCallerSession) DOMAINSEPARATOR ¶
func (_StargatePool *StargatePoolCallerSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*StargatePoolCallerSession) Decimals ¶
func (_StargatePool *StargatePoolCallerSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*StargatePoolCallerSession) DefaultLPMode ¶
func (_StargatePool *StargatePoolCallerSession) DefaultLPMode() (bool, error)
DefaultLPMode is a free data retrieval call binding the contract method 0x28f079c2.
Solidity: function defaultLPMode() view returns(bool)
func (*StargatePoolCallerSession) DefaultSwapMode ¶
func (_StargatePool *StargatePoolCallerSession) DefaultSwapMode() (bool, error)
DefaultSwapMode is a free data retrieval call binding the contract method 0x99a22d68.
Solidity: function defaultSwapMode() view returns(bool)
func (*StargatePoolCallerSession) DeltaCredit ¶
func (_StargatePool *StargatePoolCallerSession) DeltaCredit() (*big.Int, error)
DeltaCredit is a free data retrieval call binding the contract method 0x1e8e51da.
Solidity: function deltaCredit() view returns(uint256)
func (*StargatePoolCallerSession) EqFeePool ¶
func (_StargatePool *StargatePoolCallerSession) EqFeePool() (*big.Int, error)
EqFeePool is a free data retrieval call binding the contract method 0x9bb81119.
Solidity: function eqFeePool() view returns(uint256)
func (*StargatePoolCallerSession) FeeLibrary ¶
func (_StargatePool *StargatePoolCallerSession) FeeLibrary() (common.Address, error)
FeeLibrary is a free data retrieval call binding the contract method 0x001edfab.
Solidity: function feeLibrary() view returns(address)
func (*StargatePoolCallerSession) GetChainPath ¶
func (_StargatePool *StargatePoolCallerSession) GetChainPath(_dstChainId uint16, _dstPoolId *big.Int) (PoolChainPath, error)
GetChainPath is a free data retrieval call binding the contract method 0x159f6add.
Solidity: function getChainPath(uint16 _dstChainId, uint256 _dstPoolId) view returns((bool,uint16,uint256,uint256,uint256,uint256,uint256,uint256))
func (*StargatePoolCallerSession) GetChainPathsLength ¶
func (_StargatePool *StargatePoolCallerSession) GetChainPathsLength() (*big.Int, error)
GetChainPathsLength is a free data retrieval call binding the contract method 0x163ef490.
Solidity: function getChainPathsLength() view returns(uint256)
func (*StargatePoolCallerSession) LocalDecimals ¶
func (_StargatePool *StargatePoolCallerSession) LocalDecimals() (*big.Int, error)
LocalDecimals is a free data retrieval call binding the contract method 0xe46e7058.
Solidity: function localDecimals() view returns(uint256)
func (*StargatePoolCallerSession) LpDeltaBP ¶
func (_StargatePool *StargatePoolCallerSession) LpDeltaBP() (*big.Int, error)
LpDeltaBP is a free data retrieval call binding the contract method 0x36448777.
Solidity: function lpDeltaBP() view returns(uint256)
func (*StargatePoolCallerSession) MintFeeBP ¶
func (_StargatePool *StargatePoolCallerSession) MintFeeBP() (*big.Int, error)
MintFeeBP is a free data retrieval call binding the contract method 0xfaa24f07.
Solidity: function mintFeeBP() view returns(uint256)
func (*StargatePoolCallerSession) MintFeeBalance ¶
func (_StargatePool *StargatePoolCallerSession) MintFeeBalance() (*big.Int, error)
MintFeeBalance is a free data retrieval call binding the contract method 0x65152f2b.
Solidity: function mintFeeBalance() view returns(uint256)
func (*StargatePoolCallerSession) Name ¶
func (_StargatePool *StargatePoolCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*StargatePoolCallerSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*StargatePoolCallerSession) PERMITTYPEHASH ¶
func (_StargatePool *StargatePoolCallerSession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*StargatePoolCallerSession) PoolId ¶
func (_StargatePool *StargatePoolCallerSession) PoolId() (*big.Int, error)
PoolId is a free data retrieval call binding the contract method 0x3e0dc34e.
Solidity: function poolId() view returns(uint256)
func (*StargatePoolCallerSession) ProtocolFeeBalance ¶
func (_StargatePool *StargatePoolCallerSession) ProtocolFeeBalance() (*big.Int, error)
ProtocolFeeBalance is a free data retrieval call binding the contract method 0x0a22d68c.
Solidity: function protocolFeeBalance() view returns(uint256)
func (*StargatePoolCallerSession) Router ¶
func (_StargatePool *StargatePoolCallerSession) Router() (common.Address, error)
Router is a free data retrieval call binding the contract method 0xf887ea40.
Solidity: function router() view returns(address)
func (*StargatePoolCallerSession) SharedDecimals ¶
func (_StargatePool *StargatePoolCallerSession) SharedDecimals() (*big.Int, error)
SharedDecimals is a free data retrieval call binding the contract method 0x857749b0.
Solidity: function sharedDecimals() view returns(uint256)
func (*StargatePoolCallerSession) StopSwap ¶
func (_StargatePool *StargatePoolCallerSession) StopSwap() (bool, error)
StopSwap is a free data retrieval call binding the contract method 0xb633b364.
Solidity: function stopSwap() view returns(bool)
func (*StargatePoolCallerSession) SwapDeltaBP ¶
func (_StargatePool *StargatePoolCallerSession) SwapDeltaBP() (*big.Int, error)
SwapDeltaBP is a free data retrieval call binding the contract method 0xcdfed0ab.
Solidity: function swapDeltaBP() view returns(uint256)
func (*StargatePoolCallerSession) Symbol ¶
func (_StargatePool *StargatePoolCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*StargatePoolCallerSession) Token ¶
func (_StargatePool *StargatePoolCallerSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*StargatePoolCallerSession) TotalLiquidity ¶
func (_StargatePool *StargatePoolCallerSession) TotalLiquidity() (*big.Int, error)
TotalLiquidity is a free data retrieval call binding the contract method 0x15770f92.
Solidity: function totalLiquidity() view returns(uint256)
func (*StargatePoolCallerSession) TotalSupply ¶
func (_StargatePool *StargatePoolCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*StargatePoolCallerSession) TotalWeight ¶
func (_StargatePool *StargatePoolCallerSession) TotalWeight() (*big.Int, error)
TotalWeight is a free data retrieval call binding the contract method 0x96c82e57.
Solidity: function totalWeight() view returns(uint256)
type StargatePoolChainPathUpdate ¶
type StargatePoolChainPathUpdate struct { DstChainId uint16 DstPoolId *big.Int Weight *big.Int Raw types.Log // Blockchain specific contextual infos }
StargatePoolChainPathUpdate represents a ChainPathUpdate event raised by the StargatePool contract.
type StargatePoolChainPathUpdateIterator ¶
type StargatePoolChainPathUpdateIterator struct { Event *StargatePoolChainPathUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolChainPathUpdateIterator is returned from FilterChainPathUpdate and is used to iterate over the raw logs and unpacked data for ChainPathUpdate events raised by the StargatePool contract.
func (*StargatePoolChainPathUpdateIterator) Close ¶
func (it *StargatePoolChainPathUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolChainPathUpdateIterator) Error ¶
func (it *StargatePoolChainPathUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolChainPathUpdateIterator) Next ¶
func (it *StargatePoolChainPathUpdateIterator) 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 StargatePoolCreditChainPath ¶
type StargatePoolCreditChainPath struct { ChainId uint16 SrcPoolId *big.Int AmountSD *big.Int IdealBalance *big.Int Raw types.Log // Blockchain specific contextual infos }
StargatePoolCreditChainPath represents a CreditChainPath event raised by the StargatePool contract.
type StargatePoolCreditChainPathIterator ¶
type StargatePoolCreditChainPathIterator struct { Event *StargatePoolCreditChainPath // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolCreditChainPathIterator is returned from FilterCreditChainPath and is used to iterate over the raw logs and unpacked data for CreditChainPath events raised by the StargatePool contract.
func (*StargatePoolCreditChainPathIterator) Close ¶
func (it *StargatePoolCreditChainPathIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolCreditChainPathIterator) Error ¶
func (it *StargatePoolCreditChainPathIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolCreditChainPathIterator) Next ¶
func (it *StargatePoolCreditChainPathIterator) 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 StargatePoolDeltaParamUpdated ¶
type StargatePoolDeltaParamUpdated struct { Batched bool SwapDeltaBP *big.Int LpDeltaBP *big.Int DefaultSwapMode bool DefaultLPMode bool Raw types.Log // Blockchain specific contextual infos }
StargatePoolDeltaParamUpdated represents a DeltaParamUpdated event raised by the StargatePool contract.
type StargatePoolDeltaParamUpdatedIterator ¶
type StargatePoolDeltaParamUpdatedIterator struct { Event *StargatePoolDeltaParamUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolDeltaParamUpdatedIterator is returned from FilterDeltaParamUpdated and is used to iterate over the raw logs and unpacked data for DeltaParamUpdated events raised by the StargatePool contract.
func (*StargatePoolDeltaParamUpdatedIterator) Close ¶
func (it *StargatePoolDeltaParamUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolDeltaParamUpdatedIterator) Error ¶
func (it *StargatePoolDeltaParamUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolDeltaParamUpdatedIterator) Next ¶
func (it *StargatePoolDeltaParamUpdatedIterator) 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 StargatePoolFeeLibraryUpdated ¶
type StargatePoolFeeLibraryUpdated struct { FeeLibraryAddr common.Address Raw types.Log // Blockchain specific contextual infos }
StargatePoolFeeLibraryUpdated represents a FeeLibraryUpdated event raised by the StargatePool contract.
type StargatePoolFeeLibraryUpdatedIterator ¶
type StargatePoolFeeLibraryUpdatedIterator struct { Event *StargatePoolFeeLibraryUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolFeeLibraryUpdatedIterator is returned from FilterFeeLibraryUpdated and is used to iterate over the raw logs and unpacked data for FeeLibraryUpdated events raised by the StargatePool contract.
func (*StargatePoolFeeLibraryUpdatedIterator) Close ¶
func (it *StargatePoolFeeLibraryUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolFeeLibraryUpdatedIterator) Error ¶
func (it *StargatePoolFeeLibraryUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolFeeLibraryUpdatedIterator) Next ¶
func (it *StargatePoolFeeLibraryUpdatedIterator) 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 StargatePoolFeesUpdated ¶
type StargatePoolFeesUpdated struct { MintFeeBP *big.Int Raw types.Log // Blockchain specific contextual infos }
StargatePoolFeesUpdated represents a FeesUpdated event raised by the StargatePool contract.
type StargatePoolFeesUpdatedIterator ¶
type StargatePoolFeesUpdatedIterator struct { Event *StargatePoolFeesUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolFeesUpdatedIterator is returned from FilterFeesUpdated and is used to iterate over the raw logs and unpacked data for FeesUpdated events raised by the StargatePool contract.
func (*StargatePoolFeesUpdatedIterator) Close ¶
func (it *StargatePoolFeesUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolFeesUpdatedIterator) Error ¶
func (it *StargatePoolFeesUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolFeesUpdatedIterator) Next ¶
func (it *StargatePoolFeesUpdatedIterator) 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 StargatePoolFilterer ¶
type StargatePoolFilterer struct {
// contains filtered or unexported fields
}
StargatePoolFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewStargatePoolFilterer ¶
func NewStargatePoolFilterer(address common.Address, filterer bind.ContractFilterer) (*StargatePoolFilterer, error)
NewStargatePoolFilterer creates a new log filterer instance of StargatePool, bound to a specific deployed contract.
func (*StargatePoolFilterer) FilterApproval ¶
func (_StargatePool *StargatePoolFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*StargatePoolApprovalIterator, 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 (*StargatePoolFilterer) FilterBurn ¶
func (_StargatePool *StargatePoolFilterer) FilterBurn(opts *bind.FilterOpts) (*StargatePoolBurnIterator, error)
FilterBurn is a free log retrieval operation binding the contract event 0x49995e5dd6158cf69ad3e9777c46755a1a826a446c6416992167462dad033b2a.
Solidity: event Burn(address from, uint256 amountLP, uint256 amountSD)
func (*StargatePoolFilterer) FilterChainPathUpdate ¶
func (_StargatePool *StargatePoolFilterer) FilterChainPathUpdate(opts *bind.FilterOpts) (*StargatePoolChainPathUpdateIterator, error)
FilterChainPathUpdate is a free log retrieval operation binding the contract event 0x8fb3b21a941c2361df46475f9ae2f7b5dac5de7bd085fa22415ec0bb30c77e22.
Solidity: event ChainPathUpdate(uint16 dstChainId, uint256 dstPoolId, uint256 weight)
func (*StargatePoolFilterer) FilterCreditChainPath ¶
func (_StargatePool *StargatePoolFilterer) FilterCreditChainPath(opts *bind.FilterOpts) (*StargatePoolCreditChainPathIterator, error)
FilterCreditChainPath is a free log retrieval operation binding the contract event 0xdbdd25248751feb2f3b66721dfdd11662a68bc155af3771e661aabec92fba814.
Solidity: event CreditChainPath(uint16 chainId, uint256 srcPoolId, uint256 amountSD, uint256 idealBalance)
func (*StargatePoolFilterer) FilterDeltaParamUpdated ¶
func (_StargatePool *StargatePoolFilterer) FilterDeltaParamUpdated(opts *bind.FilterOpts) (*StargatePoolDeltaParamUpdatedIterator, error)
FilterDeltaParamUpdated is a free log retrieval operation binding the contract event 0x7cc11124872dc29ed41dd447ee7ab07d9eee5d8ebb55f65dd92bce19bb20224a.
Solidity: event DeltaParamUpdated(bool batched, uint256 swapDeltaBP, uint256 lpDeltaBP, bool defaultSwapMode, bool defaultLPMode)
func (*StargatePoolFilterer) FilterFeeLibraryUpdated ¶
func (_StargatePool *StargatePoolFilterer) FilterFeeLibraryUpdated(opts *bind.FilterOpts) (*StargatePoolFeeLibraryUpdatedIterator, error)
FilterFeeLibraryUpdated is a free log retrieval operation binding the contract event 0x5138b884a20454b6db937b9e11c8534e02e708750e0c465df6cd9701622952ce.
Solidity: event FeeLibraryUpdated(address feeLibraryAddr)
func (*StargatePoolFilterer) FilterFeesUpdated ¶
func (_StargatePool *StargatePoolFilterer) FilterFeesUpdated(opts *bind.FilterOpts) (*StargatePoolFeesUpdatedIterator, error)
FilterFeesUpdated is a free log retrieval operation binding the contract event 0x9fe6eeb0f0541c644a56c67efeb872dbadd803a60b909d7dde1b35a3fe230b0e.
Solidity: event FeesUpdated(uint256 mintFeeBP)
func (*StargatePoolFilterer) FilterInstantRedeemLocal ¶
func (_StargatePool *StargatePoolFilterer) FilterInstantRedeemLocal(opts *bind.FilterOpts) (*StargatePoolInstantRedeemLocalIterator, error)
FilterInstantRedeemLocal is a free log retrieval operation binding the contract event 0x2125a70154569bd1686edd3cf981bb23dea7c1fa1637909dbb3c9a967cb0c2f2.
Solidity: event InstantRedeemLocal(address from, uint256 amountLP, uint256 amountSD, address to)
func (*StargatePoolFilterer) FilterMint ¶
func (_StargatePool *StargatePoolFilterer) FilterMint(opts *bind.FilterOpts) (*StargatePoolMintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0xb4c03061fb5b7fed76389d5af8f2e0ddb09f8c70d1333abbb62582835e10accb.
Solidity: event Mint(address to, uint256 amountLP, uint256 amountSD, uint256 mintFeeAmountSD)
func (*StargatePoolFilterer) FilterRedeemLocal ¶
func (_StargatePool *StargatePoolFilterer) FilterRedeemLocal(opts *bind.FilterOpts) (*StargatePoolRedeemLocalIterator, error)
FilterRedeemLocal is a free log retrieval operation binding the contract event 0x53c03ee0722b52efeb42444f48d90173854501b3de3c590fcb445743377115c2.
Solidity: event RedeemLocal(address from, uint256 amountLP, uint256 amountSD, uint16 chainId, uint256 dstPoolId, bytes to)
func (*StargatePoolFilterer) FilterRedeemLocalCallback ¶
func (_StargatePool *StargatePoolFilterer) FilterRedeemLocalCallback(opts *bind.FilterOpts) (*StargatePoolRedeemLocalCallbackIterator, error)
FilterRedeemLocalCallback is a free log retrieval operation binding the contract event 0xa97166013ecf5305dd9a58d6d867f05e646d4275f52d2bd52a5c7f00a690ad1b.
Solidity: event RedeemLocalCallback(address _to, uint256 _amountSD, uint256 _amountToMintSD)
func (*StargatePoolFilterer) FilterRedeemRemote ¶
func (_StargatePool *StargatePoolFilterer) FilterRedeemRemote(opts *bind.FilterOpts) (*StargatePoolRedeemRemoteIterator, error)
FilterRedeemRemote is a free log retrieval operation binding the contract event 0xa33f5c0b76f00f6737b1780a8a7f18e19c3fe8fe9ee01a6c1b8ce1eae5ed54f9.
Solidity: event RedeemRemote(uint16 chainId, uint256 dstPoolId, address from, uint256 amountLP, uint256 amountSD)
func (*StargatePoolFilterer) FilterSendCredits ¶
func (_StargatePool *StargatePoolFilterer) FilterSendCredits(opts *bind.FilterOpts) (*StargatePoolSendCreditsIterator, error)
FilterSendCredits is a free log retrieval operation binding the contract event 0x6939f93e3f21cf1362eb17155b740277de5687dae9a83a85909fd71da95944e7.
Solidity: event SendCredits(uint16 dstChainId, uint256 dstPoolId, uint256 credits, uint256 idealBalance)
func (*StargatePoolFilterer) FilterStopSwapUpdated ¶
func (_StargatePool *StargatePoolFilterer) FilterStopSwapUpdated(opts *bind.FilterOpts) (*StargatePoolStopSwapUpdatedIterator, error)
FilterStopSwapUpdated is a free log retrieval operation binding the contract event 0x59a9350977452c5240699f57f18b5915cd0440a56f08820a38b9f2432a82ba3e.
Solidity: event StopSwapUpdated(bool swapStop)
func (*StargatePoolFilterer) FilterSwap ¶
func (_StargatePool *StargatePoolFilterer) FilterSwap(opts *bind.FilterOpts) (*StargatePoolSwapIterator, error)
FilterSwap is a free log retrieval operation binding the contract event 0x34660fc8af304464529f48a778e03d03e4d34bcd5f9b6f0cfbf3cd238c642f7f.
Solidity: event Swap(uint16 chainId, uint256 dstPoolId, address from, uint256 amountSD, uint256 eqReward, uint256 eqFee, uint256 protocolFee, uint256 lpFee)
func (*StargatePoolFilterer) FilterSwapRemote ¶
func (_StargatePool *StargatePoolFilterer) FilterSwapRemote(opts *bind.FilterOpts) (*StargatePoolSwapRemoteIterator, error)
FilterSwapRemote is a free log retrieval operation binding the contract event 0xfb2b592367452f1c437675bed47f5e1e6c25188c17d7ba01a12eb030bc41ccef.
Solidity: event SwapRemote(address to, uint256 amountSD, uint256 protocolFee, uint256 dstFee)
func (*StargatePoolFilterer) FilterTransfer ¶
func (_StargatePool *StargatePoolFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*StargatePoolTransferIterator, 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 (*StargatePoolFilterer) FilterWithdrawMintFeeBalance ¶
func (_StargatePool *StargatePoolFilterer) FilterWithdrawMintFeeBalance(opts *bind.FilterOpts) (*StargatePoolWithdrawMintFeeBalanceIterator, error)
FilterWithdrawMintFeeBalance is a free log retrieval operation binding the contract event 0x87b3b2749102aa96f2d08396e34cd47673e57148af9cfff965d99bc0378a87dc.
Solidity: event WithdrawMintFeeBalance(address to, uint256 amountSD)
func (*StargatePoolFilterer) FilterWithdrawProtocolFeeBalance ¶
func (_StargatePool *StargatePoolFilterer) FilterWithdrawProtocolFeeBalance(opts *bind.FilterOpts) (*StargatePoolWithdrawProtocolFeeBalanceIterator, error)
FilterWithdrawProtocolFeeBalance is a free log retrieval operation binding the contract event 0x70dc5a44816033bea80f836440f4b1fe1b3bb06b568c8dc2301901f03bf237c7.
Solidity: event WithdrawProtocolFeeBalance(address to, uint256 amountSD)
func (*StargatePoolFilterer) FilterWithdrawRemote ¶
func (_StargatePool *StargatePoolFilterer) FilterWithdrawRemote(opts *bind.FilterOpts) (*StargatePoolWithdrawRemoteIterator, error)
FilterWithdrawRemote is a free log retrieval operation binding the contract event 0x44d3575fd94f9e0a41d7ebbc7e952f9b615c3f8d1faf924e1e9e98c0edf0d380.
Solidity: event WithdrawRemote(uint16 srcChainId, uint256 srcPoolId, uint256 swapAmount, uint256 mintAmount)
func (*StargatePoolFilterer) ParseApproval ¶
func (_StargatePool *StargatePoolFilterer) ParseApproval(log types.Log) (*StargatePoolApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*StargatePoolFilterer) ParseBurn ¶
func (_StargatePool *StargatePoolFilterer) ParseBurn(log types.Log) (*StargatePoolBurn, error)
ParseBurn is a log parse operation binding the contract event 0x49995e5dd6158cf69ad3e9777c46755a1a826a446c6416992167462dad033b2a.
Solidity: event Burn(address from, uint256 amountLP, uint256 amountSD)
func (*StargatePoolFilterer) ParseChainPathUpdate ¶
func (_StargatePool *StargatePoolFilterer) ParseChainPathUpdate(log types.Log) (*StargatePoolChainPathUpdate, error)
ParseChainPathUpdate is a log parse operation binding the contract event 0x8fb3b21a941c2361df46475f9ae2f7b5dac5de7bd085fa22415ec0bb30c77e22.
Solidity: event ChainPathUpdate(uint16 dstChainId, uint256 dstPoolId, uint256 weight)
func (*StargatePoolFilterer) ParseCreditChainPath ¶
func (_StargatePool *StargatePoolFilterer) ParseCreditChainPath(log types.Log) (*StargatePoolCreditChainPath, error)
ParseCreditChainPath is a log parse operation binding the contract event 0xdbdd25248751feb2f3b66721dfdd11662a68bc155af3771e661aabec92fba814.
Solidity: event CreditChainPath(uint16 chainId, uint256 srcPoolId, uint256 amountSD, uint256 idealBalance)
func (*StargatePoolFilterer) ParseDeltaParamUpdated ¶
func (_StargatePool *StargatePoolFilterer) ParseDeltaParamUpdated(log types.Log) (*StargatePoolDeltaParamUpdated, error)
ParseDeltaParamUpdated is a log parse operation binding the contract event 0x7cc11124872dc29ed41dd447ee7ab07d9eee5d8ebb55f65dd92bce19bb20224a.
Solidity: event DeltaParamUpdated(bool batched, uint256 swapDeltaBP, uint256 lpDeltaBP, bool defaultSwapMode, bool defaultLPMode)
func (*StargatePoolFilterer) ParseFeeLibraryUpdated ¶
func (_StargatePool *StargatePoolFilterer) ParseFeeLibraryUpdated(log types.Log) (*StargatePoolFeeLibraryUpdated, error)
ParseFeeLibraryUpdated is a log parse operation binding the contract event 0x5138b884a20454b6db937b9e11c8534e02e708750e0c465df6cd9701622952ce.
Solidity: event FeeLibraryUpdated(address feeLibraryAddr)
func (*StargatePoolFilterer) ParseFeesUpdated ¶
func (_StargatePool *StargatePoolFilterer) ParseFeesUpdated(log types.Log) (*StargatePoolFeesUpdated, error)
ParseFeesUpdated is a log parse operation binding the contract event 0x9fe6eeb0f0541c644a56c67efeb872dbadd803a60b909d7dde1b35a3fe230b0e.
Solidity: event FeesUpdated(uint256 mintFeeBP)
func (*StargatePoolFilterer) ParseInstantRedeemLocal ¶
func (_StargatePool *StargatePoolFilterer) ParseInstantRedeemLocal(log types.Log) (*StargatePoolInstantRedeemLocal, error)
ParseInstantRedeemLocal is a log parse operation binding the contract event 0x2125a70154569bd1686edd3cf981bb23dea7c1fa1637909dbb3c9a967cb0c2f2.
Solidity: event InstantRedeemLocal(address from, uint256 amountLP, uint256 amountSD, address to)
func (*StargatePoolFilterer) ParseMint ¶
func (_StargatePool *StargatePoolFilterer) ParseMint(log types.Log) (*StargatePoolMint, error)
ParseMint is a log parse operation binding the contract event 0xb4c03061fb5b7fed76389d5af8f2e0ddb09f8c70d1333abbb62582835e10accb.
Solidity: event Mint(address to, uint256 amountLP, uint256 amountSD, uint256 mintFeeAmountSD)
func (*StargatePoolFilterer) ParseRedeemLocal ¶
func (_StargatePool *StargatePoolFilterer) ParseRedeemLocal(log types.Log) (*StargatePoolRedeemLocal, error)
ParseRedeemLocal is a log parse operation binding the contract event 0x53c03ee0722b52efeb42444f48d90173854501b3de3c590fcb445743377115c2.
Solidity: event RedeemLocal(address from, uint256 amountLP, uint256 amountSD, uint16 chainId, uint256 dstPoolId, bytes to)
func (*StargatePoolFilterer) ParseRedeemLocalCallback ¶
func (_StargatePool *StargatePoolFilterer) ParseRedeemLocalCallback(log types.Log) (*StargatePoolRedeemLocalCallback, error)
ParseRedeemLocalCallback is a log parse operation binding the contract event 0xa97166013ecf5305dd9a58d6d867f05e646d4275f52d2bd52a5c7f00a690ad1b.
Solidity: event RedeemLocalCallback(address _to, uint256 _amountSD, uint256 _amountToMintSD)
func (*StargatePoolFilterer) ParseRedeemRemote ¶
func (_StargatePool *StargatePoolFilterer) ParseRedeemRemote(log types.Log) (*StargatePoolRedeemRemote, error)
ParseRedeemRemote is a log parse operation binding the contract event 0xa33f5c0b76f00f6737b1780a8a7f18e19c3fe8fe9ee01a6c1b8ce1eae5ed54f9.
Solidity: event RedeemRemote(uint16 chainId, uint256 dstPoolId, address from, uint256 amountLP, uint256 amountSD)
func (*StargatePoolFilterer) ParseSendCredits ¶
func (_StargatePool *StargatePoolFilterer) ParseSendCredits(log types.Log) (*StargatePoolSendCredits, error)
ParseSendCredits is a log parse operation binding the contract event 0x6939f93e3f21cf1362eb17155b740277de5687dae9a83a85909fd71da95944e7.
Solidity: event SendCredits(uint16 dstChainId, uint256 dstPoolId, uint256 credits, uint256 idealBalance)
func (*StargatePoolFilterer) ParseStopSwapUpdated ¶
func (_StargatePool *StargatePoolFilterer) ParseStopSwapUpdated(log types.Log) (*StargatePoolStopSwapUpdated, error)
ParseStopSwapUpdated is a log parse operation binding the contract event 0x59a9350977452c5240699f57f18b5915cd0440a56f08820a38b9f2432a82ba3e.
Solidity: event StopSwapUpdated(bool swapStop)
func (*StargatePoolFilterer) ParseSwap ¶
func (_StargatePool *StargatePoolFilterer) ParseSwap(log types.Log) (*StargatePoolSwap, error)
ParseSwap is a log parse operation binding the contract event 0x34660fc8af304464529f48a778e03d03e4d34bcd5f9b6f0cfbf3cd238c642f7f.
Solidity: event Swap(uint16 chainId, uint256 dstPoolId, address from, uint256 amountSD, uint256 eqReward, uint256 eqFee, uint256 protocolFee, uint256 lpFee)
func (*StargatePoolFilterer) ParseSwapRemote ¶
func (_StargatePool *StargatePoolFilterer) ParseSwapRemote(log types.Log) (*StargatePoolSwapRemote, error)
ParseSwapRemote is a log parse operation binding the contract event 0xfb2b592367452f1c437675bed47f5e1e6c25188c17d7ba01a12eb030bc41ccef.
Solidity: event SwapRemote(address to, uint256 amountSD, uint256 protocolFee, uint256 dstFee)
func (*StargatePoolFilterer) ParseTransfer ¶
func (_StargatePool *StargatePoolFilterer) ParseTransfer(log types.Log) (*StargatePoolTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*StargatePoolFilterer) ParseWithdrawMintFeeBalance ¶
func (_StargatePool *StargatePoolFilterer) ParseWithdrawMintFeeBalance(log types.Log) (*StargatePoolWithdrawMintFeeBalance, error)
ParseWithdrawMintFeeBalance is a log parse operation binding the contract event 0x87b3b2749102aa96f2d08396e34cd47673e57148af9cfff965d99bc0378a87dc.
Solidity: event WithdrawMintFeeBalance(address to, uint256 amountSD)
func (*StargatePoolFilterer) ParseWithdrawProtocolFeeBalance ¶
func (_StargatePool *StargatePoolFilterer) ParseWithdrawProtocolFeeBalance(log types.Log) (*StargatePoolWithdrawProtocolFeeBalance, error)
ParseWithdrawProtocolFeeBalance is a log parse operation binding the contract event 0x70dc5a44816033bea80f836440f4b1fe1b3bb06b568c8dc2301901f03bf237c7.
Solidity: event WithdrawProtocolFeeBalance(address to, uint256 amountSD)
func (*StargatePoolFilterer) ParseWithdrawRemote ¶
func (_StargatePool *StargatePoolFilterer) ParseWithdrawRemote(log types.Log) (*StargatePoolWithdrawRemote, error)
ParseWithdrawRemote is a log parse operation binding the contract event 0x44d3575fd94f9e0a41d7ebbc7e952f9b615c3f8d1faf924e1e9e98c0edf0d380.
Solidity: event WithdrawRemote(uint16 srcChainId, uint256 srcPoolId, uint256 swapAmount, uint256 mintAmount)
func (*StargatePoolFilterer) WatchApproval ¶
func (_StargatePool *StargatePoolFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *StargatePoolApproval, 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 (*StargatePoolFilterer) WatchBurn ¶
func (_StargatePool *StargatePoolFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *StargatePoolBurn) (event.Subscription, error)
WatchBurn is a free log subscription operation binding the contract event 0x49995e5dd6158cf69ad3e9777c46755a1a826a446c6416992167462dad033b2a.
Solidity: event Burn(address from, uint256 amountLP, uint256 amountSD)
func (*StargatePoolFilterer) WatchChainPathUpdate ¶
func (_StargatePool *StargatePoolFilterer) WatchChainPathUpdate(opts *bind.WatchOpts, sink chan<- *StargatePoolChainPathUpdate) (event.Subscription, error)
WatchChainPathUpdate is a free log subscription operation binding the contract event 0x8fb3b21a941c2361df46475f9ae2f7b5dac5de7bd085fa22415ec0bb30c77e22.
Solidity: event ChainPathUpdate(uint16 dstChainId, uint256 dstPoolId, uint256 weight)
func (*StargatePoolFilterer) WatchCreditChainPath ¶
func (_StargatePool *StargatePoolFilterer) WatchCreditChainPath(opts *bind.WatchOpts, sink chan<- *StargatePoolCreditChainPath) (event.Subscription, error)
WatchCreditChainPath is a free log subscription operation binding the contract event 0xdbdd25248751feb2f3b66721dfdd11662a68bc155af3771e661aabec92fba814.
Solidity: event CreditChainPath(uint16 chainId, uint256 srcPoolId, uint256 amountSD, uint256 idealBalance)
func (*StargatePoolFilterer) WatchDeltaParamUpdated ¶
func (_StargatePool *StargatePoolFilterer) WatchDeltaParamUpdated(opts *bind.WatchOpts, sink chan<- *StargatePoolDeltaParamUpdated) (event.Subscription, error)
WatchDeltaParamUpdated is a free log subscription operation binding the contract event 0x7cc11124872dc29ed41dd447ee7ab07d9eee5d8ebb55f65dd92bce19bb20224a.
Solidity: event DeltaParamUpdated(bool batched, uint256 swapDeltaBP, uint256 lpDeltaBP, bool defaultSwapMode, bool defaultLPMode)
func (*StargatePoolFilterer) WatchFeeLibraryUpdated ¶
func (_StargatePool *StargatePoolFilterer) WatchFeeLibraryUpdated(opts *bind.WatchOpts, sink chan<- *StargatePoolFeeLibraryUpdated) (event.Subscription, error)
WatchFeeLibraryUpdated is a free log subscription operation binding the contract event 0x5138b884a20454b6db937b9e11c8534e02e708750e0c465df6cd9701622952ce.
Solidity: event FeeLibraryUpdated(address feeLibraryAddr)
func (*StargatePoolFilterer) WatchFeesUpdated ¶
func (_StargatePool *StargatePoolFilterer) WatchFeesUpdated(opts *bind.WatchOpts, sink chan<- *StargatePoolFeesUpdated) (event.Subscription, error)
WatchFeesUpdated is a free log subscription operation binding the contract event 0x9fe6eeb0f0541c644a56c67efeb872dbadd803a60b909d7dde1b35a3fe230b0e.
Solidity: event FeesUpdated(uint256 mintFeeBP)
func (*StargatePoolFilterer) WatchInstantRedeemLocal ¶
func (_StargatePool *StargatePoolFilterer) WatchInstantRedeemLocal(opts *bind.WatchOpts, sink chan<- *StargatePoolInstantRedeemLocal) (event.Subscription, error)
WatchInstantRedeemLocal is a free log subscription operation binding the contract event 0x2125a70154569bd1686edd3cf981bb23dea7c1fa1637909dbb3c9a967cb0c2f2.
Solidity: event InstantRedeemLocal(address from, uint256 amountLP, uint256 amountSD, address to)
func (*StargatePoolFilterer) WatchMint ¶
func (_StargatePool *StargatePoolFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *StargatePoolMint) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0xb4c03061fb5b7fed76389d5af8f2e0ddb09f8c70d1333abbb62582835e10accb.
Solidity: event Mint(address to, uint256 amountLP, uint256 amountSD, uint256 mintFeeAmountSD)
func (*StargatePoolFilterer) WatchRedeemLocal ¶
func (_StargatePool *StargatePoolFilterer) WatchRedeemLocal(opts *bind.WatchOpts, sink chan<- *StargatePoolRedeemLocal) (event.Subscription, error)
WatchRedeemLocal is a free log subscription operation binding the contract event 0x53c03ee0722b52efeb42444f48d90173854501b3de3c590fcb445743377115c2.
Solidity: event RedeemLocal(address from, uint256 amountLP, uint256 amountSD, uint16 chainId, uint256 dstPoolId, bytes to)
func (*StargatePoolFilterer) WatchRedeemLocalCallback ¶
func (_StargatePool *StargatePoolFilterer) WatchRedeemLocalCallback(opts *bind.WatchOpts, sink chan<- *StargatePoolRedeemLocalCallback) (event.Subscription, error)
WatchRedeemLocalCallback is a free log subscription operation binding the contract event 0xa97166013ecf5305dd9a58d6d867f05e646d4275f52d2bd52a5c7f00a690ad1b.
Solidity: event RedeemLocalCallback(address _to, uint256 _amountSD, uint256 _amountToMintSD)
func (*StargatePoolFilterer) WatchRedeemRemote ¶
func (_StargatePool *StargatePoolFilterer) WatchRedeemRemote(opts *bind.WatchOpts, sink chan<- *StargatePoolRedeemRemote) (event.Subscription, error)
WatchRedeemRemote is a free log subscription operation binding the contract event 0xa33f5c0b76f00f6737b1780a8a7f18e19c3fe8fe9ee01a6c1b8ce1eae5ed54f9.
Solidity: event RedeemRemote(uint16 chainId, uint256 dstPoolId, address from, uint256 amountLP, uint256 amountSD)
func (*StargatePoolFilterer) WatchSendCredits ¶
func (_StargatePool *StargatePoolFilterer) WatchSendCredits(opts *bind.WatchOpts, sink chan<- *StargatePoolSendCredits) (event.Subscription, error)
WatchSendCredits is a free log subscription operation binding the contract event 0x6939f93e3f21cf1362eb17155b740277de5687dae9a83a85909fd71da95944e7.
Solidity: event SendCredits(uint16 dstChainId, uint256 dstPoolId, uint256 credits, uint256 idealBalance)
func (*StargatePoolFilterer) WatchStopSwapUpdated ¶
func (_StargatePool *StargatePoolFilterer) WatchStopSwapUpdated(opts *bind.WatchOpts, sink chan<- *StargatePoolStopSwapUpdated) (event.Subscription, error)
WatchStopSwapUpdated is a free log subscription operation binding the contract event 0x59a9350977452c5240699f57f18b5915cd0440a56f08820a38b9f2432a82ba3e.
Solidity: event StopSwapUpdated(bool swapStop)
func (*StargatePoolFilterer) WatchSwap ¶
func (_StargatePool *StargatePoolFilterer) WatchSwap(opts *bind.WatchOpts, sink chan<- *StargatePoolSwap) (event.Subscription, error)
WatchSwap is a free log subscription operation binding the contract event 0x34660fc8af304464529f48a778e03d03e4d34bcd5f9b6f0cfbf3cd238c642f7f.
Solidity: event Swap(uint16 chainId, uint256 dstPoolId, address from, uint256 amountSD, uint256 eqReward, uint256 eqFee, uint256 protocolFee, uint256 lpFee)
func (*StargatePoolFilterer) WatchSwapRemote ¶
func (_StargatePool *StargatePoolFilterer) WatchSwapRemote(opts *bind.WatchOpts, sink chan<- *StargatePoolSwapRemote) (event.Subscription, error)
WatchSwapRemote is a free log subscription operation binding the contract event 0xfb2b592367452f1c437675bed47f5e1e6c25188c17d7ba01a12eb030bc41ccef.
Solidity: event SwapRemote(address to, uint256 amountSD, uint256 protocolFee, uint256 dstFee)
func (*StargatePoolFilterer) WatchTransfer ¶
func (_StargatePool *StargatePoolFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *StargatePoolTransfer, 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 (*StargatePoolFilterer) WatchWithdrawMintFeeBalance ¶
func (_StargatePool *StargatePoolFilterer) WatchWithdrawMintFeeBalance(opts *bind.WatchOpts, sink chan<- *StargatePoolWithdrawMintFeeBalance) (event.Subscription, error)
WatchWithdrawMintFeeBalance is a free log subscription operation binding the contract event 0x87b3b2749102aa96f2d08396e34cd47673e57148af9cfff965d99bc0378a87dc.
Solidity: event WithdrawMintFeeBalance(address to, uint256 amountSD)
func (*StargatePoolFilterer) WatchWithdrawProtocolFeeBalance ¶
func (_StargatePool *StargatePoolFilterer) WatchWithdrawProtocolFeeBalance(opts *bind.WatchOpts, sink chan<- *StargatePoolWithdrawProtocolFeeBalance) (event.Subscription, error)
WatchWithdrawProtocolFeeBalance is a free log subscription operation binding the contract event 0x70dc5a44816033bea80f836440f4b1fe1b3bb06b568c8dc2301901f03bf237c7.
Solidity: event WithdrawProtocolFeeBalance(address to, uint256 amountSD)
func (*StargatePoolFilterer) WatchWithdrawRemote ¶
func (_StargatePool *StargatePoolFilterer) WatchWithdrawRemote(opts *bind.WatchOpts, sink chan<- *StargatePoolWithdrawRemote) (event.Subscription, error)
WatchWithdrawRemote is a free log subscription operation binding the contract event 0x44d3575fd94f9e0a41d7ebbc7e952f9b615c3f8d1faf924e1e9e98c0edf0d380.
Solidity: event WithdrawRemote(uint16 srcChainId, uint256 srcPoolId, uint256 swapAmount, uint256 mintAmount)
type StargatePoolInstantRedeemLocal ¶
type StargatePoolInstantRedeemLocal struct { From common.Address AmountLP *big.Int AmountSD *big.Int To common.Address Raw types.Log // Blockchain specific contextual infos }
StargatePoolInstantRedeemLocal represents a InstantRedeemLocal event raised by the StargatePool contract.
type StargatePoolInstantRedeemLocalIterator ¶
type StargatePoolInstantRedeemLocalIterator struct { Event *StargatePoolInstantRedeemLocal // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolInstantRedeemLocalIterator is returned from FilterInstantRedeemLocal and is used to iterate over the raw logs and unpacked data for InstantRedeemLocal events raised by the StargatePool contract.
func (*StargatePoolInstantRedeemLocalIterator) Close ¶
func (it *StargatePoolInstantRedeemLocalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolInstantRedeemLocalIterator) Error ¶
func (it *StargatePoolInstantRedeemLocalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolInstantRedeemLocalIterator) Next ¶
func (it *StargatePoolInstantRedeemLocalIterator) 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 StargatePoolMint ¶
type StargatePoolMint struct { To common.Address AmountLP *big.Int AmountSD *big.Int MintFeeAmountSD *big.Int Raw types.Log // Blockchain specific contextual infos }
StargatePoolMint represents a Mint event raised by the StargatePool contract.
type StargatePoolMintIterator ¶
type StargatePoolMintIterator struct { Event *StargatePoolMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the StargatePool contract.
func (*StargatePoolMintIterator) Close ¶
func (it *StargatePoolMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolMintIterator) Error ¶
func (it *StargatePoolMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolMintIterator) Next ¶
func (it *StargatePoolMintIterator) 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 StargatePoolRaw ¶
type StargatePoolRaw struct {
Contract *StargatePool // Generic contract binding to access the raw methods on
}
StargatePoolRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*StargatePoolRaw) Call ¶
func (_StargatePool *StargatePoolRaw) 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 (*StargatePoolRaw) Transact ¶
func (_StargatePool *StargatePoolRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StargatePoolRaw) Transfer ¶
func (_StargatePool *StargatePoolRaw) 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 StargatePoolRedeemLocal ¶
type StargatePoolRedeemLocal struct { From common.Address AmountLP *big.Int AmountSD *big.Int ChainId uint16 DstPoolId *big.Int To []byte Raw types.Log // Blockchain specific contextual infos }
StargatePoolRedeemLocal represents a RedeemLocal event raised by the StargatePool contract.
type StargatePoolRedeemLocalCallback ¶
type StargatePoolRedeemLocalCallback struct { To common.Address AmountSD *big.Int AmountToMintSD *big.Int Raw types.Log // Blockchain specific contextual infos }
StargatePoolRedeemLocalCallback represents a RedeemLocalCallback event raised by the StargatePool contract.
type StargatePoolRedeemLocalCallbackIterator ¶
type StargatePoolRedeemLocalCallbackIterator struct { Event *StargatePoolRedeemLocalCallback // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolRedeemLocalCallbackIterator is returned from FilterRedeemLocalCallback and is used to iterate over the raw logs and unpacked data for RedeemLocalCallback events raised by the StargatePool contract.
func (*StargatePoolRedeemLocalCallbackIterator) Close ¶
func (it *StargatePoolRedeemLocalCallbackIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolRedeemLocalCallbackIterator) Error ¶
func (it *StargatePoolRedeemLocalCallbackIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolRedeemLocalCallbackIterator) Next ¶
func (it *StargatePoolRedeemLocalCallbackIterator) 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 StargatePoolRedeemLocalIterator ¶
type StargatePoolRedeemLocalIterator struct { Event *StargatePoolRedeemLocal // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolRedeemLocalIterator is returned from FilterRedeemLocal and is used to iterate over the raw logs and unpacked data for RedeemLocal events raised by the StargatePool contract.
func (*StargatePoolRedeemLocalIterator) Close ¶
func (it *StargatePoolRedeemLocalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolRedeemLocalIterator) Error ¶
func (it *StargatePoolRedeemLocalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolRedeemLocalIterator) Next ¶
func (it *StargatePoolRedeemLocalIterator) 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 StargatePoolRedeemRemote ¶
type StargatePoolRedeemRemote struct { ChainId uint16 DstPoolId *big.Int From common.Address AmountLP *big.Int AmountSD *big.Int Raw types.Log // Blockchain specific contextual infos }
StargatePoolRedeemRemote represents a RedeemRemote event raised by the StargatePool contract.
type StargatePoolRedeemRemoteIterator ¶
type StargatePoolRedeemRemoteIterator struct { Event *StargatePoolRedeemRemote // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolRedeemRemoteIterator is returned from FilterRedeemRemote and is used to iterate over the raw logs and unpacked data for RedeemRemote events raised by the StargatePool contract.
func (*StargatePoolRedeemRemoteIterator) Close ¶
func (it *StargatePoolRedeemRemoteIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolRedeemRemoteIterator) Error ¶
func (it *StargatePoolRedeemRemoteIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolRedeemRemoteIterator) Next ¶
func (it *StargatePoolRedeemRemoteIterator) 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 StargatePoolSendCredits ¶
type StargatePoolSendCredits struct { DstChainId uint16 DstPoolId *big.Int Credits *big.Int IdealBalance *big.Int Raw types.Log // Blockchain specific contextual infos }
StargatePoolSendCredits represents a SendCredits event raised by the StargatePool contract.
type StargatePoolSendCreditsIterator ¶
type StargatePoolSendCreditsIterator struct { Event *StargatePoolSendCredits // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolSendCreditsIterator is returned from FilterSendCredits and is used to iterate over the raw logs and unpacked data for SendCredits events raised by the StargatePool contract.
func (*StargatePoolSendCreditsIterator) Close ¶
func (it *StargatePoolSendCreditsIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolSendCreditsIterator) Error ¶
func (it *StargatePoolSendCreditsIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolSendCreditsIterator) Next ¶
func (it *StargatePoolSendCreditsIterator) 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 StargatePoolSession ¶
type StargatePoolSession struct { Contract *StargatePool // 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 }
StargatePoolSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*StargatePoolSession) ActivateChainPath ¶
func (_StargatePool *StargatePoolSession) ActivateChainPath(_dstChainId uint16, _dstPoolId *big.Int) (*types.Transaction, error)
ActivateChainPath is a paid mutator transaction binding the contract method 0x8bd86d0a.
Solidity: function activateChainPath(uint16 _dstChainId, uint256 _dstPoolId) returns()
func (*StargatePoolSession) Allowance ¶
func (_StargatePool *StargatePoolSession) 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 (*StargatePoolSession) AmountLPtoLD ¶
AmountLPtoLD is a free data retrieval call binding the contract method 0xf6cd35ee.
Solidity: function amountLPtoLD(uint256 _amountLP) view returns(uint256)
func (*StargatePoolSession) Approve ¶
func (_StargatePool *StargatePoolSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*StargatePoolSession) BPDENOMINATOR ¶
func (_StargatePool *StargatePoolSession) BPDENOMINATOR() (*big.Int, error)
BPDENOMINATOR is a free data retrieval call binding the contract method 0xabe685cd.
Solidity: function BP_DENOMINATOR() view returns(uint256)
func (*StargatePoolSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address ) view returns(uint256)
func (*StargatePoolSession) Batched ¶
func (_StargatePool *StargatePoolSession) Batched() (bool, error)
Batched is a free data retrieval call binding the contract method 0x27f92376.
Solidity: function batched() view returns(bool)
func (*StargatePoolSession) CallDelta ¶
func (_StargatePool *StargatePoolSession) CallDelta(_fullMode bool) (*types.Transaction, error)
CallDelta is a paid mutator transaction binding the contract method 0x7fb65265.
Solidity: function callDelta(bool _fullMode) returns()
func (*StargatePoolSession) ChainPathIndexLookup ¶
func (_StargatePool *StargatePoolSession) ChainPathIndexLookup(arg0 uint16, arg1 *big.Int) (*big.Int, error)
ChainPathIndexLookup is a free data retrieval call binding the contract method 0x64c5f02d.
Solidity: function chainPathIndexLookup(uint16 , uint256 ) view returns(uint256)
func (*StargatePoolSession) ChainPaths ¶
func (_StargatePool *StargatePoolSession) ChainPaths(arg0 *big.Int) (struct { Ready bool DstChainId uint16 DstPoolId *big.Int Weight *big.Int Balance *big.Int Lkb *big.Int Credits *big.Int IdealBalance *big.Int }, error)
ChainPaths is a free data retrieval call binding the contract method 0xa138ed6b.
Solidity: function chainPaths(uint256 ) view returns(bool ready, uint16 dstChainId, uint256 dstPoolId, uint256 weight, uint256 balance, uint256 lkb, uint256 credits, uint256 idealBalance)
func (*StargatePoolSession) ConvertRate ¶
func (_StargatePool *StargatePoolSession) ConvertRate() (*big.Int, error)
ConvertRate is a free data retrieval call binding the contract method 0xfeb56b15.
Solidity: function convertRate() view returns(uint256)
func (*StargatePoolSession) CreateChainPath ¶
func (_StargatePool *StargatePoolSession) CreateChainPath(_dstChainId uint16, _dstPoolId *big.Int, _weight *big.Int) (*types.Transaction, error)
CreateChainPath is a paid mutator transaction binding the contract method 0x20d6bc75.
Solidity: function createChainPath(uint16 _dstChainId, uint256 _dstPoolId, uint256 _weight) returns()
func (*StargatePoolSession) CreditChainPath ¶
func (_StargatePool *StargatePoolSession) CreditChainPath(_dstChainId uint16, _dstPoolId *big.Int, _c PoolCreditObj) (*types.Transaction, error)
CreditChainPath is a paid mutator transaction binding the contract method 0xb6addec7.
Solidity: function creditChainPath(uint16 _dstChainId, uint256 _dstPoolId, (uint256,uint256) _c) returns()
func (*StargatePoolSession) DOMAINSEPARATOR ¶
func (_StargatePool *StargatePoolSession) DOMAINSEPARATOR() ([32]byte, error)
DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.
Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)
func (*StargatePoolSession) Decimals ¶
func (_StargatePool *StargatePoolSession) Decimals() (*big.Int, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() view returns(uint256)
func (*StargatePoolSession) DecreaseAllowance ¶
func (_StargatePool *StargatePoolSession) 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 (*StargatePoolSession) DefaultLPMode ¶
func (_StargatePool *StargatePoolSession) DefaultLPMode() (bool, error)
DefaultLPMode is a free data retrieval call binding the contract method 0x28f079c2.
Solidity: function defaultLPMode() view returns(bool)
func (*StargatePoolSession) DefaultSwapMode ¶
func (_StargatePool *StargatePoolSession) DefaultSwapMode() (bool, error)
DefaultSwapMode is a free data retrieval call binding the contract method 0x99a22d68.
Solidity: function defaultSwapMode() view returns(bool)
func (*StargatePoolSession) DeltaCredit ¶
func (_StargatePool *StargatePoolSession) DeltaCredit() (*big.Int, error)
DeltaCredit is a free data retrieval call binding the contract method 0x1e8e51da.
Solidity: function deltaCredit() view returns(uint256)
func (*StargatePoolSession) EqFeePool ¶
func (_StargatePool *StargatePoolSession) EqFeePool() (*big.Int, error)
EqFeePool is a free data retrieval call binding the contract method 0x9bb81119.
Solidity: function eqFeePool() view returns(uint256)
func (*StargatePoolSession) FeeLibrary ¶
func (_StargatePool *StargatePoolSession) FeeLibrary() (common.Address, error)
FeeLibrary is a free data retrieval call binding the contract method 0x001edfab.
Solidity: function feeLibrary() view returns(address)
func (*StargatePoolSession) GetChainPath ¶
func (_StargatePool *StargatePoolSession) GetChainPath(_dstChainId uint16, _dstPoolId *big.Int) (PoolChainPath, error)
GetChainPath is a free data retrieval call binding the contract method 0x159f6add.
Solidity: function getChainPath(uint16 _dstChainId, uint256 _dstPoolId) view returns((bool,uint16,uint256,uint256,uint256,uint256,uint256,uint256))
func (*StargatePoolSession) GetChainPathsLength ¶
func (_StargatePool *StargatePoolSession) GetChainPathsLength() (*big.Int, error)
GetChainPathsLength is a free data retrieval call binding the contract method 0x163ef490.
Solidity: function getChainPathsLength() view returns(uint256)
func (*StargatePoolSession) IncreaseAllowance ¶
func (_StargatePool *StargatePoolSession) 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 (*StargatePoolSession) InstantRedeemLocal ¶
func (_StargatePool *StargatePoolSession) InstantRedeemLocal(_from common.Address, _amountLP *big.Int, _to common.Address) (*types.Transaction, error)
InstantRedeemLocal is a paid mutator transaction binding the contract method 0x0986b61a.
Solidity: function instantRedeemLocal(address _from, uint256 _amountLP, address _to) returns(uint256 amountSD)
func (*StargatePoolSession) LocalDecimals ¶
func (_StargatePool *StargatePoolSession) LocalDecimals() (*big.Int, error)
LocalDecimals is a free data retrieval call binding the contract method 0xe46e7058.
Solidity: function localDecimals() view returns(uint256)
func (*StargatePoolSession) LpDeltaBP ¶
func (_StargatePool *StargatePoolSession) LpDeltaBP() (*big.Int, error)
LpDeltaBP is a free data retrieval call binding the contract method 0x36448777.
Solidity: function lpDeltaBP() view returns(uint256)
func (*StargatePoolSession) Mint ¶
func (_StargatePool *StargatePoolSession) Mint(_to common.Address, _amountLD *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amountLD) returns(uint256)
func (*StargatePoolSession) MintFeeBP ¶
func (_StargatePool *StargatePoolSession) MintFeeBP() (*big.Int, error)
MintFeeBP is a free data retrieval call binding the contract method 0xfaa24f07.
Solidity: function mintFeeBP() view returns(uint256)
func (*StargatePoolSession) MintFeeBalance ¶
func (_StargatePool *StargatePoolSession) MintFeeBalance() (*big.Int, error)
MintFeeBalance is a free data retrieval call binding the contract method 0x65152f2b.
Solidity: function mintFeeBalance() view returns(uint256)
func (*StargatePoolSession) Name ¶
func (_StargatePool *StargatePoolSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*StargatePoolSession) Nonces ¶
Nonces is a free data retrieval call binding the contract method 0x7ecebe00.
Solidity: function nonces(address ) view returns(uint256)
func (*StargatePoolSession) PERMITTYPEHASH ¶
func (_StargatePool *StargatePoolSession) PERMITTYPEHASH() ([32]byte, error)
PERMITTYPEHASH is a free data retrieval call binding the contract method 0x30adf81f.
Solidity: function PERMIT_TYPEHASH() view returns(bytes32)
func (*StargatePoolSession) Permit ¶
func (_StargatePool *StargatePoolSession) 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 (*StargatePoolSession) PoolId ¶
func (_StargatePool *StargatePoolSession) PoolId() (*big.Int, error)
PoolId is a free data retrieval call binding the contract method 0x3e0dc34e.
Solidity: function poolId() view returns(uint256)
func (*StargatePoolSession) ProtocolFeeBalance ¶
func (_StargatePool *StargatePoolSession) ProtocolFeeBalance() (*big.Int, error)
ProtocolFeeBalance is a free data retrieval call binding the contract method 0x0a22d68c.
Solidity: function protocolFeeBalance() view returns(uint256)
func (*StargatePoolSession) RedeemLocal ¶
func (_StargatePool *StargatePoolSession) RedeemLocal(_from common.Address, _amountLP *big.Int, _dstChainId uint16, _dstPoolId *big.Int, _to []byte) (*types.Transaction, error)
RedeemLocal is a paid mutator transaction binding the contract method 0xb0fab0bc.
Solidity: function redeemLocal(address _from, uint256 _amountLP, uint16 _dstChainId, uint256 _dstPoolId, bytes _to) returns(uint256 amountSD)
func (*StargatePoolSession) RedeemLocalCallback ¶
func (_StargatePool *StargatePoolSession) RedeemLocalCallback(_srcChainId uint16, _srcPoolId *big.Int, _to common.Address, _amountSD *big.Int, _amountToMintSD *big.Int) (*types.Transaction, error)
RedeemLocalCallback is a paid mutator transaction binding the contract method 0xb30daeac.
Solidity: function redeemLocalCallback(uint16 _srcChainId, uint256 _srcPoolId, address _to, uint256 _amountSD, uint256 _amountToMintSD) returns()
func (*StargatePoolSession) RedeemLocalCheckOnRemote ¶
func (_StargatePool *StargatePoolSession) RedeemLocalCheckOnRemote(_srcChainId uint16, _srcPoolId *big.Int, _amountSD *big.Int) (*types.Transaction, error)
RedeemLocalCheckOnRemote is a paid mutator transaction binding the contract method 0xea89e2aa.
Solidity: function redeemLocalCheckOnRemote(uint16 _srcChainId, uint256 _srcPoolId, uint256 _amountSD) returns(uint256 swapAmount, uint256 mintAmount)
func (*StargatePoolSession) RedeemRemote ¶
func (_StargatePool *StargatePoolSession) RedeemRemote(_dstChainId uint16, _dstPoolId *big.Int, _from common.Address, _amountLP *big.Int) (*types.Transaction, error)
RedeemRemote is a paid mutator transaction binding the contract method 0x7298a5dc.
Solidity: function redeemRemote(uint16 _dstChainId, uint256 _dstPoolId, address _from, uint256 _amountLP) returns()
func (*StargatePoolSession) Router ¶
func (_StargatePool *StargatePoolSession) Router() (common.Address, error)
Router is a free data retrieval call binding the contract method 0xf887ea40.
Solidity: function router() view returns(address)
func (*StargatePoolSession) SendCredits ¶
func (_StargatePool *StargatePoolSession) SendCredits(_dstChainId uint16, _dstPoolId *big.Int) (*types.Transaction, error)
SendCredits is a paid mutator transaction binding the contract method 0x08e9d8c2.
Solidity: function sendCredits(uint16 _dstChainId, uint256 _dstPoolId) returns((uint256,uint256) c)
func (*StargatePoolSession) SetDeltaParam ¶
func (_StargatePool *StargatePoolSession) SetDeltaParam(_batched bool, _swapDeltaBP *big.Int, _lpDeltaBP *big.Int, _defaultSwapMode bool, _defaultLPMode bool) (*types.Transaction, error)
SetDeltaParam is a paid mutator transaction binding the contract method 0xe065608b.
Solidity: function setDeltaParam(bool _batched, uint256 _swapDeltaBP, uint256 _lpDeltaBP, bool _defaultSwapMode, bool _defaultLPMode) returns()
func (*StargatePoolSession) SetFee ¶
func (_StargatePool *StargatePoolSession) SetFee(_mintFeeBP *big.Int) (*types.Transaction, error)
SetFee is a paid mutator transaction binding the contract method 0x69fe0e2d.
Solidity: function setFee(uint256 _mintFeeBP) returns()
func (*StargatePoolSession) SetFeeLibrary ¶
func (_StargatePool *StargatePoolSession) SetFeeLibrary(_feeLibraryAddr common.Address) (*types.Transaction, error)
SetFeeLibrary is a paid mutator transaction binding the contract method 0x4b5cacbc.
Solidity: function setFeeLibrary(address _feeLibraryAddr) returns()
func (*StargatePoolSession) SetSwapStop ¶
func (_StargatePool *StargatePoolSession) SetSwapStop(_swapStop bool) (*types.Transaction, error)
SetSwapStop is a paid mutator transaction binding the contract method 0xac2cc36b.
Solidity: function setSwapStop(bool _swapStop) returns()
func (*StargatePoolSession) SetWeightForChainPath ¶
func (_StargatePool *StargatePoolSession) SetWeightForChainPath(_dstChainId uint16, _dstPoolId *big.Int, _weight uint16) (*types.Transaction, error)
SetWeightForChainPath is a paid mutator transaction binding the contract method 0xa985565f.
Solidity: function setWeightForChainPath(uint16 _dstChainId, uint256 _dstPoolId, uint16 _weight) returns()
func (*StargatePoolSession) SharedDecimals ¶
func (_StargatePool *StargatePoolSession) SharedDecimals() (*big.Int, error)
SharedDecimals is a free data retrieval call binding the contract method 0x857749b0.
Solidity: function sharedDecimals() view returns(uint256)
func (*StargatePoolSession) StopSwap ¶
func (_StargatePool *StargatePoolSession) StopSwap() (bool, error)
StopSwap is a free data retrieval call binding the contract method 0xb633b364.
Solidity: function stopSwap() view returns(bool)
func (*StargatePoolSession) Swap ¶
func (_StargatePool *StargatePoolSession) Swap(_dstChainId uint16, _dstPoolId *big.Int, _from common.Address, _amountLD *big.Int, _minAmountLD *big.Int, newLiquidity bool) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x1b7319b6.
Solidity: function swap(uint16 _dstChainId, uint256 _dstPoolId, address _from, uint256 _amountLD, uint256 _minAmountLD, bool newLiquidity) returns((uint256,uint256,uint256,uint256,uint256,uint256))
func (*StargatePoolSession) SwapDeltaBP ¶
func (_StargatePool *StargatePoolSession) SwapDeltaBP() (*big.Int, error)
SwapDeltaBP is a free data retrieval call binding the contract method 0xcdfed0ab.
Solidity: function swapDeltaBP() view returns(uint256)
func (*StargatePoolSession) SwapRemote ¶
func (_StargatePool *StargatePoolSession) SwapRemote(_srcChainId uint16, _srcPoolId *big.Int, _to common.Address, _s PoolSwapObj) (*types.Transaction, error)
SwapRemote is a paid mutator transaction binding the contract method 0x902b8ab7.
Solidity: function swapRemote(uint16 _srcChainId, uint256 _srcPoolId, address _to, (uint256,uint256,uint256,uint256,uint256,uint256) _s) returns(uint256 amountLD)
func (*StargatePoolSession) Symbol ¶
func (_StargatePool *StargatePoolSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() view returns(string)
func (*StargatePoolSession) Token ¶
func (_StargatePool *StargatePoolSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() view returns(address)
func (*StargatePoolSession) TotalLiquidity ¶
func (_StargatePool *StargatePoolSession) TotalLiquidity() (*big.Int, error)
TotalLiquidity is a free data retrieval call binding the contract method 0x15770f92.
Solidity: function totalLiquidity() view returns(uint256)
func (*StargatePoolSession) TotalSupply ¶
func (_StargatePool *StargatePoolSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() view returns(uint256)
func (*StargatePoolSession) TotalWeight ¶
func (_StargatePool *StargatePoolSession) TotalWeight() (*big.Int, error)
TotalWeight is a free data retrieval call binding the contract method 0x96c82e57.
Solidity: function totalWeight() view returns(uint256)
func (*StargatePoolSession) Transfer ¶
func (_StargatePool *StargatePoolSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*StargatePoolSession) TransferFrom ¶
func (_StargatePool *StargatePoolSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
func (*StargatePoolSession) WithdrawMintFeeBalance ¶
func (_StargatePool *StargatePoolSession) WithdrawMintFeeBalance(_to common.Address) (*types.Transaction, error)
WithdrawMintFeeBalance is a paid mutator transaction binding the contract method 0x476efe40.
Solidity: function withdrawMintFeeBalance(address _to) returns()
func (*StargatePoolSession) WithdrawProtocolFeeBalance ¶
func (_StargatePool *StargatePoolSession) WithdrawProtocolFeeBalance(_to common.Address) (*types.Transaction, error)
WithdrawProtocolFeeBalance is a paid mutator transaction binding the contract method 0xbe310294.
Solidity: function withdrawProtocolFeeBalance(address _to) returns()
type StargatePoolStopSwapUpdated ¶
type StargatePoolStopSwapUpdated struct { SwapStop bool Raw types.Log // Blockchain specific contextual infos }
StargatePoolStopSwapUpdated represents a StopSwapUpdated event raised by the StargatePool contract.
type StargatePoolStopSwapUpdatedIterator ¶
type StargatePoolStopSwapUpdatedIterator struct { Event *StargatePoolStopSwapUpdated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolStopSwapUpdatedIterator is returned from FilterStopSwapUpdated and is used to iterate over the raw logs and unpacked data for StopSwapUpdated events raised by the StargatePool contract.
func (*StargatePoolStopSwapUpdatedIterator) Close ¶
func (it *StargatePoolStopSwapUpdatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolStopSwapUpdatedIterator) Error ¶
func (it *StargatePoolStopSwapUpdatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolStopSwapUpdatedIterator) Next ¶
func (it *StargatePoolStopSwapUpdatedIterator) 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 StargatePoolSwap ¶
type StargatePoolSwap struct { ChainId uint16 DstPoolId *big.Int From common.Address AmountSD *big.Int EqReward *big.Int EqFee *big.Int ProtocolFee *big.Int LpFee *big.Int Raw types.Log // Blockchain specific contextual infos }
StargatePoolSwap represents a Swap event raised by the StargatePool contract.
type StargatePoolSwapIterator ¶
type StargatePoolSwapIterator struct { Event *StargatePoolSwap // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolSwapIterator is returned from FilterSwap and is used to iterate over the raw logs and unpacked data for Swap events raised by the StargatePool contract.
func (*StargatePoolSwapIterator) Close ¶
func (it *StargatePoolSwapIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolSwapIterator) Error ¶
func (it *StargatePoolSwapIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolSwapIterator) Next ¶
func (it *StargatePoolSwapIterator) 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 StargatePoolSwapRemote ¶
type StargatePoolSwapRemote struct { To common.Address AmountSD *big.Int ProtocolFee *big.Int DstFee *big.Int Raw types.Log // Blockchain specific contextual infos }
StargatePoolSwapRemote represents a SwapRemote event raised by the StargatePool contract.
type StargatePoolSwapRemoteIterator ¶
type StargatePoolSwapRemoteIterator struct { Event *StargatePoolSwapRemote // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolSwapRemoteIterator is returned from FilterSwapRemote and is used to iterate over the raw logs and unpacked data for SwapRemote events raised by the StargatePool contract.
func (*StargatePoolSwapRemoteIterator) Close ¶
func (it *StargatePoolSwapRemoteIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolSwapRemoteIterator) Error ¶
func (it *StargatePoolSwapRemoteIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolSwapRemoteIterator) Next ¶
func (it *StargatePoolSwapRemoteIterator) 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 StargatePoolTransactor ¶
type StargatePoolTransactor struct {
// contains filtered or unexported fields
}
StargatePoolTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewStargatePoolTransactor ¶
func NewStargatePoolTransactor(address common.Address, transactor bind.ContractTransactor) (*StargatePoolTransactor, error)
NewStargatePoolTransactor creates a new write-only instance of StargatePool, bound to a specific deployed contract.
func (*StargatePoolTransactor) ActivateChainPath ¶
func (_StargatePool *StargatePoolTransactor) ActivateChainPath(opts *bind.TransactOpts, _dstChainId uint16, _dstPoolId *big.Int) (*types.Transaction, error)
ActivateChainPath is a paid mutator transaction binding the contract method 0x8bd86d0a.
Solidity: function activateChainPath(uint16 _dstChainId, uint256 _dstPoolId) returns()
func (*StargatePoolTransactor) Approve ¶
func (_StargatePool *StargatePoolTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*StargatePoolTransactor) CallDelta ¶
func (_StargatePool *StargatePoolTransactor) CallDelta(opts *bind.TransactOpts, _fullMode bool) (*types.Transaction, error)
CallDelta is a paid mutator transaction binding the contract method 0x7fb65265.
Solidity: function callDelta(bool _fullMode) returns()
func (*StargatePoolTransactor) CreateChainPath ¶
func (_StargatePool *StargatePoolTransactor) CreateChainPath(opts *bind.TransactOpts, _dstChainId uint16, _dstPoolId *big.Int, _weight *big.Int) (*types.Transaction, error)
CreateChainPath is a paid mutator transaction binding the contract method 0x20d6bc75.
Solidity: function createChainPath(uint16 _dstChainId, uint256 _dstPoolId, uint256 _weight) returns()
func (*StargatePoolTransactor) CreditChainPath ¶
func (_StargatePool *StargatePoolTransactor) CreditChainPath(opts *bind.TransactOpts, _dstChainId uint16, _dstPoolId *big.Int, _c PoolCreditObj) (*types.Transaction, error)
CreditChainPath is a paid mutator transaction binding the contract method 0xb6addec7.
Solidity: function creditChainPath(uint16 _dstChainId, uint256 _dstPoolId, (uint256,uint256) _c) returns()
func (*StargatePoolTransactor) DecreaseAllowance ¶
func (_StargatePool *StargatePoolTransactor) 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 (*StargatePoolTransactor) IncreaseAllowance ¶
func (_StargatePool *StargatePoolTransactor) 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 (*StargatePoolTransactor) InstantRedeemLocal ¶
func (_StargatePool *StargatePoolTransactor) InstantRedeemLocal(opts *bind.TransactOpts, _from common.Address, _amountLP *big.Int, _to common.Address) (*types.Transaction, error)
InstantRedeemLocal is a paid mutator transaction binding the contract method 0x0986b61a.
Solidity: function instantRedeemLocal(address _from, uint256 _amountLP, address _to) returns(uint256 amountSD)
func (*StargatePoolTransactor) Mint ¶
func (_StargatePool *StargatePoolTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amountLD *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amountLD) returns(uint256)
func (*StargatePoolTransactor) Permit ¶
func (_StargatePool *StargatePoolTransactor) 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 (*StargatePoolTransactor) RedeemLocal ¶
func (_StargatePool *StargatePoolTransactor) RedeemLocal(opts *bind.TransactOpts, _from common.Address, _amountLP *big.Int, _dstChainId uint16, _dstPoolId *big.Int, _to []byte) (*types.Transaction, error)
RedeemLocal is a paid mutator transaction binding the contract method 0xb0fab0bc.
Solidity: function redeemLocal(address _from, uint256 _amountLP, uint16 _dstChainId, uint256 _dstPoolId, bytes _to) returns(uint256 amountSD)
func (*StargatePoolTransactor) RedeemLocalCallback ¶
func (_StargatePool *StargatePoolTransactor) RedeemLocalCallback(opts *bind.TransactOpts, _srcChainId uint16, _srcPoolId *big.Int, _to common.Address, _amountSD *big.Int, _amountToMintSD *big.Int) (*types.Transaction, error)
RedeemLocalCallback is a paid mutator transaction binding the contract method 0xb30daeac.
Solidity: function redeemLocalCallback(uint16 _srcChainId, uint256 _srcPoolId, address _to, uint256 _amountSD, uint256 _amountToMintSD) returns()
func (*StargatePoolTransactor) RedeemLocalCheckOnRemote ¶
func (_StargatePool *StargatePoolTransactor) RedeemLocalCheckOnRemote(opts *bind.TransactOpts, _srcChainId uint16, _srcPoolId *big.Int, _amountSD *big.Int) (*types.Transaction, error)
RedeemLocalCheckOnRemote is a paid mutator transaction binding the contract method 0xea89e2aa.
Solidity: function redeemLocalCheckOnRemote(uint16 _srcChainId, uint256 _srcPoolId, uint256 _amountSD) returns(uint256 swapAmount, uint256 mintAmount)
func (*StargatePoolTransactor) RedeemRemote ¶
func (_StargatePool *StargatePoolTransactor) RedeemRemote(opts *bind.TransactOpts, _dstChainId uint16, _dstPoolId *big.Int, _from common.Address, _amountLP *big.Int) (*types.Transaction, error)
RedeemRemote is a paid mutator transaction binding the contract method 0x7298a5dc.
Solidity: function redeemRemote(uint16 _dstChainId, uint256 _dstPoolId, address _from, uint256 _amountLP) returns()
func (*StargatePoolTransactor) SendCredits ¶
func (_StargatePool *StargatePoolTransactor) SendCredits(opts *bind.TransactOpts, _dstChainId uint16, _dstPoolId *big.Int) (*types.Transaction, error)
SendCredits is a paid mutator transaction binding the contract method 0x08e9d8c2.
Solidity: function sendCredits(uint16 _dstChainId, uint256 _dstPoolId) returns((uint256,uint256) c)
func (*StargatePoolTransactor) SetDeltaParam ¶
func (_StargatePool *StargatePoolTransactor) SetDeltaParam(opts *bind.TransactOpts, _batched bool, _swapDeltaBP *big.Int, _lpDeltaBP *big.Int, _defaultSwapMode bool, _defaultLPMode bool) (*types.Transaction, error)
SetDeltaParam is a paid mutator transaction binding the contract method 0xe065608b.
Solidity: function setDeltaParam(bool _batched, uint256 _swapDeltaBP, uint256 _lpDeltaBP, bool _defaultSwapMode, bool _defaultLPMode) returns()
func (*StargatePoolTransactor) SetFee ¶
func (_StargatePool *StargatePoolTransactor) SetFee(opts *bind.TransactOpts, _mintFeeBP *big.Int) (*types.Transaction, error)
SetFee is a paid mutator transaction binding the contract method 0x69fe0e2d.
Solidity: function setFee(uint256 _mintFeeBP) returns()
func (*StargatePoolTransactor) SetFeeLibrary ¶
func (_StargatePool *StargatePoolTransactor) SetFeeLibrary(opts *bind.TransactOpts, _feeLibraryAddr common.Address) (*types.Transaction, error)
SetFeeLibrary is a paid mutator transaction binding the contract method 0x4b5cacbc.
Solidity: function setFeeLibrary(address _feeLibraryAddr) returns()
func (*StargatePoolTransactor) SetSwapStop ¶
func (_StargatePool *StargatePoolTransactor) SetSwapStop(opts *bind.TransactOpts, _swapStop bool) (*types.Transaction, error)
SetSwapStop is a paid mutator transaction binding the contract method 0xac2cc36b.
Solidity: function setSwapStop(bool _swapStop) returns()
func (*StargatePoolTransactor) SetWeightForChainPath ¶
func (_StargatePool *StargatePoolTransactor) SetWeightForChainPath(opts *bind.TransactOpts, _dstChainId uint16, _dstPoolId *big.Int, _weight uint16) (*types.Transaction, error)
SetWeightForChainPath is a paid mutator transaction binding the contract method 0xa985565f.
Solidity: function setWeightForChainPath(uint16 _dstChainId, uint256 _dstPoolId, uint16 _weight) returns()
func (*StargatePoolTransactor) Swap ¶
func (_StargatePool *StargatePoolTransactor) Swap(opts *bind.TransactOpts, _dstChainId uint16, _dstPoolId *big.Int, _from common.Address, _amountLD *big.Int, _minAmountLD *big.Int, newLiquidity bool) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x1b7319b6.
Solidity: function swap(uint16 _dstChainId, uint256 _dstPoolId, address _from, uint256 _amountLD, uint256 _minAmountLD, bool newLiquidity) returns((uint256,uint256,uint256,uint256,uint256,uint256))
func (*StargatePoolTransactor) SwapRemote ¶
func (_StargatePool *StargatePoolTransactor) SwapRemote(opts *bind.TransactOpts, _srcChainId uint16, _srcPoolId *big.Int, _to common.Address, _s PoolSwapObj) (*types.Transaction, error)
SwapRemote is a paid mutator transaction binding the contract method 0x902b8ab7.
Solidity: function swapRemote(uint16 _srcChainId, uint256 _srcPoolId, address _to, (uint256,uint256,uint256,uint256,uint256,uint256) _s) returns(uint256 amountLD)
func (*StargatePoolTransactor) Transfer ¶
func (_StargatePool *StargatePoolTransactor) Transfer(opts *bind.TransactOpts, to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*StargatePoolTransactor) TransferFrom ¶
func (_StargatePool *StargatePoolTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
func (*StargatePoolTransactor) WithdrawMintFeeBalance ¶
func (_StargatePool *StargatePoolTransactor) WithdrawMintFeeBalance(opts *bind.TransactOpts, _to common.Address) (*types.Transaction, error)
WithdrawMintFeeBalance is a paid mutator transaction binding the contract method 0x476efe40.
Solidity: function withdrawMintFeeBalance(address _to) returns()
func (*StargatePoolTransactor) WithdrawProtocolFeeBalance ¶
func (_StargatePool *StargatePoolTransactor) WithdrawProtocolFeeBalance(opts *bind.TransactOpts, _to common.Address) (*types.Transaction, error)
WithdrawProtocolFeeBalance is a paid mutator transaction binding the contract method 0xbe310294.
Solidity: function withdrawProtocolFeeBalance(address _to) returns()
type StargatePoolTransactorRaw ¶
type StargatePoolTransactorRaw struct {
Contract *StargatePoolTransactor // Generic write-only contract binding to access the raw methods on
}
StargatePoolTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*StargatePoolTransactorRaw) Transact ¶
func (_StargatePool *StargatePoolTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*StargatePoolTransactorRaw) Transfer ¶
func (_StargatePool *StargatePoolTransactorRaw) 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 StargatePoolTransactorSession ¶
type StargatePoolTransactorSession struct { Contract *StargatePoolTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
StargatePoolTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*StargatePoolTransactorSession) ActivateChainPath ¶
func (_StargatePool *StargatePoolTransactorSession) ActivateChainPath(_dstChainId uint16, _dstPoolId *big.Int) (*types.Transaction, error)
ActivateChainPath is a paid mutator transaction binding the contract method 0x8bd86d0a.
Solidity: function activateChainPath(uint16 _dstChainId, uint256 _dstPoolId) returns()
func (*StargatePoolTransactorSession) Approve ¶
func (_StargatePool *StargatePoolTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*StargatePoolTransactorSession) CallDelta ¶
func (_StargatePool *StargatePoolTransactorSession) CallDelta(_fullMode bool) (*types.Transaction, error)
CallDelta is a paid mutator transaction binding the contract method 0x7fb65265.
Solidity: function callDelta(bool _fullMode) returns()
func (*StargatePoolTransactorSession) CreateChainPath ¶
func (_StargatePool *StargatePoolTransactorSession) CreateChainPath(_dstChainId uint16, _dstPoolId *big.Int, _weight *big.Int) (*types.Transaction, error)
CreateChainPath is a paid mutator transaction binding the contract method 0x20d6bc75.
Solidity: function createChainPath(uint16 _dstChainId, uint256 _dstPoolId, uint256 _weight) returns()
func (*StargatePoolTransactorSession) CreditChainPath ¶
func (_StargatePool *StargatePoolTransactorSession) CreditChainPath(_dstChainId uint16, _dstPoolId *big.Int, _c PoolCreditObj) (*types.Transaction, error)
CreditChainPath is a paid mutator transaction binding the contract method 0xb6addec7.
Solidity: function creditChainPath(uint16 _dstChainId, uint256 _dstPoolId, (uint256,uint256) _c) returns()
func (*StargatePoolTransactorSession) DecreaseAllowance ¶
func (_StargatePool *StargatePoolTransactorSession) 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 (*StargatePoolTransactorSession) IncreaseAllowance ¶
func (_StargatePool *StargatePoolTransactorSession) 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 (*StargatePoolTransactorSession) InstantRedeemLocal ¶
func (_StargatePool *StargatePoolTransactorSession) InstantRedeemLocal(_from common.Address, _amountLP *big.Int, _to common.Address) (*types.Transaction, error)
InstantRedeemLocal is a paid mutator transaction binding the contract method 0x0986b61a.
Solidity: function instantRedeemLocal(address _from, uint256 _amountLP, address _to) returns(uint256 amountSD)
func (*StargatePoolTransactorSession) Mint ¶
func (_StargatePool *StargatePoolTransactorSession) Mint(_to common.Address, _amountLD *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amountLD) returns(uint256)
func (*StargatePoolTransactorSession) Permit ¶
func (_StargatePool *StargatePoolTransactorSession) 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 (*StargatePoolTransactorSession) RedeemLocal ¶
func (_StargatePool *StargatePoolTransactorSession) RedeemLocal(_from common.Address, _amountLP *big.Int, _dstChainId uint16, _dstPoolId *big.Int, _to []byte) (*types.Transaction, error)
RedeemLocal is a paid mutator transaction binding the contract method 0xb0fab0bc.
Solidity: function redeemLocal(address _from, uint256 _amountLP, uint16 _dstChainId, uint256 _dstPoolId, bytes _to) returns(uint256 amountSD)
func (*StargatePoolTransactorSession) RedeemLocalCallback ¶
func (_StargatePool *StargatePoolTransactorSession) RedeemLocalCallback(_srcChainId uint16, _srcPoolId *big.Int, _to common.Address, _amountSD *big.Int, _amountToMintSD *big.Int) (*types.Transaction, error)
RedeemLocalCallback is a paid mutator transaction binding the contract method 0xb30daeac.
Solidity: function redeemLocalCallback(uint16 _srcChainId, uint256 _srcPoolId, address _to, uint256 _amountSD, uint256 _amountToMintSD) returns()
func (*StargatePoolTransactorSession) RedeemLocalCheckOnRemote ¶
func (_StargatePool *StargatePoolTransactorSession) RedeemLocalCheckOnRemote(_srcChainId uint16, _srcPoolId *big.Int, _amountSD *big.Int) (*types.Transaction, error)
RedeemLocalCheckOnRemote is a paid mutator transaction binding the contract method 0xea89e2aa.
Solidity: function redeemLocalCheckOnRemote(uint16 _srcChainId, uint256 _srcPoolId, uint256 _amountSD) returns(uint256 swapAmount, uint256 mintAmount)
func (*StargatePoolTransactorSession) RedeemRemote ¶
func (_StargatePool *StargatePoolTransactorSession) RedeemRemote(_dstChainId uint16, _dstPoolId *big.Int, _from common.Address, _amountLP *big.Int) (*types.Transaction, error)
RedeemRemote is a paid mutator transaction binding the contract method 0x7298a5dc.
Solidity: function redeemRemote(uint16 _dstChainId, uint256 _dstPoolId, address _from, uint256 _amountLP) returns()
func (*StargatePoolTransactorSession) SendCredits ¶
func (_StargatePool *StargatePoolTransactorSession) SendCredits(_dstChainId uint16, _dstPoolId *big.Int) (*types.Transaction, error)
SendCredits is a paid mutator transaction binding the contract method 0x08e9d8c2.
Solidity: function sendCredits(uint16 _dstChainId, uint256 _dstPoolId) returns((uint256,uint256) c)
func (*StargatePoolTransactorSession) SetDeltaParam ¶
func (_StargatePool *StargatePoolTransactorSession) SetDeltaParam(_batched bool, _swapDeltaBP *big.Int, _lpDeltaBP *big.Int, _defaultSwapMode bool, _defaultLPMode bool) (*types.Transaction, error)
SetDeltaParam is a paid mutator transaction binding the contract method 0xe065608b.
Solidity: function setDeltaParam(bool _batched, uint256 _swapDeltaBP, uint256 _lpDeltaBP, bool _defaultSwapMode, bool _defaultLPMode) returns()
func (*StargatePoolTransactorSession) SetFee ¶
func (_StargatePool *StargatePoolTransactorSession) SetFee(_mintFeeBP *big.Int) (*types.Transaction, error)
SetFee is a paid mutator transaction binding the contract method 0x69fe0e2d.
Solidity: function setFee(uint256 _mintFeeBP) returns()
func (*StargatePoolTransactorSession) SetFeeLibrary ¶
func (_StargatePool *StargatePoolTransactorSession) SetFeeLibrary(_feeLibraryAddr common.Address) (*types.Transaction, error)
SetFeeLibrary is a paid mutator transaction binding the contract method 0x4b5cacbc.
Solidity: function setFeeLibrary(address _feeLibraryAddr) returns()
func (*StargatePoolTransactorSession) SetSwapStop ¶
func (_StargatePool *StargatePoolTransactorSession) SetSwapStop(_swapStop bool) (*types.Transaction, error)
SetSwapStop is a paid mutator transaction binding the contract method 0xac2cc36b.
Solidity: function setSwapStop(bool _swapStop) returns()
func (*StargatePoolTransactorSession) SetWeightForChainPath ¶
func (_StargatePool *StargatePoolTransactorSession) SetWeightForChainPath(_dstChainId uint16, _dstPoolId *big.Int, _weight uint16) (*types.Transaction, error)
SetWeightForChainPath is a paid mutator transaction binding the contract method 0xa985565f.
Solidity: function setWeightForChainPath(uint16 _dstChainId, uint256 _dstPoolId, uint16 _weight) returns()
func (*StargatePoolTransactorSession) Swap ¶
func (_StargatePool *StargatePoolTransactorSession) Swap(_dstChainId uint16, _dstPoolId *big.Int, _from common.Address, _amountLD *big.Int, _minAmountLD *big.Int, newLiquidity bool) (*types.Transaction, error)
Swap is a paid mutator transaction binding the contract method 0x1b7319b6.
Solidity: function swap(uint16 _dstChainId, uint256 _dstPoolId, address _from, uint256 _amountLD, uint256 _minAmountLD, bool newLiquidity) returns((uint256,uint256,uint256,uint256,uint256,uint256))
func (*StargatePoolTransactorSession) SwapRemote ¶
func (_StargatePool *StargatePoolTransactorSession) SwapRemote(_srcChainId uint16, _srcPoolId *big.Int, _to common.Address, _s PoolSwapObj) (*types.Transaction, error)
SwapRemote is a paid mutator transaction binding the contract method 0x902b8ab7.
Solidity: function swapRemote(uint16 _srcChainId, uint256 _srcPoolId, address _to, (uint256,uint256,uint256,uint256,uint256,uint256) _s) returns(uint256 amountLD)
func (*StargatePoolTransactorSession) Transfer ¶
func (_StargatePool *StargatePoolTransactorSession) Transfer(to common.Address, value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address to, uint256 value) returns(bool)
func (*StargatePoolTransactorSession) TransferFrom ¶
func (_StargatePool *StargatePoolTransactorSession) TransferFrom(from common.Address, to common.Address, value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address from, address to, uint256 value) returns(bool)
func (*StargatePoolTransactorSession) WithdrawMintFeeBalance ¶
func (_StargatePool *StargatePoolTransactorSession) WithdrawMintFeeBalance(_to common.Address) (*types.Transaction, error)
WithdrawMintFeeBalance is a paid mutator transaction binding the contract method 0x476efe40.
Solidity: function withdrawMintFeeBalance(address _to) returns()
func (*StargatePoolTransactorSession) WithdrawProtocolFeeBalance ¶
func (_StargatePool *StargatePoolTransactorSession) WithdrawProtocolFeeBalance(_to common.Address) (*types.Transaction, error)
WithdrawProtocolFeeBalance is a paid mutator transaction binding the contract method 0xbe310294.
Solidity: function withdrawProtocolFeeBalance(address _to) returns()
type StargatePoolTransfer ¶
type StargatePoolTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
StargatePoolTransfer represents a Transfer event raised by the StargatePool contract.
type StargatePoolTransferIterator ¶
type StargatePoolTransferIterator struct { Event *StargatePoolTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the StargatePool contract.
func (*StargatePoolTransferIterator) Close ¶
func (it *StargatePoolTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolTransferIterator) Error ¶
func (it *StargatePoolTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolTransferIterator) Next ¶
func (it *StargatePoolTransferIterator) 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 StargatePoolWithdrawMintFeeBalance ¶
type StargatePoolWithdrawMintFeeBalance struct { To common.Address AmountSD *big.Int Raw types.Log // Blockchain specific contextual infos }
StargatePoolWithdrawMintFeeBalance represents a WithdrawMintFeeBalance event raised by the StargatePool contract.
type StargatePoolWithdrawMintFeeBalanceIterator ¶
type StargatePoolWithdrawMintFeeBalanceIterator struct { Event *StargatePoolWithdrawMintFeeBalance // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolWithdrawMintFeeBalanceIterator is returned from FilterWithdrawMintFeeBalance and is used to iterate over the raw logs and unpacked data for WithdrawMintFeeBalance events raised by the StargatePool contract.
func (*StargatePoolWithdrawMintFeeBalanceIterator) Close ¶
func (it *StargatePoolWithdrawMintFeeBalanceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolWithdrawMintFeeBalanceIterator) Error ¶
func (it *StargatePoolWithdrawMintFeeBalanceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolWithdrawMintFeeBalanceIterator) Next ¶
func (it *StargatePoolWithdrawMintFeeBalanceIterator) 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 StargatePoolWithdrawProtocolFeeBalance ¶
type StargatePoolWithdrawProtocolFeeBalance struct { To common.Address AmountSD *big.Int Raw types.Log // Blockchain specific contextual infos }
StargatePoolWithdrawProtocolFeeBalance represents a WithdrawProtocolFeeBalance event raised by the StargatePool contract.
type StargatePoolWithdrawProtocolFeeBalanceIterator ¶
type StargatePoolWithdrawProtocolFeeBalanceIterator struct { Event *StargatePoolWithdrawProtocolFeeBalance // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolWithdrawProtocolFeeBalanceIterator is returned from FilterWithdrawProtocolFeeBalance and is used to iterate over the raw logs and unpacked data for WithdrawProtocolFeeBalance events raised by the StargatePool contract.
func (*StargatePoolWithdrawProtocolFeeBalanceIterator) Close ¶
func (it *StargatePoolWithdrawProtocolFeeBalanceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolWithdrawProtocolFeeBalanceIterator) Error ¶
func (it *StargatePoolWithdrawProtocolFeeBalanceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolWithdrawProtocolFeeBalanceIterator) Next ¶
func (it *StargatePoolWithdrawProtocolFeeBalanceIterator) 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 StargatePoolWithdrawRemote ¶
type StargatePoolWithdrawRemote struct { SrcChainId uint16 SrcPoolId *big.Int SwapAmount *big.Int MintAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
StargatePoolWithdrawRemote represents a WithdrawRemote event raised by the StargatePool contract.
type StargatePoolWithdrawRemoteIterator ¶
type StargatePoolWithdrawRemoteIterator struct { Event *StargatePoolWithdrawRemote // Event containing the contract specifics and raw log // contains filtered or unexported fields }
StargatePoolWithdrawRemoteIterator is returned from FilterWithdrawRemote and is used to iterate over the raw logs and unpacked data for WithdrawRemote events raised by the StargatePool contract.
func (*StargatePoolWithdrawRemoteIterator) Close ¶
func (it *StargatePoolWithdrawRemoteIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*StargatePoolWithdrawRemoteIterator) Error ¶
func (it *StargatePoolWithdrawRemoteIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*StargatePoolWithdrawRemoteIterator) Next ¶
func (it *StargatePoolWithdrawRemoteIterator) 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.