Documentation ¶
Index ¶
- Constants
- Variables
- type Contract
- type ContractBurntRewardStash
- type ContractBurntRewardStashIterator
- type ContractCaller
- func (_Contract *ContractCaller) BondedRatio(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) BondedTargetPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) BondedTargetRewardUnlock(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) BondedTargetStart(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) CalcDelegationEpochReward(opts *bind.CallOpts, stakerID *big.Int, epoch *big.Int, ...) (*big.Int, error)
- func (_Contract *ContractCaller) CalcDelegationRewards(opts *bind.CallOpts, delegator common.Address, _fromEpoch *big.Int, ...) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractCaller) CalcRawValidatorEpochReward(opts *bind.CallOpts, stakerID *big.Int, epoch *big.Int) (*big.Int, error)
- func (_Contract *ContractCaller) CalcValidatorEpochReward(opts *bind.CallOpts, stakerID *big.Int, epoch *big.Int, commission *big.Int) (*big.Int, error)
- func (_Contract *ContractCaller) CalcValidatorRewards(opts *bind.CallOpts, stakerID *big.Int, _fromEpoch *big.Int, ...) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractCaller) ContractCommission(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) CurrentEpoch(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) CurrentSealedEpoch(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) DelegationLockPeriodEpochs(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) DelegationLockPeriodTime(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) Delegations(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_Contract *ContractCaller) DelegationsNum(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) DelegationsTotalAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) EpochSnapshots(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCaller) EpochValidator(opts *bind.CallOpts, e *big.Int, v *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCaller) GetStakerID(opts *bind.CallOpts, addr common.Address) (*big.Int, error)
- func (_Contract *ContractCaller) IsOwner(opts *bind.CallOpts) (bool, error)
- func (_Contract *ContractCaller) MaxDelegatedRatio(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MaxStakerMetadataSize(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MinDelegation(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MinDelegationDecrease(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MinDelegationIncrease(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MinStake(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MinStakeDecrease(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) MinStakeIncrease(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Contract *ContractCaller) RewardsAllowed(opts *bind.CallOpts) (bool, error)
- func (_Contract *ContractCaller) RewardsBurnableOnDeactivation(opts *bind.CallOpts, isDelegation bool, stakerID *big.Int) (bool, error)
- func (_Contract *ContractCaller) RewardsStash(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_Contract *ContractCaller) SfcAddressToStakerID(opts *bind.CallOpts, sfcAddress common.Address) (*big.Int, error)
- func (_Contract *ContractCaller) SlashedDelegationsTotalAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) SlashedStakeTotalAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) StakeLockPeriodEpochs(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) StakeLockPeriodTime(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) StakeTotalAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) StakerMetadata(opts *bind.CallOpts, arg0 *big.Int) ([]byte, error)
- func (_Contract *ContractCaller) Stakers(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCaller) StakersLastID(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) StakersNum(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) UnbondingStartDate(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) UnbondingUnlockPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) ValidatorCommission(opts *bind.CallOpts) (*big.Int, error)
- func (_Contract *ContractCaller) WithdrawalRequests(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- type ContractCallerRaw
- type ContractCallerSession
- func (_Contract *ContractCallerSession) BondedRatio() (*big.Int, error)
- func (_Contract *ContractCallerSession) BondedTargetPeriod() (*big.Int, error)
- func (_Contract *ContractCallerSession) BondedTargetRewardUnlock() (*big.Int, error)
- func (_Contract *ContractCallerSession) BondedTargetStart() (*big.Int, error)
- func (_Contract *ContractCallerSession) CalcDelegationEpochReward(stakerID *big.Int, epoch *big.Int, delegationAmount *big.Int, ...) (*big.Int, error)
- func (_Contract *ContractCallerSession) CalcDelegationRewards(delegator common.Address, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractCallerSession) CalcRawValidatorEpochReward(stakerID *big.Int, epoch *big.Int) (*big.Int, error)
- func (_Contract *ContractCallerSession) CalcValidatorEpochReward(stakerID *big.Int, epoch *big.Int, commission *big.Int) (*big.Int, error)
- func (_Contract *ContractCallerSession) CalcValidatorRewards(stakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractCallerSession) ContractCommission() (*big.Int, error)
- func (_Contract *ContractCallerSession) CurrentEpoch() (*big.Int, error)
- func (_Contract *ContractCallerSession) CurrentSealedEpoch() (*big.Int, error)
- func (_Contract *ContractCallerSession) DelegationLockPeriodEpochs() (*big.Int, error)
- func (_Contract *ContractCallerSession) DelegationLockPeriodTime() (*big.Int, error)
- func (_Contract *ContractCallerSession) Delegations(arg0 common.Address) (struct{ ... }, error)
- func (_Contract *ContractCallerSession) DelegationsNum() (*big.Int, error)
- func (_Contract *ContractCallerSession) DelegationsTotalAmount() (*big.Int, error)
- func (_Contract *ContractCallerSession) EpochSnapshots(arg0 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCallerSession) EpochValidator(e *big.Int, v *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCallerSession) GetStakerID(addr common.Address) (*big.Int, error)
- func (_Contract *ContractCallerSession) IsOwner() (bool, error)
- func (_Contract *ContractCallerSession) MaxDelegatedRatio() (*big.Int, error)
- func (_Contract *ContractCallerSession) MaxStakerMetadataSize() (*big.Int, error)
- func (_Contract *ContractCallerSession) MinDelegation() (*big.Int, error)
- func (_Contract *ContractCallerSession) MinDelegationDecrease() (*big.Int, error)
- func (_Contract *ContractCallerSession) MinDelegationIncrease() (*big.Int, error)
- func (_Contract *ContractCallerSession) MinStake() (*big.Int, error)
- func (_Contract *ContractCallerSession) MinStakeDecrease() (*big.Int, error)
- func (_Contract *ContractCallerSession) MinStakeIncrease() (*big.Int, error)
- func (_Contract *ContractCallerSession) Owner() (common.Address, error)
- func (_Contract *ContractCallerSession) RewardsAllowed() (bool, error)
- func (_Contract *ContractCallerSession) RewardsBurnableOnDeactivation(isDelegation bool, stakerID *big.Int) (bool, error)
- func (_Contract *ContractCallerSession) RewardsStash(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_Contract *ContractCallerSession) SfcAddressToStakerID(sfcAddress common.Address) (*big.Int, error)
- func (_Contract *ContractCallerSession) SlashedDelegationsTotalAmount() (*big.Int, error)
- func (_Contract *ContractCallerSession) SlashedStakeTotalAmount() (*big.Int, error)
- func (_Contract *ContractCallerSession) StakeLockPeriodEpochs() (*big.Int, error)
- func (_Contract *ContractCallerSession) StakeLockPeriodTime() (*big.Int, error)
- func (_Contract *ContractCallerSession) StakeTotalAmount() (*big.Int, error)
- func (_Contract *ContractCallerSession) StakerMetadata(arg0 *big.Int) ([]byte, error)
- func (_Contract *ContractCallerSession) Stakers(arg0 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractCallerSession) StakersLastID() (*big.Int, error)
- func (_Contract *ContractCallerSession) StakersNum() (*big.Int, error)
- func (_Contract *ContractCallerSession) UnbondingStartDate() (*big.Int, error)
- func (_Contract *ContractCallerSession) UnbondingUnlockPeriod() (*big.Int, error)
- func (_Contract *ContractCallerSession) ValidatorCommission() (*big.Int, error)
- func (_Contract *ContractCallerSession) WithdrawalRequests(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- type ContractClaimedDelegationReward
- type ContractClaimedDelegationRewardIterator
- type ContractClaimedValidatorReward
- type ContractClaimedValidatorRewardIterator
- type ContractCreatedDelegation
- type ContractCreatedDelegationIterator
- type ContractCreatedStake
- type ContractCreatedStakeIterator
- type ContractCreatedWithdrawRequest
- type ContractCreatedWithdrawRequestIterator
- type ContractDeactivatedDelegation
- type ContractDeactivatedDelegationIterator
- type ContractDeactivatedStake
- type ContractDeactivatedStakeIterator
- type ContractFilterer
- func (_Contract *ContractFilterer) FilterBurntRewardStash(opts *bind.FilterOpts, addr []common.Address, stakerID []*big.Int) (*ContractBurntRewardStashIterator, error)
- func (_Contract *ContractFilterer) FilterClaimedDelegationReward(opts *bind.FilterOpts, from []common.Address, stakerID []*big.Int) (*ContractClaimedDelegationRewardIterator, error)
- func (_Contract *ContractFilterer) FilterClaimedValidatorReward(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractClaimedValidatorRewardIterator, error)
- func (_Contract *ContractFilterer) FilterCreatedDelegation(opts *bind.FilterOpts, delegator []common.Address, toStakerID []*big.Int) (*ContractCreatedDelegationIterator, error)
- func (_Contract *ContractFilterer) FilterCreatedStake(opts *bind.FilterOpts, stakerID []*big.Int, dagSfcAddress []common.Address) (*ContractCreatedStakeIterator, error)
- func (_Contract *ContractFilterer) FilterCreatedWithdrawRequest(opts *bind.FilterOpts, auth []common.Address, receiver []common.Address, ...) (*ContractCreatedWithdrawRequestIterator, error)
- func (_Contract *ContractFilterer) FilterDeactivatedDelegation(opts *bind.FilterOpts, delegator []common.Address, stakerID []*big.Int) (*ContractDeactivatedDelegationIterator, error)
- func (_Contract *ContractFilterer) FilterDeactivatedStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractDeactivatedStakeIterator, error)
- func (_Contract *ContractFilterer) FilterIncreasedDelegation(opts *bind.FilterOpts, delegator []common.Address, stakerID []*big.Int) (*ContractIncreasedDelegationIterator, error)
- func (_Contract *ContractFilterer) FilterIncreasedStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractIncreasedStakeIterator, error)
- func (_Contract *ContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ContractOwnershipTransferredIterator, error)
- func (_Contract *ContractFilterer) FilterPartialWithdrawnByRequest(opts *bind.FilterOpts, auth []common.Address, receiver []common.Address, ...) (*ContractPartialWithdrawnByRequestIterator, error)
- func (_Contract *ContractFilterer) FilterPreparedToWithdrawDelegation(opts *bind.FilterOpts, delegator []common.Address, stakerID []*big.Int) (*ContractPreparedToWithdrawDelegationIterator, error)
- func (_Contract *ContractFilterer) FilterPreparedToWithdrawStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractPreparedToWithdrawStakeIterator, error)
- func (_Contract *ContractFilterer) FilterUnstashedRewards(opts *bind.FilterOpts, auth []common.Address, receiver []common.Address) (*ContractUnstashedRewardsIterator, error)
- func (_Contract *ContractFilterer) FilterUpdatedBaseRewardPerSec(opts *bind.FilterOpts) (*ContractUpdatedBaseRewardPerSecIterator, error)
- func (_Contract *ContractFilterer) FilterUpdatedDelegation(opts *bind.FilterOpts, delegator []common.Address, oldStakerID []*big.Int, ...) (*ContractUpdatedDelegationIterator, error)
- func (_Contract *ContractFilterer) FilterUpdatedGasPowerAllocationRate(opts *bind.FilterOpts) (*ContractUpdatedGasPowerAllocationRateIterator, error)
- func (_Contract *ContractFilterer) FilterUpdatedStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractUpdatedStakeIterator, error)
- func (_Contract *ContractFilterer) FilterUpdatedStakerMetadata(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractUpdatedStakerMetadataIterator, error)
- func (_Contract *ContractFilterer) FilterUpdatedStakerSfcAddress(opts *bind.FilterOpts, stakerID []*big.Int, oldSfcAddress []common.Address, ...) (*ContractUpdatedStakerSfcAddressIterator, error)
- func (_Contract *ContractFilterer) FilterWithdrawnDelegation(opts *bind.FilterOpts, delegator []common.Address, stakerID []*big.Int) (*ContractWithdrawnDelegationIterator, error)
- func (_Contract *ContractFilterer) FilterWithdrawnStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractWithdrawnStakeIterator, error)
- func (_Contract *ContractFilterer) ParseBurntRewardStash(log types.Log) (*ContractBurntRewardStash, error)
- func (_Contract *ContractFilterer) ParseClaimedDelegationReward(log types.Log) (*ContractClaimedDelegationReward, error)
- func (_Contract *ContractFilterer) ParseClaimedValidatorReward(log types.Log) (*ContractClaimedValidatorReward, error)
- func (_Contract *ContractFilterer) ParseCreatedDelegation(log types.Log) (*ContractCreatedDelegation, error)
- func (_Contract *ContractFilterer) ParseCreatedStake(log types.Log) (*ContractCreatedStake, error)
- func (_Contract *ContractFilterer) ParseCreatedWithdrawRequest(log types.Log) (*ContractCreatedWithdrawRequest, error)
- func (_Contract *ContractFilterer) ParseDeactivatedDelegation(log types.Log) (*ContractDeactivatedDelegation, error)
- func (_Contract *ContractFilterer) ParseDeactivatedStake(log types.Log) (*ContractDeactivatedStake, error)
- func (_Contract *ContractFilterer) ParseIncreasedDelegation(log types.Log) (*ContractIncreasedDelegation, error)
- func (_Contract *ContractFilterer) ParseIncreasedStake(log types.Log) (*ContractIncreasedStake, error)
- func (_Contract *ContractFilterer) ParseOwnershipTransferred(log types.Log) (*ContractOwnershipTransferred, error)
- func (_Contract *ContractFilterer) ParsePartialWithdrawnByRequest(log types.Log) (*ContractPartialWithdrawnByRequest, error)
- func (_Contract *ContractFilterer) ParsePreparedToWithdrawDelegation(log types.Log) (*ContractPreparedToWithdrawDelegation, error)
- func (_Contract *ContractFilterer) ParsePreparedToWithdrawStake(log types.Log) (*ContractPreparedToWithdrawStake, error)
- func (_Contract *ContractFilterer) ParseUnstashedRewards(log types.Log) (*ContractUnstashedRewards, error)
- func (_Contract *ContractFilterer) ParseUpdatedBaseRewardPerSec(log types.Log) (*ContractUpdatedBaseRewardPerSec, error)
- func (_Contract *ContractFilterer) ParseUpdatedDelegation(log types.Log) (*ContractUpdatedDelegation, error)
- func (_Contract *ContractFilterer) ParseUpdatedGasPowerAllocationRate(log types.Log) (*ContractUpdatedGasPowerAllocationRate, error)
- func (_Contract *ContractFilterer) ParseUpdatedStake(log types.Log) (*ContractUpdatedStake, error)
- func (_Contract *ContractFilterer) ParseUpdatedStakerMetadata(log types.Log) (*ContractUpdatedStakerMetadata, error)
- func (_Contract *ContractFilterer) ParseUpdatedStakerSfcAddress(log types.Log) (*ContractUpdatedStakerSfcAddress, error)
- func (_Contract *ContractFilterer) ParseWithdrawnDelegation(log types.Log) (*ContractWithdrawnDelegation, error)
- func (_Contract *ContractFilterer) ParseWithdrawnStake(log types.Log) (*ContractWithdrawnStake, error)
- func (_Contract *ContractFilterer) WatchBurntRewardStash(opts *bind.WatchOpts, sink chan<- *ContractBurntRewardStash, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchClaimedDelegationReward(opts *bind.WatchOpts, sink chan<- *ContractClaimedDelegationReward, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchClaimedValidatorReward(opts *bind.WatchOpts, sink chan<- *ContractClaimedValidatorReward, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchCreatedDelegation(opts *bind.WatchOpts, sink chan<- *ContractCreatedDelegation, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchCreatedStake(opts *bind.WatchOpts, sink chan<- *ContractCreatedStake, stakerID []*big.Int, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchCreatedWithdrawRequest(opts *bind.WatchOpts, sink chan<- *ContractCreatedWithdrawRequest, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchDeactivatedDelegation(opts *bind.WatchOpts, sink chan<- *ContractDeactivatedDelegation, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchDeactivatedStake(opts *bind.WatchOpts, sink chan<- *ContractDeactivatedStake, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchIncreasedDelegation(opts *bind.WatchOpts, sink chan<- *ContractIncreasedDelegation, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchIncreasedStake(opts *bind.WatchOpts, sink chan<- *ContractIncreasedStake, stakerID []*big.Int) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractOwnershipTransferred, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchPartialWithdrawnByRequest(opts *bind.WatchOpts, sink chan<- *ContractPartialWithdrawnByRequest, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchPreparedToWithdrawDelegation(opts *bind.WatchOpts, sink chan<- *ContractPreparedToWithdrawDelegation, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchPreparedToWithdrawStake(opts *bind.WatchOpts, sink chan<- *ContractPreparedToWithdrawStake, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUnstashedRewards(opts *bind.WatchOpts, sink chan<- *ContractUnstashedRewards, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdatedBaseRewardPerSec(opts *bind.WatchOpts, sink chan<- *ContractUpdatedBaseRewardPerSec) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdatedDelegation(opts *bind.WatchOpts, sink chan<- *ContractUpdatedDelegation, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdatedGasPowerAllocationRate(opts *bind.WatchOpts, sink chan<- *ContractUpdatedGasPowerAllocationRate) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdatedStake(opts *bind.WatchOpts, sink chan<- *ContractUpdatedStake, stakerID []*big.Int) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdatedStakerMetadata(opts *bind.WatchOpts, sink chan<- *ContractUpdatedStakerMetadata, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchUpdatedStakerSfcAddress(opts *bind.WatchOpts, sink chan<- *ContractUpdatedStakerSfcAddress, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchWithdrawnDelegation(opts *bind.WatchOpts, sink chan<- *ContractWithdrawnDelegation, ...) (event.Subscription, error)
- func (_Contract *ContractFilterer) WatchWithdrawnStake(opts *bind.WatchOpts, sink chan<- *ContractWithdrawnStake, stakerID []*big.Int) (event.Subscription, error)
- type ContractIncreasedDelegation
- type ContractIncreasedDelegationIterator
- type ContractIncreasedStake
- type ContractIncreasedStakeIterator
- type ContractOwnershipTransferred
- type ContractOwnershipTransferredIterator
- type ContractPartialWithdrawnByRequest
- type ContractPartialWithdrawnByRequestIterator
- type ContractPreparedToWithdrawDelegation
- type ContractPreparedToWithdrawDelegationIterator
- type ContractPreparedToWithdrawStake
- type ContractPreparedToWithdrawStakeIterator
- type ContractRaw
- func (_Contract *ContractRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Contract *ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Contract *ContractRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContractSession
- func (_Contract *ContractSession) BondedRatio() (*big.Int, error)
- func (_Contract *ContractSession) BondedTargetPeriod() (*big.Int, error)
- func (_Contract *ContractSession) BondedTargetRewardUnlock() (*big.Int, error)
- func (_Contract *ContractSession) BondedTargetStart() (*big.Int, error)
- func (_Contract *ContractSession) CalcDelegationEpochReward(stakerID *big.Int, epoch *big.Int, delegationAmount *big.Int, ...) (*big.Int, error)
- func (_Contract *ContractSession) CalcDelegationRewards(delegator common.Address, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractSession) CalcRawValidatorEpochReward(stakerID *big.Int, epoch *big.Int) (*big.Int, error)
- func (_Contract *ContractSession) CalcValidatorEpochReward(stakerID *big.Int, epoch *big.Int, commission *big.Int) (*big.Int, error)
- func (_Contract *ContractSession) CalcValidatorRewards(stakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
- func (_Contract *ContractSession) ClaimDelegationRewards(maxEpochs *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) ClaimValidatorRewards(maxEpochs *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) ContractCommission() (*big.Int, error)
- func (_Contract *ContractSession) CreateDelegation(to *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) CreateStake(metadata []byte) (*types.Transaction, error)
- func (_Contract *ContractSession) CreateStakeWithAddresses(dagAdrress common.Address, sfcAddress common.Address, metadata []byte) (*types.Transaction, error)
- func (_Contract *ContractSession) CurrentEpoch() (*big.Int, error)
- func (_Contract *ContractSession) CurrentSealedEpoch() (*big.Int, error)
- func (_Contract *ContractSession) DelegationLockPeriodEpochs() (*big.Int, error)
- func (_Contract *ContractSession) DelegationLockPeriodTime() (*big.Int, error)
- func (_Contract *ContractSession) Delegations(arg0 common.Address) (struct{ ... }, error)
- func (_Contract *ContractSession) DelegationsNum() (*big.Int, error)
- func (_Contract *ContractSession) DelegationsTotalAmount() (*big.Int, error)
- func (_Contract *ContractSession) EpochSnapshots(arg0 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractSession) EpochValidator(e *big.Int, v *big.Int) (struct{ ... }, error)
- func (_Contract *ContractSession) GetStakerID(addr common.Address) (*big.Int, error)
- func (_Contract *ContractSession) IncreaseDelegation() (*types.Transaction, error)
- func (_Contract *ContractSession) IncreaseStake() (*types.Transaction, error)
- func (_Contract *ContractSession) IsOwner() (bool, error)
- func (_Contract *ContractSession) MaxDelegatedRatio() (*big.Int, error)
- func (_Contract *ContractSession) MaxStakerMetadataSize() (*big.Int, error)
- func (_Contract *ContractSession) MinDelegation() (*big.Int, error)
- func (_Contract *ContractSession) MinDelegationDecrease() (*big.Int, error)
- func (_Contract *ContractSession) MinDelegationIncrease() (*big.Int, error)
- func (_Contract *ContractSession) MinStake() (*big.Int, error)
- func (_Contract *ContractSession) MinStakeDecrease() (*big.Int, error)
- func (_Contract *ContractSession) MinStakeIncrease() (*big.Int, error)
- func (_Contract *ContractSession) Owner() (common.Address, error)
- func (_Contract *ContractSession) PartialWithdrawByRequest(wrID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) PrepareToWithdrawDelegation() (*types.Transaction, error)
- func (_Contract *ContractSession) PrepareToWithdrawDelegationPartial(wrID *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) PrepareToWithdrawStake() (*types.Transaction, error)
- func (_Contract *ContractSession) PrepareToWithdrawStakePartial(wrID *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) RenounceOwnership() (*types.Transaction, error)
- func (_Contract *ContractSession) RewardsAllowed() (bool, error)
- func (_Contract *ContractSession) RewardsBurnableOnDeactivation(isDelegation bool, stakerID *big.Int) (bool, error)
- func (_Contract *ContractSession) RewardsStash(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
- func (_Contract *ContractSession) SfcAddressToStakerID(sfcAddress common.Address) (*big.Int, error)
- func (_Contract *ContractSession) SlashedDelegationsTotalAmount() (*big.Int, error)
- func (_Contract *ContractSession) SlashedStakeTotalAmount() (*big.Int, error)
- func (_Contract *ContractSession) StakeLockPeriodEpochs() (*big.Int, error)
- func (_Contract *ContractSession) StakeLockPeriodTime() (*big.Int, error)
- func (_Contract *ContractSession) StakeTotalAmount() (*big.Int, error)
- func (_Contract *ContractSession) StakerMetadata(arg0 *big.Int) ([]byte, error)
- func (_Contract *ContractSession) Stakers(arg0 *big.Int) (struct{ ... }, error)
- func (_Contract *ContractSession) StakersLastID() (*big.Int, error)
- func (_Contract *ContractSession) StakersNum() (*big.Int, error)
- func (_Contract *ContractSession) SyncDelegator(delegator common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) SyncStaker(stakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) UnbondingStartDate() (*big.Int, error)
- func (_Contract *ContractSession) UnbondingUnlockPeriod() (*big.Int, error)
- func (_Contract *ContractSession) UnstashRewards() (*types.Transaction, error)
- func (_Contract *ContractSession) UpdateBaseRewardPerSec(value *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) UpdateGasPowerAllocationRate(short *big.Int, long *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) UpdateStakerMetadata(metadata []byte) (*types.Transaction, error)
- func (_Contract *ContractSession) UpdateStakerSfcAddress(newSfcAddress common.Address) (*types.Transaction, error)
- func (_Contract *ContractSession) UpgradeStakerStorage(stakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractSession) ValidatorCommission() (*big.Int, error)
- func (_Contract *ContractSession) WithdrawDelegation() (*types.Transaction, error)
- func (_Contract *ContractSession) WithdrawStake() (*types.Transaction, error)
- func (_Contract *ContractSession) WithdrawalRequests(arg0 common.Address, arg1 *big.Int) (struct{ ... }, error)
- type ContractTransactor
- func (_Contract *ContractTransactor) ClaimDelegationRewards(opts *bind.TransactOpts, maxEpochs *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) ClaimValidatorRewards(opts *bind.TransactOpts, maxEpochs *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) CreateDelegation(opts *bind.TransactOpts, to *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) CreateStake(opts *bind.TransactOpts, metadata []byte) (*types.Transaction, error)
- func (_Contract *ContractTransactor) CreateStakeWithAddresses(opts *bind.TransactOpts, dagAdrress common.Address, sfcAddress common.Address, ...) (*types.Transaction, error)
- func (_Contract *ContractTransactor) IncreaseDelegation(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) IncreaseStake(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) PartialWithdrawByRequest(opts *bind.TransactOpts, wrID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) PrepareToWithdrawDelegation(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) PrepareToWithdrawDelegationPartial(opts *bind.TransactOpts, wrID *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) PrepareToWithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) PrepareToWithdrawStakePartial(opts *bind.TransactOpts, wrID *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SyncDelegator(opts *bind.TransactOpts, delegator common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) SyncStaker(opts *bind.TransactOpts, stakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UnstashRewards(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UpdateBaseRewardPerSec(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UpdateGasPowerAllocationRate(opts *bind.TransactOpts, short *big.Int, long *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UpdateStakerMetadata(opts *bind.TransactOpts, metadata []byte) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UpdateStakerSfcAddress(opts *bind.TransactOpts, newSfcAddress common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactor) UpgradeStakerStorage(opts *bind.TransactOpts, stakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactor) WithdrawDelegation(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Contract *ContractTransactor) WithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)
- type ContractTransactorRaw
- type ContractTransactorSession
- func (_Contract *ContractTransactorSession) ClaimDelegationRewards(maxEpochs *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) ClaimValidatorRewards(maxEpochs *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) CreateDelegation(to *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) CreateStake(metadata []byte) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) CreateStakeWithAddresses(dagAdrress common.Address, sfcAddress common.Address, metadata []byte) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) IncreaseDelegation() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) IncreaseStake() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) PartialWithdrawByRequest(wrID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) PrepareToWithdrawDelegation() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) PrepareToWithdrawDelegationPartial(wrID *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) PrepareToWithdrawStake() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) PrepareToWithdrawStakePartial(wrID *big.Int, amount *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) RenounceOwnership() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SyncDelegator(delegator common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) SyncStaker(stakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UnstashRewards() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UpdateBaseRewardPerSec(value *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UpdateGasPowerAllocationRate(short *big.Int, long *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UpdateStakerMetadata(metadata []byte) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UpdateStakerSfcAddress(newSfcAddress common.Address) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) UpgradeStakerStorage(stakerID *big.Int) (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) WithdrawDelegation() (*types.Transaction, error)
- func (_Contract *ContractTransactorSession) WithdrawStake() (*types.Transaction, error)
- type ContractUnstashedRewards
- type ContractUnstashedRewardsIterator
- type ContractUpdatedBaseRewardPerSec
- type ContractUpdatedBaseRewardPerSecIterator
- type ContractUpdatedDelegation
- type ContractUpdatedDelegationIterator
- type ContractUpdatedGasPowerAllocationRate
- type ContractUpdatedGasPowerAllocationRateIterator
- type ContractUpdatedStake
- type ContractUpdatedStakeIterator
- type ContractUpdatedStakerMetadata
- type ContractUpdatedStakerMetadataIterator
- type ContractUpdatedStakerSfcAddress
- type ContractUpdatedStakerSfcAddressIterator
- type ContractWithdrawnDelegation
- type ContractWithdrawnDelegationIterator
- type ContractWithdrawnStake
- type ContractWithdrawnStakeIterator
Constants ¶
const ContractABI = "" /* 28283-byte string literal not displayed */
ContractABI is the input ABI used to generate the binding from.
Variables ¶
var ContractBin = "" /* 42016-byte string literal not displayed */
ContractBin is the compiled bytecode used for deploying new contracts.
Functions ¶
This section is empty.
Types ¶
type Contract ¶
type Contract struct { ContractCaller // Read-only binding to the contract ContractTransactor // Write-only binding to the contract ContractFilterer // Log filterer for contract events }
Contract is an auto generated Go binding around an Ethereum contract.
func DeployContract ¶
func DeployContract(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Contract, error)
DeployContract deploys a new Ethereum contract, binding an instance of Contract to it.
func NewContract ¶
NewContract creates a new instance of Contract, bound to a specific deployed contract.
type ContractBurntRewardStash ¶
type ContractBurntRewardStash struct { Addr common.Address StakerID *big.Int IsDelegation bool Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractBurntRewardStash represents a BurntRewardStash event raised by the Contract contract.
type ContractBurntRewardStashIterator ¶
type ContractBurntRewardStashIterator struct { Event *ContractBurntRewardStash // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractBurntRewardStashIterator is returned from FilterBurntRewardStash and is used to iterate over the raw logs and unpacked data for BurntRewardStash events raised by the Contract contract.
func (*ContractBurntRewardStashIterator) Close ¶
func (it *ContractBurntRewardStashIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractBurntRewardStashIterator) Error ¶
func (it *ContractBurntRewardStashIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractBurntRewardStashIterator) Next ¶
func (it *ContractBurntRewardStashIterator) 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 ContractCaller ¶
type ContractCaller struct {
// contains filtered or unexported fields
}
ContractCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewContractCaller ¶
func NewContractCaller(address common.Address, caller bind.ContractCaller) (*ContractCaller, error)
NewContractCaller creates a new read-only instance of Contract, bound to a specific deployed contract.
func (*ContractCaller) BondedRatio ¶
BondedRatio is a free data retrieval call binding the contract method 0x041d97a3.
Solidity: function bondedRatio() view returns(uint256)
func (*ContractCaller) BondedTargetPeriod ¶
BondedTargetPeriod is a free data retrieval call binding the contract method 0x7b8c6b02.
Solidity: function bondedTargetPeriod() pure returns(uint256)
func (*ContractCaller) BondedTargetRewardUnlock ¶
BondedTargetRewardUnlock is a free data retrieval call binding the contract method 0x6a1cf400.
Solidity: function bondedTargetRewardUnlock() view returns(uint256)
func (*ContractCaller) BondedTargetStart ¶
BondedTargetStart is a free data retrieval call binding the contract method 0xce5aa000.
Solidity: function bondedTargetStart() pure returns(uint256)
func (*ContractCaller) CalcDelegationEpochReward ¶
func (_Contract *ContractCaller) CalcDelegationEpochReward(opts *bind.CallOpts, stakerID *big.Int, epoch *big.Int, delegationAmount *big.Int, commission *big.Int) (*big.Int, error)
CalcDelegationEpochReward is a free data retrieval call binding the contract method 0x6af49928.
Solidity: function _calcDelegationEpochReward(uint256 stakerID, uint256 epoch, uint256 delegationAmount, uint256 commission) view returns(uint256)
func (*ContractCaller) CalcDelegationRewards ¶
func (_Contract *ContractCaller) CalcDelegationRewards(opts *bind.CallOpts, delegator common.Address, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcDelegationRewards is a free data retrieval call binding the contract method 0xb6732f3d.
Solidity: function calcDelegationRewards(address delegator, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractCaller) CalcRawValidatorEpochReward ¶
func (_Contract *ContractCaller) CalcRawValidatorEpochReward(opts *bind.CallOpts, stakerID *big.Int, epoch *big.Int) (*big.Int, error)
CalcRawValidatorEpochReward is a free data retrieval call binding the contract method 0x6459cf86.
Solidity: function _calcRawValidatorEpochReward(uint256 stakerID, uint256 epoch) view returns(uint256)
func (*ContractCaller) CalcValidatorEpochReward ¶
func (_Contract *ContractCaller) CalcValidatorEpochReward(opts *bind.CallOpts, stakerID *big.Int, epoch *big.Int, commission *big.Int) (*big.Int, error)
CalcValidatorEpochReward is a free data retrieval call binding the contract method 0x53bbb754.
Solidity: function _calcValidatorEpochReward(uint256 stakerID, uint256 epoch, uint256 commission) view returns(uint256)
func (*ContractCaller) CalcValidatorRewards ¶
func (_Contract *ContractCaller) CalcValidatorRewards(opts *bind.CallOpts, stakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcValidatorRewards is a free data retrieval call binding the contract method 0x96060e71.
Solidity: function calcValidatorRewards(uint256 stakerID, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractCaller) ContractCommission ¶
ContractCommission is a free data retrieval call binding the contract method 0x2709275e.
Solidity: function contractCommission() pure returns(uint256)
func (*ContractCaller) CurrentEpoch ¶
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() view returns(uint256)
func (*ContractCaller) CurrentSealedEpoch ¶
CurrentSealedEpoch is a free data retrieval call binding the contract method 0x7cacb1d6.
Solidity: function currentSealedEpoch() view returns(uint256)
func (*ContractCaller) DelegationLockPeriodEpochs ¶
DelegationLockPeriodEpochs is a free data retrieval call binding the contract method 0x1d58179c.
Solidity: function delegationLockPeriodEpochs() pure returns(uint256)
func (*ContractCaller) DelegationLockPeriodTime ¶
DelegationLockPeriodTime is a free data retrieval call binding the contract method 0xec6a7f1c.
Solidity: function delegationLockPeriodTime() pure returns(uint256)
func (*ContractCaller) Delegations ¶
func (_Contract *ContractCaller) Delegations(opts *bind.CallOpts, arg0 common.Address) (struct { CreatedEpoch *big.Int CreatedTime *big.Int DeactivatedEpoch *big.Int DeactivatedTime *big.Int Amount *big.Int PaidUntilEpoch *big.Int ToStakerID *big.Int }, error)
Delegations is a free data retrieval call binding the contract method 0xbffe3486.
Solidity: function delegations(address ) view returns(uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 amount, uint256 paidUntilEpoch, uint256 toStakerID)
func (*ContractCaller) DelegationsNum ¶
DelegationsNum is a free data retrieval call binding the contract method 0x4bd202dc.
Solidity: function delegationsNum() view returns(uint256)
func (*ContractCaller) DelegationsTotalAmount ¶
DelegationsTotalAmount is a free data retrieval call binding the contract method 0x30fa9929.
Solidity: function delegationsTotalAmount() view returns(uint256)
func (*ContractCaller) EpochSnapshots ¶
func (_Contract *ContractCaller) EpochSnapshots(opts *bind.CallOpts, arg0 *big.Int) (struct { EndTime *big.Int Duration *big.Int EpochFee *big.Int TotalBaseRewardWeight *big.Int TotalTxRewardWeight *big.Int BaseRewardPerSecond *big.Int StakeTotalAmount *big.Int DelegationsTotalAmount *big.Int TotalSupply *big.Int }, error)
EpochSnapshots is a free data retrieval call binding the contract method 0x1e8a6956.
Solidity: function epochSnapshots(uint256 ) view returns(uint256 endTime, uint256 duration, uint256 epochFee, uint256 totalBaseRewardWeight, uint256 totalTxRewardWeight, uint256 baseRewardPerSecond, uint256 stakeTotalAmount, uint256 delegationsTotalAmount, uint256 totalSupply)
func (*ContractCaller) EpochValidator ¶
func (_Contract *ContractCaller) EpochValidator(opts *bind.CallOpts, e *big.Int, v *big.Int) (struct { StakeAmount *big.Int DelegatedMe *big.Int BaseRewardWeight *big.Int TxRewardWeight *big.Int }, error)
EpochValidator is a free data retrieval call binding the contract method 0xb9029d50.
Solidity: function epochValidator(uint256 e, uint256 v) view returns(uint256 stakeAmount, uint256 delegatedMe, uint256 baseRewardWeight, uint256 txRewardWeight)
func (*ContractCaller) GetStakerID ¶
func (_Contract *ContractCaller) GetStakerID(opts *bind.CallOpts, addr common.Address) (*big.Int, error)
GetStakerID is a free data retrieval call binding the contract method 0x63321e27.
Solidity: function getStakerID(address addr) view returns(uint256)
func (*ContractCaller) IsOwner ¶
func (_Contract *ContractCaller) IsOwner(opts *bind.CallOpts) (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
func (*ContractCaller) MaxDelegatedRatio ¶
MaxDelegatedRatio is a free data retrieval call binding the contract method 0x2265f284.
Solidity: function maxDelegatedRatio() pure returns(uint256)
func (*ContractCaller) MaxStakerMetadataSize ¶
MaxStakerMetadataSize is a free data retrieval call binding the contract method 0xab2273c0.
Solidity: function maxStakerMetadataSize() pure returns(uint256)
func (*ContractCaller) MinDelegation ¶
MinDelegation is a free data retrieval call binding the contract method 0x02985992.
Solidity: function minDelegation() pure returns(uint256)
func (*ContractCaller) MinDelegationDecrease ¶
MinDelegationDecrease is a free data retrieval call binding the contract method 0xcb1c4e67.
Solidity: function minDelegationDecrease() pure returns(uint256)
func (*ContractCaller) MinDelegationIncrease ¶
MinDelegationIncrease is a free data retrieval call binding the contract method 0x60c7e37f.
Solidity: function minDelegationIncrease() pure returns(uint256)
func (*ContractCaller) MinStake ¶
MinStake is a free data retrieval call binding the contract method 0x375b3c0a.
Solidity: function minStake() pure returns(uint256)
func (*ContractCaller) MinStakeDecrease ¶
MinStakeDecrease is a free data retrieval call binding the contract method 0x19ddb54f.
Solidity: function minStakeDecrease() pure returns(uint256)
func (*ContractCaller) MinStakeIncrease ¶
MinStakeIncrease is a free data retrieval call binding the contract method 0xc4b5dd7e.
Solidity: function minStakeIncrease() pure returns(uint256)
func (*ContractCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ContractCaller) RewardsAllowed ¶
func (_Contract *ContractCaller) RewardsAllowed(opts *bind.CallOpts) (bool, error)
RewardsAllowed is a free data retrieval call binding the contract method 0x8447c4df.
Solidity: function rewardsAllowed() view returns(bool)
func (*ContractCaller) RewardsBurnableOnDeactivation ¶
func (_Contract *ContractCaller) RewardsBurnableOnDeactivation(opts *bind.CallOpts, isDelegation bool, stakerID *big.Int) (bool, error)
RewardsBurnableOnDeactivation is a free data retrieval call binding the contract method 0xb1a3ebfa.
Solidity: function _rewardsBurnableOnDeactivation(bool isDelegation, uint256 stakerID) view returns(bool)
func (*ContractCaller) RewardsStash ¶
func (_Contract *ContractCaller) RewardsStash(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (*big.Int, error)
RewardsStash is a free data retrieval call binding the contract method 0x6f498663.
Solidity: function rewardsStash(address , uint256 ) view returns(uint256 amount)
func (*ContractCaller) SfcAddressToStakerID ¶
func (_Contract *ContractCaller) SfcAddressToStakerID(opts *bind.CallOpts, sfcAddress common.Address) (*big.Int, error)
SfcAddressToStakerID is a free data retrieval call binding the contract method 0xb42cb58d.
Solidity: function _sfcAddressToStakerID(address sfcAddress) view returns(uint256)
func (*ContractCaller) SlashedDelegationsTotalAmount ¶
func (_Contract *ContractCaller) SlashedDelegationsTotalAmount(opts *bind.CallOpts) (*big.Int, error)
SlashedDelegationsTotalAmount is a free data retrieval call binding the contract method 0xa70da4d2.
Solidity: function slashedDelegationsTotalAmount() view returns(uint256)
func (*ContractCaller) SlashedStakeTotalAmount ¶
SlashedStakeTotalAmount is a free data retrieval call binding the contract method 0x0a29180c.
Solidity: function slashedStakeTotalAmount() view returns(uint256)
func (*ContractCaller) StakeLockPeriodEpochs ¶
StakeLockPeriodEpochs is a free data retrieval call binding the contract method 0x54d77ed2.
Solidity: function stakeLockPeriodEpochs() pure returns(uint256)
func (*ContractCaller) StakeLockPeriodTime ¶
StakeLockPeriodTime is a free data retrieval call binding the contract method 0x3fee10a8.
Solidity: function stakeLockPeriodTime() pure returns(uint256)
func (*ContractCaller) StakeTotalAmount ¶
StakeTotalAmount is a free data retrieval call binding the contract method 0x3d0317fe.
Solidity: function stakeTotalAmount() view returns(uint256)
func (*ContractCaller) StakerMetadata ¶
StakerMetadata is a free data retrieval call binding the contract method 0x98ec2de5.
Solidity: function stakerMetadata(uint256 ) view returns(bytes)
func (*ContractCaller) Stakers ¶
func (_Contract *ContractCaller) Stakers(opts *bind.CallOpts, arg0 *big.Int) (struct { Status *big.Int CreatedEpoch *big.Int CreatedTime *big.Int DeactivatedEpoch *big.Int DeactivatedTime *big.Int StakeAmount *big.Int PaidUntilEpoch *big.Int DelegatedMe *big.Int DagAddress common.Address SfcAddress common.Address }, error)
Stakers is a free data retrieval call binding the contract method 0xfd5e6dd1.
Solidity: function stakers(uint256 ) view returns(uint256 status, uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 stakeAmount, uint256 paidUntilEpoch, uint256 delegatedMe, address dagAddress, address sfcAddress)
func (*ContractCaller) StakersLastID ¶
StakersLastID is a free data retrieval call binding the contract method 0x81d9dc7a.
Solidity: function stakersLastID() view returns(uint256)
func (*ContractCaller) StakersNum ¶
StakersNum is a free data retrieval call binding the contract method 0x08728f6e.
Solidity: function stakersNum() view returns(uint256)
func (*ContractCaller) UnbondingStartDate ¶
UnbondingStartDate is a free data retrieval call binding the contract method 0x53a72586.
Solidity: function unbondingStartDate() pure returns(uint256)
func (*ContractCaller) UnbondingUnlockPeriod ¶
UnbondingUnlockPeriod is a free data retrieval call binding the contract method 0x3a0af4d4.
Solidity: function unbondingUnlockPeriod() pure returns(uint256)
func (*ContractCaller) ValidatorCommission ¶
ValidatorCommission is a free data retrieval call binding the contract method 0xa7786515.
Solidity: function validatorCommission() pure returns(uint256)
func (*ContractCaller) WithdrawalRequests ¶
func (_Contract *ContractCaller) WithdrawalRequests(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (struct { StakerID *big.Int Epoch *big.Int Time *big.Int Amount *big.Int Delegation bool }, error)
WithdrawalRequests is a free data retrieval call binding the contract method 0x4e5a2328.
Solidity: function withdrawalRequests(address , uint256 ) view returns(uint256 stakerID, uint256 epoch, uint256 time, uint256 amount, bool delegation)
type ContractCallerRaw ¶
type ContractCallerRaw struct {
Contract *ContractCaller // Generic read-only contract binding to access the raw methods on
}
ContractCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ContractCallerRaw) Call ¶
func (_Contract *ContractCallerRaw) 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 ContractCallerSession ¶
type ContractCallerSession struct { Contract *ContractCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContractCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ContractCallerSession) BondedRatio ¶
func (_Contract *ContractCallerSession) BondedRatio() (*big.Int, error)
BondedRatio is a free data retrieval call binding the contract method 0x041d97a3.
Solidity: function bondedRatio() view returns(uint256)
func (*ContractCallerSession) BondedTargetPeriod ¶
func (_Contract *ContractCallerSession) BondedTargetPeriod() (*big.Int, error)
BondedTargetPeriod is a free data retrieval call binding the contract method 0x7b8c6b02.
Solidity: function bondedTargetPeriod() pure returns(uint256)
func (*ContractCallerSession) BondedTargetRewardUnlock ¶
func (_Contract *ContractCallerSession) BondedTargetRewardUnlock() (*big.Int, error)
BondedTargetRewardUnlock is a free data retrieval call binding the contract method 0x6a1cf400.
Solidity: function bondedTargetRewardUnlock() view returns(uint256)
func (*ContractCallerSession) BondedTargetStart ¶
func (_Contract *ContractCallerSession) BondedTargetStart() (*big.Int, error)
BondedTargetStart is a free data retrieval call binding the contract method 0xce5aa000.
Solidity: function bondedTargetStart() pure returns(uint256)
func (*ContractCallerSession) CalcDelegationEpochReward ¶
func (_Contract *ContractCallerSession) CalcDelegationEpochReward(stakerID *big.Int, epoch *big.Int, delegationAmount *big.Int, commission *big.Int) (*big.Int, error)
CalcDelegationEpochReward is a free data retrieval call binding the contract method 0x6af49928.
Solidity: function _calcDelegationEpochReward(uint256 stakerID, uint256 epoch, uint256 delegationAmount, uint256 commission) view returns(uint256)
func (*ContractCallerSession) CalcDelegationRewards ¶
func (_Contract *ContractCallerSession) CalcDelegationRewards(delegator common.Address, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcDelegationRewards is a free data retrieval call binding the contract method 0xb6732f3d.
Solidity: function calcDelegationRewards(address delegator, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractCallerSession) CalcRawValidatorEpochReward ¶
func (_Contract *ContractCallerSession) CalcRawValidatorEpochReward(stakerID *big.Int, epoch *big.Int) (*big.Int, error)
CalcRawValidatorEpochReward is a free data retrieval call binding the contract method 0x6459cf86.
Solidity: function _calcRawValidatorEpochReward(uint256 stakerID, uint256 epoch) view returns(uint256)
func (*ContractCallerSession) CalcValidatorEpochReward ¶
func (_Contract *ContractCallerSession) CalcValidatorEpochReward(stakerID *big.Int, epoch *big.Int, commission *big.Int) (*big.Int, error)
CalcValidatorEpochReward is a free data retrieval call binding the contract method 0x53bbb754.
Solidity: function _calcValidatorEpochReward(uint256 stakerID, uint256 epoch, uint256 commission) view returns(uint256)
func (*ContractCallerSession) CalcValidatorRewards ¶
func (_Contract *ContractCallerSession) CalcValidatorRewards(stakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcValidatorRewards is a free data retrieval call binding the contract method 0x96060e71.
Solidity: function calcValidatorRewards(uint256 stakerID, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractCallerSession) ContractCommission ¶
func (_Contract *ContractCallerSession) ContractCommission() (*big.Int, error)
ContractCommission is a free data retrieval call binding the contract method 0x2709275e.
Solidity: function contractCommission() pure returns(uint256)
func (*ContractCallerSession) CurrentEpoch ¶
func (_Contract *ContractCallerSession) CurrentEpoch() (*big.Int, error)
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() view returns(uint256)
func (*ContractCallerSession) CurrentSealedEpoch ¶
func (_Contract *ContractCallerSession) CurrentSealedEpoch() (*big.Int, error)
CurrentSealedEpoch is a free data retrieval call binding the contract method 0x7cacb1d6.
Solidity: function currentSealedEpoch() view returns(uint256)
func (*ContractCallerSession) DelegationLockPeriodEpochs ¶
func (_Contract *ContractCallerSession) DelegationLockPeriodEpochs() (*big.Int, error)
DelegationLockPeriodEpochs is a free data retrieval call binding the contract method 0x1d58179c.
Solidity: function delegationLockPeriodEpochs() pure returns(uint256)
func (*ContractCallerSession) DelegationLockPeriodTime ¶
func (_Contract *ContractCallerSession) DelegationLockPeriodTime() (*big.Int, error)
DelegationLockPeriodTime is a free data retrieval call binding the contract method 0xec6a7f1c.
Solidity: function delegationLockPeriodTime() pure returns(uint256)
func (*ContractCallerSession) Delegations ¶
func (_Contract *ContractCallerSession) Delegations(arg0 common.Address) (struct { CreatedEpoch *big.Int CreatedTime *big.Int DeactivatedEpoch *big.Int DeactivatedTime *big.Int Amount *big.Int PaidUntilEpoch *big.Int ToStakerID *big.Int }, error)
Delegations is a free data retrieval call binding the contract method 0xbffe3486.
Solidity: function delegations(address ) view returns(uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 amount, uint256 paidUntilEpoch, uint256 toStakerID)
func (*ContractCallerSession) DelegationsNum ¶
func (_Contract *ContractCallerSession) DelegationsNum() (*big.Int, error)
DelegationsNum is a free data retrieval call binding the contract method 0x4bd202dc.
Solidity: function delegationsNum() view returns(uint256)
func (*ContractCallerSession) DelegationsTotalAmount ¶
func (_Contract *ContractCallerSession) DelegationsTotalAmount() (*big.Int, error)
DelegationsTotalAmount is a free data retrieval call binding the contract method 0x30fa9929.
Solidity: function delegationsTotalAmount() view returns(uint256)
func (*ContractCallerSession) EpochSnapshots ¶
func (_Contract *ContractCallerSession) EpochSnapshots(arg0 *big.Int) (struct { EndTime *big.Int Duration *big.Int EpochFee *big.Int TotalBaseRewardWeight *big.Int TotalTxRewardWeight *big.Int BaseRewardPerSecond *big.Int StakeTotalAmount *big.Int DelegationsTotalAmount *big.Int TotalSupply *big.Int }, error)
EpochSnapshots is a free data retrieval call binding the contract method 0x1e8a6956.
Solidity: function epochSnapshots(uint256 ) view returns(uint256 endTime, uint256 duration, uint256 epochFee, uint256 totalBaseRewardWeight, uint256 totalTxRewardWeight, uint256 baseRewardPerSecond, uint256 stakeTotalAmount, uint256 delegationsTotalAmount, uint256 totalSupply)
func (*ContractCallerSession) EpochValidator ¶
func (_Contract *ContractCallerSession) EpochValidator(e *big.Int, v *big.Int) (struct { StakeAmount *big.Int DelegatedMe *big.Int BaseRewardWeight *big.Int TxRewardWeight *big.Int }, error)
EpochValidator is a free data retrieval call binding the contract method 0xb9029d50.
Solidity: function epochValidator(uint256 e, uint256 v) view returns(uint256 stakeAmount, uint256 delegatedMe, uint256 baseRewardWeight, uint256 txRewardWeight)
func (*ContractCallerSession) GetStakerID ¶
GetStakerID is a free data retrieval call binding the contract method 0x63321e27.
Solidity: function getStakerID(address addr) view returns(uint256)
func (*ContractCallerSession) IsOwner ¶
func (_Contract *ContractCallerSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
func (*ContractCallerSession) MaxDelegatedRatio ¶
func (_Contract *ContractCallerSession) MaxDelegatedRatio() (*big.Int, error)
MaxDelegatedRatio is a free data retrieval call binding the contract method 0x2265f284.
Solidity: function maxDelegatedRatio() pure returns(uint256)
func (*ContractCallerSession) MaxStakerMetadataSize ¶
func (_Contract *ContractCallerSession) MaxStakerMetadataSize() (*big.Int, error)
MaxStakerMetadataSize is a free data retrieval call binding the contract method 0xab2273c0.
Solidity: function maxStakerMetadataSize() pure returns(uint256)
func (*ContractCallerSession) MinDelegation ¶
func (_Contract *ContractCallerSession) MinDelegation() (*big.Int, error)
MinDelegation is a free data retrieval call binding the contract method 0x02985992.
Solidity: function minDelegation() pure returns(uint256)
func (*ContractCallerSession) MinDelegationDecrease ¶
func (_Contract *ContractCallerSession) MinDelegationDecrease() (*big.Int, error)
MinDelegationDecrease is a free data retrieval call binding the contract method 0xcb1c4e67.
Solidity: function minDelegationDecrease() pure returns(uint256)
func (*ContractCallerSession) MinDelegationIncrease ¶
func (_Contract *ContractCallerSession) MinDelegationIncrease() (*big.Int, error)
MinDelegationIncrease is a free data retrieval call binding the contract method 0x60c7e37f.
Solidity: function minDelegationIncrease() pure returns(uint256)
func (*ContractCallerSession) MinStake ¶
func (_Contract *ContractCallerSession) MinStake() (*big.Int, error)
MinStake is a free data retrieval call binding the contract method 0x375b3c0a.
Solidity: function minStake() pure returns(uint256)
func (*ContractCallerSession) MinStakeDecrease ¶
func (_Contract *ContractCallerSession) MinStakeDecrease() (*big.Int, error)
MinStakeDecrease is a free data retrieval call binding the contract method 0x19ddb54f.
Solidity: function minStakeDecrease() pure returns(uint256)
func (*ContractCallerSession) MinStakeIncrease ¶
func (_Contract *ContractCallerSession) MinStakeIncrease() (*big.Int, error)
MinStakeIncrease is a free data retrieval call binding the contract method 0xc4b5dd7e.
Solidity: function minStakeIncrease() pure returns(uint256)
func (*ContractCallerSession) Owner ¶
func (_Contract *ContractCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ContractCallerSession) RewardsAllowed ¶
func (_Contract *ContractCallerSession) RewardsAllowed() (bool, error)
RewardsAllowed is a free data retrieval call binding the contract method 0x8447c4df.
Solidity: function rewardsAllowed() view returns(bool)
func (*ContractCallerSession) RewardsBurnableOnDeactivation ¶
func (_Contract *ContractCallerSession) RewardsBurnableOnDeactivation(isDelegation bool, stakerID *big.Int) (bool, error)
RewardsBurnableOnDeactivation is a free data retrieval call binding the contract method 0xb1a3ebfa.
Solidity: function _rewardsBurnableOnDeactivation(bool isDelegation, uint256 stakerID) view returns(bool)
func (*ContractCallerSession) RewardsStash ¶
func (_Contract *ContractCallerSession) RewardsStash(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
RewardsStash is a free data retrieval call binding the contract method 0x6f498663.
Solidity: function rewardsStash(address , uint256 ) view returns(uint256 amount)
func (*ContractCallerSession) SfcAddressToStakerID ¶
func (_Contract *ContractCallerSession) SfcAddressToStakerID(sfcAddress common.Address) (*big.Int, error)
SfcAddressToStakerID is a free data retrieval call binding the contract method 0xb42cb58d.
Solidity: function _sfcAddressToStakerID(address sfcAddress) view returns(uint256)
func (*ContractCallerSession) SlashedDelegationsTotalAmount ¶
func (_Contract *ContractCallerSession) SlashedDelegationsTotalAmount() (*big.Int, error)
SlashedDelegationsTotalAmount is a free data retrieval call binding the contract method 0xa70da4d2.
Solidity: function slashedDelegationsTotalAmount() view returns(uint256)
func (*ContractCallerSession) SlashedStakeTotalAmount ¶
func (_Contract *ContractCallerSession) SlashedStakeTotalAmount() (*big.Int, error)
SlashedStakeTotalAmount is a free data retrieval call binding the contract method 0x0a29180c.
Solidity: function slashedStakeTotalAmount() view returns(uint256)
func (*ContractCallerSession) StakeLockPeriodEpochs ¶
func (_Contract *ContractCallerSession) StakeLockPeriodEpochs() (*big.Int, error)
StakeLockPeriodEpochs is a free data retrieval call binding the contract method 0x54d77ed2.
Solidity: function stakeLockPeriodEpochs() pure returns(uint256)
func (*ContractCallerSession) StakeLockPeriodTime ¶
func (_Contract *ContractCallerSession) StakeLockPeriodTime() (*big.Int, error)
StakeLockPeriodTime is a free data retrieval call binding the contract method 0x3fee10a8.
Solidity: function stakeLockPeriodTime() pure returns(uint256)
func (*ContractCallerSession) StakeTotalAmount ¶
func (_Contract *ContractCallerSession) StakeTotalAmount() (*big.Int, error)
StakeTotalAmount is a free data retrieval call binding the contract method 0x3d0317fe.
Solidity: function stakeTotalAmount() view returns(uint256)
func (*ContractCallerSession) StakerMetadata ¶
func (_Contract *ContractCallerSession) StakerMetadata(arg0 *big.Int) ([]byte, error)
StakerMetadata is a free data retrieval call binding the contract method 0x98ec2de5.
Solidity: function stakerMetadata(uint256 ) view returns(bytes)
func (*ContractCallerSession) Stakers ¶
func (_Contract *ContractCallerSession) Stakers(arg0 *big.Int) (struct { Status *big.Int CreatedEpoch *big.Int CreatedTime *big.Int DeactivatedEpoch *big.Int DeactivatedTime *big.Int StakeAmount *big.Int PaidUntilEpoch *big.Int DelegatedMe *big.Int DagAddress common.Address SfcAddress common.Address }, error)
Stakers is a free data retrieval call binding the contract method 0xfd5e6dd1.
Solidity: function stakers(uint256 ) view returns(uint256 status, uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 stakeAmount, uint256 paidUntilEpoch, uint256 delegatedMe, address dagAddress, address sfcAddress)
func (*ContractCallerSession) StakersLastID ¶
func (_Contract *ContractCallerSession) StakersLastID() (*big.Int, error)
StakersLastID is a free data retrieval call binding the contract method 0x81d9dc7a.
Solidity: function stakersLastID() view returns(uint256)
func (*ContractCallerSession) StakersNum ¶
func (_Contract *ContractCallerSession) StakersNum() (*big.Int, error)
StakersNum is a free data retrieval call binding the contract method 0x08728f6e.
Solidity: function stakersNum() view returns(uint256)
func (*ContractCallerSession) UnbondingStartDate ¶
func (_Contract *ContractCallerSession) UnbondingStartDate() (*big.Int, error)
UnbondingStartDate is a free data retrieval call binding the contract method 0x53a72586.
Solidity: function unbondingStartDate() pure returns(uint256)
func (*ContractCallerSession) UnbondingUnlockPeriod ¶
func (_Contract *ContractCallerSession) UnbondingUnlockPeriod() (*big.Int, error)
UnbondingUnlockPeriod is a free data retrieval call binding the contract method 0x3a0af4d4.
Solidity: function unbondingUnlockPeriod() pure returns(uint256)
func (*ContractCallerSession) ValidatorCommission ¶
func (_Contract *ContractCallerSession) ValidatorCommission() (*big.Int, error)
ValidatorCommission is a free data retrieval call binding the contract method 0xa7786515.
Solidity: function validatorCommission() pure returns(uint256)
func (*ContractCallerSession) WithdrawalRequests ¶
func (_Contract *ContractCallerSession) WithdrawalRequests(arg0 common.Address, arg1 *big.Int) (struct { StakerID *big.Int Epoch *big.Int Time *big.Int Amount *big.Int Delegation bool }, error)
WithdrawalRequests is a free data retrieval call binding the contract method 0x4e5a2328.
Solidity: function withdrawalRequests(address , uint256 ) view returns(uint256 stakerID, uint256 epoch, uint256 time, uint256 amount, bool delegation)
type ContractClaimedDelegationReward ¶
type ContractClaimedDelegationReward struct { From common.Address StakerID *big.Int Reward *big.Int FromEpoch *big.Int UntilEpoch *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractClaimedDelegationReward represents a ClaimedDelegationReward event raised by the Contract contract.
type ContractClaimedDelegationRewardIterator ¶
type ContractClaimedDelegationRewardIterator struct { Event *ContractClaimedDelegationReward // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractClaimedDelegationRewardIterator is returned from FilterClaimedDelegationReward and is used to iterate over the raw logs and unpacked data for ClaimedDelegationReward events raised by the Contract contract.
func (*ContractClaimedDelegationRewardIterator) Close ¶
func (it *ContractClaimedDelegationRewardIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractClaimedDelegationRewardIterator) Error ¶
func (it *ContractClaimedDelegationRewardIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractClaimedDelegationRewardIterator) Next ¶
func (it *ContractClaimedDelegationRewardIterator) 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 ContractClaimedValidatorReward ¶
type ContractClaimedValidatorReward struct { StakerID *big.Int Reward *big.Int FromEpoch *big.Int UntilEpoch *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractClaimedValidatorReward represents a ClaimedValidatorReward event raised by the Contract contract.
type ContractClaimedValidatorRewardIterator ¶
type ContractClaimedValidatorRewardIterator struct { Event *ContractClaimedValidatorReward // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractClaimedValidatorRewardIterator is returned from FilterClaimedValidatorReward and is used to iterate over the raw logs and unpacked data for ClaimedValidatorReward events raised by the Contract contract.
func (*ContractClaimedValidatorRewardIterator) Close ¶
func (it *ContractClaimedValidatorRewardIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractClaimedValidatorRewardIterator) Error ¶
func (it *ContractClaimedValidatorRewardIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractClaimedValidatorRewardIterator) Next ¶
func (it *ContractClaimedValidatorRewardIterator) 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 ContractCreatedDelegation ¶
type ContractCreatedDelegation struct { Delegator common.Address ToStakerID *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractCreatedDelegation represents a CreatedDelegation event raised by the Contract contract.
type ContractCreatedDelegationIterator ¶
type ContractCreatedDelegationIterator struct { Event *ContractCreatedDelegation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractCreatedDelegationIterator is returned from FilterCreatedDelegation and is used to iterate over the raw logs and unpacked data for CreatedDelegation events raised by the Contract contract.
func (*ContractCreatedDelegationIterator) Close ¶
func (it *ContractCreatedDelegationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractCreatedDelegationIterator) Error ¶
func (it *ContractCreatedDelegationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractCreatedDelegationIterator) Next ¶
func (it *ContractCreatedDelegationIterator) 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 ContractCreatedStake ¶
type ContractCreatedStake struct { StakerID *big.Int DagSfcAddress common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractCreatedStake represents a CreatedStake event raised by the Contract contract.
type ContractCreatedStakeIterator ¶
type ContractCreatedStakeIterator struct { Event *ContractCreatedStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractCreatedStakeIterator is returned from FilterCreatedStake and is used to iterate over the raw logs and unpacked data for CreatedStake events raised by the Contract contract.
func (*ContractCreatedStakeIterator) Close ¶
func (it *ContractCreatedStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractCreatedStakeIterator) Error ¶
func (it *ContractCreatedStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractCreatedStakeIterator) Next ¶
func (it *ContractCreatedStakeIterator) 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 ContractCreatedWithdrawRequest ¶
type ContractCreatedWithdrawRequest struct { Auth common.Address Receiver common.Address StakerID *big.Int WrID *big.Int Delegation bool Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractCreatedWithdrawRequest represents a CreatedWithdrawRequest event raised by the Contract contract.
type ContractCreatedWithdrawRequestIterator ¶
type ContractCreatedWithdrawRequestIterator struct { Event *ContractCreatedWithdrawRequest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractCreatedWithdrawRequestIterator is returned from FilterCreatedWithdrawRequest and is used to iterate over the raw logs and unpacked data for CreatedWithdrawRequest events raised by the Contract contract.
func (*ContractCreatedWithdrawRequestIterator) Close ¶
func (it *ContractCreatedWithdrawRequestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractCreatedWithdrawRequestIterator) Error ¶
func (it *ContractCreatedWithdrawRequestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractCreatedWithdrawRequestIterator) Next ¶
func (it *ContractCreatedWithdrawRequestIterator) 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 ContractDeactivatedDelegation ¶
type ContractDeactivatedDelegation struct { Delegator common.Address StakerID *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractDeactivatedDelegation represents a DeactivatedDelegation event raised by the Contract contract.
type ContractDeactivatedDelegationIterator ¶
type ContractDeactivatedDelegationIterator struct { Event *ContractDeactivatedDelegation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractDeactivatedDelegationIterator is returned from FilterDeactivatedDelegation and is used to iterate over the raw logs and unpacked data for DeactivatedDelegation events raised by the Contract contract.
func (*ContractDeactivatedDelegationIterator) Close ¶
func (it *ContractDeactivatedDelegationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractDeactivatedDelegationIterator) Error ¶
func (it *ContractDeactivatedDelegationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractDeactivatedDelegationIterator) Next ¶
func (it *ContractDeactivatedDelegationIterator) 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 ContractDeactivatedStake ¶
type ContractDeactivatedStake struct { StakerID *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractDeactivatedStake represents a DeactivatedStake event raised by the Contract contract.
type ContractDeactivatedStakeIterator ¶
type ContractDeactivatedStakeIterator struct { Event *ContractDeactivatedStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractDeactivatedStakeIterator is returned from FilterDeactivatedStake and is used to iterate over the raw logs and unpacked data for DeactivatedStake events raised by the Contract contract.
func (*ContractDeactivatedStakeIterator) Close ¶
func (it *ContractDeactivatedStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractDeactivatedStakeIterator) Error ¶
func (it *ContractDeactivatedStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractDeactivatedStakeIterator) Next ¶
func (it *ContractDeactivatedStakeIterator) 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 ContractFilterer ¶
type ContractFilterer struct {
// contains filtered or unexported fields
}
ContractFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewContractFilterer ¶
func NewContractFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractFilterer, error)
NewContractFilterer creates a new log filterer instance of Contract, bound to a specific deployed contract.
func (*ContractFilterer) FilterBurntRewardStash ¶
func (_Contract *ContractFilterer) FilterBurntRewardStash(opts *bind.FilterOpts, addr []common.Address, stakerID []*big.Int) (*ContractBurntRewardStashIterator, error)
FilterBurntRewardStash is a free log retrieval operation binding the contract event 0x0ea92567e76d40ddc52d2c1d74a521a59329a38b50411451de6ad2e565466d0f.
Solidity: event BurntRewardStash(address indexed addr, uint256 indexed stakerID, bool isDelegation, uint256 amount)
func (*ContractFilterer) FilterClaimedDelegationReward ¶
func (_Contract *ContractFilterer) FilterClaimedDelegationReward(opts *bind.FilterOpts, from []common.Address, stakerID []*big.Int) (*ContractClaimedDelegationRewardIterator, error)
FilterClaimedDelegationReward is a free log retrieval operation binding the contract event 0x2676e1697cf4731b93ddb4ef54e0e5a98c06cccbbbb2202848a3c6286595e6ce.
Solidity: event ClaimedDelegationReward(address indexed from, uint256 indexed stakerID, uint256 reward, uint256 fromEpoch, uint256 untilEpoch)
func (*ContractFilterer) FilterClaimedValidatorReward ¶
func (_Contract *ContractFilterer) FilterClaimedValidatorReward(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractClaimedValidatorRewardIterator, error)
FilterClaimedValidatorReward is a free log retrieval operation binding the contract event 0x2ea54c2b22a07549d19fb5eb8e4e48ebe1c653117215e94d5468c5612750d35c.
Solidity: event ClaimedValidatorReward(uint256 indexed stakerID, uint256 reward, uint256 fromEpoch, uint256 untilEpoch)
func (*ContractFilterer) FilterCreatedDelegation ¶
func (_Contract *ContractFilterer) FilterCreatedDelegation(opts *bind.FilterOpts, delegator []common.Address, toStakerID []*big.Int) (*ContractCreatedDelegationIterator, error)
FilterCreatedDelegation is a free log retrieval operation binding the contract event 0xfd8c857fb9acd6f4ad59b8621a2a77825168b7b4b76de9586d08e00d4ed462be.
Solidity: event CreatedDelegation(address indexed delegator, uint256 indexed toStakerID, uint256 amount)
func (*ContractFilterer) FilterCreatedStake ¶
func (_Contract *ContractFilterer) FilterCreatedStake(opts *bind.FilterOpts, stakerID []*big.Int, dagSfcAddress []common.Address) (*ContractCreatedStakeIterator, error)
FilterCreatedStake is a free log retrieval operation binding the contract event 0x0697dfe5062b9db8108e4b31254f47a912ae6bbb78837667b2e923a6f5160d39.
Solidity: event CreatedStake(uint256 indexed stakerID, address indexed dagSfcAddress, uint256 amount)
func (*ContractFilterer) FilterCreatedWithdrawRequest ¶
func (_Contract *ContractFilterer) FilterCreatedWithdrawRequest(opts *bind.FilterOpts, auth []common.Address, receiver []common.Address, stakerID []*big.Int) (*ContractCreatedWithdrawRequestIterator, error)
FilterCreatedWithdrawRequest is a free log retrieval operation binding the contract event 0xde2d2a87af2fa2de55bde86f04143144eb632fa6be266dc224341a371fb8916d.
Solidity: event CreatedWithdrawRequest(address indexed auth, address indexed receiver, uint256 indexed stakerID, uint256 wrID, bool delegation, uint256 amount)
func (*ContractFilterer) FilterDeactivatedDelegation ¶
func (_Contract *ContractFilterer) FilterDeactivatedDelegation(opts *bind.FilterOpts, delegator []common.Address, stakerID []*big.Int) (*ContractDeactivatedDelegationIterator, error)
FilterDeactivatedDelegation is a free log retrieval operation binding the contract event 0x912c4125a208704a342cbdc4726795d26556b0170b7fc95bc706d5cb1f506469.
Solidity: event DeactivatedDelegation(address indexed delegator, uint256 indexed stakerID)
func (*ContractFilterer) FilterDeactivatedStake ¶
func (_Contract *ContractFilterer) FilterDeactivatedStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractDeactivatedStakeIterator, error)
FilterDeactivatedStake is a free log retrieval operation binding the contract event 0xf7c308d0d978cce3aec157d1b34e355db4636b4e71ce91b4f5ec9e7a4f5cdc60.
Solidity: event DeactivatedStake(uint256 indexed stakerID)
func (*ContractFilterer) FilterIncreasedDelegation ¶
func (_Contract *ContractFilterer) FilterIncreasedDelegation(opts *bind.FilterOpts, delegator []common.Address, stakerID []*big.Int) (*ContractIncreasedDelegationIterator, error)
FilterIncreasedDelegation is a free log retrieval operation binding the contract event 0x4ca781bfe171e588a2661d5a7f2f5f59df879c53489063552fbad2145b707fc1.
Solidity: event IncreasedDelegation(address indexed delegator, uint256 indexed stakerID, uint256 newAmount, uint256 diff)
func (*ContractFilterer) FilterIncreasedStake ¶
func (_Contract *ContractFilterer) FilterIncreasedStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractIncreasedStakeIterator, error)
FilterIncreasedStake is a free log retrieval operation binding the contract event 0xa1d93e9a2a16bf4c2d0cdc6f47fe0fa054c741c96b3dac1297c79eaca31714e9.
Solidity: event IncreasedStake(uint256 indexed stakerID, uint256 newAmount, uint256 diff)
func (*ContractFilterer) FilterOwnershipTransferred ¶
func (_Contract *ContractFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ContractOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ContractFilterer) FilterPartialWithdrawnByRequest ¶
func (_Contract *ContractFilterer) FilterPartialWithdrawnByRequest(opts *bind.FilterOpts, auth []common.Address, receiver []common.Address, stakerID []*big.Int) (*ContractPartialWithdrawnByRequestIterator, error)
FilterPartialWithdrawnByRequest is a free log retrieval operation binding the contract event 0xd5304dabc5bd47105b6921889d1b528c4b2223250248a916afd129b1c0512ddd.
Solidity: event PartialWithdrawnByRequest(address indexed auth, address indexed receiver, uint256 indexed stakerID, uint256 wrID, bool delegation, uint256 penalty)
func (*ContractFilterer) FilterPreparedToWithdrawDelegation ¶
func (_Contract *ContractFilterer) FilterPreparedToWithdrawDelegation(opts *bind.FilterOpts, delegator []common.Address, stakerID []*big.Int) (*ContractPreparedToWithdrawDelegationIterator, error)
FilterPreparedToWithdrawDelegation is a free log retrieval operation binding the contract event 0x5b1eea49e405ef6d509836aac841959c30bb0673b1fd70859bfc6ae5e4ee3df2.
Solidity: event PreparedToWithdrawDelegation(address indexed delegator, uint256 indexed stakerID)
func (*ContractFilterer) FilterPreparedToWithdrawStake ¶
func (_Contract *ContractFilterer) FilterPreparedToWithdrawStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractPreparedToWithdrawStakeIterator, error)
FilterPreparedToWithdrawStake is a free log retrieval operation binding the contract event 0x84244546a9da4942f506db48ff90ebc240c73bb399e3e47d58843c6bb60e7185.
Solidity: event PreparedToWithdrawStake(uint256 indexed stakerID)
func (*ContractFilterer) FilterUnstashedRewards ¶
func (_Contract *ContractFilterer) FilterUnstashedRewards(opts *bind.FilterOpts, auth []common.Address, receiver []common.Address) (*ContractUnstashedRewardsIterator, error)
FilterUnstashedRewards is a free log retrieval operation binding the contract event 0x80b36a0e929d7e7925087e54acfeecf4c6043e451b9d71ac5e908b66f9e5d126.
Solidity: event UnstashedRewards(address indexed auth, address indexed receiver, uint256 rewards)
func (*ContractFilterer) FilterUpdatedBaseRewardPerSec ¶
func (_Contract *ContractFilterer) FilterUpdatedBaseRewardPerSec(opts *bind.FilterOpts) (*ContractUpdatedBaseRewardPerSecIterator, error)
FilterUpdatedBaseRewardPerSec is a free log retrieval operation binding the contract event 0x8cd9dae1bbea2bc8a5e80ffce2c224727a25925130a03ae100619a8861ae2396.
Solidity: event UpdatedBaseRewardPerSec(uint256 value)
func (*ContractFilterer) FilterUpdatedDelegation ¶
func (_Contract *ContractFilterer) FilterUpdatedDelegation(opts *bind.FilterOpts, delegator []common.Address, oldStakerID []*big.Int, newStakerID []*big.Int) (*ContractUpdatedDelegationIterator, error)
FilterUpdatedDelegation is a free log retrieval operation binding the contract event 0x19b46b9014e4dc8ca74f505b8921797c6a8a489860217d15b3c7d741637dfcff.
Solidity: event UpdatedDelegation(address indexed delegator, uint256 indexed oldStakerID, uint256 indexed newStakerID, uint256 amount)
func (*ContractFilterer) FilterUpdatedGasPowerAllocationRate ¶
func (_Contract *ContractFilterer) FilterUpdatedGasPowerAllocationRate(opts *bind.FilterOpts) (*ContractUpdatedGasPowerAllocationRateIterator, error)
FilterUpdatedGasPowerAllocationRate is a free log retrieval operation binding the contract event 0x95ae5488127de4bc98492f4487556e7af9f37eb4b6d5e94f6d849e03ff76cc7c.
Solidity: event UpdatedGasPowerAllocationRate(uint256 short, uint256 long)
func (*ContractFilterer) FilterUpdatedStake ¶
func (_Contract *ContractFilterer) FilterUpdatedStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractUpdatedStakeIterator, error)
FilterUpdatedStake is a free log retrieval operation binding the contract event 0x509404fa75ce234a1273cf9f7918bcf54e0ef19f2772e4f71b6526606a723b7c.
Solidity: event UpdatedStake(uint256 indexed stakerID, uint256 amount, uint256 delegatedMe)
func (*ContractFilterer) FilterUpdatedStakerMetadata ¶
func (_Contract *ContractFilterer) FilterUpdatedStakerMetadata(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractUpdatedStakerMetadataIterator, error)
FilterUpdatedStakerMetadata is a free log retrieval operation binding the contract event 0xb7a99a0df6a9e15c2689e6a55811ef76cdb514c67d4a0e37fcb125ada0e3cd83.
Solidity: event UpdatedStakerMetadata(uint256 indexed stakerID)
func (*ContractFilterer) FilterUpdatedStakerSfcAddress ¶
func (_Contract *ContractFilterer) FilterUpdatedStakerSfcAddress(opts *bind.FilterOpts, stakerID []*big.Int, oldSfcAddress []common.Address, newSfcAddress []common.Address) (*ContractUpdatedStakerSfcAddressIterator, error)
FilterUpdatedStakerSfcAddress is a free log retrieval operation binding the contract event 0x7cc102ee500cbca85691c9642080562e8f012b04d27f5b7f389453672b206946.
Solidity: event UpdatedStakerSfcAddress(uint256 indexed stakerID, address indexed oldSfcAddress, address indexed newSfcAddress)
func (*ContractFilterer) FilterWithdrawnDelegation ¶
func (_Contract *ContractFilterer) FilterWithdrawnDelegation(opts *bind.FilterOpts, delegator []common.Address, stakerID []*big.Int) (*ContractWithdrawnDelegationIterator, error)
FilterWithdrawnDelegation is a free log retrieval operation binding the contract event 0x87e86b3710b72c10173ca52c6a9f9cf2df27e77ed177741a8b4feb12bb7a606f.
Solidity: event WithdrawnDelegation(address indexed delegator, uint256 indexed stakerID, uint256 penalty)
func (*ContractFilterer) FilterWithdrawnStake ¶
func (_Contract *ContractFilterer) FilterWithdrawnStake(opts *bind.FilterOpts, stakerID []*big.Int) (*ContractWithdrawnStakeIterator, error)
FilterWithdrawnStake is a free log retrieval operation binding the contract event 0x8c6548258f8f12a9d4b593fa89a223417ed901d4ee9712ba09beb4d56f5262b6.
Solidity: event WithdrawnStake(uint256 indexed stakerID, uint256 penalty)
func (*ContractFilterer) ParseBurntRewardStash ¶
func (_Contract *ContractFilterer) ParseBurntRewardStash(log types.Log) (*ContractBurntRewardStash, error)
ParseBurntRewardStash is a log parse operation binding the contract event 0x0ea92567e76d40ddc52d2c1d74a521a59329a38b50411451de6ad2e565466d0f.
Solidity: event BurntRewardStash(address indexed addr, uint256 indexed stakerID, bool isDelegation, uint256 amount)
func (*ContractFilterer) ParseClaimedDelegationReward ¶
func (_Contract *ContractFilterer) ParseClaimedDelegationReward(log types.Log) (*ContractClaimedDelegationReward, error)
ParseClaimedDelegationReward is a log parse operation binding the contract event 0x2676e1697cf4731b93ddb4ef54e0e5a98c06cccbbbb2202848a3c6286595e6ce.
Solidity: event ClaimedDelegationReward(address indexed from, uint256 indexed stakerID, uint256 reward, uint256 fromEpoch, uint256 untilEpoch)
func (*ContractFilterer) ParseClaimedValidatorReward ¶
func (_Contract *ContractFilterer) ParseClaimedValidatorReward(log types.Log) (*ContractClaimedValidatorReward, error)
ParseClaimedValidatorReward is a log parse operation binding the contract event 0x2ea54c2b22a07549d19fb5eb8e4e48ebe1c653117215e94d5468c5612750d35c.
Solidity: event ClaimedValidatorReward(uint256 indexed stakerID, uint256 reward, uint256 fromEpoch, uint256 untilEpoch)
func (*ContractFilterer) ParseCreatedDelegation ¶
func (_Contract *ContractFilterer) ParseCreatedDelegation(log types.Log) (*ContractCreatedDelegation, error)
ParseCreatedDelegation is a log parse operation binding the contract event 0xfd8c857fb9acd6f4ad59b8621a2a77825168b7b4b76de9586d08e00d4ed462be.
Solidity: event CreatedDelegation(address indexed delegator, uint256 indexed toStakerID, uint256 amount)
func (*ContractFilterer) ParseCreatedStake ¶
func (_Contract *ContractFilterer) ParseCreatedStake(log types.Log) (*ContractCreatedStake, error)
ParseCreatedStake is a log parse operation binding the contract event 0x0697dfe5062b9db8108e4b31254f47a912ae6bbb78837667b2e923a6f5160d39.
Solidity: event CreatedStake(uint256 indexed stakerID, address indexed dagSfcAddress, uint256 amount)
func (*ContractFilterer) ParseCreatedWithdrawRequest ¶
func (_Contract *ContractFilterer) ParseCreatedWithdrawRequest(log types.Log) (*ContractCreatedWithdrawRequest, error)
ParseCreatedWithdrawRequest is a log parse operation binding the contract event 0xde2d2a87af2fa2de55bde86f04143144eb632fa6be266dc224341a371fb8916d.
Solidity: event CreatedWithdrawRequest(address indexed auth, address indexed receiver, uint256 indexed stakerID, uint256 wrID, bool delegation, uint256 amount)
func (*ContractFilterer) ParseDeactivatedDelegation ¶
func (_Contract *ContractFilterer) ParseDeactivatedDelegation(log types.Log) (*ContractDeactivatedDelegation, error)
ParseDeactivatedDelegation is a log parse operation binding the contract event 0x912c4125a208704a342cbdc4726795d26556b0170b7fc95bc706d5cb1f506469.
Solidity: event DeactivatedDelegation(address indexed delegator, uint256 indexed stakerID)
func (*ContractFilterer) ParseDeactivatedStake ¶
func (_Contract *ContractFilterer) ParseDeactivatedStake(log types.Log) (*ContractDeactivatedStake, error)
ParseDeactivatedStake is a log parse operation binding the contract event 0xf7c308d0d978cce3aec157d1b34e355db4636b4e71ce91b4f5ec9e7a4f5cdc60.
Solidity: event DeactivatedStake(uint256 indexed stakerID)
func (*ContractFilterer) ParseIncreasedDelegation ¶
func (_Contract *ContractFilterer) ParseIncreasedDelegation(log types.Log) (*ContractIncreasedDelegation, error)
ParseIncreasedDelegation is a log parse operation binding the contract event 0x4ca781bfe171e588a2661d5a7f2f5f59df879c53489063552fbad2145b707fc1.
Solidity: event IncreasedDelegation(address indexed delegator, uint256 indexed stakerID, uint256 newAmount, uint256 diff)
func (*ContractFilterer) ParseIncreasedStake ¶
func (_Contract *ContractFilterer) ParseIncreasedStake(log types.Log) (*ContractIncreasedStake, error)
ParseIncreasedStake is a log parse operation binding the contract event 0xa1d93e9a2a16bf4c2d0cdc6f47fe0fa054c741c96b3dac1297c79eaca31714e9.
Solidity: event IncreasedStake(uint256 indexed stakerID, uint256 newAmount, uint256 diff)
func (*ContractFilterer) ParseOwnershipTransferred ¶
func (_Contract *ContractFilterer) ParseOwnershipTransferred(log types.Log) (*ContractOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ContractFilterer) ParsePartialWithdrawnByRequest ¶
func (_Contract *ContractFilterer) ParsePartialWithdrawnByRequest(log types.Log) (*ContractPartialWithdrawnByRequest, error)
ParsePartialWithdrawnByRequest is a log parse operation binding the contract event 0xd5304dabc5bd47105b6921889d1b528c4b2223250248a916afd129b1c0512ddd.
Solidity: event PartialWithdrawnByRequest(address indexed auth, address indexed receiver, uint256 indexed stakerID, uint256 wrID, bool delegation, uint256 penalty)
func (*ContractFilterer) ParsePreparedToWithdrawDelegation ¶
func (_Contract *ContractFilterer) ParsePreparedToWithdrawDelegation(log types.Log) (*ContractPreparedToWithdrawDelegation, error)
ParsePreparedToWithdrawDelegation is a log parse operation binding the contract event 0x5b1eea49e405ef6d509836aac841959c30bb0673b1fd70859bfc6ae5e4ee3df2.
Solidity: event PreparedToWithdrawDelegation(address indexed delegator, uint256 indexed stakerID)
func (*ContractFilterer) ParsePreparedToWithdrawStake ¶
func (_Contract *ContractFilterer) ParsePreparedToWithdrawStake(log types.Log) (*ContractPreparedToWithdrawStake, error)
ParsePreparedToWithdrawStake is a log parse operation binding the contract event 0x84244546a9da4942f506db48ff90ebc240c73bb399e3e47d58843c6bb60e7185.
Solidity: event PreparedToWithdrawStake(uint256 indexed stakerID)
func (*ContractFilterer) ParseUnstashedRewards ¶
func (_Contract *ContractFilterer) ParseUnstashedRewards(log types.Log) (*ContractUnstashedRewards, error)
ParseUnstashedRewards is a log parse operation binding the contract event 0x80b36a0e929d7e7925087e54acfeecf4c6043e451b9d71ac5e908b66f9e5d126.
Solidity: event UnstashedRewards(address indexed auth, address indexed receiver, uint256 rewards)
func (*ContractFilterer) ParseUpdatedBaseRewardPerSec ¶
func (_Contract *ContractFilterer) ParseUpdatedBaseRewardPerSec(log types.Log) (*ContractUpdatedBaseRewardPerSec, error)
ParseUpdatedBaseRewardPerSec is a log parse operation binding the contract event 0x8cd9dae1bbea2bc8a5e80ffce2c224727a25925130a03ae100619a8861ae2396.
Solidity: event UpdatedBaseRewardPerSec(uint256 value)
func (*ContractFilterer) ParseUpdatedDelegation ¶
func (_Contract *ContractFilterer) ParseUpdatedDelegation(log types.Log) (*ContractUpdatedDelegation, error)
ParseUpdatedDelegation is a log parse operation binding the contract event 0x19b46b9014e4dc8ca74f505b8921797c6a8a489860217d15b3c7d741637dfcff.
Solidity: event UpdatedDelegation(address indexed delegator, uint256 indexed oldStakerID, uint256 indexed newStakerID, uint256 amount)
func (*ContractFilterer) ParseUpdatedGasPowerAllocationRate ¶
func (_Contract *ContractFilterer) ParseUpdatedGasPowerAllocationRate(log types.Log) (*ContractUpdatedGasPowerAllocationRate, error)
ParseUpdatedGasPowerAllocationRate is a log parse operation binding the contract event 0x95ae5488127de4bc98492f4487556e7af9f37eb4b6d5e94f6d849e03ff76cc7c.
Solidity: event UpdatedGasPowerAllocationRate(uint256 short, uint256 long)
func (*ContractFilterer) ParseUpdatedStake ¶
func (_Contract *ContractFilterer) ParseUpdatedStake(log types.Log) (*ContractUpdatedStake, error)
ParseUpdatedStake is a log parse operation binding the contract event 0x509404fa75ce234a1273cf9f7918bcf54e0ef19f2772e4f71b6526606a723b7c.
Solidity: event UpdatedStake(uint256 indexed stakerID, uint256 amount, uint256 delegatedMe)
func (*ContractFilterer) ParseUpdatedStakerMetadata ¶
func (_Contract *ContractFilterer) ParseUpdatedStakerMetadata(log types.Log) (*ContractUpdatedStakerMetadata, error)
ParseUpdatedStakerMetadata is a log parse operation binding the contract event 0xb7a99a0df6a9e15c2689e6a55811ef76cdb514c67d4a0e37fcb125ada0e3cd83.
Solidity: event UpdatedStakerMetadata(uint256 indexed stakerID)
func (*ContractFilterer) ParseUpdatedStakerSfcAddress ¶
func (_Contract *ContractFilterer) ParseUpdatedStakerSfcAddress(log types.Log) (*ContractUpdatedStakerSfcAddress, error)
ParseUpdatedStakerSfcAddress is a log parse operation binding the contract event 0x7cc102ee500cbca85691c9642080562e8f012b04d27f5b7f389453672b206946.
Solidity: event UpdatedStakerSfcAddress(uint256 indexed stakerID, address indexed oldSfcAddress, address indexed newSfcAddress)
func (*ContractFilterer) ParseWithdrawnDelegation ¶
func (_Contract *ContractFilterer) ParseWithdrawnDelegation(log types.Log) (*ContractWithdrawnDelegation, error)
ParseWithdrawnDelegation is a log parse operation binding the contract event 0x87e86b3710b72c10173ca52c6a9f9cf2df27e77ed177741a8b4feb12bb7a606f.
Solidity: event WithdrawnDelegation(address indexed delegator, uint256 indexed stakerID, uint256 penalty)
func (*ContractFilterer) ParseWithdrawnStake ¶
func (_Contract *ContractFilterer) ParseWithdrawnStake(log types.Log) (*ContractWithdrawnStake, error)
ParseWithdrawnStake is a log parse operation binding the contract event 0x8c6548258f8f12a9d4b593fa89a223417ed901d4ee9712ba09beb4d56f5262b6.
Solidity: event WithdrawnStake(uint256 indexed stakerID, uint256 penalty)
func (*ContractFilterer) WatchBurntRewardStash ¶
func (_Contract *ContractFilterer) WatchBurntRewardStash(opts *bind.WatchOpts, sink chan<- *ContractBurntRewardStash, addr []common.Address, stakerID []*big.Int) (event.Subscription, error)
WatchBurntRewardStash is a free log subscription operation binding the contract event 0x0ea92567e76d40ddc52d2c1d74a521a59329a38b50411451de6ad2e565466d0f.
Solidity: event BurntRewardStash(address indexed addr, uint256 indexed stakerID, bool isDelegation, uint256 amount)
func (*ContractFilterer) WatchClaimedDelegationReward ¶
func (_Contract *ContractFilterer) WatchClaimedDelegationReward(opts *bind.WatchOpts, sink chan<- *ContractClaimedDelegationReward, from []common.Address, stakerID []*big.Int) (event.Subscription, error)
WatchClaimedDelegationReward is a free log subscription operation binding the contract event 0x2676e1697cf4731b93ddb4ef54e0e5a98c06cccbbbb2202848a3c6286595e6ce.
Solidity: event ClaimedDelegationReward(address indexed from, uint256 indexed stakerID, uint256 reward, uint256 fromEpoch, uint256 untilEpoch)
func (*ContractFilterer) WatchClaimedValidatorReward ¶
func (_Contract *ContractFilterer) WatchClaimedValidatorReward(opts *bind.WatchOpts, sink chan<- *ContractClaimedValidatorReward, stakerID []*big.Int) (event.Subscription, error)
WatchClaimedValidatorReward is a free log subscription operation binding the contract event 0x2ea54c2b22a07549d19fb5eb8e4e48ebe1c653117215e94d5468c5612750d35c.
Solidity: event ClaimedValidatorReward(uint256 indexed stakerID, uint256 reward, uint256 fromEpoch, uint256 untilEpoch)
func (*ContractFilterer) WatchCreatedDelegation ¶
func (_Contract *ContractFilterer) WatchCreatedDelegation(opts *bind.WatchOpts, sink chan<- *ContractCreatedDelegation, delegator []common.Address, toStakerID []*big.Int) (event.Subscription, error)
WatchCreatedDelegation is a free log subscription operation binding the contract event 0xfd8c857fb9acd6f4ad59b8621a2a77825168b7b4b76de9586d08e00d4ed462be.
Solidity: event CreatedDelegation(address indexed delegator, uint256 indexed toStakerID, uint256 amount)
func (*ContractFilterer) WatchCreatedStake ¶
func (_Contract *ContractFilterer) WatchCreatedStake(opts *bind.WatchOpts, sink chan<- *ContractCreatedStake, stakerID []*big.Int, dagSfcAddress []common.Address) (event.Subscription, error)
WatchCreatedStake is a free log subscription operation binding the contract event 0x0697dfe5062b9db8108e4b31254f47a912ae6bbb78837667b2e923a6f5160d39.
Solidity: event CreatedStake(uint256 indexed stakerID, address indexed dagSfcAddress, uint256 amount)
func (*ContractFilterer) WatchCreatedWithdrawRequest ¶
func (_Contract *ContractFilterer) WatchCreatedWithdrawRequest(opts *bind.WatchOpts, sink chan<- *ContractCreatedWithdrawRequest, auth []common.Address, receiver []common.Address, stakerID []*big.Int) (event.Subscription, error)
WatchCreatedWithdrawRequest is a free log subscription operation binding the contract event 0xde2d2a87af2fa2de55bde86f04143144eb632fa6be266dc224341a371fb8916d.
Solidity: event CreatedWithdrawRequest(address indexed auth, address indexed receiver, uint256 indexed stakerID, uint256 wrID, bool delegation, uint256 amount)
func (*ContractFilterer) WatchDeactivatedDelegation ¶
func (_Contract *ContractFilterer) WatchDeactivatedDelegation(opts *bind.WatchOpts, sink chan<- *ContractDeactivatedDelegation, delegator []common.Address, stakerID []*big.Int) (event.Subscription, error)
WatchDeactivatedDelegation is a free log subscription operation binding the contract event 0x912c4125a208704a342cbdc4726795d26556b0170b7fc95bc706d5cb1f506469.
Solidity: event DeactivatedDelegation(address indexed delegator, uint256 indexed stakerID)
func (*ContractFilterer) WatchDeactivatedStake ¶
func (_Contract *ContractFilterer) WatchDeactivatedStake(opts *bind.WatchOpts, sink chan<- *ContractDeactivatedStake, stakerID []*big.Int) (event.Subscription, error)
WatchDeactivatedStake is a free log subscription operation binding the contract event 0xf7c308d0d978cce3aec157d1b34e355db4636b4e71ce91b4f5ec9e7a4f5cdc60.
Solidity: event DeactivatedStake(uint256 indexed stakerID)
func (*ContractFilterer) WatchIncreasedDelegation ¶
func (_Contract *ContractFilterer) WatchIncreasedDelegation(opts *bind.WatchOpts, sink chan<- *ContractIncreasedDelegation, delegator []common.Address, stakerID []*big.Int) (event.Subscription, error)
WatchIncreasedDelegation is a free log subscription operation binding the contract event 0x4ca781bfe171e588a2661d5a7f2f5f59df879c53489063552fbad2145b707fc1.
Solidity: event IncreasedDelegation(address indexed delegator, uint256 indexed stakerID, uint256 newAmount, uint256 diff)
func (*ContractFilterer) WatchIncreasedStake ¶
func (_Contract *ContractFilterer) WatchIncreasedStake(opts *bind.WatchOpts, sink chan<- *ContractIncreasedStake, stakerID []*big.Int) (event.Subscription, error)
WatchIncreasedStake is a free log subscription operation binding the contract event 0xa1d93e9a2a16bf4c2d0cdc6f47fe0fa054c741c96b3dac1297c79eaca31714e9.
Solidity: event IncreasedStake(uint256 indexed stakerID, uint256 newAmount, uint256 diff)
func (*ContractFilterer) WatchOwnershipTransferred ¶
func (_Contract *ContractFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ContractOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)
WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ContractFilterer) WatchPartialWithdrawnByRequest ¶
func (_Contract *ContractFilterer) WatchPartialWithdrawnByRequest(opts *bind.WatchOpts, sink chan<- *ContractPartialWithdrawnByRequest, auth []common.Address, receiver []common.Address, stakerID []*big.Int) (event.Subscription, error)
WatchPartialWithdrawnByRequest is a free log subscription operation binding the contract event 0xd5304dabc5bd47105b6921889d1b528c4b2223250248a916afd129b1c0512ddd.
Solidity: event PartialWithdrawnByRequest(address indexed auth, address indexed receiver, uint256 indexed stakerID, uint256 wrID, bool delegation, uint256 penalty)
func (*ContractFilterer) WatchPreparedToWithdrawDelegation ¶
func (_Contract *ContractFilterer) WatchPreparedToWithdrawDelegation(opts *bind.WatchOpts, sink chan<- *ContractPreparedToWithdrawDelegation, delegator []common.Address, stakerID []*big.Int) (event.Subscription, error)
WatchPreparedToWithdrawDelegation is a free log subscription operation binding the contract event 0x5b1eea49e405ef6d509836aac841959c30bb0673b1fd70859bfc6ae5e4ee3df2.
Solidity: event PreparedToWithdrawDelegation(address indexed delegator, uint256 indexed stakerID)
func (*ContractFilterer) WatchPreparedToWithdrawStake ¶
func (_Contract *ContractFilterer) WatchPreparedToWithdrawStake(opts *bind.WatchOpts, sink chan<- *ContractPreparedToWithdrawStake, stakerID []*big.Int) (event.Subscription, error)
WatchPreparedToWithdrawStake is a free log subscription operation binding the contract event 0x84244546a9da4942f506db48ff90ebc240c73bb399e3e47d58843c6bb60e7185.
Solidity: event PreparedToWithdrawStake(uint256 indexed stakerID)
func (*ContractFilterer) WatchUnstashedRewards ¶
func (_Contract *ContractFilterer) WatchUnstashedRewards(opts *bind.WatchOpts, sink chan<- *ContractUnstashedRewards, auth []common.Address, receiver []common.Address) (event.Subscription, error)
WatchUnstashedRewards is a free log subscription operation binding the contract event 0x80b36a0e929d7e7925087e54acfeecf4c6043e451b9d71ac5e908b66f9e5d126.
Solidity: event UnstashedRewards(address indexed auth, address indexed receiver, uint256 rewards)
func (*ContractFilterer) WatchUpdatedBaseRewardPerSec ¶
func (_Contract *ContractFilterer) WatchUpdatedBaseRewardPerSec(opts *bind.WatchOpts, sink chan<- *ContractUpdatedBaseRewardPerSec) (event.Subscription, error)
WatchUpdatedBaseRewardPerSec is a free log subscription operation binding the contract event 0x8cd9dae1bbea2bc8a5e80ffce2c224727a25925130a03ae100619a8861ae2396.
Solidity: event UpdatedBaseRewardPerSec(uint256 value)
func (*ContractFilterer) WatchUpdatedDelegation ¶
func (_Contract *ContractFilterer) WatchUpdatedDelegation(opts *bind.WatchOpts, sink chan<- *ContractUpdatedDelegation, delegator []common.Address, oldStakerID []*big.Int, newStakerID []*big.Int) (event.Subscription, error)
WatchUpdatedDelegation is a free log subscription operation binding the contract event 0x19b46b9014e4dc8ca74f505b8921797c6a8a489860217d15b3c7d741637dfcff.
Solidity: event UpdatedDelegation(address indexed delegator, uint256 indexed oldStakerID, uint256 indexed newStakerID, uint256 amount)
func (*ContractFilterer) WatchUpdatedGasPowerAllocationRate ¶
func (_Contract *ContractFilterer) WatchUpdatedGasPowerAllocationRate(opts *bind.WatchOpts, sink chan<- *ContractUpdatedGasPowerAllocationRate) (event.Subscription, error)
WatchUpdatedGasPowerAllocationRate is a free log subscription operation binding the contract event 0x95ae5488127de4bc98492f4487556e7af9f37eb4b6d5e94f6d849e03ff76cc7c.
Solidity: event UpdatedGasPowerAllocationRate(uint256 short, uint256 long)
func (*ContractFilterer) WatchUpdatedStake ¶
func (_Contract *ContractFilterer) WatchUpdatedStake(opts *bind.WatchOpts, sink chan<- *ContractUpdatedStake, stakerID []*big.Int) (event.Subscription, error)
WatchUpdatedStake is a free log subscription operation binding the contract event 0x509404fa75ce234a1273cf9f7918bcf54e0ef19f2772e4f71b6526606a723b7c.
Solidity: event UpdatedStake(uint256 indexed stakerID, uint256 amount, uint256 delegatedMe)
func (*ContractFilterer) WatchUpdatedStakerMetadata ¶
func (_Contract *ContractFilterer) WatchUpdatedStakerMetadata(opts *bind.WatchOpts, sink chan<- *ContractUpdatedStakerMetadata, stakerID []*big.Int) (event.Subscription, error)
WatchUpdatedStakerMetadata is a free log subscription operation binding the contract event 0xb7a99a0df6a9e15c2689e6a55811ef76cdb514c67d4a0e37fcb125ada0e3cd83.
Solidity: event UpdatedStakerMetadata(uint256 indexed stakerID)
func (*ContractFilterer) WatchUpdatedStakerSfcAddress ¶
func (_Contract *ContractFilterer) WatchUpdatedStakerSfcAddress(opts *bind.WatchOpts, sink chan<- *ContractUpdatedStakerSfcAddress, stakerID []*big.Int, oldSfcAddress []common.Address, newSfcAddress []common.Address) (event.Subscription, error)
WatchUpdatedStakerSfcAddress is a free log subscription operation binding the contract event 0x7cc102ee500cbca85691c9642080562e8f012b04d27f5b7f389453672b206946.
Solidity: event UpdatedStakerSfcAddress(uint256 indexed stakerID, address indexed oldSfcAddress, address indexed newSfcAddress)
func (*ContractFilterer) WatchWithdrawnDelegation ¶
func (_Contract *ContractFilterer) WatchWithdrawnDelegation(opts *bind.WatchOpts, sink chan<- *ContractWithdrawnDelegation, delegator []common.Address, stakerID []*big.Int) (event.Subscription, error)
WatchWithdrawnDelegation is a free log subscription operation binding the contract event 0x87e86b3710b72c10173ca52c6a9f9cf2df27e77ed177741a8b4feb12bb7a606f.
Solidity: event WithdrawnDelegation(address indexed delegator, uint256 indexed stakerID, uint256 penalty)
func (*ContractFilterer) WatchWithdrawnStake ¶
func (_Contract *ContractFilterer) WatchWithdrawnStake(opts *bind.WatchOpts, sink chan<- *ContractWithdrawnStake, stakerID []*big.Int) (event.Subscription, error)
WatchWithdrawnStake is a free log subscription operation binding the contract event 0x8c6548258f8f12a9d4b593fa89a223417ed901d4ee9712ba09beb4d56f5262b6.
Solidity: event WithdrawnStake(uint256 indexed stakerID, uint256 penalty)
type ContractIncreasedDelegation ¶
type ContractIncreasedDelegation struct { Delegator common.Address StakerID *big.Int NewAmount *big.Int Diff *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractIncreasedDelegation represents a IncreasedDelegation event raised by the Contract contract.
type ContractIncreasedDelegationIterator ¶
type ContractIncreasedDelegationIterator struct { Event *ContractIncreasedDelegation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractIncreasedDelegationIterator is returned from FilterIncreasedDelegation and is used to iterate over the raw logs and unpacked data for IncreasedDelegation events raised by the Contract contract.
func (*ContractIncreasedDelegationIterator) Close ¶
func (it *ContractIncreasedDelegationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractIncreasedDelegationIterator) Error ¶
func (it *ContractIncreasedDelegationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractIncreasedDelegationIterator) Next ¶
func (it *ContractIncreasedDelegationIterator) 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 ContractIncreasedStake ¶
type ContractIncreasedStake struct { StakerID *big.Int NewAmount *big.Int Diff *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractIncreasedStake represents a IncreasedStake event raised by the Contract contract.
type ContractIncreasedStakeIterator ¶
type ContractIncreasedStakeIterator struct { Event *ContractIncreasedStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractIncreasedStakeIterator is returned from FilterIncreasedStake and is used to iterate over the raw logs and unpacked data for IncreasedStake events raised by the Contract contract.
func (*ContractIncreasedStakeIterator) Close ¶
func (it *ContractIncreasedStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractIncreasedStakeIterator) Error ¶
func (it *ContractIncreasedStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractIncreasedStakeIterator) Next ¶
func (it *ContractIncreasedStakeIterator) 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 ContractOwnershipTransferred ¶
type ContractOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ContractOwnershipTransferred represents a OwnershipTransferred event raised by the Contract contract.
type ContractOwnershipTransferredIterator ¶
type ContractOwnershipTransferredIterator struct { Event *ContractOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Contract contract.
func (*ContractOwnershipTransferredIterator) Close ¶
func (it *ContractOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractOwnershipTransferredIterator) Error ¶
func (it *ContractOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractOwnershipTransferredIterator) Next ¶
func (it *ContractOwnershipTransferredIterator) 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 ContractPartialWithdrawnByRequest ¶
type ContractPartialWithdrawnByRequest struct { Auth common.Address Receiver common.Address StakerID *big.Int WrID *big.Int Delegation bool Penalty *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractPartialWithdrawnByRequest represents a PartialWithdrawnByRequest event raised by the Contract contract.
type ContractPartialWithdrawnByRequestIterator ¶
type ContractPartialWithdrawnByRequestIterator struct { Event *ContractPartialWithdrawnByRequest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractPartialWithdrawnByRequestIterator is returned from FilterPartialWithdrawnByRequest and is used to iterate over the raw logs and unpacked data for PartialWithdrawnByRequest events raised by the Contract contract.
func (*ContractPartialWithdrawnByRequestIterator) Close ¶
func (it *ContractPartialWithdrawnByRequestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractPartialWithdrawnByRequestIterator) Error ¶
func (it *ContractPartialWithdrawnByRequestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractPartialWithdrawnByRequestIterator) Next ¶
func (it *ContractPartialWithdrawnByRequestIterator) 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 ContractPreparedToWithdrawDelegation ¶
type ContractPreparedToWithdrawDelegation struct { Delegator common.Address StakerID *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractPreparedToWithdrawDelegation represents a PreparedToWithdrawDelegation event raised by the Contract contract.
type ContractPreparedToWithdrawDelegationIterator ¶
type ContractPreparedToWithdrawDelegationIterator struct { Event *ContractPreparedToWithdrawDelegation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractPreparedToWithdrawDelegationIterator is returned from FilterPreparedToWithdrawDelegation and is used to iterate over the raw logs and unpacked data for PreparedToWithdrawDelegation events raised by the Contract contract.
func (*ContractPreparedToWithdrawDelegationIterator) Close ¶
func (it *ContractPreparedToWithdrawDelegationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractPreparedToWithdrawDelegationIterator) Error ¶
func (it *ContractPreparedToWithdrawDelegationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractPreparedToWithdrawDelegationIterator) Next ¶
func (it *ContractPreparedToWithdrawDelegationIterator) 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 ContractPreparedToWithdrawStake ¶
type ContractPreparedToWithdrawStake struct { StakerID *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractPreparedToWithdrawStake represents a PreparedToWithdrawStake event raised by the Contract contract.
type ContractPreparedToWithdrawStakeIterator ¶
type ContractPreparedToWithdrawStakeIterator struct { Event *ContractPreparedToWithdrawStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractPreparedToWithdrawStakeIterator is returned from FilterPreparedToWithdrawStake and is used to iterate over the raw logs and unpacked data for PreparedToWithdrawStake events raised by the Contract contract.
func (*ContractPreparedToWithdrawStakeIterator) Close ¶
func (it *ContractPreparedToWithdrawStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractPreparedToWithdrawStakeIterator) Error ¶
func (it *ContractPreparedToWithdrawStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractPreparedToWithdrawStakeIterator) Next ¶
func (it *ContractPreparedToWithdrawStakeIterator) 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 ContractRaw ¶
type ContractRaw struct {
Contract *Contract // Generic contract binding to access the raw methods on
}
ContractRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ContractRaw) Call ¶
func (_Contract *ContractRaw) 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 (*ContractRaw) Transact ¶
func (_Contract *ContractRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractRaw) Transfer ¶
func (_Contract *ContractRaw) 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 ContractSession ¶
type ContractSession struct { Contract *Contract // 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 }
ContractSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ContractSession) BondedRatio ¶
func (_Contract *ContractSession) BondedRatio() (*big.Int, error)
BondedRatio is a free data retrieval call binding the contract method 0x041d97a3.
Solidity: function bondedRatio() view returns(uint256)
func (*ContractSession) BondedTargetPeriod ¶
func (_Contract *ContractSession) BondedTargetPeriod() (*big.Int, error)
BondedTargetPeriod is a free data retrieval call binding the contract method 0x7b8c6b02.
Solidity: function bondedTargetPeriod() pure returns(uint256)
func (*ContractSession) BondedTargetRewardUnlock ¶
func (_Contract *ContractSession) BondedTargetRewardUnlock() (*big.Int, error)
BondedTargetRewardUnlock is a free data retrieval call binding the contract method 0x6a1cf400.
Solidity: function bondedTargetRewardUnlock() view returns(uint256)
func (*ContractSession) BondedTargetStart ¶
func (_Contract *ContractSession) BondedTargetStart() (*big.Int, error)
BondedTargetStart is a free data retrieval call binding the contract method 0xce5aa000.
Solidity: function bondedTargetStart() pure returns(uint256)
func (*ContractSession) CalcDelegationEpochReward ¶
func (_Contract *ContractSession) CalcDelegationEpochReward(stakerID *big.Int, epoch *big.Int, delegationAmount *big.Int, commission *big.Int) (*big.Int, error)
CalcDelegationEpochReward is a free data retrieval call binding the contract method 0x6af49928.
Solidity: function _calcDelegationEpochReward(uint256 stakerID, uint256 epoch, uint256 delegationAmount, uint256 commission) view returns(uint256)
func (*ContractSession) CalcDelegationRewards ¶
func (_Contract *ContractSession) CalcDelegationRewards(delegator common.Address, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcDelegationRewards is a free data retrieval call binding the contract method 0xb6732f3d.
Solidity: function calcDelegationRewards(address delegator, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractSession) CalcRawValidatorEpochReward ¶
func (_Contract *ContractSession) CalcRawValidatorEpochReward(stakerID *big.Int, epoch *big.Int) (*big.Int, error)
CalcRawValidatorEpochReward is a free data retrieval call binding the contract method 0x6459cf86.
Solidity: function _calcRawValidatorEpochReward(uint256 stakerID, uint256 epoch) view returns(uint256)
func (*ContractSession) CalcValidatorEpochReward ¶
func (_Contract *ContractSession) CalcValidatorEpochReward(stakerID *big.Int, epoch *big.Int, commission *big.Int) (*big.Int, error)
CalcValidatorEpochReward is a free data retrieval call binding the contract method 0x53bbb754.
Solidity: function _calcValidatorEpochReward(uint256 stakerID, uint256 epoch, uint256 commission) view returns(uint256)
func (*ContractSession) CalcValidatorRewards ¶
func (_Contract *ContractSession) CalcValidatorRewards(stakerID *big.Int, _fromEpoch *big.Int, maxEpochs *big.Int) (*big.Int, *big.Int, *big.Int, error)
CalcValidatorRewards is a free data retrieval call binding the contract method 0x96060e71.
Solidity: function calcValidatorRewards(uint256 stakerID, uint256 _fromEpoch, uint256 maxEpochs) view returns(uint256, uint256, uint256)
func (*ContractSession) ClaimDelegationRewards ¶
func (_Contract *ContractSession) ClaimDelegationRewards(maxEpochs *big.Int) (*types.Transaction, error)
ClaimDelegationRewards is a paid mutator transaction binding the contract method 0x793c45ce.
Solidity: function claimDelegationRewards(uint256 maxEpochs) returns()
func (*ContractSession) ClaimValidatorRewards ¶
func (_Contract *ContractSession) ClaimValidatorRewards(maxEpochs *big.Int) (*types.Transaction, error)
ClaimValidatorRewards is a paid mutator transaction binding the contract method 0x295cccba.
Solidity: function claimValidatorRewards(uint256 maxEpochs) returns()
func (*ContractSession) ContractCommission ¶
func (_Contract *ContractSession) ContractCommission() (*big.Int, error)
ContractCommission is a free data retrieval call binding the contract method 0x2709275e.
Solidity: function contractCommission() pure returns(uint256)
func (*ContractSession) CreateDelegation ¶
func (_Contract *ContractSession) CreateDelegation(to *big.Int) (*types.Transaction, error)
CreateDelegation is a paid mutator transaction binding the contract method 0xc312eb07.
Solidity: function createDelegation(uint256 to) payable returns()
func (*ContractSession) CreateStake ¶
func (_Contract *ContractSession) CreateStake(metadata []byte) (*types.Transaction, error)
CreateStake is a paid mutator transaction binding the contract method 0xcc8c2120.
Solidity: function createStake(bytes metadata) payable returns()
func (*ContractSession) CreateStakeWithAddresses ¶
func (_Contract *ContractSession) CreateStakeWithAddresses(dagAdrress common.Address, sfcAddress common.Address, metadata []byte) (*types.Transaction, error)
CreateStakeWithAddresses is a paid mutator transaction binding the contract method 0x90475ae4.
Solidity: function createStakeWithAddresses(address dagAdrress, address sfcAddress, bytes metadata) payable returns()
func (*ContractSession) CurrentEpoch ¶
func (_Contract *ContractSession) CurrentEpoch() (*big.Int, error)
CurrentEpoch is a free data retrieval call binding the contract method 0x76671808.
Solidity: function currentEpoch() view returns(uint256)
func (*ContractSession) CurrentSealedEpoch ¶
func (_Contract *ContractSession) CurrentSealedEpoch() (*big.Int, error)
CurrentSealedEpoch is a free data retrieval call binding the contract method 0x7cacb1d6.
Solidity: function currentSealedEpoch() view returns(uint256)
func (*ContractSession) DelegationLockPeriodEpochs ¶
func (_Contract *ContractSession) DelegationLockPeriodEpochs() (*big.Int, error)
DelegationLockPeriodEpochs is a free data retrieval call binding the contract method 0x1d58179c.
Solidity: function delegationLockPeriodEpochs() pure returns(uint256)
func (*ContractSession) DelegationLockPeriodTime ¶
func (_Contract *ContractSession) DelegationLockPeriodTime() (*big.Int, error)
DelegationLockPeriodTime is a free data retrieval call binding the contract method 0xec6a7f1c.
Solidity: function delegationLockPeriodTime() pure returns(uint256)
func (*ContractSession) Delegations ¶
func (_Contract *ContractSession) Delegations(arg0 common.Address) (struct { CreatedEpoch *big.Int CreatedTime *big.Int DeactivatedEpoch *big.Int DeactivatedTime *big.Int Amount *big.Int PaidUntilEpoch *big.Int ToStakerID *big.Int }, error)
Delegations is a free data retrieval call binding the contract method 0xbffe3486.
Solidity: function delegations(address ) view returns(uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 amount, uint256 paidUntilEpoch, uint256 toStakerID)
func (*ContractSession) DelegationsNum ¶
func (_Contract *ContractSession) DelegationsNum() (*big.Int, error)
DelegationsNum is a free data retrieval call binding the contract method 0x4bd202dc.
Solidity: function delegationsNum() view returns(uint256)
func (*ContractSession) DelegationsTotalAmount ¶
func (_Contract *ContractSession) DelegationsTotalAmount() (*big.Int, error)
DelegationsTotalAmount is a free data retrieval call binding the contract method 0x30fa9929.
Solidity: function delegationsTotalAmount() view returns(uint256)
func (*ContractSession) EpochSnapshots ¶
func (_Contract *ContractSession) EpochSnapshots(arg0 *big.Int) (struct { EndTime *big.Int Duration *big.Int EpochFee *big.Int TotalBaseRewardWeight *big.Int TotalTxRewardWeight *big.Int BaseRewardPerSecond *big.Int StakeTotalAmount *big.Int DelegationsTotalAmount *big.Int TotalSupply *big.Int }, error)
EpochSnapshots is a free data retrieval call binding the contract method 0x1e8a6956.
Solidity: function epochSnapshots(uint256 ) view returns(uint256 endTime, uint256 duration, uint256 epochFee, uint256 totalBaseRewardWeight, uint256 totalTxRewardWeight, uint256 baseRewardPerSecond, uint256 stakeTotalAmount, uint256 delegationsTotalAmount, uint256 totalSupply)
func (*ContractSession) EpochValidator ¶
func (_Contract *ContractSession) EpochValidator(e *big.Int, v *big.Int) (struct { StakeAmount *big.Int DelegatedMe *big.Int BaseRewardWeight *big.Int TxRewardWeight *big.Int }, error)
EpochValidator is a free data retrieval call binding the contract method 0xb9029d50.
Solidity: function epochValidator(uint256 e, uint256 v) view returns(uint256 stakeAmount, uint256 delegatedMe, uint256 baseRewardWeight, uint256 txRewardWeight)
func (*ContractSession) GetStakerID ¶
GetStakerID is a free data retrieval call binding the contract method 0x63321e27.
Solidity: function getStakerID(address addr) view returns(uint256)
func (*ContractSession) IncreaseDelegation ¶
func (_Contract *ContractSession) IncreaseDelegation() (*types.Transaction, error)
IncreaseDelegation is a paid mutator transaction binding the contract method 0x3a274ff6.
Solidity: function increaseDelegation() payable returns()
func (*ContractSession) IncreaseStake ¶
func (_Contract *ContractSession) IncreaseStake() (*types.Transaction, error)
IncreaseStake is a paid mutator transaction binding the contract method 0xd9e257ef.
Solidity: function increaseStake() payable returns()
func (*ContractSession) IsOwner ¶
func (_Contract *ContractSession) IsOwner() (bool, error)
IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.
Solidity: function isOwner() view returns(bool)
func (*ContractSession) MaxDelegatedRatio ¶
func (_Contract *ContractSession) MaxDelegatedRatio() (*big.Int, error)
MaxDelegatedRatio is a free data retrieval call binding the contract method 0x2265f284.
Solidity: function maxDelegatedRatio() pure returns(uint256)
func (*ContractSession) MaxStakerMetadataSize ¶
func (_Contract *ContractSession) MaxStakerMetadataSize() (*big.Int, error)
MaxStakerMetadataSize is a free data retrieval call binding the contract method 0xab2273c0.
Solidity: function maxStakerMetadataSize() pure returns(uint256)
func (*ContractSession) MinDelegation ¶
func (_Contract *ContractSession) MinDelegation() (*big.Int, error)
MinDelegation is a free data retrieval call binding the contract method 0x02985992.
Solidity: function minDelegation() pure returns(uint256)
func (*ContractSession) MinDelegationDecrease ¶
func (_Contract *ContractSession) MinDelegationDecrease() (*big.Int, error)
MinDelegationDecrease is a free data retrieval call binding the contract method 0xcb1c4e67.
Solidity: function minDelegationDecrease() pure returns(uint256)
func (*ContractSession) MinDelegationIncrease ¶
func (_Contract *ContractSession) MinDelegationIncrease() (*big.Int, error)
MinDelegationIncrease is a free data retrieval call binding the contract method 0x60c7e37f.
Solidity: function minDelegationIncrease() pure returns(uint256)
func (*ContractSession) MinStake ¶
func (_Contract *ContractSession) MinStake() (*big.Int, error)
MinStake is a free data retrieval call binding the contract method 0x375b3c0a.
Solidity: function minStake() pure returns(uint256)
func (*ContractSession) MinStakeDecrease ¶
func (_Contract *ContractSession) MinStakeDecrease() (*big.Int, error)
MinStakeDecrease is a free data retrieval call binding the contract method 0x19ddb54f.
Solidity: function minStakeDecrease() pure returns(uint256)
func (*ContractSession) MinStakeIncrease ¶
func (_Contract *ContractSession) MinStakeIncrease() (*big.Int, error)
MinStakeIncrease is a free data retrieval call binding the contract method 0xc4b5dd7e.
Solidity: function minStakeIncrease() pure returns(uint256)
func (*ContractSession) Owner ¶
func (_Contract *ContractSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() view returns(address)
func (*ContractSession) PartialWithdrawByRequest ¶
func (_Contract *ContractSession) PartialWithdrawByRequest(wrID *big.Int) (*types.Transaction, error)
PartialWithdrawByRequest is a paid mutator transaction binding the contract method 0xf8b18d8a.
Solidity: function partialWithdrawByRequest(uint256 wrID) returns()
func (*ContractSession) PrepareToWithdrawDelegation ¶
func (_Contract *ContractSession) PrepareToWithdrawDelegation() (*types.Transaction, error)
PrepareToWithdrawDelegation is a paid mutator transaction binding the contract method 0x1c333318.
Solidity: function prepareToWithdrawDelegation() returns()
func (*ContractSession) PrepareToWithdrawDelegationPartial ¶
func (_Contract *ContractSession) PrepareToWithdrawDelegationPartial(wrID *big.Int, amount *big.Int) (*types.Transaction, error)
PrepareToWithdrawDelegationPartial is a paid mutator transaction binding the contract method 0xe7ff9e78.
Solidity: function prepareToWithdrawDelegationPartial(uint256 wrID, uint256 amount) returns()
func (*ContractSession) PrepareToWithdrawStake ¶
func (_Contract *ContractSession) PrepareToWithdrawStake() (*types.Transaction, error)
PrepareToWithdrawStake is a paid mutator transaction binding the contract method 0xc41b6405.
Solidity: function prepareToWithdrawStake() returns()
func (*ContractSession) PrepareToWithdrawStakePartial ¶
func (_Contract *ContractSession) PrepareToWithdrawStakePartial(wrID *big.Int, amount *big.Int) (*types.Transaction, error)
PrepareToWithdrawStakePartial is a paid mutator transaction binding the contract method 0x26682c71.
Solidity: function prepareToWithdrawStakePartial(uint256 wrID, uint256 amount) returns()
func (*ContractSession) RenounceOwnership ¶
func (_Contract *ContractSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ContractSession) RewardsAllowed ¶
func (_Contract *ContractSession) RewardsAllowed() (bool, error)
RewardsAllowed is a free data retrieval call binding the contract method 0x8447c4df.
Solidity: function rewardsAllowed() view returns(bool)
func (*ContractSession) RewardsBurnableOnDeactivation ¶
func (_Contract *ContractSession) RewardsBurnableOnDeactivation(isDelegation bool, stakerID *big.Int) (bool, error)
RewardsBurnableOnDeactivation is a free data retrieval call binding the contract method 0xb1a3ebfa.
Solidity: function _rewardsBurnableOnDeactivation(bool isDelegation, uint256 stakerID) view returns(bool)
func (*ContractSession) RewardsStash ¶
func (_Contract *ContractSession) RewardsStash(arg0 common.Address, arg1 *big.Int) (*big.Int, error)
RewardsStash is a free data retrieval call binding the contract method 0x6f498663.
Solidity: function rewardsStash(address , uint256 ) view returns(uint256 amount)
func (*ContractSession) SfcAddressToStakerID ¶
SfcAddressToStakerID is a free data retrieval call binding the contract method 0xb42cb58d.
Solidity: function _sfcAddressToStakerID(address sfcAddress) view returns(uint256)
func (*ContractSession) SlashedDelegationsTotalAmount ¶
func (_Contract *ContractSession) SlashedDelegationsTotalAmount() (*big.Int, error)
SlashedDelegationsTotalAmount is a free data retrieval call binding the contract method 0xa70da4d2.
Solidity: function slashedDelegationsTotalAmount() view returns(uint256)
func (*ContractSession) SlashedStakeTotalAmount ¶
func (_Contract *ContractSession) SlashedStakeTotalAmount() (*big.Int, error)
SlashedStakeTotalAmount is a free data retrieval call binding the contract method 0x0a29180c.
Solidity: function slashedStakeTotalAmount() view returns(uint256)
func (*ContractSession) StakeLockPeriodEpochs ¶
func (_Contract *ContractSession) StakeLockPeriodEpochs() (*big.Int, error)
StakeLockPeriodEpochs is a free data retrieval call binding the contract method 0x54d77ed2.
Solidity: function stakeLockPeriodEpochs() pure returns(uint256)
func (*ContractSession) StakeLockPeriodTime ¶
func (_Contract *ContractSession) StakeLockPeriodTime() (*big.Int, error)
StakeLockPeriodTime is a free data retrieval call binding the contract method 0x3fee10a8.
Solidity: function stakeLockPeriodTime() pure returns(uint256)
func (*ContractSession) StakeTotalAmount ¶
func (_Contract *ContractSession) StakeTotalAmount() (*big.Int, error)
StakeTotalAmount is a free data retrieval call binding the contract method 0x3d0317fe.
Solidity: function stakeTotalAmount() view returns(uint256)
func (*ContractSession) StakerMetadata ¶
func (_Contract *ContractSession) StakerMetadata(arg0 *big.Int) ([]byte, error)
StakerMetadata is a free data retrieval call binding the contract method 0x98ec2de5.
Solidity: function stakerMetadata(uint256 ) view returns(bytes)
func (*ContractSession) Stakers ¶
func (_Contract *ContractSession) Stakers(arg0 *big.Int) (struct { Status *big.Int CreatedEpoch *big.Int CreatedTime *big.Int DeactivatedEpoch *big.Int DeactivatedTime *big.Int StakeAmount *big.Int PaidUntilEpoch *big.Int DelegatedMe *big.Int DagAddress common.Address SfcAddress common.Address }, error)
Stakers is a free data retrieval call binding the contract method 0xfd5e6dd1.
Solidity: function stakers(uint256 ) view returns(uint256 status, uint256 createdEpoch, uint256 createdTime, uint256 deactivatedEpoch, uint256 deactivatedTime, uint256 stakeAmount, uint256 paidUntilEpoch, uint256 delegatedMe, address dagAddress, address sfcAddress)
func (*ContractSession) StakersLastID ¶
func (_Contract *ContractSession) StakersLastID() (*big.Int, error)
StakersLastID is a free data retrieval call binding the contract method 0x81d9dc7a.
Solidity: function stakersLastID() view returns(uint256)
func (*ContractSession) StakersNum ¶
func (_Contract *ContractSession) StakersNum() (*big.Int, error)
StakersNum is a free data retrieval call binding the contract method 0x08728f6e.
Solidity: function stakersNum() view returns(uint256)
func (*ContractSession) SyncDelegator ¶
func (_Contract *ContractSession) SyncDelegator(delegator common.Address) (*types.Transaction, error)
SyncDelegator is a paid mutator transaction binding the contract method 0x424219a4.
Solidity: function _syncDelegator(address delegator) returns()
func (*ContractSession) SyncStaker ¶
func (_Contract *ContractSession) SyncStaker(stakerID *big.Int) (*types.Transaction, error)
SyncStaker is a paid mutator transaction binding the contract method 0xeac3baf2.
Solidity: function _syncStaker(uint256 stakerID) returns()
func (*ContractSession) TransferOwnership ¶
func (_Contract *ContractSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ContractSession) UnbondingStartDate ¶
func (_Contract *ContractSession) UnbondingStartDate() (*big.Int, error)
UnbondingStartDate is a free data retrieval call binding the contract method 0x53a72586.
Solidity: function unbondingStartDate() pure returns(uint256)
func (*ContractSession) UnbondingUnlockPeriod ¶
func (_Contract *ContractSession) UnbondingUnlockPeriod() (*big.Int, error)
UnbondingUnlockPeriod is a free data retrieval call binding the contract method 0x3a0af4d4.
Solidity: function unbondingUnlockPeriod() pure returns(uint256)
func (*ContractSession) UnstashRewards ¶
func (_Contract *ContractSession) UnstashRewards() (*types.Transaction, error)
UnstashRewards is a paid mutator transaction binding the contract method 0x876f7e2a.
Solidity: function unstashRewards() returns()
func (*ContractSession) UpdateBaseRewardPerSec ¶
func (_Contract *ContractSession) UpdateBaseRewardPerSec(value *big.Int) (*types.Transaction, error)
UpdateBaseRewardPerSec is a paid mutator transaction binding the contract method 0x1b593d8a.
Solidity: function updateBaseRewardPerSec(uint256 value) returns()
func (*ContractSession) UpdateGasPowerAllocationRate ¶
func (_Contract *ContractSession) UpdateGasPowerAllocationRate(short *big.Int, long *big.Int) (*types.Transaction, error)
UpdateGasPowerAllocationRate is a paid mutator transaction binding the contract method 0x119e351a.
Solidity: function updateGasPowerAllocationRate(uint256 short, uint256 long) returns()
func (*ContractSession) UpdateStakerMetadata ¶
func (_Contract *ContractSession) UpdateStakerMetadata(metadata []byte) (*types.Transaction, error)
UpdateStakerMetadata is a paid mutator transaction binding the contract method 0x33a14912.
Solidity: function updateStakerMetadata(bytes metadata) returns()
func (*ContractSession) UpdateStakerSfcAddress ¶
func (_Contract *ContractSession) UpdateStakerSfcAddress(newSfcAddress common.Address) (*types.Transaction, error)
UpdateStakerSfcAddress is a paid mutator transaction binding the contract method 0xc3d74f1a.
Solidity: function updateStakerSfcAddress(address newSfcAddress) returns()
func (*ContractSession) UpgradeStakerStorage ¶
func (_Contract *ContractSession) UpgradeStakerStorage(stakerID *big.Int) (*types.Transaction, error)
UpgradeStakerStorage is a paid mutator transaction binding the contract method 0x28dca8ff.
Solidity: function _upgradeStakerStorage(uint256 stakerID) returns()
func (*ContractSession) ValidatorCommission ¶
func (_Contract *ContractSession) ValidatorCommission() (*big.Int, error)
ValidatorCommission is a free data retrieval call binding the contract method 0xa7786515.
Solidity: function validatorCommission() pure returns(uint256)
func (*ContractSession) WithdrawDelegation ¶
func (_Contract *ContractSession) WithdrawDelegation() (*types.Transaction, error)
WithdrawDelegation is a paid mutator transaction binding the contract method 0x16bfdd81.
Solidity: function withdrawDelegation() returns()
func (*ContractSession) WithdrawStake ¶
func (_Contract *ContractSession) WithdrawStake() (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
func (*ContractSession) WithdrawalRequests ¶
func (_Contract *ContractSession) WithdrawalRequests(arg0 common.Address, arg1 *big.Int) (struct { StakerID *big.Int Epoch *big.Int Time *big.Int Amount *big.Int Delegation bool }, error)
WithdrawalRequests is a free data retrieval call binding the contract method 0x4e5a2328.
Solidity: function withdrawalRequests(address , uint256 ) view returns(uint256 stakerID, uint256 epoch, uint256 time, uint256 amount, bool delegation)
type ContractTransactor ¶
type ContractTransactor struct {
// contains filtered or unexported fields
}
ContractTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewContractTransactor ¶
func NewContractTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractTransactor, error)
NewContractTransactor creates a new write-only instance of Contract, bound to a specific deployed contract.
func (*ContractTransactor) ClaimDelegationRewards ¶
func (_Contract *ContractTransactor) ClaimDelegationRewards(opts *bind.TransactOpts, maxEpochs *big.Int) (*types.Transaction, error)
ClaimDelegationRewards is a paid mutator transaction binding the contract method 0x793c45ce.
Solidity: function claimDelegationRewards(uint256 maxEpochs) returns()
func (*ContractTransactor) ClaimValidatorRewards ¶
func (_Contract *ContractTransactor) ClaimValidatorRewards(opts *bind.TransactOpts, maxEpochs *big.Int) (*types.Transaction, error)
ClaimValidatorRewards is a paid mutator transaction binding the contract method 0x295cccba.
Solidity: function claimValidatorRewards(uint256 maxEpochs) returns()
func (*ContractTransactor) CreateDelegation ¶
func (_Contract *ContractTransactor) CreateDelegation(opts *bind.TransactOpts, to *big.Int) (*types.Transaction, error)
CreateDelegation is a paid mutator transaction binding the contract method 0xc312eb07.
Solidity: function createDelegation(uint256 to) payable returns()
func (*ContractTransactor) CreateStake ¶
func (_Contract *ContractTransactor) CreateStake(opts *bind.TransactOpts, metadata []byte) (*types.Transaction, error)
CreateStake is a paid mutator transaction binding the contract method 0xcc8c2120.
Solidity: function createStake(bytes metadata) payable returns()
func (*ContractTransactor) CreateStakeWithAddresses ¶
func (_Contract *ContractTransactor) CreateStakeWithAddresses(opts *bind.TransactOpts, dagAdrress common.Address, sfcAddress common.Address, metadata []byte) (*types.Transaction, error)
CreateStakeWithAddresses is a paid mutator transaction binding the contract method 0x90475ae4.
Solidity: function createStakeWithAddresses(address dagAdrress, address sfcAddress, bytes metadata) payable returns()
func (*ContractTransactor) IncreaseDelegation ¶
func (_Contract *ContractTransactor) IncreaseDelegation(opts *bind.TransactOpts) (*types.Transaction, error)
IncreaseDelegation is a paid mutator transaction binding the contract method 0x3a274ff6.
Solidity: function increaseDelegation() payable returns()
func (*ContractTransactor) IncreaseStake ¶
func (_Contract *ContractTransactor) IncreaseStake(opts *bind.TransactOpts) (*types.Transaction, error)
IncreaseStake is a paid mutator transaction binding the contract method 0xd9e257ef.
Solidity: function increaseStake() payable returns()
func (*ContractTransactor) PartialWithdrawByRequest ¶
func (_Contract *ContractTransactor) PartialWithdrawByRequest(opts *bind.TransactOpts, wrID *big.Int) (*types.Transaction, error)
PartialWithdrawByRequest is a paid mutator transaction binding the contract method 0xf8b18d8a.
Solidity: function partialWithdrawByRequest(uint256 wrID) returns()
func (*ContractTransactor) PrepareToWithdrawDelegation ¶
func (_Contract *ContractTransactor) PrepareToWithdrawDelegation(opts *bind.TransactOpts) (*types.Transaction, error)
PrepareToWithdrawDelegation is a paid mutator transaction binding the contract method 0x1c333318.
Solidity: function prepareToWithdrawDelegation() returns()
func (*ContractTransactor) PrepareToWithdrawDelegationPartial ¶
func (_Contract *ContractTransactor) PrepareToWithdrawDelegationPartial(opts *bind.TransactOpts, wrID *big.Int, amount *big.Int) (*types.Transaction, error)
PrepareToWithdrawDelegationPartial is a paid mutator transaction binding the contract method 0xe7ff9e78.
Solidity: function prepareToWithdrawDelegationPartial(uint256 wrID, uint256 amount) returns()
func (*ContractTransactor) PrepareToWithdrawStake ¶
func (_Contract *ContractTransactor) PrepareToWithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)
PrepareToWithdrawStake is a paid mutator transaction binding the contract method 0xc41b6405.
Solidity: function prepareToWithdrawStake() returns()
func (*ContractTransactor) PrepareToWithdrawStakePartial ¶
func (_Contract *ContractTransactor) PrepareToWithdrawStakePartial(opts *bind.TransactOpts, wrID *big.Int, amount *big.Int) (*types.Transaction, error)
PrepareToWithdrawStakePartial is a paid mutator transaction binding the contract method 0x26682c71.
Solidity: function prepareToWithdrawStakePartial(uint256 wrID, uint256 amount) returns()
func (*ContractTransactor) RenounceOwnership ¶
func (_Contract *ContractTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ContractTransactor) SyncDelegator ¶
func (_Contract *ContractTransactor) SyncDelegator(opts *bind.TransactOpts, delegator common.Address) (*types.Transaction, error)
SyncDelegator is a paid mutator transaction binding the contract method 0x424219a4.
Solidity: function _syncDelegator(address delegator) returns()
func (*ContractTransactor) SyncStaker ¶
func (_Contract *ContractTransactor) SyncStaker(opts *bind.TransactOpts, stakerID *big.Int) (*types.Transaction, error)
SyncStaker is a paid mutator transaction binding the contract method 0xeac3baf2.
Solidity: function _syncStaker(uint256 stakerID) returns()
func (*ContractTransactor) TransferOwnership ¶
func (_Contract *ContractTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ContractTransactor) UnstashRewards ¶
func (_Contract *ContractTransactor) UnstashRewards(opts *bind.TransactOpts) (*types.Transaction, error)
UnstashRewards is a paid mutator transaction binding the contract method 0x876f7e2a.
Solidity: function unstashRewards() returns()
func (*ContractTransactor) UpdateBaseRewardPerSec ¶
func (_Contract *ContractTransactor) UpdateBaseRewardPerSec(opts *bind.TransactOpts, value *big.Int) (*types.Transaction, error)
UpdateBaseRewardPerSec is a paid mutator transaction binding the contract method 0x1b593d8a.
Solidity: function updateBaseRewardPerSec(uint256 value) returns()
func (*ContractTransactor) UpdateGasPowerAllocationRate ¶
func (_Contract *ContractTransactor) UpdateGasPowerAllocationRate(opts *bind.TransactOpts, short *big.Int, long *big.Int) (*types.Transaction, error)
UpdateGasPowerAllocationRate is a paid mutator transaction binding the contract method 0x119e351a.
Solidity: function updateGasPowerAllocationRate(uint256 short, uint256 long) returns()
func (*ContractTransactor) UpdateStakerMetadata ¶
func (_Contract *ContractTransactor) UpdateStakerMetadata(opts *bind.TransactOpts, metadata []byte) (*types.Transaction, error)
UpdateStakerMetadata is a paid mutator transaction binding the contract method 0x33a14912.
Solidity: function updateStakerMetadata(bytes metadata) returns()
func (*ContractTransactor) UpdateStakerSfcAddress ¶
func (_Contract *ContractTransactor) UpdateStakerSfcAddress(opts *bind.TransactOpts, newSfcAddress common.Address) (*types.Transaction, error)
UpdateStakerSfcAddress is a paid mutator transaction binding the contract method 0xc3d74f1a.
Solidity: function updateStakerSfcAddress(address newSfcAddress) returns()
func (*ContractTransactor) UpgradeStakerStorage ¶
func (_Contract *ContractTransactor) UpgradeStakerStorage(opts *bind.TransactOpts, stakerID *big.Int) (*types.Transaction, error)
UpgradeStakerStorage is a paid mutator transaction binding the contract method 0x28dca8ff.
Solidity: function _upgradeStakerStorage(uint256 stakerID) returns()
func (*ContractTransactor) WithdrawDelegation ¶
func (_Contract *ContractTransactor) WithdrawDelegation(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawDelegation is a paid mutator transaction binding the contract method 0x16bfdd81.
Solidity: function withdrawDelegation() returns()
func (*ContractTransactor) WithdrawStake ¶
func (_Contract *ContractTransactor) WithdrawStake(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
type ContractTransactorRaw ¶
type ContractTransactorRaw struct {
Contract *ContractTransactor // Generic write-only contract binding to access the raw methods on
}
ContractTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ContractTransactorRaw) Transact ¶
func (_Contract *ContractTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractTransactorRaw) Transfer ¶
func (_Contract *ContractTransactorRaw) 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 ContractTransactorSession ¶
type ContractTransactorSession struct { Contract *ContractTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ContractTransactorSession) ClaimDelegationRewards ¶
func (_Contract *ContractTransactorSession) ClaimDelegationRewards(maxEpochs *big.Int) (*types.Transaction, error)
ClaimDelegationRewards is a paid mutator transaction binding the contract method 0x793c45ce.
Solidity: function claimDelegationRewards(uint256 maxEpochs) returns()
func (*ContractTransactorSession) ClaimValidatorRewards ¶
func (_Contract *ContractTransactorSession) ClaimValidatorRewards(maxEpochs *big.Int) (*types.Transaction, error)
ClaimValidatorRewards is a paid mutator transaction binding the contract method 0x295cccba.
Solidity: function claimValidatorRewards(uint256 maxEpochs) returns()
func (*ContractTransactorSession) CreateDelegation ¶
func (_Contract *ContractTransactorSession) CreateDelegation(to *big.Int) (*types.Transaction, error)
CreateDelegation is a paid mutator transaction binding the contract method 0xc312eb07.
Solidity: function createDelegation(uint256 to) payable returns()
func (*ContractTransactorSession) CreateStake ¶
func (_Contract *ContractTransactorSession) CreateStake(metadata []byte) (*types.Transaction, error)
CreateStake is a paid mutator transaction binding the contract method 0xcc8c2120.
Solidity: function createStake(bytes metadata) payable returns()
func (*ContractTransactorSession) CreateStakeWithAddresses ¶
func (_Contract *ContractTransactorSession) CreateStakeWithAddresses(dagAdrress common.Address, sfcAddress common.Address, metadata []byte) (*types.Transaction, error)
CreateStakeWithAddresses is a paid mutator transaction binding the contract method 0x90475ae4.
Solidity: function createStakeWithAddresses(address dagAdrress, address sfcAddress, bytes metadata) payable returns()
func (*ContractTransactorSession) IncreaseDelegation ¶
func (_Contract *ContractTransactorSession) IncreaseDelegation() (*types.Transaction, error)
IncreaseDelegation is a paid mutator transaction binding the contract method 0x3a274ff6.
Solidity: function increaseDelegation() payable returns()
func (*ContractTransactorSession) IncreaseStake ¶
func (_Contract *ContractTransactorSession) IncreaseStake() (*types.Transaction, error)
IncreaseStake is a paid mutator transaction binding the contract method 0xd9e257ef.
Solidity: function increaseStake() payable returns()
func (*ContractTransactorSession) PartialWithdrawByRequest ¶
func (_Contract *ContractTransactorSession) PartialWithdrawByRequest(wrID *big.Int) (*types.Transaction, error)
PartialWithdrawByRequest is a paid mutator transaction binding the contract method 0xf8b18d8a.
Solidity: function partialWithdrawByRequest(uint256 wrID) returns()
func (*ContractTransactorSession) PrepareToWithdrawDelegation ¶
func (_Contract *ContractTransactorSession) PrepareToWithdrawDelegation() (*types.Transaction, error)
PrepareToWithdrawDelegation is a paid mutator transaction binding the contract method 0x1c333318.
Solidity: function prepareToWithdrawDelegation() returns()
func (*ContractTransactorSession) PrepareToWithdrawDelegationPartial ¶
func (_Contract *ContractTransactorSession) PrepareToWithdrawDelegationPartial(wrID *big.Int, amount *big.Int) (*types.Transaction, error)
PrepareToWithdrawDelegationPartial is a paid mutator transaction binding the contract method 0xe7ff9e78.
Solidity: function prepareToWithdrawDelegationPartial(uint256 wrID, uint256 amount) returns()
func (*ContractTransactorSession) PrepareToWithdrawStake ¶
func (_Contract *ContractTransactorSession) PrepareToWithdrawStake() (*types.Transaction, error)
PrepareToWithdrawStake is a paid mutator transaction binding the contract method 0xc41b6405.
Solidity: function prepareToWithdrawStake() returns()
func (*ContractTransactorSession) PrepareToWithdrawStakePartial ¶
func (_Contract *ContractTransactorSession) PrepareToWithdrawStakePartial(wrID *big.Int, amount *big.Int) (*types.Transaction, error)
PrepareToWithdrawStakePartial is a paid mutator transaction binding the contract method 0x26682c71.
Solidity: function prepareToWithdrawStakePartial(uint256 wrID, uint256 amount) returns()
func (*ContractTransactorSession) RenounceOwnership ¶
func (_Contract *ContractTransactorSession) RenounceOwnership() (*types.Transaction, error)
RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.
Solidity: function renounceOwnership() returns()
func (*ContractTransactorSession) SyncDelegator ¶
func (_Contract *ContractTransactorSession) SyncDelegator(delegator common.Address) (*types.Transaction, error)
SyncDelegator is a paid mutator transaction binding the contract method 0x424219a4.
Solidity: function _syncDelegator(address delegator) returns()
func (*ContractTransactorSession) SyncStaker ¶
func (_Contract *ContractTransactorSession) SyncStaker(stakerID *big.Int) (*types.Transaction, error)
SyncStaker is a paid mutator transaction binding the contract method 0xeac3baf2.
Solidity: function _syncStaker(uint256 stakerID) returns()
func (*ContractTransactorSession) TransferOwnership ¶
func (_Contract *ContractTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
func (*ContractTransactorSession) UnstashRewards ¶
func (_Contract *ContractTransactorSession) UnstashRewards() (*types.Transaction, error)
UnstashRewards is a paid mutator transaction binding the contract method 0x876f7e2a.
Solidity: function unstashRewards() returns()
func (*ContractTransactorSession) UpdateBaseRewardPerSec ¶
func (_Contract *ContractTransactorSession) UpdateBaseRewardPerSec(value *big.Int) (*types.Transaction, error)
UpdateBaseRewardPerSec is a paid mutator transaction binding the contract method 0x1b593d8a.
Solidity: function updateBaseRewardPerSec(uint256 value) returns()
func (*ContractTransactorSession) UpdateGasPowerAllocationRate ¶
func (_Contract *ContractTransactorSession) UpdateGasPowerAllocationRate(short *big.Int, long *big.Int) (*types.Transaction, error)
UpdateGasPowerAllocationRate is a paid mutator transaction binding the contract method 0x119e351a.
Solidity: function updateGasPowerAllocationRate(uint256 short, uint256 long) returns()
func (*ContractTransactorSession) UpdateStakerMetadata ¶
func (_Contract *ContractTransactorSession) UpdateStakerMetadata(metadata []byte) (*types.Transaction, error)
UpdateStakerMetadata is a paid mutator transaction binding the contract method 0x33a14912.
Solidity: function updateStakerMetadata(bytes metadata) returns()
func (*ContractTransactorSession) UpdateStakerSfcAddress ¶
func (_Contract *ContractTransactorSession) UpdateStakerSfcAddress(newSfcAddress common.Address) (*types.Transaction, error)
UpdateStakerSfcAddress is a paid mutator transaction binding the contract method 0xc3d74f1a.
Solidity: function updateStakerSfcAddress(address newSfcAddress) returns()
func (*ContractTransactorSession) UpgradeStakerStorage ¶
func (_Contract *ContractTransactorSession) UpgradeStakerStorage(stakerID *big.Int) (*types.Transaction, error)
UpgradeStakerStorage is a paid mutator transaction binding the contract method 0x28dca8ff.
Solidity: function _upgradeStakerStorage(uint256 stakerID) returns()
func (*ContractTransactorSession) WithdrawDelegation ¶
func (_Contract *ContractTransactorSession) WithdrawDelegation() (*types.Transaction, error)
WithdrawDelegation is a paid mutator transaction binding the contract method 0x16bfdd81.
Solidity: function withdrawDelegation() returns()
func (*ContractTransactorSession) WithdrawStake ¶
func (_Contract *ContractTransactorSession) WithdrawStake() (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0xbed9d861.
Solidity: function withdrawStake() returns()
type ContractUnstashedRewards ¶
type ContractUnstashedRewards struct { Auth common.Address Receiver common.Address Rewards *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractUnstashedRewards represents a UnstashedRewards event raised by the Contract contract.
type ContractUnstashedRewardsIterator ¶
type ContractUnstashedRewardsIterator struct { Event *ContractUnstashedRewards // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUnstashedRewardsIterator is returned from FilterUnstashedRewards and is used to iterate over the raw logs and unpacked data for UnstashedRewards events raised by the Contract contract.
func (*ContractUnstashedRewardsIterator) Close ¶
func (it *ContractUnstashedRewardsIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUnstashedRewardsIterator) Error ¶
func (it *ContractUnstashedRewardsIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUnstashedRewardsIterator) Next ¶
func (it *ContractUnstashedRewardsIterator) 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 ContractUpdatedBaseRewardPerSec ¶
type ContractUpdatedBaseRewardPerSec struct { Value *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractUpdatedBaseRewardPerSec represents a UpdatedBaseRewardPerSec event raised by the Contract contract.
type ContractUpdatedBaseRewardPerSecIterator ¶
type ContractUpdatedBaseRewardPerSecIterator struct { Event *ContractUpdatedBaseRewardPerSec // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdatedBaseRewardPerSecIterator is returned from FilterUpdatedBaseRewardPerSec and is used to iterate over the raw logs and unpacked data for UpdatedBaseRewardPerSec events raised by the Contract contract.
func (*ContractUpdatedBaseRewardPerSecIterator) Close ¶
func (it *ContractUpdatedBaseRewardPerSecIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdatedBaseRewardPerSecIterator) Error ¶
func (it *ContractUpdatedBaseRewardPerSecIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdatedBaseRewardPerSecIterator) Next ¶
func (it *ContractUpdatedBaseRewardPerSecIterator) 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 ContractUpdatedDelegation ¶
type ContractUpdatedDelegation struct { Delegator common.Address OldStakerID *big.Int NewStakerID *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractUpdatedDelegation represents a UpdatedDelegation event raised by the Contract contract.
type ContractUpdatedDelegationIterator ¶
type ContractUpdatedDelegationIterator struct { Event *ContractUpdatedDelegation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdatedDelegationIterator is returned from FilterUpdatedDelegation and is used to iterate over the raw logs and unpacked data for UpdatedDelegation events raised by the Contract contract.
func (*ContractUpdatedDelegationIterator) Close ¶
func (it *ContractUpdatedDelegationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdatedDelegationIterator) Error ¶
func (it *ContractUpdatedDelegationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdatedDelegationIterator) Next ¶
func (it *ContractUpdatedDelegationIterator) 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 ContractUpdatedGasPowerAllocationRate ¶
type ContractUpdatedGasPowerAllocationRate struct { Short *big.Int Long *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractUpdatedGasPowerAllocationRate represents a UpdatedGasPowerAllocationRate event raised by the Contract contract.
type ContractUpdatedGasPowerAllocationRateIterator ¶
type ContractUpdatedGasPowerAllocationRateIterator struct { Event *ContractUpdatedGasPowerAllocationRate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdatedGasPowerAllocationRateIterator is returned from FilterUpdatedGasPowerAllocationRate and is used to iterate over the raw logs and unpacked data for UpdatedGasPowerAllocationRate events raised by the Contract contract.
func (*ContractUpdatedGasPowerAllocationRateIterator) Close ¶
func (it *ContractUpdatedGasPowerAllocationRateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdatedGasPowerAllocationRateIterator) Error ¶
func (it *ContractUpdatedGasPowerAllocationRateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdatedGasPowerAllocationRateIterator) Next ¶
func (it *ContractUpdatedGasPowerAllocationRateIterator) 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 ContractUpdatedStake ¶
type ContractUpdatedStake struct { StakerID *big.Int Amount *big.Int DelegatedMe *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractUpdatedStake represents a UpdatedStake event raised by the Contract contract.
type ContractUpdatedStakeIterator ¶
type ContractUpdatedStakeIterator struct { Event *ContractUpdatedStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdatedStakeIterator is returned from FilterUpdatedStake and is used to iterate over the raw logs and unpacked data for UpdatedStake events raised by the Contract contract.
func (*ContractUpdatedStakeIterator) Close ¶
func (it *ContractUpdatedStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdatedStakeIterator) Error ¶
func (it *ContractUpdatedStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdatedStakeIterator) Next ¶
func (it *ContractUpdatedStakeIterator) 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 ContractUpdatedStakerMetadata ¶
type ContractUpdatedStakerMetadata struct { StakerID *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractUpdatedStakerMetadata represents a UpdatedStakerMetadata event raised by the Contract contract.
type ContractUpdatedStakerMetadataIterator ¶
type ContractUpdatedStakerMetadataIterator struct { Event *ContractUpdatedStakerMetadata // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdatedStakerMetadataIterator is returned from FilterUpdatedStakerMetadata and is used to iterate over the raw logs and unpacked data for UpdatedStakerMetadata events raised by the Contract contract.
func (*ContractUpdatedStakerMetadataIterator) Close ¶
func (it *ContractUpdatedStakerMetadataIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdatedStakerMetadataIterator) Error ¶
func (it *ContractUpdatedStakerMetadataIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdatedStakerMetadataIterator) Next ¶
func (it *ContractUpdatedStakerMetadataIterator) 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 ContractUpdatedStakerSfcAddress ¶
type ContractUpdatedStakerSfcAddress struct { StakerID *big.Int OldSfcAddress common.Address NewSfcAddress common.Address Raw types.Log // Blockchain specific contextual infos }
ContractUpdatedStakerSfcAddress represents a UpdatedStakerSfcAddress event raised by the Contract contract.
type ContractUpdatedStakerSfcAddressIterator ¶
type ContractUpdatedStakerSfcAddressIterator struct { Event *ContractUpdatedStakerSfcAddress // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractUpdatedStakerSfcAddressIterator is returned from FilterUpdatedStakerSfcAddress and is used to iterate over the raw logs and unpacked data for UpdatedStakerSfcAddress events raised by the Contract contract.
func (*ContractUpdatedStakerSfcAddressIterator) Close ¶
func (it *ContractUpdatedStakerSfcAddressIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractUpdatedStakerSfcAddressIterator) Error ¶
func (it *ContractUpdatedStakerSfcAddressIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractUpdatedStakerSfcAddressIterator) Next ¶
func (it *ContractUpdatedStakerSfcAddressIterator) 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 ContractWithdrawnDelegation ¶
type ContractWithdrawnDelegation struct { Delegator common.Address StakerID *big.Int Penalty *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractWithdrawnDelegation represents a WithdrawnDelegation event raised by the Contract contract.
type ContractWithdrawnDelegationIterator ¶
type ContractWithdrawnDelegationIterator struct { Event *ContractWithdrawnDelegation // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractWithdrawnDelegationIterator is returned from FilterWithdrawnDelegation and is used to iterate over the raw logs and unpacked data for WithdrawnDelegation events raised by the Contract contract.
func (*ContractWithdrawnDelegationIterator) Close ¶
func (it *ContractWithdrawnDelegationIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractWithdrawnDelegationIterator) Error ¶
func (it *ContractWithdrawnDelegationIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractWithdrawnDelegationIterator) Next ¶
func (it *ContractWithdrawnDelegationIterator) 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 ContractWithdrawnStake ¶
type ContractWithdrawnStake struct { StakerID *big.Int Penalty *big.Int Raw types.Log // Blockchain specific contextual infos }
ContractWithdrawnStake represents a WithdrawnStake event raised by the Contract contract.
type ContractWithdrawnStakeIterator ¶
type ContractWithdrawnStakeIterator struct { Event *ContractWithdrawnStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ContractWithdrawnStakeIterator is returned from FilterWithdrawnStake and is used to iterate over the raw logs and unpacked data for WithdrawnStake events raised by the Contract contract.
func (*ContractWithdrawnStakeIterator) Close ¶
func (it *ContractWithdrawnStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ContractWithdrawnStakeIterator) Error ¶
func (it *ContractWithdrawnStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ContractWithdrawnStakeIterator) Next ¶
func (it *ContractWithdrawnStakeIterator) 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.