Documentation ¶
Index ¶
- Constants
- Variables
- func GetDockerUserString() string
- func RandLowerCaseLetterString(length int) string
- func RegisterContractCallServer(s grpc.ServiceRegistrar, srv ContractCallServer)
- type AaveV2
- type AaveV2Caller
- type AaveV2CallerRaw
- type AaveV2CallerSession
- type AaveV2Filterer
- func (_AaveV2 *AaveV2Filterer) FilterMockAccrueFees(opts *bind.FilterOpts) (*AaveV2MockAccrueFeesIterator, error)
- func (_AaveV2 *AaveV2Filterer) FilterMockClaimAndUnstake(opts *bind.FilterOpts) (*AaveV2MockClaimAndUnstakeIterator, error)
- func (_AaveV2 *AaveV2Filterer) FilterMockEnterPosition(opts *bind.FilterOpts) (*AaveV2MockEnterPositionIterator, error)
- func (_AaveV2 *AaveV2Filterer) FilterMockRebalance(opts *bind.FilterOpts) (*AaveV2MockRebalanceIterator, error)
- func (_AaveV2 *AaveV2Filterer) FilterMockReinvest(opts *bind.FilterOpts) (*AaveV2MockReinvestIterator, error)
- func (_AaveV2 *AaveV2Filterer) FilterMockSetDepositLimit(opts *bind.FilterOpts) (*AaveV2MockSetDepositLimitIterator, error)
- func (_AaveV2 *AaveV2Filterer) FilterMockSetFeesDistributor(opts *bind.FilterOpts) (*AaveV2MockSetFeesDistributorIterator, error)
- func (_AaveV2 *AaveV2Filterer) FilterMockSetLiquidityLimit(opts *bind.FilterOpts) (*AaveV2MockSetLiquidityLimitIterator, error)
- func (_AaveV2 *AaveV2Filterer) FilterMockSetShutdown(opts *bind.FilterOpts) (*AaveV2MockSetShutdownIterator, error)
- func (_AaveV2 *AaveV2Filterer) FilterMockSetTrust(opts *bind.FilterOpts) (*AaveV2MockSetTrustIterator, error)
- func (_AaveV2 *AaveV2Filterer) FilterMockSweep(opts *bind.FilterOpts) (*AaveV2MockSweepIterator, error)
- func (_AaveV2 *AaveV2Filterer) FilterMockTransferFees(opts *bind.FilterOpts) (*AaveV2MockTransferFeesIterator, error)
- func (_AaveV2 *AaveV2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*AaveV2OwnershipTransferredIterator, error)
- func (_AaveV2 *AaveV2Filterer) ParseMockAccrueFees(log types.Log) (*AaveV2MockAccrueFees, error)
- func (_AaveV2 *AaveV2Filterer) ParseMockClaimAndUnstake(log types.Log) (*AaveV2MockClaimAndUnstake, error)
- func (_AaveV2 *AaveV2Filterer) ParseMockEnterPosition(log types.Log) (*AaveV2MockEnterPosition, error)
- func (_AaveV2 *AaveV2Filterer) ParseMockRebalance(log types.Log) (*AaveV2MockRebalance, error)
- func (_AaveV2 *AaveV2Filterer) ParseMockReinvest(log types.Log) (*AaveV2MockReinvest, error)
- func (_AaveV2 *AaveV2Filterer) ParseMockSetDepositLimit(log types.Log) (*AaveV2MockSetDepositLimit, error)
- func (_AaveV2 *AaveV2Filterer) ParseMockSetFeesDistributor(log types.Log) (*AaveV2MockSetFeesDistributor, error)
- func (_AaveV2 *AaveV2Filterer) ParseMockSetLiquidityLimit(log types.Log) (*AaveV2MockSetLiquidityLimit, error)
- func (_AaveV2 *AaveV2Filterer) ParseMockSetShutdown(log types.Log) (*AaveV2MockSetShutdown, error)
- func (_AaveV2 *AaveV2Filterer) ParseMockSetTrust(log types.Log) (*AaveV2MockSetTrust, error)
- func (_AaveV2 *AaveV2Filterer) ParseMockSweep(log types.Log) (*AaveV2MockSweep, error)
- func (_AaveV2 *AaveV2Filterer) ParseMockTransferFees(log types.Log) (*AaveV2MockTransferFees, error)
- func (_AaveV2 *AaveV2Filterer) ParseOwnershipTransferred(log types.Log) (*AaveV2OwnershipTransferred, error)
- func (_AaveV2 *AaveV2Filterer) WatchMockAccrueFees(opts *bind.WatchOpts, sink chan<- *AaveV2MockAccrueFees) (event.Subscription, error)
- func (_AaveV2 *AaveV2Filterer) WatchMockClaimAndUnstake(opts *bind.WatchOpts, sink chan<- *AaveV2MockClaimAndUnstake) (event.Subscription, error)
- func (_AaveV2 *AaveV2Filterer) WatchMockEnterPosition(opts *bind.WatchOpts, sink chan<- *AaveV2MockEnterPosition) (event.Subscription, error)
- func (_AaveV2 *AaveV2Filterer) WatchMockRebalance(opts *bind.WatchOpts, sink chan<- *AaveV2MockRebalance) (event.Subscription, error)
- func (_AaveV2 *AaveV2Filterer) WatchMockReinvest(opts *bind.WatchOpts, sink chan<- *AaveV2MockReinvest) (event.Subscription, error)
- func (_AaveV2 *AaveV2Filterer) WatchMockSetDepositLimit(opts *bind.WatchOpts, sink chan<- *AaveV2MockSetDepositLimit) (event.Subscription, error)
- func (_AaveV2 *AaveV2Filterer) WatchMockSetFeesDistributor(opts *bind.WatchOpts, sink chan<- *AaveV2MockSetFeesDistributor) (event.Subscription, error)
- func (_AaveV2 *AaveV2Filterer) WatchMockSetLiquidityLimit(opts *bind.WatchOpts, sink chan<- *AaveV2MockSetLiquidityLimit) (event.Subscription, error)
- func (_AaveV2 *AaveV2Filterer) WatchMockSetShutdown(opts *bind.WatchOpts, sink chan<- *AaveV2MockSetShutdown) (event.Subscription, error)
- func (_AaveV2 *AaveV2Filterer) WatchMockSetTrust(opts *bind.WatchOpts, sink chan<- *AaveV2MockSetTrust) (event.Subscription, error)
- func (_AaveV2 *AaveV2Filterer) WatchMockSweep(opts *bind.WatchOpts, sink chan<- *AaveV2MockSweep) (event.Subscription, error)
- func (_AaveV2 *AaveV2Filterer) WatchMockTransferFees(opts *bind.WatchOpts, sink chan<- *AaveV2MockTransferFees) (event.Subscription, error)
- func (_AaveV2 *AaveV2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AaveV2OwnershipTransferred, ...) (event.Subscription, error)
- type AaveV2MockAccrueFees
- type AaveV2MockAccrueFeesIterator
- type AaveV2MockClaimAndUnstake
- type AaveV2MockClaimAndUnstakeIterator
- type AaveV2MockEnterPosition
- type AaveV2MockEnterPositionIterator
- type AaveV2MockRebalance
- type AaveV2MockRebalanceIterator
- type AaveV2MockReinvest
- type AaveV2MockReinvestIterator
- type AaveV2MockSetDepositLimit
- type AaveV2MockSetDepositLimitIterator
- type AaveV2MockSetFeesDistributor
- type AaveV2MockSetFeesDistributorIterator
- type AaveV2MockSetLiquidityLimit
- type AaveV2MockSetLiquidityLimitIterator
- type AaveV2MockSetShutdown
- type AaveV2MockSetShutdownIterator
- type AaveV2MockSetTrust
- type AaveV2MockSetTrustIterator
- type AaveV2MockSweep
- type AaveV2MockSweepIterator
- type AaveV2MockTransferFees
- type AaveV2MockTransferFeesIterator
- type AaveV2OwnershipTransferred
- type AaveV2OwnershipTransferredIterator
- type AaveV2Raw
- func (_AaveV2 *AaveV2Raw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_AaveV2 *AaveV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Raw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type AaveV2Session
- func (_AaveV2 *AaveV2Session) AccrueFees() (*types.Transaction, error)
- func (_AaveV2 *AaveV2Session) ClaimAndUnstake() (*types.Transaction, error)
- func (_AaveV2 *AaveV2Session) EnterPosition() (*types.Transaction, error)
- func (_AaveV2 *AaveV2Session) IsShutdown() (bool, error)
- func (_AaveV2 *AaveV2Session) Owner() (common.Address, error)
- func (_AaveV2 *AaveV2Session) Rebalance(route [9]common.Address, swapParams [4][3]*big.Int, minAssetsOut *big.Int) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Session) Reinvest(minAssetsOut *big.Int) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Session) RenounceOwnership() (*types.Transaction, error)
- func (_AaveV2 *AaveV2Session) SetDepositLimit(limit *big.Int) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Session) SetFeesDistributor(newFeesDistributor [32]byte) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Session) SetLiquidityLimit(limit *big.Int) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Session) SetShutdown(shutdown bool, exitPosition bool) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Session) SetTrust(position common.Address, trust bool) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Session) Sweep(token common.Address, to common.Address) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Session) TransferFees() (*types.Transaction, error)
- func (_AaveV2 *AaveV2Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type AaveV2Stablecoin
- func (*AaveV2Stablecoin) Descriptor() ([]byte, []int)deprecated
- func (x *AaveV2Stablecoin) GetAccrueFees() *AaveV2Stablecoin_AccrueFees
- func (x *AaveV2Stablecoin) GetClaimAndUnstake() *AaveV2Stablecoin_ClaimAndUnstake
- func (x *AaveV2Stablecoin) GetEnterPosition() *AaveV2Stablecoin_EnterPosition
- func (m *AaveV2Stablecoin) GetFunction() isAaveV2Stablecoin_Function
- func (x *AaveV2Stablecoin) GetRebalance() *AaveV2Stablecoin_Rebalance
- func (x *AaveV2Stablecoin) GetReinvest() *AaveV2Stablecoin_Reinvest
- func (x *AaveV2Stablecoin) GetSetDepositLimit() *AaveV2Stablecoin_SetDepositLimit
- func (x *AaveV2Stablecoin) GetSetLiquidityLimit() *AaveV2Stablecoin_SetLiquidityLimit
- func (x *AaveV2Stablecoin) GetTransferFees() *AaveV2Stablecoin_TransferFees
- func (*AaveV2Stablecoin) ProtoMessage()
- func (x *AaveV2Stablecoin) ProtoReflect() protoreflect.Message
- func (x *AaveV2Stablecoin) Reset()
- func (x *AaveV2Stablecoin) String() string
- type AaveV2Stablecoin_AccrueFees
- type AaveV2Stablecoin_AccrueFees_
- type AaveV2Stablecoin_ClaimAndUnstake
- func (*AaveV2Stablecoin_ClaimAndUnstake) Descriptor() ([]byte, []int)deprecated
- func (*AaveV2Stablecoin_ClaimAndUnstake) ProtoMessage()
- func (x *AaveV2Stablecoin_ClaimAndUnstake) ProtoReflect() protoreflect.Message
- func (x *AaveV2Stablecoin_ClaimAndUnstake) Reset()
- func (x *AaveV2Stablecoin_ClaimAndUnstake) String() string
- type AaveV2Stablecoin_ClaimAndUnstake_
- type AaveV2Stablecoin_EnterPosition
- func (*AaveV2Stablecoin_EnterPosition) Descriptor() ([]byte, []int)deprecated
- func (*AaveV2Stablecoin_EnterPosition) ProtoMessage()
- func (x *AaveV2Stablecoin_EnterPosition) ProtoReflect() protoreflect.Message
- func (x *AaveV2Stablecoin_EnterPosition) Reset()
- func (x *AaveV2Stablecoin_EnterPosition) String() string
- type AaveV2Stablecoin_EnterPosition_
- type AaveV2Stablecoin_Rebalance
- func (*AaveV2Stablecoin_Rebalance) Descriptor() ([]byte, []int)deprecated
- func (x *AaveV2Stablecoin_Rebalance) GetMinAssetsOut() string
- func (x *AaveV2Stablecoin_Rebalance) GetRoute() []string
- func (x *AaveV2Stablecoin_Rebalance) GetSwapParams() []*AaveV2Stablecoin_Rebalance_SwapParams
- func (*AaveV2Stablecoin_Rebalance) ProtoMessage()
- func (x *AaveV2Stablecoin_Rebalance) ProtoReflect() protoreflect.Message
- func (x *AaveV2Stablecoin_Rebalance) Reset()
- func (x *AaveV2Stablecoin_Rebalance) String() string
- type AaveV2Stablecoin_Rebalance_
- type AaveV2Stablecoin_Rebalance_SwapParams
- func (*AaveV2Stablecoin_Rebalance_SwapParams) Descriptor() ([]byte, []int)deprecated
- func (x *AaveV2Stablecoin_Rebalance_SwapParams) GetInIndex() uint64
- func (x *AaveV2Stablecoin_Rebalance_SwapParams) GetOutIndex() uint64
- func (x *AaveV2Stablecoin_Rebalance_SwapParams) GetSwapType() uint64
- func (*AaveV2Stablecoin_Rebalance_SwapParams) ProtoMessage()
- func (x *AaveV2Stablecoin_Rebalance_SwapParams) ProtoReflect() protoreflect.Message
- func (x *AaveV2Stablecoin_Rebalance_SwapParams) Reset()
- func (x *AaveV2Stablecoin_Rebalance_SwapParams) String() string
- type AaveV2Stablecoin_Reinvest
- func (*AaveV2Stablecoin_Reinvest) Descriptor() ([]byte, []int)deprecated
- func (x *AaveV2Stablecoin_Reinvest) GetMinAssetsOut() string
- func (*AaveV2Stablecoin_Reinvest) ProtoMessage()
- func (x *AaveV2Stablecoin_Reinvest) ProtoReflect() protoreflect.Message
- func (x *AaveV2Stablecoin_Reinvest) Reset()
- func (x *AaveV2Stablecoin_Reinvest) String() string
- type AaveV2Stablecoin_Reinvest_
- type AaveV2Stablecoin_SetDepositLimit
- func (*AaveV2Stablecoin_SetDepositLimit) Descriptor() ([]byte, []int)deprecated
- func (x *AaveV2Stablecoin_SetDepositLimit) GetLimit() string
- func (*AaveV2Stablecoin_SetDepositLimit) ProtoMessage()
- func (x *AaveV2Stablecoin_SetDepositLimit) ProtoReflect() protoreflect.Message
- func (x *AaveV2Stablecoin_SetDepositLimit) Reset()
- func (x *AaveV2Stablecoin_SetDepositLimit) String() string
- type AaveV2Stablecoin_SetDepositLimit_
- type AaveV2Stablecoin_SetLiquidityLimit
- func (*AaveV2Stablecoin_SetLiquidityLimit) Descriptor() ([]byte, []int)deprecated
- func (x *AaveV2Stablecoin_SetLiquidityLimit) GetLimit() string
- func (*AaveV2Stablecoin_SetLiquidityLimit) ProtoMessage()
- func (x *AaveV2Stablecoin_SetLiquidityLimit) ProtoReflect() protoreflect.Message
- func (x *AaveV2Stablecoin_SetLiquidityLimit) Reset()
- func (x *AaveV2Stablecoin_SetLiquidityLimit) String() string
- type AaveV2Stablecoin_SetLiquidityLimit_
- type AaveV2Stablecoin_TransferFees
- func (*AaveV2Stablecoin_TransferFees) Descriptor() ([]byte, []int)deprecated
- func (*AaveV2Stablecoin_TransferFees) ProtoMessage()
- func (x *AaveV2Stablecoin_TransferFees) ProtoReflect() protoreflect.Message
- func (x *AaveV2Stablecoin_TransferFees) Reset()
- func (x *AaveV2Stablecoin_TransferFees) String() string
- type AaveV2Stablecoin_TransferFees_
- type AaveV2Transactor
- func (_AaveV2 *AaveV2Transactor) AccrueFees(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Transactor) ClaimAndUnstake(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Transactor) EnterPosition(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Transactor) Rebalance(opts *bind.TransactOpts, route [9]common.Address, swapParams [4][3]*big.Int, ...) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Transactor) Reinvest(opts *bind.TransactOpts, minAssetsOut *big.Int) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Transactor) SetDepositLimit(opts *bind.TransactOpts, limit *big.Int) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Transactor) SetFeesDistributor(opts *bind.TransactOpts, newFeesDistributor [32]byte) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Transactor) SetLiquidityLimit(opts *bind.TransactOpts, limit *big.Int) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Transactor) SetShutdown(opts *bind.TransactOpts, shutdown bool, exitPosition bool) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Transactor) SetTrust(opts *bind.TransactOpts, position common.Address, trust bool) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Transactor) Sweep(opts *bind.TransactOpts, token common.Address, to common.Address) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Transactor) TransferFees(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_AaveV2 *AaveV2Transactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type AaveV2TransactorRaw
- type AaveV2TransactorSession
- func (_AaveV2 *AaveV2TransactorSession) AccrueFees() (*types.Transaction, error)
- func (_AaveV2 *AaveV2TransactorSession) ClaimAndUnstake() (*types.Transaction, error)
- func (_AaveV2 *AaveV2TransactorSession) EnterPosition() (*types.Transaction, error)
- func (_AaveV2 *AaveV2TransactorSession) Rebalance(route [9]common.Address, swapParams [4][3]*big.Int, minAssetsOut *big.Int) (*types.Transaction, error)
- func (_AaveV2 *AaveV2TransactorSession) Reinvest(minAssetsOut *big.Int) (*types.Transaction, error)
- func (_AaveV2 *AaveV2TransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_AaveV2 *AaveV2TransactorSession) SetDepositLimit(limit *big.Int) (*types.Transaction, error)
- func (_AaveV2 *AaveV2TransactorSession) SetFeesDistributor(newFeesDistributor [32]byte) (*types.Transaction, error)
- func (_AaveV2 *AaveV2TransactorSession) SetLiquidityLimit(limit *big.Int) (*types.Transaction, error)
- func (_AaveV2 *AaveV2TransactorSession) SetShutdown(shutdown bool, exitPosition bool) (*types.Transaction, error)
- func (_AaveV2 *AaveV2TransactorSession) SetTrust(position common.Address, trust bool) (*types.Transaction, error)
- func (_AaveV2 *AaveV2TransactorSession) Sweep(token common.Address, to common.Address) (*types.Transaction, error)
- func (_AaveV2 *AaveV2TransactorSession) TransferFees() (*types.Transaction, error)
- func (_AaveV2 *AaveV2TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type Allocation
- type ContractCallClient
- type ContractCallServer
- type EthereumConfig
- type EthereumGenesis
- type Gravity
- type GravityCaller
- func (_Gravity *GravityCaller) LastBatchNonce(opts *bind.CallOpts, _erc20Address common.Address) (*big.Int, error)
- func (_Gravity *GravityCaller) LastLogicCallNonce(opts *bind.CallOpts, _invalidation_id [32]byte) (*big.Int, error)
- func (_Gravity *GravityCaller) StateGravityId(opts *bind.CallOpts) ([32]byte, error)
- func (_Gravity *GravityCaller) StateInvalidationMapping(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_Gravity *GravityCaller) StateLastBatchNonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Gravity *GravityCaller) StateLastEventNonce(opts *bind.CallOpts) (*big.Int, error)
- func (_Gravity *GravityCaller) StateLastValsetCheckpoint(opts *bind.CallOpts) ([32]byte, error)
- func (_Gravity *GravityCaller) StateLastValsetNonce(opts *bind.CallOpts) (*big.Int, error)
- func (_Gravity *GravityCaller) StatePowerThreshold(opts *bind.CallOpts) (*big.Int, error)
- func (_Gravity *GravityCaller) TestCheckValidatorSignatures(opts *bind.CallOpts, _currentValset ValsetArgs, _sigs []ValSignature, ...) error
- func (_Gravity *GravityCaller) TestMakeCheckpoint(opts *bind.CallOpts, _valsetArgs ValsetArgs, _gravityId [32]byte) error
- type GravityCallerRaw
- type GravityCallerSession
- func (_Gravity *GravityCallerSession) LastBatchNonce(_erc20Address common.Address) (*big.Int, error)
- func (_Gravity *GravityCallerSession) LastLogicCallNonce(_invalidation_id [32]byte) (*big.Int, error)
- func (_Gravity *GravityCallerSession) StateGravityId() ([32]byte, error)
- func (_Gravity *GravityCallerSession) StateInvalidationMapping(arg0 [32]byte) (*big.Int, error)
- func (_Gravity *GravityCallerSession) StateLastBatchNonces(arg0 common.Address) (*big.Int, error)
- func (_Gravity *GravityCallerSession) StateLastEventNonce() (*big.Int, error)
- func (_Gravity *GravityCallerSession) StateLastValsetCheckpoint() ([32]byte, error)
- func (_Gravity *GravityCallerSession) StateLastValsetNonce() (*big.Int, error)
- func (_Gravity *GravityCallerSession) StatePowerThreshold() (*big.Int, error)
- func (_Gravity *GravityCallerSession) TestCheckValidatorSignatures(_currentValset ValsetArgs, _sigs []ValSignature, _theHash [32]byte, ...) error
- func (_Gravity *GravityCallerSession) TestMakeCheckpoint(_valsetArgs ValsetArgs, _gravityId [32]byte) error
- type GravityERC20DeployedEvent
- type GravityERC20DeployedEventIterator
- type GravityFilterer
- func (_Gravity *GravityFilterer) FilterERC20DeployedEvent(opts *bind.FilterOpts, _tokenContract []common.Address) (*GravityERC20DeployedEventIterator, error)
- func (_Gravity *GravityFilterer) FilterLogicCallEvent(opts *bind.FilterOpts) (*GravityLogicCallEventIterator, error)
- func (_Gravity *GravityFilterer) FilterSendToCosmosEvent(opts *bind.FilterOpts, _tokenContract []common.Address, ...) (*GravitySendToCosmosEventIterator, error)
- func (_Gravity *GravityFilterer) FilterTransactionBatchExecutedEvent(opts *bind.FilterOpts, _batchNonce []*big.Int, _token []common.Address) (*GravityTransactionBatchExecutedEventIterator, error)
- func (_Gravity *GravityFilterer) FilterValsetUpdatedEvent(opts *bind.FilterOpts, _newValsetNonce []*big.Int) (*GravityValsetUpdatedEventIterator, error)
- func (_Gravity *GravityFilterer) ParseERC20DeployedEvent(log types.Log) (*GravityERC20DeployedEvent, error)
- func (_Gravity *GravityFilterer) ParseLogicCallEvent(log types.Log) (*GravityLogicCallEvent, error)
- func (_Gravity *GravityFilterer) ParseSendToCosmosEvent(log types.Log) (*GravitySendToCosmosEvent, error)
- func (_Gravity *GravityFilterer) ParseTransactionBatchExecutedEvent(log types.Log) (*GravityTransactionBatchExecutedEvent, error)
- func (_Gravity *GravityFilterer) ParseValsetUpdatedEvent(log types.Log) (*GravityValsetUpdatedEvent, error)
- func (_Gravity *GravityFilterer) WatchERC20DeployedEvent(opts *bind.WatchOpts, sink chan<- *GravityERC20DeployedEvent, ...) (event.Subscription, error)
- func (_Gravity *GravityFilterer) WatchLogicCallEvent(opts *bind.WatchOpts, sink chan<- *GravityLogicCallEvent) (event.Subscription, error)
- func (_Gravity *GravityFilterer) WatchSendToCosmosEvent(opts *bind.WatchOpts, sink chan<- *GravitySendToCosmosEvent, ...) (event.Subscription, error)
- func (_Gravity *GravityFilterer) WatchTransactionBatchExecutedEvent(opts *bind.WatchOpts, sink chan<- *GravityTransactionBatchExecutedEvent, ...) (event.Subscription, error)
- func (_Gravity *GravityFilterer) WatchValsetUpdatedEvent(opts *bind.WatchOpts, sink chan<- *GravityValsetUpdatedEvent, ...) (event.Subscription, error)
- type GravityLogicCallEvent
- type GravityLogicCallEventIterator
- type GravityRaw
- func (_Gravity *GravityRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Gravity *GravityRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Gravity *GravityRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GravitySendToCosmosEvent
- type GravitySendToCosmosEventIterator
- type GravitySession
- func (_Gravity *GravitySession) DeployERC20(_cosmosDenom string, _name string, _symbol string, _decimals uint8) (*types.Transaction, error)
- func (_Gravity *GravitySession) LastBatchNonce(_erc20Address common.Address) (*big.Int, error)
- func (_Gravity *GravitySession) LastLogicCallNonce(_invalidation_id [32]byte) (*big.Int, error)
- func (_Gravity *GravitySession) SendToCosmos(_tokenContract common.Address, _destination [32]byte, _amount *big.Int) (*types.Transaction, error)
- func (_Gravity *GravitySession) StateGravityId() ([32]byte, error)
- func (_Gravity *GravitySession) StateInvalidationMapping(arg0 [32]byte) (*big.Int, error)
- func (_Gravity *GravitySession) StateLastBatchNonces(arg0 common.Address) (*big.Int, error)
- func (_Gravity *GravitySession) StateLastEventNonce() (*big.Int, error)
- func (_Gravity *GravitySession) StateLastValsetCheckpoint() ([32]byte, error)
- func (_Gravity *GravitySession) StateLastValsetNonce() (*big.Int, error)
- func (_Gravity *GravitySession) StatePowerThreshold() (*big.Int, error)
- func (_Gravity *GravitySession) SubmitBatch(_currentValset ValsetArgs, _sigs []ValSignature, _amounts []*big.Int, ...) (*types.Transaction, error)
- func (_Gravity *GravitySession) SubmitLogicCall(_currentValset ValsetArgs, _sigs []ValSignature, _args LogicCallArgs) (*types.Transaction, error)
- func (_Gravity *GravitySession) TestCheckValidatorSignatures(_currentValset ValsetArgs, _sigs []ValSignature, _theHash [32]byte, ...) error
- func (_Gravity *GravitySession) TestMakeCheckpoint(_valsetArgs ValsetArgs, _gravityId [32]byte) error
- func (_Gravity *GravitySession) UpdateValset(_newValset ValsetArgs, _currentValset ValsetArgs, _sigs []ValSignature) (*types.Transaction, error)
- type GravityTransactionBatchExecutedEvent
- type GravityTransactionBatchExecutedEventIterator
- type GravityTransactor
- func (_Gravity *GravityTransactor) DeployERC20(opts *bind.TransactOpts, _cosmosDenom string, _name string, _symbol string, ...) (*types.Transaction, error)
- func (_Gravity *GravityTransactor) SendToCosmos(opts *bind.TransactOpts, _tokenContract common.Address, _destination [32]byte, ...) (*types.Transaction, error)
- func (_Gravity *GravityTransactor) SubmitBatch(opts *bind.TransactOpts, _currentValset ValsetArgs, _sigs []ValSignature, ...) (*types.Transaction, error)
- func (_Gravity *GravityTransactor) SubmitLogicCall(opts *bind.TransactOpts, _currentValset ValsetArgs, _sigs []ValSignature, ...) (*types.Transaction, error)
- func (_Gravity *GravityTransactor) UpdateValset(opts *bind.TransactOpts, _newValset ValsetArgs, _currentValset ValsetArgs, ...) (*types.Transaction, error)
- type GravityTransactorRaw
- type GravityTransactorSession
- func (_Gravity *GravityTransactorSession) DeployERC20(_cosmosDenom string, _name string, _symbol string, _decimals uint8) (*types.Transaction, error)
- func (_Gravity *GravityTransactorSession) SendToCosmos(_tokenContract common.Address, _destination [32]byte, _amount *big.Int) (*types.Transaction, error)
- func (_Gravity *GravityTransactorSession) SubmitBatch(_currentValset ValsetArgs, _sigs []ValSignature, _amounts []*big.Int, ...) (*types.Transaction, error)
- func (_Gravity *GravityTransactorSession) SubmitLogicCall(_currentValset ValsetArgs, _sigs []ValSignature, _args LogicCallArgs) (*types.Transaction, error)
- func (_Gravity *GravityTransactorSession) UpdateValset(_newValset ValsetArgs, _currentValset ValsetArgs, _sigs []ValSignature) (*types.Transaction, error)
- type GravityValsetUpdatedEvent
- type GravityValsetUpdatedEventIterator
- type LogicCallArgs
- type SubmitRequest
- func (*SubmitRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SubmitRequest) GetAaveV2Stablecoin() *AaveV2Stablecoin
- func (m *SubmitRequest) GetCallData() isSubmitRequest_CallData
- func (x *SubmitRequest) GetCellarId() string
- func (*SubmitRequest) ProtoMessage()
- func (x *SubmitRequest) ProtoReflect() protoreflect.Message
- func (x *SubmitRequest) Reset()
- func (x *SubmitRequest) String() string
- type SubmitRequest_AaveV2Stablecoin
- type SubmitResponse
- type UnimplementedContractCallServer
- type UnsafeContractCallServer
- type ValSignature
- type ValsetArgs
Constants ¶
const DerivationPath = "m/44'/60'/0'/0/0"
Variables ¶
var AaveV2ABI = AaveV2MetaData.ABI
AaveV2ABI is the input ABI used to generate the binding from. Deprecated: Use AaveV2MetaData.ABI instead.
var AaveV2MetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":[],\"name\":\"mockAccrueFees\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"mockClaimAndUnstake\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"mockEnterPosition\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address[9]\",\"name\":\"route\",\"type\":\"address[9]\"},{\"indexed\":false,\"internalType\":\"uint256[3][4]\",\"name\":\"swapParams\",\"type\":\"uint256[3][4]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minAssetsOut\",\"type\":\"uint256\"}],\"name\":\"mockRebalance\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"minAssetsOut\",\"type\":\"uint256\"}],\"name\":\"mockReinvest\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"limit\",\"type\":\"uint256\"}],\"name\":\"mockSetDepositLimit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"newFeesDistributor\",\"type\":\"bytes32\"}],\"name\":\"mockSetFeesDistributor\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"limit\",\"type\":\"uint256\"}],\"name\":\"mockSetLiquidityLimit\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"shutdown\",\"type\":\"bool\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"exitPosition\",\"type\":\"bool\"}],\"name\":\"mockSetShutdown\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"position\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bool\",\"name\":\"trust\",\"type\":\"bool\"}],\"name\":\"mockSetTrust\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"mockSweep\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"mockTransferFees\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"accrueFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"claimAndUnstake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"claimed\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"enterPosition\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"isShutdown\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[9]\",\"name\":\"route\",\"type\":\"address[9]\"},{\"internalType\":\"uint256[3][4]\",\"name\":\"swapParams\",\"type\":\"uint256[3][4]\"},{\"internalType\":\"uint256\",\"name\":\"minAssetsOut\",\"type\":\"uint256\"}],\"name\":\"rebalance\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"minAssetsOut\",\"type\":\"uint256\"}],\"name\":\"reinvest\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"renounceOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"limit\",\"type\":\"uint256\"}],\"name\":\"setDepositLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"newFeesDistributor\",\"type\":\"bytes32\"}],\"name\":\"setFeesDistributor\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"limit\",\"type\":\"uint256\"}],\"name\":\"setLiquidityLimit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bool\",\"name\":\"shutdown\",\"type\":\"bool\"},{\"internalType\":\"bool\",\"name\":\"exitPosition\",\"type\":\"bool\"}],\"name\":\"setShutdown\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"position\",\"type\":\"address\"},{\"internalType\":\"bool\",\"name\":\"trust\",\"type\":\"bool\"}],\"name\":\"setTrust\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"token\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"}],\"name\":\"sweep\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"transferFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
AaveV2MetaData contains all meta data concerning the AaveV2 contract.
var ContractCall_ServiceDesc = grpc.ServiceDesc{ ServiceName: "steward.v1.ContractCall", HandlerType: (*ContractCallServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "Submit", Handler: _ContractCall_Submit_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "steward.proto", }
ContractCall_ServiceDesc is the grpc.ServiceDesc for ContractCall service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_aave_v2_stablecoin_proto protoreflect.FileDescriptor
var File_steward_proto protoreflect.FileDescriptor
var GravityABI = GravityMetaData.ABI
GravityABI is the input ABI used to generate the binding from. Deprecated: Use GravityMetaData.ABI instead.
var GravityMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_gravityId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_powerThreshold\",\"type\":\"uint256\"},{\"internalType\":\"address[]\",\"name\":\"_validators\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"BatchTimedOut\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"IncorrectCheckpoint\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"cumulativePower\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"powerThreshold\",\"type\":\"uint256\"}],\"name\":\"InsufficientPower\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentNonce\",\"type\":\"uint256\"}],\"name\":\"InvalidBatchNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidLogicCallFees\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentNonce\",\"type\":\"uint256\"}],\"name\":\"InvalidLogicCallNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidLogicCallTransfers\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSendToCosmos\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidSignature\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"currentNonce\",\"type\":\"uint256\"}],\"name\":\"InvalidValsetNonce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LogicCallTimedOut\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MalformedBatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MalformedCurrentValidatorSet\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"MalformedNewValidatorSet\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_cosmosDenom\",\"type\":\"string\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"_decimals\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"ERC20DeployedEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"_invalidationId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_invalidationNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"_returnData\",\"type\":\"bytes\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"LogicCallEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_destination\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"SendToCosmosEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_batchNonce\",\"type\":\"uint256\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"}],\"name\":\"TransactionBatchExecutedEvent\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"_newValsetNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_eventNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"_rewardAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_rewardToken\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"_validators\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"_powers\",\"type\":\"uint256[]\"}],\"name\":\"ValsetUpdatedEvent\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_cosmosDenom\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"_symbol\",\"type\":\"string\"},{\"internalType\":\"uint8\",\"name\":\"_decimals\",\"type\":\"uint8\"}],\"name\":\"deployERC20\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_erc20Address\",\"type\":\"address\"}],\"name\":\"lastBatchNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_invalidation_id\",\"type\":\"bytes32\"}],\"name\":\"lastLogicCallNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"_destination\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"sendToCosmos\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_gravityId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"state_invalidationMapping\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"state_lastBatchNonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_lastEventNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_lastValsetCheckpoint\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_lastValsetNonce\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"state_powerThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address[]\",\"name\":\"validators\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"powers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"valsetNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"rewardToken\",\"type\":\"address\"}],\"internalType\":\"structValsetArgs\",\"name\":\"_currentValset\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structValSignature[]\",\"name\":\"_sigs\",\"type\":\"tuple[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_amounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"_destinations\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_fees\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"_batchNonce\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_tokenContract\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_batchTimeout\",\"type\":\"uint256\"}],\"name\":\"submitBatch\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address[]\",\"name\":\"validators\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"powers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"valsetNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"rewardToken\",\"type\":\"address\"}],\"internalType\":\"structValsetArgs\",\"name\":\"_currentValset\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structValSignature[]\",\"name\":\"_sigs\",\"type\":\"tuple[]\"},{\"components\":[{\"internalType\":\"uint256[]\",\"name\":\"transferAmounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"transferTokenContracts\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"feeAmounts\",\"type\":\"uint256[]\"},{\"internalType\":\"address[]\",\"name\":\"feeTokenContracts\",\"type\":\"address[]\"},{\"internalType\":\"address\",\"name\":\"logicContractAddress\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"payload\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"timeOut\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"invalidationId\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"invalidationNonce\",\"type\":\"uint256\"}],\"internalType\":\"structLogicCallArgs\",\"name\":\"_args\",\"type\":\"tuple\"}],\"name\":\"submitLogicCall\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address[]\",\"name\":\"validators\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"powers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"valsetNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"rewardToken\",\"type\":\"address\"}],\"internalType\":\"structValsetArgs\",\"name\":\"_currentValset\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structValSignature[]\",\"name\":\"_sigs\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes32\",\"name\":\"_theHash\",\"type\":\"bytes32\"},{\"internalType\":\"uint256\",\"name\":\"_powerThreshold\",\"type\":\"uint256\"}],\"name\":\"testCheckValidatorSignatures\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address[]\",\"name\":\"validators\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"powers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"valsetNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"rewardToken\",\"type\":\"address\"}],\"internalType\":\"structValsetArgs\",\"name\":\"_valsetArgs\",\"type\":\"tuple\"},{\"internalType\":\"bytes32\",\"name\":\"_gravityId\",\"type\":\"bytes32\"}],\"name\":\"testMakeCheckpoint\",\"outputs\":[],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address[]\",\"name\":\"validators\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"powers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"valsetNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"rewardToken\",\"type\":\"address\"}],\"internalType\":\"structValsetArgs\",\"name\":\"_newValset\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"address[]\",\"name\":\"validators\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"powers\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256\",\"name\":\"valsetNonce\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardAmount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"rewardToken\",\"type\":\"address\"}],\"internalType\":\"structValsetArgs\",\"name\":\"_currentValset\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"internalType\":\"structValSignature[]\",\"name\":\"_sigs\",\"type\":\"tuple[]\"}],\"name\":\"updateValset\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}
GravityMetaData contains all meta data concerning the Gravity contract.
Functions ¶
func GetDockerUserString ¶
func GetDockerUserString() string
func RegisterContractCallServer ¶
func RegisterContractCallServer(s grpc.ServiceRegistrar, srv ContractCallServer)
Types ¶
type AaveV2 ¶
type AaveV2 struct { AaveV2Caller // Read-only binding to the contract AaveV2Transactor // Write-only binding to the contract AaveV2Filterer // Log filterer for contract events }
AaveV2 is an auto generated Go binding around an Ethereum contract.
type AaveV2Caller ¶
type AaveV2Caller struct {
// contains filtered or unexported fields
}
AaveV2Caller is an auto generated read-only Go binding around an Ethereum contract.
func NewAaveV2Caller ¶
func NewAaveV2Caller(address common.Address, caller bind.ContractCaller) (*AaveV2Caller, error)
NewAaveV2Caller creates a new read-only instance of AaveV2, bound to a specific deployed contract.
func (*AaveV2Caller) IsShutdown ¶
func (_AaveV2 *AaveV2Caller) IsShutdown(opts *bind.CallOpts) (bool, error)
IsShutdown is a free data retrieval call binding the contract method 0xbf86d690.
Solidity: function isShutdown() view returns(bool)
type AaveV2CallerRaw ¶
type AaveV2CallerRaw struct {
Contract *AaveV2Caller // Generic read-only contract binding to access the raw methods on
}
AaveV2CallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*AaveV2CallerRaw) Call ¶
func (_AaveV2 *AaveV2CallerRaw) 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 AaveV2CallerSession ¶
type AaveV2CallerSession struct { Contract *AaveV2Caller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AaveV2CallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*AaveV2CallerSession) IsShutdown ¶
func (_AaveV2 *AaveV2CallerSession) IsShutdown() (bool, error)
IsShutdown is a free data retrieval call binding the contract method 0xbf86d690.
Solidity: function isShutdown() view returns(bool)
type AaveV2Filterer ¶
type AaveV2Filterer struct {
// contains filtered or unexported fields
}
AaveV2Filterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewAaveV2Filterer ¶
func NewAaveV2Filterer(address common.Address, filterer bind.ContractFilterer) (*AaveV2Filterer, error)
NewAaveV2Filterer creates a new log filterer instance of AaveV2, bound to a specific deployed contract.
func (*AaveV2Filterer) FilterMockAccrueFees ¶
func (_AaveV2 *AaveV2Filterer) FilterMockAccrueFees(opts *bind.FilterOpts) (*AaveV2MockAccrueFeesIterator, error)
FilterMockAccrueFees is a free log retrieval operation binding the contract event 0xeea290d1596cec66f2811f6ec6d4b3e366f8f9b263e15ea87fb624ab69924042.
Solidity: event mockAccrueFees()
func (*AaveV2Filterer) FilterMockClaimAndUnstake ¶
func (_AaveV2 *AaveV2Filterer) FilterMockClaimAndUnstake(opts *bind.FilterOpts) (*AaveV2MockClaimAndUnstakeIterator, error)
FilterMockClaimAndUnstake is a free log retrieval operation binding the contract event 0xbfb260c8d19d48ed37a6d7379cdb9622833ea0d1f8389d3b16b0a9dc5cce17b8.
Solidity: event mockClaimAndUnstake()
func (*AaveV2Filterer) FilterMockEnterPosition ¶
func (_AaveV2 *AaveV2Filterer) FilterMockEnterPosition(opts *bind.FilterOpts) (*AaveV2MockEnterPositionIterator, error)
FilterMockEnterPosition is a free log retrieval operation binding the contract event 0xac91e57d60d4977f906c8747139df337f4553e15652b9306669094fe4f77ac07.
Solidity: event mockEnterPosition()
func (*AaveV2Filterer) FilterMockRebalance ¶
func (_AaveV2 *AaveV2Filterer) FilterMockRebalance(opts *bind.FilterOpts) (*AaveV2MockRebalanceIterator, error)
FilterMockRebalance is a free log retrieval operation binding the contract event 0x30f4d32b8116c263624c7aee2a3725a23891b165da52311c9e389d9d44ee8b94.
Solidity: event mockRebalance(address[9] route, uint256[3][4] swapParams, uint256 minAssetsOut)
func (*AaveV2Filterer) FilterMockReinvest ¶
func (_AaveV2 *AaveV2Filterer) FilterMockReinvest(opts *bind.FilterOpts) (*AaveV2MockReinvestIterator, error)
FilterMockReinvest is a free log retrieval operation binding the contract event 0x30c7b12b693373870dedbf5ae1c074038300870753880d4383acbd89d0727ebb.
Solidity: event mockReinvest(uint256 minAssetsOut)
func (*AaveV2Filterer) FilterMockSetDepositLimit ¶
func (_AaveV2 *AaveV2Filterer) FilterMockSetDepositLimit(opts *bind.FilterOpts) (*AaveV2MockSetDepositLimitIterator, error)
FilterMockSetDepositLimit is a free log retrieval operation binding the contract event 0x45bfc2de9a8e67c77e8bb4f799dba14b1f33b20360a5376ad130ad5a21acf881.
Solidity: event mockSetDepositLimit(uint256 limit)
func (*AaveV2Filterer) FilterMockSetFeesDistributor ¶
func (_AaveV2 *AaveV2Filterer) FilterMockSetFeesDistributor(opts *bind.FilterOpts) (*AaveV2MockSetFeesDistributorIterator, error)
FilterMockSetFeesDistributor is a free log retrieval operation binding the contract event 0x011f7dbcc31d2199a0d6fbb2dac3a05053f7af1c127dcccb02f7138b059b4b25.
Solidity: event mockSetFeesDistributor(bytes32 newFeesDistributor)
func (*AaveV2Filterer) FilterMockSetLiquidityLimit ¶
func (_AaveV2 *AaveV2Filterer) FilterMockSetLiquidityLimit(opts *bind.FilterOpts) (*AaveV2MockSetLiquidityLimitIterator, error)
FilterMockSetLiquidityLimit is a free log retrieval operation binding the contract event 0xb992a37793e6e84172de1507059850072e4a3af03ce22c8247c6b9428030aa3e.
Solidity: event mockSetLiquidityLimit(uint256 limit)
func (*AaveV2Filterer) FilterMockSetShutdown ¶
func (_AaveV2 *AaveV2Filterer) FilterMockSetShutdown(opts *bind.FilterOpts) (*AaveV2MockSetShutdownIterator, error)
FilterMockSetShutdown is a free log retrieval operation binding the contract event 0x5afb9c112875465fbf21f4b0923a311393e37940d92ea70da88f4f2532cf8e05.
Solidity: event mockSetShutdown(bool shutdown, bool exitPosition)
func (*AaveV2Filterer) FilterMockSetTrust ¶
func (_AaveV2 *AaveV2Filterer) FilterMockSetTrust(opts *bind.FilterOpts) (*AaveV2MockSetTrustIterator, error)
FilterMockSetTrust is a free log retrieval operation binding the contract event 0x0f0c347f3545e0dc49b875ada970dcf21943a65ef1c3a7ba91aa13c35b1aa4a9.
Solidity: event mockSetTrust(address position, bool trust)
func (*AaveV2Filterer) FilterMockSweep ¶
func (_AaveV2 *AaveV2Filterer) FilterMockSweep(opts *bind.FilterOpts) (*AaveV2MockSweepIterator, error)
FilterMockSweep is a free log retrieval operation binding the contract event 0x01708d8c4133bc9d37e3ab9d6571e7bb8dac5304e30008172855af779a282f9d.
Solidity: event mockSweep(address token, address to)
func (*AaveV2Filterer) FilterMockTransferFees ¶
func (_AaveV2 *AaveV2Filterer) FilterMockTransferFees(opts *bind.FilterOpts) (*AaveV2MockTransferFeesIterator, error)
FilterMockTransferFees is a free log retrieval operation binding the contract event 0x9e1dd58aa34e20b52e0befa7246182b86d06fd56ea0a521d4d3dc8d6241cc43a.
Solidity: event mockTransferFees()
func (*AaveV2Filterer) FilterOwnershipTransferred ¶
func (_AaveV2 *AaveV2Filterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*AaveV2OwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AaveV2Filterer) ParseMockAccrueFees ¶
func (_AaveV2 *AaveV2Filterer) ParseMockAccrueFees(log types.Log) (*AaveV2MockAccrueFees, error)
ParseMockAccrueFees is a log parse operation binding the contract event 0xeea290d1596cec66f2811f6ec6d4b3e366f8f9b263e15ea87fb624ab69924042.
Solidity: event mockAccrueFees()
func (*AaveV2Filterer) ParseMockClaimAndUnstake ¶
func (_AaveV2 *AaveV2Filterer) ParseMockClaimAndUnstake(log types.Log) (*AaveV2MockClaimAndUnstake, error)
ParseMockClaimAndUnstake is a log parse operation binding the contract event 0xbfb260c8d19d48ed37a6d7379cdb9622833ea0d1f8389d3b16b0a9dc5cce17b8.
Solidity: event mockClaimAndUnstake()
func (*AaveV2Filterer) ParseMockEnterPosition ¶
func (_AaveV2 *AaveV2Filterer) ParseMockEnterPosition(log types.Log) (*AaveV2MockEnterPosition, error)
ParseMockEnterPosition is a log parse operation binding the contract event 0xac91e57d60d4977f906c8747139df337f4553e15652b9306669094fe4f77ac07.
Solidity: event mockEnterPosition()
func (*AaveV2Filterer) ParseMockRebalance ¶
func (_AaveV2 *AaveV2Filterer) ParseMockRebalance(log types.Log) (*AaveV2MockRebalance, error)
ParseMockRebalance is a log parse operation binding the contract event 0x30f4d32b8116c263624c7aee2a3725a23891b165da52311c9e389d9d44ee8b94.
Solidity: event mockRebalance(address[9] route, uint256[3][4] swapParams, uint256 minAssetsOut)
func (*AaveV2Filterer) ParseMockReinvest ¶
func (_AaveV2 *AaveV2Filterer) ParseMockReinvest(log types.Log) (*AaveV2MockReinvest, error)
ParseMockReinvest is a log parse operation binding the contract event 0x30c7b12b693373870dedbf5ae1c074038300870753880d4383acbd89d0727ebb.
Solidity: event mockReinvest(uint256 minAssetsOut)
func (*AaveV2Filterer) ParseMockSetDepositLimit ¶
func (_AaveV2 *AaveV2Filterer) ParseMockSetDepositLimit(log types.Log) (*AaveV2MockSetDepositLimit, error)
ParseMockSetDepositLimit is a log parse operation binding the contract event 0x45bfc2de9a8e67c77e8bb4f799dba14b1f33b20360a5376ad130ad5a21acf881.
Solidity: event mockSetDepositLimit(uint256 limit)
func (*AaveV2Filterer) ParseMockSetFeesDistributor ¶
func (_AaveV2 *AaveV2Filterer) ParseMockSetFeesDistributor(log types.Log) (*AaveV2MockSetFeesDistributor, error)
ParseMockSetFeesDistributor is a log parse operation binding the contract event 0x011f7dbcc31d2199a0d6fbb2dac3a05053f7af1c127dcccb02f7138b059b4b25.
Solidity: event mockSetFeesDistributor(bytes32 newFeesDistributor)
func (*AaveV2Filterer) ParseMockSetLiquidityLimit ¶
func (_AaveV2 *AaveV2Filterer) ParseMockSetLiquidityLimit(log types.Log) (*AaveV2MockSetLiquidityLimit, error)
ParseMockSetLiquidityLimit is a log parse operation binding the contract event 0xb992a37793e6e84172de1507059850072e4a3af03ce22c8247c6b9428030aa3e.
Solidity: event mockSetLiquidityLimit(uint256 limit)
func (*AaveV2Filterer) ParseMockSetShutdown ¶
func (_AaveV2 *AaveV2Filterer) ParseMockSetShutdown(log types.Log) (*AaveV2MockSetShutdown, error)
ParseMockSetShutdown is a log parse operation binding the contract event 0x5afb9c112875465fbf21f4b0923a311393e37940d92ea70da88f4f2532cf8e05.
Solidity: event mockSetShutdown(bool shutdown, bool exitPosition)
func (*AaveV2Filterer) ParseMockSetTrust ¶
func (_AaveV2 *AaveV2Filterer) ParseMockSetTrust(log types.Log) (*AaveV2MockSetTrust, error)
ParseMockSetTrust is a log parse operation binding the contract event 0x0f0c347f3545e0dc49b875ada970dcf21943a65ef1c3a7ba91aa13c35b1aa4a9.
Solidity: event mockSetTrust(address position, bool trust)
func (*AaveV2Filterer) ParseMockSweep ¶
func (_AaveV2 *AaveV2Filterer) ParseMockSweep(log types.Log) (*AaveV2MockSweep, error)
ParseMockSweep is a log parse operation binding the contract event 0x01708d8c4133bc9d37e3ab9d6571e7bb8dac5304e30008172855af779a282f9d.
Solidity: event mockSweep(address token, address to)
func (*AaveV2Filterer) ParseMockTransferFees ¶
func (_AaveV2 *AaveV2Filterer) ParseMockTransferFees(log types.Log) (*AaveV2MockTransferFees, error)
ParseMockTransferFees is a log parse operation binding the contract event 0x9e1dd58aa34e20b52e0befa7246182b86d06fd56ea0a521d4d3dc8d6241cc43a.
Solidity: event mockTransferFees()
func (*AaveV2Filterer) ParseOwnershipTransferred ¶
func (_AaveV2 *AaveV2Filterer) ParseOwnershipTransferred(log types.Log) (*AaveV2OwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*AaveV2Filterer) WatchMockAccrueFees ¶
func (_AaveV2 *AaveV2Filterer) WatchMockAccrueFees(opts *bind.WatchOpts, sink chan<- *AaveV2MockAccrueFees) (event.Subscription, error)
WatchMockAccrueFees is a free log subscription operation binding the contract event 0xeea290d1596cec66f2811f6ec6d4b3e366f8f9b263e15ea87fb624ab69924042.
Solidity: event mockAccrueFees()
func (*AaveV2Filterer) WatchMockClaimAndUnstake ¶
func (_AaveV2 *AaveV2Filterer) WatchMockClaimAndUnstake(opts *bind.WatchOpts, sink chan<- *AaveV2MockClaimAndUnstake) (event.Subscription, error)
WatchMockClaimAndUnstake is a free log subscription operation binding the contract event 0xbfb260c8d19d48ed37a6d7379cdb9622833ea0d1f8389d3b16b0a9dc5cce17b8.
Solidity: event mockClaimAndUnstake()
func (*AaveV2Filterer) WatchMockEnterPosition ¶
func (_AaveV2 *AaveV2Filterer) WatchMockEnterPosition(opts *bind.WatchOpts, sink chan<- *AaveV2MockEnterPosition) (event.Subscription, error)
WatchMockEnterPosition is a free log subscription operation binding the contract event 0xac91e57d60d4977f906c8747139df337f4553e15652b9306669094fe4f77ac07.
Solidity: event mockEnterPosition()
func (*AaveV2Filterer) WatchMockRebalance ¶
func (_AaveV2 *AaveV2Filterer) WatchMockRebalance(opts *bind.WatchOpts, sink chan<- *AaveV2MockRebalance) (event.Subscription, error)
WatchMockRebalance is a free log subscription operation binding the contract event 0x30f4d32b8116c263624c7aee2a3725a23891b165da52311c9e389d9d44ee8b94.
Solidity: event mockRebalance(address[9] route, uint256[3][4] swapParams, uint256 minAssetsOut)
func (*AaveV2Filterer) WatchMockReinvest ¶
func (_AaveV2 *AaveV2Filterer) WatchMockReinvest(opts *bind.WatchOpts, sink chan<- *AaveV2MockReinvest) (event.Subscription, error)
WatchMockReinvest is a free log subscription operation binding the contract event 0x30c7b12b693373870dedbf5ae1c074038300870753880d4383acbd89d0727ebb.
Solidity: event mockReinvest(uint256 minAssetsOut)
func (*AaveV2Filterer) WatchMockSetDepositLimit ¶
func (_AaveV2 *AaveV2Filterer) WatchMockSetDepositLimit(opts *bind.WatchOpts, sink chan<- *AaveV2MockSetDepositLimit) (event.Subscription, error)
WatchMockSetDepositLimit is a free log subscription operation binding the contract event 0x45bfc2de9a8e67c77e8bb4f799dba14b1f33b20360a5376ad130ad5a21acf881.
Solidity: event mockSetDepositLimit(uint256 limit)
func (*AaveV2Filterer) WatchMockSetFeesDistributor ¶
func (_AaveV2 *AaveV2Filterer) WatchMockSetFeesDistributor(opts *bind.WatchOpts, sink chan<- *AaveV2MockSetFeesDistributor) (event.Subscription, error)
WatchMockSetFeesDistributor is a free log subscription operation binding the contract event 0x011f7dbcc31d2199a0d6fbb2dac3a05053f7af1c127dcccb02f7138b059b4b25.
Solidity: event mockSetFeesDistributor(bytes32 newFeesDistributor)
func (*AaveV2Filterer) WatchMockSetLiquidityLimit ¶
func (_AaveV2 *AaveV2Filterer) WatchMockSetLiquidityLimit(opts *bind.WatchOpts, sink chan<- *AaveV2MockSetLiquidityLimit) (event.Subscription, error)
WatchMockSetLiquidityLimit is a free log subscription operation binding the contract event 0xb992a37793e6e84172de1507059850072e4a3af03ce22c8247c6b9428030aa3e.
Solidity: event mockSetLiquidityLimit(uint256 limit)
func (*AaveV2Filterer) WatchMockSetShutdown ¶
func (_AaveV2 *AaveV2Filterer) WatchMockSetShutdown(opts *bind.WatchOpts, sink chan<- *AaveV2MockSetShutdown) (event.Subscription, error)
WatchMockSetShutdown is a free log subscription operation binding the contract event 0x5afb9c112875465fbf21f4b0923a311393e37940d92ea70da88f4f2532cf8e05.
Solidity: event mockSetShutdown(bool shutdown, bool exitPosition)
func (*AaveV2Filterer) WatchMockSetTrust ¶
func (_AaveV2 *AaveV2Filterer) WatchMockSetTrust(opts *bind.WatchOpts, sink chan<- *AaveV2MockSetTrust) (event.Subscription, error)
WatchMockSetTrust is a free log subscription operation binding the contract event 0x0f0c347f3545e0dc49b875ada970dcf21943a65ef1c3a7ba91aa13c35b1aa4a9.
Solidity: event mockSetTrust(address position, bool trust)
func (*AaveV2Filterer) WatchMockSweep ¶
func (_AaveV2 *AaveV2Filterer) WatchMockSweep(opts *bind.WatchOpts, sink chan<- *AaveV2MockSweep) (event.Subscription, error)
WatchMockSweep is a free log subscription operation binding the contract event 0x01708d8c4133bc9d37e3ab9d6571e7bb8dac5304e30008172855af779a282f9d.
Solidity: event mockSweep(address token, address to)
func (*AaveV2Filterer) WatchMockTransferFees ¶
func (_AaveV2 *AaveV2Filterer) WatchMockTransferFees(opts *bind.WatchOpts, sink chan<- *AaveV2MockTransferFees) (event.Subscription, error)
WatchMockTransferFees is a free log subscription operation binding the contract event 0x9e1dd58aa34e20b52e0befa7246182b86d06fd56ea0a521d4d3dc8d6241cc43a.
Solidity: event mockTransferFees()
func (*AaveV2Filterer) WatchOwnershipTransferred ¶
func (_AaveV2 *AaveV2Filterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *AaveV2OwnershipTransferred, 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)
type AaveV2MockAccrueFees ¶
AaveV2MockAccrueFees represents a MockAccrueFees event raised by the AaveV2 contract.
type AaveV2MockAccrueFeesIterator ¶
type AaveV2MockAccrueFeesIterator struct { Event *AaveV2MockAccrueFees // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AaveV2MockAccrueFeesIterator is returned from FilterMockAccrueFees and is used to iterate over the raw logs and unpacked data for MockAccrueFees events raised by the AaveV2 contract.
func (*AaveV2MockAccrueFeesIterator) Close ¶
func (it *AaveV2MockAccrueFeesIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AaveV2MockAccrueFeesIterator) Error ¶
func (it *AaveV2MockAccrueFeesIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AaveV2MockAccrueFeesIterator) Next ¶
func (it *AaveV2MockAccrueFeesIterator) 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 AaveV2MockClaimAndUnstake ¶
AaveV2MockClaimAndUnstake represents a MockClaimAndUnstake event raised by the AaveV2 contract.
type AaveV2MockClaimAndUnstakeIterator ¶
type AaveV2MockClaimAndUnstakeIterator struct { Event *AaveV2MockClaimAndUnstake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AaveV2MockClaimAndUnstakeIterator is returned from FilterMockClaimAndUnstake and is used to iterate over the raw logs and unpacked data for MockClaimAndUnstake events raised by the AaveV2 contract.
func (*AaveV2MockClaimAndUnstakeIterator) Close ¶
func (it *AaveV2MockClaimAndUnstakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AaveV2MockClaimAndUnstakeIterator) Error ¶
func (it *AaveV2MockClaimAndUnstakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AaveV2MockClaimAndUnstakeIterator) Next ¶
func (it *AaveV2MockClaimAndUnstakeIterator) 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 AaveV2MockEnterPosition ¶
AaveV2MockEnterPosition represents a MockEnterPosition event raised by the AaveV2 contract.
type AaveV2MockEnterPositionIterator ¶
type AaveV2MockEnterPositionIterator struct { Event *AaveV2MockEnterPosition // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AaveV2MockEnterPositionIterator is returned from FilterMockEnterPosition and is used to iterate over the raw logs and unpacked data for MockEnterPosition events raised by the AaveV2 contract.
func (*AaveV2MockEnterPositionIterator) Close ¶
func (it *AaveV2MockEnterPositionIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AaveV2MockEnterPositionIterator) Error ¶
func (it *AaveV2MockEnterPositionIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AaveV2MockEnterPositionIterator) Next ¶
func (it *AaveV2MockEnterPositionIterator) 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 AaveV2MockRebalance ¶
type AaveV2MockRebalance struct { Route [9]common.Address SwapParams [4][3]*big.Int MinAssetsOut *big.Int Raw types.Log // Blockchain specific contextual infos }
AaveV2MockRebalance represents a MockRebalance event raised by the AaveV2 contract.
type AaveV2MockRebalanceIterator ¶
type AaveV2MockRebalanceIterator struct { Event *AaveV2MockRebalance // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AaveV2MockRebalanceIterator is returned from FilterMockRebalance and is used to iterate over the raw logs and unpacked data for MockRebalance events raised by the AaveV2 contract.
func (*AaveV2MockRebalanceIterator) Close ¶
func (it *AaveV2MockRebalanceIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AaveV2MockRebalanceIterator) Error ¶
func (it *AaveV2MockRebalanceIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AaveV2MockRebalanceIterator) Next ¶
func (it *AaveV2MockRebalanceIterator) 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 AaveV2MockReinvest ¶
type AaveV2MockReinvest struct { MinAssetsOut *big.Int Raw types.Log // Blockchain specific contextual infos }
AaveV2MockReinvest represents a MockReinvest event raised by the AaveV2 contract.
type AaveV2MockReinvestIterator ¶
type AaveV2MockReinvestIterator struct { Event *AaveV2MockReinvest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AaveV2MockReinvestIterator is returned from FilterMockReinvest and is used to iterate over the raw logs and unpacked data for MockReinvest events raised by the AaveV2 contract.
func (*AaveV2MockReinvestIterator) Close ¶
func (it *AaveV2MockReinvestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AaveV2MockReinvestIterator) Error ¶
func (it *AaveV2MockReinvestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AaveV2MockReinvestIterator) Next ¶
func (it *AaveV2MockReinvestIterator) 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 AaveV2MockSetDepositLimit ¶
type AaveV2MockSetDepositLimit struct { Limit *big.Int Raw types.Log // Blockchain specific contextual infos }
AaveV2MockSetDepositLimit represents a MockSetDepositLimit event raised by the AaveV2 contract.
type AaveV2MockSetDepositLimitIterator ¶
type AaveV2MockSetDepositLimitIterator struct { Event *AaveV2MockSetDepositLimit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AaveV2MockSetDepositLimitIterator is returned from FilterMockSetDepositLimit and is used to iterate over the raw logs and unpacked data for MockSetDepositLimit events raised by the AaveV2 contract.
func (*AaveV2MockSetDepositLimitIterator) Close ¶
func (it *AaveV2MockSetDepositLimitIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AaveV2MockSetDepositLimitIterator) Error ¶
func (it *AaveV2MockSetDepositLimitIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AaveV2MockSetDepositLimitIterator) Next ¶
func (it *AaveV2MockSetDepositLimitIterator) 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 AaveV2MockSetFeesDistributor ¶
type AaveV2MockSetFeesDistributor struct { NewFeesDistributor [32]byte Raw types.Log // Blockchain specific contextual infos }
AaveV2MockSetFeesDistributor represents a MockSetFeesDistributor event raised by the AaveV2 contract.
type AaveV2MockSetFeesDistributorIterator ¶
type AaveV2MockSetFeesDistributorIterator struct { Event *AaveV2MockSetFeesDistributor // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AaveV2MockSetFeesDistributorIterator is returned from FilterMockSetFeesDistributor and is used to iterate over the raw logs and unpacked data for MockSetFeesDistributor events raised by the AaveV2 contract.
func (*AaveV2MockSetFeesDistributorIterator) Close ¶
func (it *AaveV2MockSetFeesDistributorIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AaveV2MockSetFeesDistributorIterator) Error ¶
func (it *AaveV2MockSetFeesDistributorIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AaveV2MockSetFeesDistributorIterator) Next ¶
func (it *AaveV2MockSetFeesDistributorIterator) 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 AaveV2MockSetLiquidityLimit ¶
type AaveV2MockSetLiquidityLimit struct { Limit *big.Int Raw types.Log // Blockchain specific contextual infos }
AaveV2MockSetLiquidityLimit represents a MockSetLiquidityLimit event raised by the AaveV2 contract.
type AaveV2MockSetLiquidityLimitIterator ¶
type AaveV2MockSetLiquidityLimitIterator struct { Event *AaveV2MockSetLiquidityLimit // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AaveV2MockSetLiquidityLimitIterator is returned from FilterMockSetLiquidityLimit and is used to iterate over the raw logs and unpacked data for MockSetLiquidityLimit events raised by the AaveV2 contract.
func (*AaveV2MockSetLiquidityLimitIterator) Close ¶
func (it *AaveV2MockSetLiquidityLimitIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AaveV2MockSetLiquidityLimitIterator) Error ¶
func (it *AaveV2MockSetLiquidityLimitIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AaveV2MockSetLiquidityLimitIterator) Next ¶
func (it *AaveV2MockSetLiquidityLimitIterator) 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 AaveV2MockSetShutdown ¶
type AaveV2MockSetShutdown struct { Shutdown bool ExitPosition bool Raw types.Log // Blockchain specific contextual infos }
AaveV2MockSetShutdown represents a MockSetShutdown event raised by the AaveV2 contract.
type AaveV2MockSetShutdownIterator ¶
type AaveV2MockSetShutdownIterator struct { Event *AaveV2MockSetShutdown // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AaveV2MockSetShutdownIterator is returned from FilterMockSetShutdown and is used to iterate over the raw logs and unpacked data for MockSetShutdown events raised by the AaveV2 contract.
func (*AaveV2MockSetShutdownIterator) Close ¶
func (it *AaveV2MockSetShutdownIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AaveV2MockSetShutdownIterator) Error ¶
func (it *AaveV2MockSetShutdownIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AaveV2MockSetShutdownIterator) Next ¶
func (it *AaveV2MockSetShutdownIterator) 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 AaveV2MockSetTrust ¶
type AaveV2MockSetTrust struct { Position common.Address Trust bool Raw types.Log // Blockchain specific contextual infos }
AaveV2MockSetTrust represents a MockSetTrust event raised by the AaveV2 contract.
type AaveV2MockSetTrustIterator ¶
type AaveV2MockSetTrustIterator struct { Event *AaveV2MockSetTrust // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AaveV2MockSetTrustIterator is returned from FilterMockSetTrust and is used to iterate over the raw logs and unpacked data for MockSetTrust events raised by the AaveV2 contract.
func (*AaveV2MockSetTrustIterator) Close ¶
func (it *AaveV2MockSetTrustIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AaveV2MockSetTrustIterator) Error ¶
func (it *AaveV2MockSetTrustIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AaveV2MockSetTrustIterator) Next ¶
func (it *AaveV2MockSetTrustIterator) 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 AaveV2MockSweep ¶
type AaveV2MockSweep struct { Token common.Address To common.Address Raw types.Log // Blockchain specific contextual infos }
AaveV2MockSweep represents a MockSweep event raised by the AaveV2 contract.
type AaveV2MockSweepIterator ¶
type AaveV2MockSweepIterator struct { Event *AaveV2MockSweep // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AaveV2MockSweepIterator is returned from FilterMockSweep and is used to iterate over the raw logs and unpacked data for MockSweep events raised by the AaveV2 contract.
func (*AaveV2MockSweepIterator) Close ¶
func (it *AaveV2MockSweepIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AaveV2MockSweepIterator) Error ¶
func (it *AaveV2MockSweepIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AaveV2MockSweepIterator) Next ¶
func (it *AaveV2MockSweepIterator) 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 AaveV2MockTransferFees ¶
AaveV2MockTransferFees represents a MockTransferFees event raised by the AaveV2 contract.
type AaveV2MockTransferFeesIterator ¶
type AaveV2MockTransferFeesIterator struct { Event *AaveV2MockTransferFees // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AaveV2MockTransferFeesIterator is returned from FilterMockTransferFees and is used to iterate over the raw logs and unpacked data for MockTransferFees events raised by the AaveV2 contract.
func (*AaveV2MockTransferFeesIterator) Close ¶
func (it *AaveV2MockTransferFeesIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AaveV2MockTransferFeesIterator) Error ¶
func (it *AaveV2MockTransferFeesIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AaveV2MockTransferFeesIterator) Next ¶
func (it *AaveV2MockTransferFeesIterator) 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 AaveV2OwnershipTransferred ¶
type AaveV2OwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
AaveV2OwnershipTransferred represents a OwnershipTransferred event raised by the AaveV2 contract.
type AaveV2OwnershipTransferredIterator ¶
type AaveV2OwnershipTransferredIterator struct { Event *AaveV2OwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
AaveV2OwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the AaveV2 contract.
func (*AaveV2OwnershipTransferredIterator) Close ¶
func (it *AaveV2OwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*AaveV2OwnershipTransferredIterator) Error ¶
func (it *AaveV2OwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*AaveV2OwnershipTransferredIterator) Next ¶
func (it *AaveV2OwnershipTransferredIterator) 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 AaveV2Raw ¶
type AaveV2Raw struct {
Contract *AaveV2 // Generic contract binding to access the raw methods on
}
AaveV2Raw is an auto generated low-level Go binding around an Ethereum contract.
func (*AaveV2Raw) Call ¶
func (_AaveV2 *AaveV2Raw) 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 (*AaveV2Raw) Transact ¶
func (_AaveV2 *AaveV2Raw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AaveV2Raw) Transfer ¶
func (_AaveV2 *AaveV2Raw) 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 AaveV2Session ¶
type AaveV2Session struct { Contract *AaveV2 // 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 }
AaveV2Session is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*AaveV2Session) AccrueFees ¶
func (_AaveV2 *AaveV2Session) AccrueFees() (*types.Transaction, error)
AccrueFees is a paid mutator transaction binding the contract method 0x37a4e834.
Solidity: function accrueFees() returns()
func (*AaveV2Session) ClaimAndUnstake ¶
func (_AaveV2 *AaveV2Session) ClaimAndUnstake() (*types.Transaction, error)
ClaimAndUnstake is a paid mutator transaction binding the contract method 0xad004e20.
Solidity: function claimAndUnstake() returns(uint256 claimed)
func (*AaveV2Session) EnterPosition ¶
func (_AaveV2 *AaveV2Session) EnterPosition() (*types.Transaction, error)
EnterPosition is a paid mutator transaction binding the contract method 0x3dc6eabf.
Solidity: function enterPosition() returns()
func (*AaveV2Session) IsShutdown ¶
func (_AaveV2 *AaveV2Session) IsShutdown() (bool, error)
IsShutdown is a free data retrieval call binding the contract method 0xbf86d690.
Solidity: function isShutdown() view returns(bool)
func (*AaveV2Session) Owner ¶
func (_AaveV2 *AaveV2Session) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*AaveV2Session) Rebalance ¶
func (_AaveV2 *AaveV2Session) Rebalance(route [9]common.Address, swapParams [4][3]*big.Int, minAssetsOut *big.Int) (*types.Transaction, error)
Rebalance is a paid mutator transaction binding the contract method 0x15f4c611.
Solidity: function rebalance(address[9] route, uint256[3][4] swapParams, uint256 minAssetsOut) returns()
func (*AaveV2Session) Reinvest ¶
func (_AaveV2 *AaveV2Session) Reinvest(minAssetsOut *big.Int) (*types.Transaction, error)
Reinvest is a paid mutator transaction binding the contract method 0x83b4918b.
Solidity: function reinvest(uint256 minAssetsOut) returns()
func (*AaveV2Session) RenounceOwnership ¶
func (_AaveV2 *AaveV2Session) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AaveV2Session) SetDepositLimit ¶
func (_AaveV2 *AaveV2Session) SetDepositLimit(limit *big.Int) (*types.Transaction, error)
SetDepositLimit is a paid mutator transaction binding the contract method 0xbdc8144b.
Solidity: function setDepositLimit(uint256 limit) returns()
func (*AaveV2Session) SetFeesDistributor ¶
func (_AaveV2 *AaveV2Session) SetFeesDistributor(newFeesDistributor [32]byte) (*types.Transaction, error)
SetFeesDistributor is a paid mutator transaction binding the contract method 0x6e85f183.
Solidity: function setFeesDistributor(bytes32 newFeesDistributor) returns()
func (*AaveV2Session) SetLiquidityLimit ¶
func (_AaveV2 *AaveV2Session) SetLiquidityLimit(limit *big.Int) (*types.Transaction, error)
SetLiquidityLimit is a paid mutator transaction binding the contract method 0xdf05a52a.
Solidity: function setLiquidityLimit(uint256 limit) returns()
func (*AaveV2Session) SetShutdown ¶
func (_AaveV2 *AaveV2Session) SetShutdown(shutdown bool, exitPosition bool) (*types.Transaction, error)
SetShutdown is a paid mutator transaction binding the contract method 0xbb27280b.
Solidity: function setShutdown(bool shutdown, bool exitPosition) returns()
func (*AaveV2Session) SetTrust ¶
func (_AaveV2 *AaveV2Session) SetTrust(position common.Address, trust bool) (*types.Transaction, error)
SetTrust is a paid mutator transaction binding the contract method 0xcab59238.
Solidity: function setTrust(address position, bool trust) returns()
func (*AaveV2Session) Sweep ¶
func (_AaveV2 *AaveV2Session) Sweep(token common.Address, to common.Address) (*types.Transaction, error)
Sweep is a paid mutator transaction binding the contract method 0xb8dc491b.
Solidity: function sweep(address token, address to) returns()
func (*AaveV2Session) TransferFees ¶
func (_AaveV2 *AaveV2Session) TransferFees() (*types.Transaction, error)
TransferFees is a paid mutator transaction binding the contract method 0xc2fbe7bc.
Solidity: function transferFees() returns()
func (*AaveV2Session) TransferOwnership ¶
func (_AaveV2 *AaveV2Session) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type AaveV2Stablecoin ¶
type AaveV2Stablecoin struct { // The function you wish to execute on the target cellar // // Types that are assignable to Function: // *AaveV2Stablecoin_AccrueFees_ // *AaveV2Stablecoin_ClaimAndUnstake_ // *AaveV2Stablecoin_EnterPosition_ // *AaveV2Stablecoin_Rebalance_ // *AaveV2Stablecoin_Reinvest_ // *AaveV2Stablecoin_SetDepositLimit_ // *AaveV2Stablecoin_SetLiquidityLimit_ // *AaveV2Stablecoin_TransferFees_ Function isAaveV2Stablecoin_Function `protobuf_oneof:"function"` // contains filtered or unexported fields }
Represents a function call to the Aave V2 Stablecoin cellar
func (*AaveV2Stablecoin) Descriptor
deprecated
func (*AaveV2Stablecoin) Descriptor() ([]byte, []int)
Deprecated: Use AaveV2Stablecoin.ProtoReflect.Descriptor instead.
func (*AaveV2Stablecoin) GetAccrueFees ¶
func (x *AaveV2Stablecoin) GetAccrueFees() *AaveV2Stablecoin_AccrueFees
func (*AaveV2Stablecoin) GetClaimAndUnstake ¶
func (x *AaveV2Stablecoin) GetClaimAndUnstake() *AaveV2Stablecoin_ClaimAndUnstake
func (*AaveV2Stablecoin) GetEnterPosition ¶
func (x *AaveV2Stablecoin) GetEnterPosition() *AaveV2Stablecoin_EnterPosition
func (*AaveV2Stablecoin) GetFunction ¶
func (m *AaveV2Stablecoin) GetFunction() isAaveV2Stablecoin_Function
func (*AaveV2Stablecoin) GetRebalance ¶
func (x *AaveV2Stablecoin) GetRebalance() *AaveV2Stablecoin_Rebalance
func (*AaveV2Stablecoin) GetReinvest ¶
func (x *AaveV2Stablecoin) GetReinvest() *AaveV2Stablecoin_Reinvest
func (*AaveV2Stablecoin) GetSetDepositLimit ¶
func (x *AaveV2Stablecoin) GetSetDepositLimit() *AaveV2Stablecoin_SetDepositLimit
func (*AaveV2Stablecoin) GetSetLiquidityLimit ¶
func (x *AaveV2Stablecoin) GetSetLiquidityLimit() *AaveV2Stablecoin_SetLiquidityLimit
func (*AaveV2Stablecoin) GetTransferFees ¶
func (x *AaveV2Stablecoin) GetTransferFees() *AaveV2Stablecoin_TransferFees
func (*AaveV2Stablecoin) ProtoMessage ¶
func (*AaveV2Stablecoin) ProtoMessage()
func (*AaveV2Stablecoin) ProtoReflect ¶
func (x *AaveV2Stablecoin) ProtoReflect() protoreflect.Message
func (*AaveV2Stablecoin) Reset ¶
func (x *AaveV2Stablecoin) Reset()
func (*AaveV2Stablecoin) String ¶
func (x *AaveV2Stablecoin) String() string
type AaveV2Stablecoin_AccrueFees ¶
type AaveV2Stablecoin_AccrueFees struct {
// contains filtered or unexported fields
}
Take platform fees and performance fees off of cellar's active assets.
Represents function `accruePlatformFees()`
func (*AaveV2Stablecoin_AccrueFees) Descriptor
deprecated
func (*AaveV2Stablecoin_AccrueFees) Descriptor() ([]byte, []int)
Deprecated: Use AaveV2Stablecoin_AccrueFees.ProtoReflect.Descriptor instead.
func (*AaveV2Stablecoin_AccrueFees) ProtoMessage ¶
func (*AaveV2Stablecoin_AccrueFees) ProtoMessage()
func (*AaveV2Stablecoin_AccrueFees) ProtoReflect ¶
func (x *AaveV2Stablecoin_AccrueFees) ProtoReflect() protoreflect.Message
func (*AaveV2Stablecoin_AccrueFees) Reset ¶
func (x *AaveV2Stablecoin_AccrueFees) Reset()
func (*AaveV2Stablecoin_AccrueFees) String ¶
func (x *AaveV2Stablecoin_AccrueFees) String() string
type AaveV2Stablecoin_AccrueFees_ ¶
type AaveV2Stablecoin_AccrueFees_ struct { // Represents function `accruePlatformFees()` AccrueFees *AaveV2Stablecoin_AccrueFees `protobuf:"bytes,1,opt,name=accrue_fees,json=accrueFees,proto3,oneof"` }
type AaveV2Stablecoin_ClaimAndUnstake ¶
type AaveV2Stablecoin_ClaimAndUnstake struct {
// contains filtered or unexported fields
}
Claim rewards from Aave and begin cooldown period to unstake them.
Represents function `claimAndUnstake()`
func (*AaveV2Stablecoin_ClaimAndUnstake) Descriptor
deprecated
func (*AaveV2Stablecoin_ClaimAndUnstake) Descriptor() ([]byte, []int)
Deprecated: Use AaveV2Stablecoin_ClaimAndUnstake.ProtoReflect.Descriptor instead.
func (*AaveV2Stablecoin_ClaimAndUnstake) ProtoMessage ¶
func (*AaveV2Stablecoin_ClaimAndUnstake) ProtoMessage()
func (*AaveV2Stablecoin_ClaimAndUnstake) ProtoReflect ¶
func (x *AaveV2Stablecoin_ClaimAndUnstake) ProtoReflect() protoreflect.Message
func (*AaveV2Stablecoin_ClaimAndUnstake) Reset ¶
func (x *AaveV2Stablecoin_ClaimAndUnstake) Reset()
func (*AaveV2Stablecoin_ClaimAndUnstake) String ¶
func (x *AaveV2Stablecoin_ClaimAndUnstake) String() string
type AaveV2Stablecoin_ClaimAndUnstake_ ¶
type AaveV2Stablecoin_ClaimAndUnstake_ struct { // Represents function `claimAndUnstake()` ClaimAndUnstake *AaveV2Stablecoin_ClaimAndUnstake `protobuf:"bytes,2,opt,name=claim_and_unstake,json=claimAndUnstake,proto3,oneof"` }
type AaveV2Stablecoin_EnterPosition ¶
type AaveV2Stablecoin_EnterPosition struct {
// contains filtered or unexported fields
}
Enters inactive assets into the current Aave stablecoin position.
Represents function `enterPosition()`
func (*AaveV2Stablecoin_EnterPosition) Descriptor
deprecated
func (*AaveV2Stablecoin_EnterPosition) Descriptor() ([]byte, []int)
Deprecated: Use AaveV2Stablecoin_EnterPosition.ProtoReflect.Descriptor instead.
func (*AaveV2Stablecoin_EnterPosition) ProtoMessage ¶
func (*AaveV2Stablecoin_EnterPosition) ProtoMessage()
func (*AaveV2Stablecoin_EnterPosition) ProtoReflect ¶
func (x *AaveV2Stablecoin_EnterPosition) ProtoReflect() protoreflect.Message
func (*AaveV2Stablecoin_EnterPosition) Reset ¶
func (x *AaveV2Stablecoin_EnterPosition) Reset()
func (*AaveV2Stablecoin_EnterPosition) String ¶
func (x *AaveV2Stablecoin_EnterPosition) String() string
type AaveV2Stablecoin_EnterPosition_ ¶
type AaveV2Stablecoin_EnterPosition_ struct { // Represents function `enterPosition()` EnterPosition *AaveV2Stablecoin_EnterPosition `protobuf:"bytes,3,opt,name=enter_position,json=enterPosition,proto3,oneof"` }
type AaveV2Stablecoin_Rebalance ¶
type AaveV2Stablecoin_Rebalance struct { // An array of up to 9 addresses (4 swaps) representing a token swap route, where each triplet of addresses is a single swap route (ex. in token address, pool address, out token address) Route []string `protobuf:"bytes,1,rep,name=route,proto3" json:"route,omitempty"` // An array of up to 4 swap params. Attempting more than four swaps will fail. SwapParams []*AaveV2Stablecoin_Rebalance_SwapParams `protobuf:"bytes,2,rep,name=swap_params,json=swapParams,proto3" json:"swap_params,omitempty"` // Minimum acceptable assets to be received from the swap (slippage parameter). Must be parsible as an unsigned 256-bit integer. MinAssetsOut string `protobuf:"bytes,3,opt,name=min_assets_out,json=minAssetsOut,proto3" json:"min_assets_out,omitempty"` // contains filtered or unexported fields }
Rebalances current assets into a new asset position.
Represents function `rebalance(address newLendingToken, uint256 minNewLendingTokenAmount)`
This function is based on the Curve Pool Registry exchange_multiple() function: https://github.com/curvefi/curve-pool-registry/blob/16a8664952cf61d7fed06acca79ad5ac696f4b20/contracts/Swaps.vy#L461-L489
func (*AaveV2Stablecoin_Rebalance) Descriptor
deprecated
func (*AaveV2Stablecoin_Rebalance) Descriptor() ([]byte, []int)
Deprecated: Use AaveV2Stablecoin_Rebalance.ProtoReflect.Descriptor instead.
func (*AaveV2Stablecoin_Rebalance) GetMinAssetsOut ¶
func (x *AaveV2Stablecoin_Rebalance) GetMinAssetsOut() string
func (*AaveV2Stablecoin_Rebalance) GetRoute ¶
func (x *AaveV2Stablecoin_Rebalance) GetRoute() []string
func (*AaveV2Stablecoin_Rebalance) GetSwapParams ¶
func (x *AaveV2Stablecoin_Rebalance) GetSwapParams() []*AaveV2Stablecoin_Rebalance_SwapParams
func (*AaveV2Stablecoin_Rebalance) ProtoMessage ¶
func (*AaveV2Stablecoin_Rebalance) ProtoMessage()
func (*AaveV2Stablecoin_Rebalance) ProtoReflect ¶
func (x *AaveV2Stablecoin_Rebalance) ProtoReflect() protoreflect.Message
func (*AaveV2Stablecoin_Rebalance) Reset ¶
func (x *AaveV2Stablecoin_Rebalance) Reset()
func (*AaveV2Stablecoin_Rebalance) String ¶
func (x *AaveV2Stablecoin_Rebalance) String() string
type AaveV2Stablecoin_Rebalance_ ¶
type AaveV2Stablecoin_Rebalance_ struct { // Represents function `rebalance(address newLendingToken, uint256 minNewLendingTokenAmount)` Rebalance *AaveV2Stablecoin_Rebalance `protobuf:"bytes,4,opt,name=rebalance,proto3,oneof"` }
type AaveV2Stablecoin_Rebalance_SwapParams ¶
type AaveV2Stablecoin_Rebalance_SwapParams struct { // Index in the `route` array of the swap's input token address InIndex uint64 `protobuf:"varint,1,opt,name=in_index,json=inIndex,proto3" json:"in_index,omitempty"` // Index in the `route` array of the swap's output token address OutIndex uint64 `protobuf:"varint,2,opt,name=out_index,json=outIndex,proto3" json:"out_index,omitempty"` // 1 - stableswap `exchange` // 2 - stableswap `exchange_underlying` // 3 - cryptoswap `exchange` // 4 - cryptoswap `exchange_underlying` // 5 - Polygon factory metapools `exchange_underlying` // See the Curve Pool Registry exchange_multiple() function for more information. SwapType uint64 `protobuf:"varint,3,opt,name=swap_type,json=swapType,proto3" json:"swap_type,omitempty"` // contains filtered or unexported fields }
Represents parameters for a single swap. Each swap needs the indeces in Rebalance.route of the in/out token addresses and the swap type. See the Curve contract linked above for more detail.
func (*AaveV2Stablecoin_Rebalance_SwapParams) Descriptor
deprecated
func (*AaveV2Stablecoin_Rebalance_SwapParams) Descriptor() ([]byte, []int)
Deprecated: Use AaveV2Stablecoin_Rebalance_SwapParams.ProtoReflect.Descriptor instead.
func (*AaveV2Stablecoin_Rebalance_SwapParams) GetInIndex ¶
func (x *AaveV2Stablecoin_Rebalance_SwapParams) GetInIndex() uint64
func (*AaveV2Stablecoin_Rebalance_SwapParams) GetOutIndex ¶
func (x *AaveV2Stablecoin_Rebalance_SwapParams) GetOutIndex() uint64
func (*AaveV2Stablecoin_Rebalance_SwapParams) GetSwapType ¶
func (x *AaveV2Stablecoin_Rebalance_SwapParams) GetSwapType() uint64
func (*AaveV2Stablecoin_Rebalance_SwapParams) ProtoMessage ¶
func (*AaveV2Stablecoin_Rebalance_SwapParams) ProtoMessage()
func (*AaveV2Stablecoin_Rebalance_SwapParams) ProtoReflect ¶
func (x *AaveV2Stablecoin_Rebalance_SwapParams) ProtoReflect() protoreflect.Message
func (*AaveV2Stablecoin_Rebalance_SwapParams) Reset ¶
func (x *AaveV2Stablecoin_Rebalance_SwapParams) Reset()
func (*AaveV2Stablecoin_Rebalance_SwapParams) String ¶
func (x *AaveV2Stablecoin_Rebalance_SwapParams) String() string
type AaveV2Stablecoin_Reinvest ¶
type AaveV2Stablecoin_Reinvest struct { // Minimum acceptable assets to be received from the swap (slippage parameter). Must be parsible as an unsigned 256-bit integer. MinAssetsOut string `protobuf:"bytes,1,opt,name=min_assets_out,json=minAssetsOut,proto3" json:"min_assets_out,omitempty"` // contains filtered or unexported fields }
Reinvest rewards back into cellar's current position. Must be called within 2 day unstake period 10 days after `claimAndUnstake` was run.
Represents function `reinvest(uint256 minAssetsOut)`
func (*AaveV2Stablecoin_Reinvest) Descriptor
deprecated
func (*AaveV2Stablecoin_Reinvest) Descriptor() ([]byte, []int)
Deprecated: Use AaveV2Stablecoin_Reinvest.ProtoReflect.Descriptor instead.
func (*AaveV2Stablecoin_Reinvest) GetMinAssetsOut ¶
func (x *AaveV2Stablecoin_Reinvest) GetMinAssetsOut() string
func (*AaveV2Stablecoin_Reinvest) ProtoMessage ¶
func (*AaveV2Stablecoin_Reinvest) ProtoMessage()
func (*AaveV2Stablecoin_Reinvest) ProtoReflect ¶
func (x *AaveV2Stablecoin_Reinvest) ProtoReflect() protoreflect.Message
func (*AaveV2Stablecoin_Reinvest) Reset ¶
func (x *AaveV2Stablecoin_Reinvest) Reset()
func (*AaveV2Stablecoin_Reinvest) String ¶
func (x *AaveV2Stablecoin_Reinvest) String() string
type AaveV2Stablecoin_Reinvest_ ¶
type AaveV2Stablecoin_Reinvest_ struct { // Represents function `reinvest(uint256 minAssetsOut)` Reinvest *AaveV2Stablecoin_Reinvest `protobuf:"bytes,5,opt,name=reinvest,proto3,oneof"` }
type AaveV2Stablecoin_SetDepositLimit ¶
type AaveV2Stablecoin_SetDepositLimit struct { // The per-wallet deposit limit amount. Must be parsible as an unsigned 256-bit integer. Limit string `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
Sets the per-wallet deposit limit. Careful to use the same decimals as the current asset.
Represents function `setDepositLimit(uint256 limit)`
func (*AaveV2Stablecoin_SetDepositLimit) Descriptor
deprecated
func (*AaveV2Stablecoin_SetDepositLimit) Descriptor() ([]byte, []int)
Deprecated: Use AaveV2Stablecoin_SetDepositLimit.ProtoReflect.Descriptor instead.
func (*AaveV2Stablecoin_SetDepositLimit) GetLimit ¶
func (x *AaveV2Stablecoin_SetDepositLimit) GetLimit() string
func (*AaveV2Stablecoin_SetDepositLimit) ProtoMessage ¶
func (*AaveV2Stablecoin_SetDepositLimit) ProtoMessage()
func (*AaveV2Stablecoin_SetDepositLimit) ProtoReflect ¶
func (x *AaveV2Stablecoin_SetDepositLimit) ProtoReflect() protoreflect.Message
func (*AaveV2Stablecoin_SetDepositLimit) Reset ¶
func (x *AaveV2Stablecoin_SetDepositLimit) Reset()
func (*AaveV2Stablecoin_SetDepositLimit) String ¶
func (x *AaveV2Stablecoin_SetDepositLimit) String() string
type AaveV2Stablecoin_SetDepositLimit_ ¶
type AaveV2Stablecoin_SetDepositLimit_ struct { // Represents function `setDepositLimit(uint256 limit)` SetDepositLimit *AaveV2Stablecoin_SetDepositLimit `protobuf:"bytes,6,opt,name=set_deposit_limit,json=setDepositLimit,proto3,oneof"` }
type AaveV2Stablecoin_SetLiquidityLimit ¶
type AaveV2Stablecoin_SetLiquidityLimit struct { // The maximum allowed liquidity amount. Must be parsible as an unsigned 256-bit integer. Limit string `protobuf:"bytes,1,opt,name=limit,proto3" json:"limit,omitempty"` // contains filtered or unexported fields }
Sets the maximum liquidity that cellar can manage. Careful to use the same decimals as the current asset.
Represents function `setLiquidityLimit(uint256 limit)`
func (*AaveV2Stablecoin_SetLiquidityLimit) Descriptor
deprecated
func (*AaveV2Stablecoin_SetLiquidityLimit) Descriptor() ([]byte, []int)
Deprecated: Use AaveV2Stablecoin_SetLiquidityLimit.ProtoReflect.Descriptor instead.
func (*AaveV2Stablecoin_SetLiquidityLimit) GetLimit ¶
func (x *AaveV2Stablecoin_SetLiquidityLimit) GetLimit() string
func (*AaveV2Stablecoin_SetLiquidityLimit) ProtoMessage ¶
func (*AaveV2Stablecoin_SetLiquidityLimit) ProtoMessage()
func (*AaveV2Stablecoin_SetLiquidityLimit) ProtoReflect ¶
func (x *AaveV2Stablecoin_SetLiquidityLimit) ProtoReflect() protoreflect.Message
func (*AaveV2Stablecoin_SetLiquidityLimit) Reset ¶
func (x *AaveV2Stablecoin_SetLiquidityLimit) Reset()
func (*AaveV2Stablecoin_SetLiquidityLimit) String ¶
func (x *AaveV2Stablecoin_SetLiquidityLimit) String() string
type AaveV2Stablecoin_SetLiquidityLimit_ ¶
type AaveV2Stablecoin_SetLiquidityLimit_ struct { // Represents function `setLiquidityLimit(uint256 limit)` SetLiquidityLimit *AaveV2Stablecoin_SetLiquidityLimit `protobuf:"bytes,7,opt,name=set_liquidity_limit,json=setLiquidityLimit,proto3,oneof"` }
type AaveV2Stablecoin_TransferFees ¶
type AaveV2Stablecoin_TransferFees struct {
// contains filtered or unexported fields
}
Transfer accrued fees to the Sommelier Chain to distribute.
Represents function `transferFees()`
func (*AaveV2Stablecoin_TransferFees) Descriptor
deprecated
func (*AaveV2Stablecoin_TransferFees) Descriptor() ([]byte, []int)
Deprecated: Use AaveV2Stablecoin_TransferFees.ProtoReflect.Descriptor instead.
func (*AaveV2Stablecoin_TransferFees) ProtoMessage ¶
func (*AaveV2Stablecoin_TransferFees) ProtoMessage()
func (*AaveV2Stablecoin_TransferFees) ProtoReflect ¶
func (x *AaveV2Stablecoin_TransferFees) ProtoReflect() protoreflect.Message
func (*AaveV2Stablecoin_TransferFees) Reset ¶
func (x *AaveV2Stablecoin_TransferFees) Reset()
func (*AaveV2Stablecoin_TransferFees) String ¶
func (x *AaveV2Stablecoin_TransferFees) String() string
type AaveV2Stablecoin_TransferFees_ ¶
type AaveV2Stablecoin_TransferFees_ struct { // Represents function `transferFees()` TransferFees *AaveV2Stablecoin_TransferFees `protobuf:"bytes,8,opt,name=transfer_fees,json=transferFees,proto3,oneof"` }
type AaveV2Transactor ¶
type AaveV2Transactor struct {
// contains filtered or unexported fields
}
AaveV2Transactor is an auto generated write-only Go binding around an Ethereum contract.
func NewAaveV2Transactor ¶
func NewAaveV2Transactor(address common.Address, transactor bind.ContractTransactor) (*AaveV2Transactor, error)
NewAaveV2Transactor creates a new write-only instance of AaveV2, bound to a specific deployed contract.
func (*AaveV2Transactor) AccrueFees ¶
func (_AaveV2 *AaveV2Transactor) AccrueFees(opts *bind.TransactOpts) (*types.Transaction, error)
AccrueFees is a paid mutator transaction binding the contract method 0x37a4e834.
Solidity: function accrueFees() returns()
func (*AaveV2Transactor) ClaimAndUnstake ¶
func (_AaveV2 *AaveV2Transactor) ClaimAndUnstake(opts *bind.TransactOpts) (*types.Transaction, error)
ClaimAndUnstake is a paid mutator transaction binding the contract method 0xad004e20.
Solidity: function claimAndUnstake() returns(uint256 claimed)
func (*AaveV2Transactor) EnterPosition ¶
func (_AaveV2 *AaveV2Transactor) EnterPosition(opts *bind.TransactOpts) (*types.Transaction, error)
EnterPosition is a paid mutator transaction binding the contract method 0x3dc6eabf.
Solidity: function enterPosition() returns()
func (*AaveV2Transactor) Rebalance ¶
func (_AaveV2 *AaveV2Transactor) Rebalance(opts *bind.TransactOpts, route [9]common.Address, swapParams [4][3]*big.Int, minAssetsOut *big.Int) (*types.Transaction, error)
Rebalance is a paid mutator transaction binding the contract method 0x15f4c611.
Solidity: function rebalance(address[9] route, uint256[3][4] swapParams, uint256 minAssetsOut) returns()
func (*AaveV2Transactor) Reinvest ¶
func (_AaveV2 *AaveV2Transactor) Reinvest(opts *bind.TransactOpts, minAssetsOut *big.Int) (*types.Transaction, error)
Reinvest is a paid mutator transaction binding the contract method 0x83b4918b.
Solidity: function reinvest(uint256 minAssetsOut) returns()
func (*AaveV2Transactor) RenounceOwnership ¶
func (_AaveV2 *AaveV2Transactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AaveV2Transactor) SetDepositLimit ¶
func (_AaveV2 *AaveV2Transactor) SetDepositLimit(opts *bind.TransactOpts, limit *big.Int) (*types.Transaction, error)
SetDepositLimit is a paid mutator transaction binding the contract method 0xbdc8144b.
Solidity: function setDepositLimit(uint256 limit) returns()
func (*AaveV2Transactor) SetFeesDistributor ¶
func (_AaveV2 *AaveV2Transactor) SetFeesDistributor(opts *bind.TransactOpts, newFeesDistributor [32]byte) (*types.Transaction, error)
SetFeesDistributor is a paid mutator transaction binding the contract method 0x6e85f183.
Solidity: function setFeesDistributor(bytes32 newFeesDistributor) returns()
func (*AaveV2Transactor) SetLiquidityLimit ¶
func (_AaveV2 *AaveV2Transactor) SetLiquidityLimit(opts *bind.TransactOpts, limit *big.Int) (*types.Transaction, error)
SetLiquidityLimit is a paid mutator transaction binding the contract method 0xdf05a52a.
Solidity: function setLiquidityLimit(uint256 limit) returns()
func (*AaveV2Transactor) SetShutdown ¶
func (_AaveV2 *AaveV2Transactor) SetShutdown(opts *bind.TransactOpts, shutdown bool, exitPosition bool) (*types.Transaction, error)
SetShutdown is a paid mutator transaction binding the contract method 0xbb27280b.
Solidity: function setShutdown(bool shutdown, bool exitPosition) returns()
func (*AaveV2Transactor) SetTrust ¶
func (_AaveV2 *AaveV2Transactor) SetTrust(opts *bind.TransactOpts, position common.Address, trust bool) (*types.Transaction, error)
SetTrust is a paid mutator transaction binding the contract method 0xcab59238.
Solidity: function setTrust(address position, bool trust) returns()
func (*AaveV2Transactor) Sweep ¶
func (_AaveV2 *AaveV2Transactor) Sweep(opts *bind.TransactOpts, token common.Address, to common.Address) (*types.Transaction, error)
Sweep is a paid mutator transaction binding the contract method 0xb8dc491b.
Solidity: function sweep(address token, address to) returns()
func (*AaveV2Transactor) TransferFees ¶
func (_AaveV2 *AaveV2Transactor) TransferFees(opts *bind.TransactOpts) (*types.Transaction, error)
TransferFees is a paid mutator transaction binding the contract method 0xc2fbe7bc.
Solidity: function transferFees() returns()
func (*AaveV2Transactor) TransferOwnership ¶
func (_AaveV2 *AaveV2Transactor) 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()
type AaveV2TransactorRaw ¶
type AaveV2TransactorRaw struct {
Contract *AaveV2Transactor // Generic write-only contract binding to access the raw methods on
}
AaveV2TransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*AaveV2TransactorRaw) Transact ¶
func (_AaveV2 *AaveV2TransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*AaveV2TransactorRaw) Transfer ¶
func (_AaveV2 *AaveV2TransactorRaw) 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 AaveV2TransactorSession ¶
type AaveV2TransactorSession struct { Contract *AaveV2Transactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AaveV2TransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*AaveV2TransactorSession) AccrueFees ¶
func (_AaveV2 *AaveV2TransactorSession) AccrueFees() (*types.Transaction, error)
AccrueFees is a paid mutator transaction binding the contract method 0x37a4e834.
Solidity: function accrueFees() returns()
func (*AaveV2TransactorSession) ClaimAndUnstake ¶
func (_AaveV2 *AaveV2TransactorSession) ClaimAndUnstake() (*types.Transaction, error)
ClaimAndUnstake is a paid mutator transaction binding the contract method 0xad004e20.
Solidity: function claimAndUnstake() returns(uint256 claimed)
func (*AaveV2TransactorSession) EnterPosition ¶
func (_AaveV2 *AaveV2TransactorSession) EnterPosition() (*types.Transaction, error)
EnterPosition is a paid mutator transaction binding the contract method 0x3dc6eabf.
Solidity: function enterPosition() returns()
func (*AaveV2TransactorSession) Rebalance ¶
func (_AaveV2 *AaveV2TransactorSession) Rebalance(route [9]common.Address, swapParams [4][3]*big.Int, minAssetsOut *big.Int) (*types.Transaction, error)
Rebalance is a paid mutator transaction binding the contract method 0x15f4c611.
Solidity: function rebalance(address[9] route, uint256[3][4] swapParams, uint256 minAssetsOut) returns()
func (*AaveV2TransactorSession) Reinvest ¶
func (_AaveV2 *AaveV2TransactorSession) Reinvest(minAssetsOut *big.Int) (*types.Transaction, error)
Reinvest is a paid mutator transaction binding the contract method 0x83b4918b.
Solidity: function reinvest(uint256 minAssetsOut) returns()
func (*AaveV2TransactorSession) RenounceOwnership ¶
func (_AaveV2 *AaveV2TransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*AaveV2TransactorSession) SetDepositLimit ¶
func (_AaveV2 *AaveV2TransactorSession) SetDepositLimit(limit *big.Int) (*types.Transaction, error)
SetDepositLimit is a paid mutator transaction binding the contract method 0xbdc8144b.
Solidity: function setDepositLimit(uint256 limit) returns()
func (*AaveV2TransactorSession) SetFeesDistributor ¶
func (_AaveV2 *AaveV2TransactorSession) SetFeesDistributor(newFeesDistributor [32]byte) (*types.Transaction, error)
SetFeesDistributor is a paid mutator transaction binding the contract method 0x6e85f183.
Solidity: function setFeesDistributor(bytes32 newFeesDistributor) returns()
func (*AaveV2TransactorSession) SetLiquidityLimit ¶
func (_AaveV2 *AaveV2TransactorSession) SetLiquidityLimit(limit *big.Int) (*types.Transaction, error)
SetLiquidityLimit is a paid mutator transaction binding the contract method 0xdf05a52a.
Solidity: function setLiquidityLimit(uint256 limit) returns()
func (*AaveV2TransactorSession) SetShutdown ¶
func (_AaveV2 *AaveV2TransactorSession) SetShutdown(shutdown bool, exitPosition bool) (*types.Transaction, error)
SetShutdown is a paid mutator transaction binding the contract method 0xbb27280b.
Solidity: function setShutdown(bool shutdown, bool exitPosition) returns()
func (*AaveV2TransactorSession) SetTrust ¶
func (_AaveV2 *AaveV2TransactorSession) SetTrust(position common.Address, trust bool) (*types.Transaction, error)
SetTrust is a paid mutator transaction binding the contract method 0xcab59238.
Solidity: function setTrust(address position, bool trust) returns()
func (*AaveV2TransactorSession) Sweep ¶
func (_AaveV2 *AaveV2TransactorSession) Sweep(token common.Address, to common.Address) (*types.Transaction, error)
Sweep is a paid mutator transaction binding the contract method 0xb8dc491b.
Solidity: function sweep(address token, address to) returns()
func (*AaveV2TransactorSession) TransferFees ¶
func (_AaveV2 *AaveV2TransactorSession) TransferFees() (*types.Transaction, error)
TransferFees is a paid mutator transaction binding the contract method 0xc2fbe7bc.
Solidity: function transferFees() returns()
func (*AaveV2TransactorSession) TransferOwnership ¶
func (_AaveV2 *AaveV2TransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type Allocation ¶
type Allocation struct {
Balance string `json:"balance"`
}
type ContractCallClient ¶
type ContractCallClient interface {
Submit(ctx context.Context, in *SubmitRequest, opts ...grpc.CallOption) (*SubmitResponse, error)
}
ContractCallClient is the client API for ContractCall service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewContractCallClient ¶
func NewContractCallClient(cc grpc.ClientConnInterface) ContractCallClient
type ContractCallServer ¶
type ContractCallServer interface { Submit(context.Context, *SubmitRequest) (*SubmitResponse, error) // contains filtered or unexported methods }
ContractCallServer is the server API for ContractCall service. All implementations must embed UnimplementedContractCallServer for forward compatibility
type EthereumConfig ¶
type EthereumConfig struct { ChainID uint `json:"chainId"` HomesteadBlock uint `json:"homesteadBlock"` EIP150Block uint `json:"eip150Block"` EIP155Block uint `json:"eip155Block"` EIP158Block uint `json:"eip158Block"` ByzantiumBlock uint `json:"byzantiumBlock"` ConstantinopleBlock uint `json:"constantinopleBlock"` PetersburgBlock uint `json:"petersburgBlock"` IstanbulBlock uint `json:"istanbulBlock"` BerlinBlock uint `json:"berlinBlock"` }
type EthereumGenesis ¶
type EthereumGenesis struct { Difficulty string `json:"difficulty"` GasLimit string `json:"gasLimit"` Config EthereumConfig `json:"config"` Alloc map[string]Allocation `json:"alloc"` }
type Gravity ¶
type Gravity struct { GravityCaller // Read-only binding to the contract GravityTransactor // Write-only binding to the contract GravityFilterer // Log filterer for contract events }
Gravity is an auto generated Go binding around an Ethereum contract.
func NewGravity ¶
NewGravity creates a new instance of Gravity, bound to a specific deployed contract.
type GravityCaller ¶
type GravityCaller struct {
// contains filtered or unexported fields
}
GravityCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGravityCaller ¶
func NewGravityCaller(address common.Address, caller bind.ContractCaller) (*GravityCaller, error)
NewGravityCaller creates a new read-only instance of Gravity, bound to a specific deployed contract.
func (*GravityCaller) LastBatchNonce ¶
func (_Gravity *GravityCaller) LastBatchNonce(opts *bind.CallOpts, _erc20Address common.Address) (*big.Int, error)
LastBatchNonce is a free data retrieval call binding the contract method 0x011b2174.
Solidity: function lastBatchNonce(address _erc20Address) view returns(uint256)
func (*GravityCaller) LastLogicCallNonce ¶
func (_Gravity *GravityCaller) LastLogicCallNonce(opts *bind.CallOpts, _invalidation_id [32]byte) (*big.Int, error)
LastLogicCallNonce is a free data retrieval call binding the contract method 0xc9d194d5.
Solidity: function lastLogicCallNonce(bytes32 _invalidation_id) view returns(uint256)
func (*GravityCaller) StateGravityId ¶
func (_Gravity *GravityCaller) StateGravityId(opts *bind.CallOpts) ([32]byte, error)
StateGravityId is a free data retrieval call binding the contract method 0xbdda81d4.
Solidity: function state_gravityId() view returns(bytes32)
func (*GravityCaller) StateInvalidationMapping ¶
func (_Gravity *GravityCaller) StateInvalidationMapping(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
StateInvalidationMapping is a free data retrieval call binding the contract method 0x7dfb6f86.
Solidity: function state_invalidationMapping(bytes32 ) view returns(uint256)
func (*GravityCaller) StateLastBatchNonces ¶
func (_Gravity *GravityCaller) StateLastBatchNonces(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
StateLastBatchNonces is a free data retrieval call binding the contract method 0xdf97174b.
Solidity: function state_lastBatchNonces(address ) view returns(uint256)
func (*GravityCaller) StateLastEventNonce ¶
StateLastEventNonce is a free data retrieval call binding the contract method 0x73b20547.
Solidity: function state_lastEventNonce() view returns(uint256)
func (*GravityCaller) StateLastValsetCheckpoint ¶
func (_Gravity *GravityCaller) StateLastValsetCheckpoint(opts *bind.CallOpts) ([32]byte, error)
StateLastValsetCheckpoint is a free data retrieval call binding the contract method 0xf2b53307.
Solidity: function state_lastValsetCheckpoint() view returns(bytes32)
func (*GravityCaller) StateLastValsetNonce ¶
StateLastValsetNonce is a free data retrieval call binding the contract method 0xb56561fe.
Solidity: function state_lastValsetNonce() view returns(uint256)
func (*GravityCaller) StatePowerThreshold ¶
StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.
Solidity: function state_powerThreshold() view returns(uint256)
func (*GravityCaller) TestCheckValidatorSignatures ¶
func (_Gravity *GravityCaller) TestCheckValidatorSignatures(opts *bind.CallOpts, _currentValset ValsetArgs, _sigs []ValSignature, _theHash [32]byte, _powerThreshold *big.Int) error
TestCheckValidatorSignatures is a free data retrieval call binding the contract method 0x00901153.
Solidity: function testCheckValidatorSignatures((address[],uint256[],uint256,uint256,address) _currentValset, (uint8,bytes32,bytes32)[] _sigs, bytes32 _theHash, uint256 _powerThreshold) pure returns()
func (*GravityCaller) TestMakeCheckpoint ¶
func (_Gravity *GravityCaller) TestMakeCheckpoint(opts *bind.CallOpts, _valsetArgs ValsetArgs, _gravityId [32]byte) error
TestMakeCheckpoint is a free data retrieval call binding the contract method 0x01031525.
Solidity: function testMakeCheckpoint((address[],uint256[],uint256,uint256,address) _valsetArgs, bytes32 _gravityId) pure returns()
type GravityCallerRaw ¶
type GravityCallerRaw struct {
Contract *GravityCaller // Generic read-only contract binding to access the raw methods on
}
GravityCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GravityCallerRaw) Call ¶
func (_Gravity *GravityCallerRaw) 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 GravityCallerSession ¶
type GravityCallerSession struct { Contract *GravityCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
GravityCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*GravityCallerSession) LastBatchNonce ¶
func (_Gravity *GravityCallerSession) LastBatchNonce(_erc20Address common.Address) (*big.Int, error)
LastBatchNonce is a free data retrieval call binding the contract method 0x011b2174.
Solidity: function lastBatchNonce(address _erc20Address) view returns(uint256)
func (*GravityCallerSession) LastLogicCallNonce ¶
func (_Gravity *GravityCallerSession) LastLogicCallNonce(_invalidation_id [32]byte) (*big.Int, error)
LastLogicCallNonce is a free data retrieval call binding the contract method 0xc9d194d5.
Solidity: function lastLogicCallNonce(bytes32 _invalidation_id) view returns(uint256)
func (*GravityCallerSession) StateGravityId ¶
func (_Gravity *GravityCallerSession) StateGravityId() ([32]byte, error)
StateGravityId is a free data retrieval call binding the contract method 0xbdda81d4.
Solidity: function state_gravityId() view returns(bytes32)
func (*GravityCallerSession) StateInvalidationMapping ¶
func (_Gravity *GravityCallerSession) StateInvalidationMapping(arg0 [32]byte) (*big.Int, error)
StateInvalidationMapping is a free data retrieval call binding the contract method 0x7dfb6f86.
Solidity: function state_invalidationMapping(bytes32 ) view returns(uint256)
func (*GravityCallerSession) StateLastBatchNonces ¶
StateLastBatchNonces is a free data retrieval call binding the contract method 0xdf97174b.
Solidity: function state_lastBatchNonces(address ) view returns(uint256)
func (*GravityCallerSession) StateLastEventNonce ¶
func (_Gravity *GravityCallerSession) StateLastEventNonce() (*big.Int, error)
StateLastEventNonce is a free data retrieval call binding the contract method 0x73b20547.
Solidity: function state_lastEventNonce() view returns(uint256)
func (*GravityCallerSession) StateLastValsetCheckpoint ¶
func (_Gravity *GravityCallerSession) StateLastValsetCheckpoint() ([32]byte, error)
StateLastValsetCheckpoint is a free data retrieval call binding the contract method 0xf2b53307.
Solidity: function state_lastValsetCheckpoint() view returns(bytes32)
func (*GravityCallerSession) StateLastValsetNonce ¶
func (_Gravity *GravityCallerSession) StateLastValsetNonce() (*big.Int, error)
StateLastValsetNonce is a free data retrieval call binding the contract method 0xb56561fe.
Solidity: function state_lastValsetNonce() view returns(uint256)
func (*GravityCallerSession) StatePowerThreshold ¶
func (_Gravity *GravityCallerSession) StatePowerThreshold() (*big.Int, error)
StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.
Solidity: function state_powerThreshold() view returns(uint256)
func (*GravityCallerSession) TestCheckValidatorSignatures ¶
func (_Gravity *GravityCallerSession) TestCheckValidatorSignatures(_currentValset ValsetArgs, _sigs []ValSignature, _theHash [32]byte, _powerThreshold *big.Int) error
TestCheckValidatorSignatures is a free data retrieval call binding the contract method 0x00901153.
Solidity: function testCheckValidatorSignatures((address[],uint256[],uint256,uint256,address) _currentValset, (uint8,bytes32,bytes32)[] _sigs, bytes32 _theHash, uint256 _powerThreshold) pure returns()
func (*GravityCallerSession) TestMakeCheckpoint ¶
func (_Gravity *GravityCallerSession) TestMakeCheckpoint(_valsetArgs ValsetArgs, _gravityId [32]byte) error
TestMakeCheckpoint is a free data retrieval call binding the contract method 0x01031525.
Solidity: function testMakeCheckpoint((address[],uint256[],uint256,uint256,address) _valsetArgs, bytes32 _gravityId) pure returns()
type GravityERC20DeployedEvent ¶
type GravityERC20DeployedEvent struct { CosmosDenom string TokenContract common.Address Name string Symbol string Decimals uint8 EventNonce *big.Int Raw types.Log // Blockchain specific contextual infos }
GravityERC20DeployedEvent represents a ERC20DeployedEvent event raised by the Gravity contract.
type GravityERC20DeployedEventIterator ¶
type GravityERC20DeployedEventIterator struct { Event *GravityERC20DeployedEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GravityERC20DeployedEventIterator is returned from FilterERC20DeployedEvent and is used to iterate over the raw logs and unpacked data for ERC20DeployedEvent events raised by the Gravity contract.
func (*GravityERC20DeployedEventIterator) Close ¶
func (it *GravityERC20DeployedEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GravityERC20DeployedEventIterator) Error ¶
func (it *GravityERC20DeployedEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GravityERC20DeployedEventIterator) Next ¶
func (it *GravityERC20DeployedEventIterator) 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 GravityFilterer ¶
type GravityFilterer struct {
// contains filtered or unexported fields
}
GravityFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGravityFilterer ¶
func NewGravityFilterer(address common.Address, filterer bind.ContractFilterer) (*GravityFilterer, error)
NewGravityFilterer creates a new log filterer instance of Gravity, bound to a specific deployed contract.
func (*GravityFilterer) FilterERC20DeployedEvent ¶
func (_Gravity *GravityFilterer) FilterERC20DeployedEvent(opts *bind.FilterOpts, _tokenContract []common.Address) (*GravityERC20DeployedEventIterator, error)
FilterERC20DeployedEvent is a free log retrieval operation binding the contract event 0x82fe3a4fa49c6382d0c085746698ddbbafe6c2bf61285b19410644b5b26287c7.
Solidity: event ERC20DeployedEvent(string _cosmosDenom, address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce)
func (*GravityFilterer) FilterLogicCallEvent ¶
func (_Gravity *GravityFilterer) FilterLogicCallEvent(opts *bind.FilterOpts) (*GravityLogicCallEventIterator, error)
FilterLogicCallEvent is a free log retrieval operation binding the contract event 0x7c2bb24f8e1b3725cb613d7f11ef97d9745cc97a0e40f730621c052d684077a1.
Solidity: event LogicCallEvent(bytes32 _invalidationId, uint256 _invalidationNonce, bytes _returnData, uint256 _eventNonce)
func (*GravityFilterer) FilterSendToCosmosEvent ¶
func (_Gravity *GravityFilterer) FilterSendToCosmosEvent(opts *bind.FilterOpts, _tokenContract []common.Address, _sender []common.Address, _destination [][32]byte) (*GravitySendToCosmosEventIterator, error)
FilterSendToCosmosEvent is a free log retrieval operation binding the contract event 0xd7767894d73c589daeca9643f445f03d7be61aad2950c117e7cbff4176fca7e4.
Solidity: event SendToCosmosEvent(address indexed _tokenContract, address indexed _sender, bytes32 indexed _destination, uint256 _amount, uint256 _eventNonce)
func (*GravityFilterer) FilterTransactionBatchExecutedEvent ¶
func (_Gravity *GravityFilterer) FilterTransactionBatchExecutedEvent(opts *bind.FilterOpts, _batchNonce []*big.Int, _token []common.Address) (*GravityTransactionBatchExecutedEventIterator, error)
FilterTransactionBatchExecutedEvent is a free log retrieval operation binding the contract event 0x02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab708.
Solidity: event TransactionBatchExecutedEvent(uint256 indexed _batchNonce, address indexed _token, uint256 _eventNonce)
func (*GravityFilterer) FilterValsetUpdatedEvent ¶
func (_Gravity *GravityFilterer) FilterValsetUpdatedEvent(opts *bind.FilterOpts, _newValsetNonce []*big.Int) (*GravityValsetUpdatedEventIterator, error)
FilterValsetUpdatedEvent is a free log retrieval operation binding the contract event 0x76d08978c024a4bf8cbb30c67fd78fcaa1827cbc533e4e175f36d07e64ccf96a.
Solidity: event ValsetUpdatedEvent(uint256 indexed _newValsetNonce, uint256 _eventNonce, uint256 _rewardAmount, address _rewardToken, address[] _validators, uint256[] _powers)
func (*GravityFilterer) ParseERC20DeployedEvent ¶
func (_Gravity *GravityFilterer) ParseERC20DeployedEvent(log types.Log) (*GravityERC20DeployedEvent, error)
ParseERC20DeployedEvent is a log parse operation binding the contract event 0x82fe3a4fa49c6382d0c085746698ddbbafe6c2bf61285b19410644b5b26287c7.
Solidity: event ERC20DeployedEvent(string _cosmosDenom, address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce)
func (*GravityFilterer) ParseLogicCallEvent ¶
func (_Gravity *GravityFilterer) ParseLogicCallEvent(log types.Log) (*GravityLogicCallEvent, error)
ParseLogicCallEvent is a log parse operation binding the contract event 0x7c2bb24f8e1b3725cb613d7f11ef97d9745cc97a0e40f730621c052d684077a1.
Solidity: event LogicCallEvent(bytes32 _invalidationId, uint256 _invalidationNonce, bytes _returnData, uint256 _eventNonce)
func (*GravityFilterer) ParseSendToCosmosEvent ¶
func (_Gravity *GravityFilterer) ParseSendToCosmosEvent(log types.Log) (*GravitySendToCosmosEvent, error)
ParseSendToCosmosEvent is a log parse operation binding the contract event 0xd7767894d73c589daeca9643f445f03d7be61aad2950c117e7cbff4176fca7e4.
Solidity: event SendToCosmosEvent(address indexed _tokenContract, address indexed _sender, bytes32 indexed _destination, uint256 _amount, uint256 _eventNonce)
func (*GravityFilterer) ParseTransactionBatchExecutedEvent ¶
func (_Gravity *GravityFilterer) ParseTransactionBatchExecutedEvent(log types.Log) (*GravityTransactionBatchExecutedEvent, error)
ParseTransactionBatchExecutedEvent is a log parse operation binding the contract event 0x02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab708.
Solidity: event TransactionBatchExecutedEvent(uint256 indexed _batchNonce, address indexed _token, uint256 _eventNonce)
func (*GravityFilterer) ParseValsetUpdatedEvent ¶
func (_Gravity *GravityFilterer) ParseValsetUpdatedEvent(log types.Log) (*GravityValsetUpdatedEvent, error)
ParseValsetUpdatedEvent is a log parse operation binding the contract event 0x76d08978c024a4bf8cbb30c67fd78fcaa1827cbc533e4e175f36d07e64ccf96a.
Solidity: event ValsetUpdatedEvent(uint256 indexed _newValsetNonce, uint256 _eventNonce, uint256 _rewardAmount, address _rewardToken, address[] _validators, uint256[] _powers)
func (*GravityFilterer) WatchERC20DeployedEvent ¶
func (_Gravity *GravityFilterer) WatchERC20DeployedEvent(opts *bind.WatchOpts, sink chan<- *GravityERC20DeployedEvent, _tokenContract []common.Address) (event.Subscription, error)
WatchERC20DeployedEvent is a free log subscription operation binding the contract event 0x82fe3a4fa49c6382d0c085746698ddbbafe6c2bf61285b19410644b5b26287c7.
Solidity: event ERC20DeployedEvent(string _cosmosDenom, address indexed _tokenContract, string _name, string _symbol, uint8 _decimals, uint256 _eventNonce)
func (*GravityFilterer) WatchLogicCallEvent ¶
func (_Gravity *GravityFilterer) WatchLogicCallEvent(opts *bind.WatchOpts, sink chan<- *GravityLogicCallEvent) (event.Subscription, error)
WatchLogicCallEvent is a free log subscription operation binding the contract event 0x7c2bb24f8e1b3725cb613d7f11ef97d9745cc97a0e40f730621c052d684077a1.
Solidity: event LogicCallEvent(bytes32 _invalidationId, uint256 _invalidationNonce, bytes _returnData, uint256 _eventNonce)
func (*GravityFilterer) WatchSendToCosmosEvent ¶
func (_Gravity *GravityFilterer) WatchSendToCosmosEvent(opts *bind.WatchOpts, sink chan<- *GravitySendToCosmosEvent, _tokenContract []common.Address, _sender []common.Address, _destination [][32]byte) (event.Subscription, error)
WatchSendToCosmosEvent is a free log subscription operation binding the contract event 0xd7767894d73c589daeca9643f445f03d7be61aad2950c117e7cbff4176fca7e4.
Solidity: event SendToCosmosEvent(address indexed _tokenContract, address indexed _sender, bytes32 indexed _destination, uint256 _amount, uint256 _eventNonce)
func (*GravityFilterer) WatchTransactionBatchExecutedEvent ¶
func (_Gravity *GravityFilterer) WatchTransactionBatchExecutedEvent(opts *bind.WatchOpts, sink chan<- *GravityTransactionBatchExecutedEvent, _batchNonce []*big.Int, _token []common.Address) (event.Subscription, error)
WatchTransactionBatchExecutedEvent is a free log subscription operation binding the contract event 0x02c7e81975f8edb86e2a0c038b7b86a49c744236abf0f6177ff5afc6986ab708.
Solidity: event TransactionBatchExecutedEvent(uint256 indexed _batchNonce, address indexed _token, uint256 _eventNonce)
func (*GravityFilterer) WatchValsetUpdatedEvent ¶
func (_Gravity *GravityFilterer) WatchValsetUpdatedEvent(opts *bind.WatchOpts, sink chan<- *GravityValsetUpdatedEvent, _newValsetNonce []*big.Int) (event.Subscription, error)
WatchValsetUpdatedEvent is a free log subscription operation binding the contract event 0x76d08978c024a4bf8cbb30c67fd78fcaa1827cbc533e4e175f36d07e64ccf96a.
Solidity: event ValsetUpdatedEvent(uint256 indexed _newValsetNonce, uint256 _eventNonce, uint256 _rewardAmount, address _rewardToken, address[] _validators, uint256[] _powers)
type GravityLogicCallEvent ¶
type GravityLogicCallEvent struct { InvalidationId [32]byte InvalidationNonce *big.Int ReturnData []byte EventNonce *big.Int Raw types.Log // Blockchain specific contextual infos }
GravityLogicCallEvent represents a LogicCallEvent event raised by the Gravity contract.
type GravityLogicCallEventIterator ¶
type GravityLogicCallEventIterator struct { Event *GravityLogicCallEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GravityLogicCallEventIterator is returned from FilterLogicCallEvent and is used to iterate over the raw logs and unpacked data for LogicCallEvent events raised by the Gravity contract.
func (*GravityLogicCallEventIterator) Close ¶
func (it *GravityLogicCallEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GravityLogicCallEventIterator) Error ¶
func (it *GravityLogicCallEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GravityLogicCallEventIterator) Next ¶
func (it *GravityLogicCallEventIterator) 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 GravityRaw ¶
type GravityRaw struct {
Contract *Gravity // Generic contract binding to access the raw methods on
}
GravityRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GravityRaw) Call ¶
func (_Gravity *GravityRaw) 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 (*GravityRaw) Transact ¶
func (_Gravity *GravityRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GravityRaw) Transfer ¶
func (_Gravity *GravityRaw) 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 GravitySendToCosmosEvent ¶
type GravitySendToCosmosEvent struct { TokenContract common.Address Sender common.Address Destination [32]byte Amount *big.Int EventNonce *big.Int Raw types.Log // Blockchain specific contextual infos }
GravitySendToCosmosEvent represents a SendToCosmosEvent event raised by the Gravity contract.
type GravitySendToCosmosEventIterator ¶
type GravitySendToCosmosEventIterator struct { Event *GravitySendToCosmosEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GravitySendToCosmosEventIterator is returned from FilterSendToCosmosEvent and is used to iterate over the raw logs and unpacked data for SendToCosmosEvent events raised by the Gravity contract.
func (*GravitySendToCosmosEventIterator) Close ¶
func (it *GravitySendToCosmosEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GravitySendToCosmosEventIterator) Error ¶
func (it *GravitySendToCosmosEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GravitySendToCosmosEventIterator) Next ¶
func (it *GravitySendToCosmosEventIterator) 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 GravitySession ¶
type GravitySession struct { Contract *Gravity // 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 }
GravitySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*GravitySession) DeployERC20 ¶
func (_Gravity *GravitySession) DeployERC20(_cosmosDenom string, _name string, _symbol string, _decimals uint8) (*types.Transaction, error)
DeployERC20 is a paid mutator transaction binding the contract method 0xf7955637.
Solidity: function deployERC20(string _cosmosDenom, string _name, string _symbol, uint8 _decimals) returns()
func (*GravitySession) LastBatchNonce ¶
LastBatchNonce is a free data retrieval call binding the contract method 0x011b2174.
Solidity: function lastBatchNonce(address _erc20Address) view returns(uint256)
func (*GravitySession) LastLogicCallNonce ¶
func (_Gravity *GravitySession) LastLogicCallNonce(_invalidation_id [32]byte) (*big.Int, error)
LastLogicCallNonce is a free data retrieval call binding the contract method 0xc9d194d5.
Solidity: function lastLogicCallNonce(bytes32 _invalidation_id) view returns(uint256)
func (*GravitySession) SendToCosmos ¶
func (_Gravity *GravitySession) SendToCosmos(_tokenContract common.Address, _destination [32]byte, _amount *big.Int) (*types.Transaction, error)
SendToCosmos is a paid mutator transaction binding the contract method 0x1ffbe7f9.
Solidity: function sendToCosmos(address _tokenContract, bytes32 _destination, uint256 _amount) returns()
func (*GravitySession) StateGravityId ¶
func (_Gravity *GravitySession) StateGravityId() ([32]byte, error)
StateGravityId is a free data retrieval call binding the contract method 0xbdda81d4.
Solidity: function state_gravityId() view returns(bytes32)
func (*GravitySession) StateInvalidationMapping ¶
func (_Gravity *GravitySession) StateInvalidationMapping(arg0 [32]byte) (*big.Int, error)
StateInvalidationMapping is a free data retrieval call binding the contract method 0x7dfb6f86.
Solidity: function state_invalidationMapping(bytes32 ) view returns(uint256)
func (*GravitySession) StateLastBatchNonces ¶
StateLastBatchNonces is a free data retrieval call binding the contract method 0xdf97174b.
Solidity: function state_lastBatchNonces(address ) view returns(uint256)
func (*GravitySession) StateLastEventNonce ¶
func (_Gravity *GravitySession) StateLastEventNonce() (*big.Int, error)
StateLastEventNonce is a free data retrieval call binding the contract method 0x73b20547.
Solidity: function state_lastEventNonce() view returns(uint256)
func (*GravitySession) StateLastValsetCheckpoint ¶
func (_Gravity *GravitySession) StateLastValsetCheckpoint() ([32]byte, error)
StateLastValsetCheckpoint is a free data retrieval call binding the contract method 0xf2b53307.
Solidity: function state_lastValsetCheckpoint() view returns(bytes32)
func (*GravitySession) StateLastValsetNonce ¶
func (_Gravity *GravitySession) StateLastValsetNonce() (*big.Int, error)
StateLastValsetNonce is a free data retrieval call binding the contract method 0xb56561fe.
Solidity: function state_lastValsetNonce() view returns(uint256)
func (*GravitySession) StatePowerThreshold ¶
func (_Gravity *GravitySession) StatePowerThreshold() (*big.Int, error)
StatePowerThreshold is a free data retrieval call binding the contract method 0xe5a2b5d2.
Solidity: function state_powerThreshold() view returns(uint256)
func (*GravitySession) SubmitBatch ¶
func (_Gravity *GravitySession) SubmitBatch(_currentValset ValsetArgs, _sigs []ValSignature, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _batchNonce *big.Int, _tokenContract common.Address, _batchTimeout *big.Int) (*types.Transaction, error)
SubmitBatch is a paid mutator transaction binding the contract method 0x8690ff98.
Solidity: function submitBatch((address[],uint256[],uint256,uint256,address) _currentValset, (uint8,bytes32,bytes32)[] _sigs, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256 _batchNonce, address _tokenContract, uint256 _batchTimeout) returns()
func (*GravitySession) SubmitLogicCall ¶
func (_Gravity *GravitySession) SubmitLogicCall(_currentValset ValsetArgs, _sigs []ValSignature, _args LogicCallArgs) (*types.Transaction, error)
SubmitLogicCall is a paid mutator transaction binding the contract method 0x6941db93.
Solidity: function submitLogicCall((address[],uint256[],uint256,uint256,address) _currentValset, (uint8,bytes32,bytes32)[] _sigs, (uint256[],address[],uint256[],address[],address,bytes,uint256,bytes32,uint256) _args) returns()
func (*GravitySession) TestCheckValidatorSignatures ¶
func (_Gravity *GravitySession) TestCheckValidatorSignatures(_currentValset ValsetArgs, _sigs []ValSignature, _theHash [32]byte, _powerThreshold *big.Int) error
TestCheckValidatorSignatures is a free data retrieval call binding the contract method 0x00901153.
Solidity: function testCheckValidatorSignatures((address[],uint256[],uint256,uint256,address) _currentValset, (uint8,bytes32,bytes32)[] _sigs, bytes32 _theHash, uint256 _powerThreshold) pure returns()
func (*GravitySession) TestMakeCheckpoint ¶
func (_Gravity *GravitySession) TestMakeCheckpoint(_valsetArgs ValsetArgs, _gravityId [32]byte) error
TestMakeCheckpoint is a free data retrieval call binding the contract method 0x01031525.
Solidity: function testMakeCheckpoint((address[],uint256[],uint256,uint256,address) _valsetArgs, bytes32 _gravityId) pure returns()
func (*GravitySession) UpdateValset ¶
func (_Gravity *GravitySession) UpdateValset(_newValset ValsetArgs, _currentValset ValsetArgs, _sigs []ValSignature) (*types.Transaction, error)
UpdateValset is a paid mutator transaction binding the contract method 0xaca6b1c1.
Solidity: function updateValset((address[],uint256[],uint256,uint256,address) _newValset, (address[],uint256[],uint256,uint256,address) _currentValset, (uint8,bytes32,bytes32)[] _sigs) returns()
type GravityTransactionBatchExecutedEvent ¶
type GravityTransactionBatchExecutedEvent struct { BatchNonce *big.Int Token common.Address EventNonce *big.Int Raw types.Log // Blockchain specific contextual infos }
GravityTransactionBatchExecutedEvent represents a TransactionBatchExecutedEvent event raised by the Gravity contract.
type GravityTransactionBatchExecutedEventIterator ¶
type GravityTransactionBatchExecutedEventIterator struct { Event *GravityTransactionBatchExecutedEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GravityTransactionBatchExecutedEventIterator is returned from FilterTransactionBatchExecutedEvent and is used to iterate over the raw logs and unpacked data for TransactionBatchExecutedEvent events raised by the Gravity contract.
func (*GravityTransactionBatchExecutedEventIterator) Close ¶
func (it *GravityTransactionBatchExecutedEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GravityTransactionBatchExecutedEventIterator) Error ¶
func (it *GravityTransactionBatchExecutedEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GravityTransactionBatchExecutedEventIterator) Next ¶
func (it *GravityTransactionBatchExecutedEventIterator) 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 GravityTransactor ¶
type GravityTransactor struct {
// contains filtered or unexported fields
}
GravityTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGravityTransactor ¶
func NewGravityTransactor(address common.Address, transactor bind.ContractTransactor) (*GravityTransactor, error)
NewGravityTransactor creates a new write-only instance of Gravity, bound to a specific deployed contract.
func (*GravityTransactor) DeployERC20 ¶
func (_Gravity *GravityTransactor) DeployERC20(opts *bind.TransactOpts, _cosmosDenom string, _name string, _symbol string, _decimals uint8) (*types.Transaction, error)
DeployERC20 is a paid mutator transaction binding the contract method 0xf7955637.
Solidity: function deployERC20(string _cosmosDenom, string _name, string _symbol, uint8 _decimals) returns()
func (*GravityTransactor) SendToCosmos ¶
func (_Gravity *GravityTransactor) SendToCosmos(opts *bind.TransactOpts, _tokenContract common.Address, _destination [32]byte, _amount *big.Int) (*types.Transaction, error)
SendToCosmos is a paid mutator transaction binding the contract method 0x1ffbe7f9.
Solidity: function sendToCosmos(address _tokenContract, bytes32 _destination, uint256 _amount) returns()
func (*GravityTransactor) SubmitBatch ¶
func (_Gravity *GravityTransactor) SubmitBatch(opts *bind.TransactOpts, _currentValset ValsetArgs, _sigs []ValSignature, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _batchNonce *big.Int, _tokenContract common.Address, _batchTimeout *big.Int) (*types.Transaction, error)
SubmitBatch is a paid mutator transaction binding the contract method 0x8690ff98.
Solidity: function submitBatch((address[],uint256[],uint256,uint256,address) _currentValset, (uint8,bytes32,bytes32)[] _sigs, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256 _batchNonce, address _tokenContract, uint256 _batchTimeout) returns()
func (*GravityTransactor) SubmitLogicCall ¶
func (_Gravity *GravityTransactor) SubmitLogicCall(opts *bind.TransactOpts, _currentValset ValsetArgs, _sigs []ValSignature, _args LogicCallArgs) (*types.Transaction, error)
SubmitLogicCall is a paid mutator transaction binding the contract method 0x6941db93.
Solidity: function submitLogicCall((address[],uint256[],uint256,uint256,address) _currentValset, (uint8,bytes32,bytes32)[] _sigs, (uint256[],address[],uint256[],address[],address,bytes,uint256,bytes32,uint256) _args) returns()
func (*GravityTransactor) UpdateValset ¶
func (_Gravity *GravityTransactor) UpdateValset(opts *bind.TransactOpts, _newValset ValsetArgs, _currentValset ValsetArgs, _sigs []ValSignature) (*types.Transaction, error)
UpdateValset is a paid mutator transaction binding the contract method 0xaca6b1c1.
Solidity: function updateValset((address[],uint256[],uint256,uint256,address) _newValset, (address[],uint256[],uint256,uint256,address) _currentValset, (uint8,bytes32,bytes32)[] _sigs) returns()
type GravityTransactorRaw ¶
type GravityTransactorRaw struct {
Contract *GravityTransactor // Generic write-only contract binding to access the raw methods on
}
GravityTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GravityTransactorRaw) Transact ¶
func (_Gravity *GravityTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GravityTransactorRaw) Transfer ¶
func (_Gravity *GravityTransactorRaw) 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 GravityTransactorSession ¶
type GravityTransactorSession struct { Contract *GravityTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GravityTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*GravityTransactorSession) DeployERC20 ¶
func (_Gravity *GravityTransactorSession) DeployERC20(_cosmosDenom string, _name string, _symbol string, _decimals uint8) (*types.Transaction, error)
DeployERC20 is a paid mutator transaction binding the contract method 0xf7955637.
Solidity: function deployERC20(string _cosmosDenom, string _name, string _symbol, uint8 _decimals) returns()
func (*GravityTransactorSession) SendToCosmos ¶
func (_Gravity *GravityTransactorSession) SendToCosmos(_tokenContract common.Address, _destination [32]byte, _amount *big.Int) (*types.Transaction, error)
SendToCosmos is a paid mutator transaction binding the contract method 0x1ffbe7f9.
Solidity: function sendToCosmos(address _tokenContract, bytes32 _destination, uint256 _amount) returns()
func (*GravityTransactorSession) SubmitBatch ¶
func (_Gravity *GravityTransactorSession) SubmitBatch(_currentValset ValsetArgs, _sigs []ValSignature, _amounts []*big.Int, _destinations []common.Address, _fees []*big.Int, _batchNonce *big.Int, _tokenContract common.Address, _batchTimeout *big.Int) (*types.Transaction, error)
SubmitBatch is a paid mutator transaction binding the contract method 0x8690ff98.
Solidity: function submitBatch((address[],uint256[],uint256,uint256,address) _currentValset, (uint8,bytes32,bytes32)[] _sigs, uint256[] _amounts, address[] _destinations, uint256[] _fees, uint256 _batchNonce, address _tokenContract, uint256 _batchTimeout) returns()
func (*GravityTransactorSession) SubmitLogicCall ¶
func (_Gravity *GravityTransactorSession) SubmitLogicCall(_currentValset ValsetArgs, _sigs []ValSignature, _args LogicCallArgs) (*types.Transaction, error)
SubmitLogicCall is a paid mutator transaction binding the contract method 0x6941db93.
Solidity: function submitLogicCall((address[],uint256[],uint256,uint256,address) _currentValset, (uint8,bytes32,bytes32)[] _sigs, (uint256[],address[],uint256[],address[],address,bytes,uint256,bytes32,uint256) _args) returns()
func (*GravityTransactorSession) UpdateValset ¶
func (_Gravity *GravityTransactorSession) UpdateValset(_newValset ValsetArgs, _currentValset ValsetArgs, _sigs []ValSignature) (*types.Transaction, error)
UpdateValset is a paid mutator transaction binding the contract method 0xaca6b1c1.
Solidity: function updateValset((address[],uint256[],uint256,uint256,address) _newValset, (address[],uint256[],uint256,uint256,address) _currentValset, (uint8,bytes32,bytes32)[] _sigs) returns()
type GravityValsetUpdatedEvent ¶
type GravityValsetUpdatedEvent struct { NewValsetNonce *big.Int EventNonce *big.Int RewardAmount *big.Int RewardToken common.Address Validators []common.Address Powers []*big.Int Raw types.Log // Blockchain specific contextual infos }
GravityValsetUpdatedEvent represents a ValsetUpdatedEvent event raised by the Gravity contract.
type GravityValsetUpdatedEventIterator ¶
type GravityValsetUpdatedEventIterator struct { Event *GravityValsetUpdatedEvent // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GravityValsetUpdatedEventIterator is returned from FilterValsetUpdatedEvent and is used to iterate over the raw logs and unpacked data for ValsetUpdatedEvent events raised by the Gravity contract.
func (*GravityValsetUpdatedEventIterator) Close ¶
func (it *GravityValsetUpdatedEventIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GravityValsetUpdatedEventIterator) Error ¶
func (it *GravityValsetUpdatedEventIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GravityValsetUpdatedEventIterator) Next ¶
func (it *GravityValsetUpdatedEventIterator) 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 LogicCallArgs ¶
type LogicCallArgs struct { TransferAmounts []*big.Int TransferTokenContracts []common.Address FeeAmounts []*big.Int FeeTokenContracts []common.Address LogicContractAddress common.Address Payload []byte TimeOut *big.Int InvalidationId [32]byte InvalidationNonce *big.Int }
LogicCallArgs is an auto generated low-level Go binding around an user-defined struct.
type SubmitRequest ¶
type SubmitRequest struct { CellarId string `protobuf:"bytes,1,opt,name=cellar_id,json=cellarId,proto3" json:"cellar_id,omitempty"` // Types that are assignable to CallData: // *SubmitRequest_AaveV2Stablecoin CallData isSubmitRequest_CallData `protobuf_oneof:"call_data"` // contains filtered or unexported fields }
func (*SubmitRequest) Descriptor
deprecated
func (*SubmitRequest) Descriptor() ([]byte, []int)
Deprecated: Use SubmitRequest.ProtoReflect.Descriptor instead.
func (*SubmitRequest) GetAaveV2Stablecoin ¶
func (x *SubmitRequest) GetAaveV2Stablecoin() *AaveV2Stablecoin
func (*SubmitRequest) GetCallData ¶
func (m *SubmitRequest) GetCallData() isSubmitRequest_CallData
func (*SubmitRequest) GetCellarId ¶
func (x *SubmitRequest) GetCellarId() string
func (*SubmitRequest) ProtoMessage ¶
func (*SubmitRequest) ProtoMessage()
func (*SubmitRequest) ProtoReflect ¶
func (x *SubmitRequest) ProtoReflect() protoreflect.Message
func (*SubmitRequest) Reset ¶
func (x *SubmitRequest) Reset()
func (*SubmitRequest) String ¶
func (x *SubmitRequest) String() string
type SubmitRequest_AaveV2Stablecoin ¶
type SubmitRequest_AaveV2Stablecoin struct {
AaveV2Stablecoin *AaveV2Stablecoin `protobuf:"bytes,2,opt,name=aave_v2_stablecoin,json=aaveV2Stablecoin,proto3,oneof"`
}
type SubmitResponse ¶
type SubmitResponse struct {
// contains filtered or unexported fields
}
func (*SubmitResponse) Descriptor
deprecated
func (*SubmitResponse) Descriptor() ([]byte, []int)
Deprecated: Use SubmitResponse.ProtoReflect.Descriptor instead.
func (*SubmitResponse) ProtoMessage ¶
func (*SubmitResponse) ProtoMessage()
func (*SubmitResponse) ProtoReflect ¶
func (x *SubmitResponse) ProtoReflect() protoreflect.Message
func (*SubmitResponse) Reset ¶
func (x *SubmitResponse) Reset()
func (*SubmitResponse) String ¶
func (x *SubmitResponse) String() string
type UnimplementedContractCallServer ¶
type UnimplementedContractCallServer struct { }
UnimplementedContractCallServer must be embedded to have forward compatible implementations.
func (UnimplementedContractCallServer) Submit ¶
func (UnimplementedContractCallServer) Submit(context.Context, *SubmitRequest) (*SubmitResponse, error)
type UnsafeContractCallServer ¶
type UnsafeContractCallServer interface {
// contains filtered or unexported methods
}
UnsafeContractCallServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ContractCallServer will result in compilation errors.
type ValSignature ¶
ValSignature is an auto generated low-level Go binding around an user-defined struct.