Documentation
¶
Index ¶
- Constants
- type BondingManager
- type BondingManagerBond
- type BondingManagerBondIterator
- type BondingManagerCaller
- func (_BondingManager *BondingManagerCaller) ActiveTranscoderSetDEPRECATED(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_BondingManager *BondingManagerCaller) Controller(opts *bind.CallOpts) (common.Address, error)
- func (_BondingManager *BondingManagerCaller) CurrentRoundTotalActiveStake(opts *bind.CallOpts) (*big.Int, error)
- func (_BondingManager *BondingManagerCaller) DelegatorStatus(opts *bind.CallOpts, _delegator common.Address) (uint8, error)
- func (_BondingManager *BondingManagerCaller) GetDelegator(opts *bind.CallOpts, _delegator common.Address) (struct{ ... }, error)
- func (_BondingManager *BondingManagerCaller) GetDelegatorUnbondingLock(opts *bind.CallOpts, _delegator common.Address, _unbondingLockId *big.Int) (struct{ ... }, error)
- func (_BondingManager *BondingManagerCaller) GetFirstTranscoderInPool(opts *bind.CallOpts) (common.Address, error)
- func (_BondingManager *BondingManagerCaller) GetNextTranscoderInPool(opts *bind.CallOpts, _transcoder common.Address) (common.Address, error)
- func (_BondingManager *BondingManagerCaller) GetTotalBonded(opts *bind.CallOpts) (*big.Int, error)
- func (_BondingManager *BondingManagerCaller) GetTranscoder(opts *bind.CallOpts, _transcoder common.Address) (struct{ ... }, error)
- func (_BondingManager *BondingManagerCaller) GetTranscoderEarningsPoolForRound(opts *bind.CallOpts, _transcoder common.Address, _round *big.Int) (struct{ ... }, error)
- func (_BondingManager *BondingManagerCaller) GetTranscoderPoolMaxSize(opts *bind.CallOpts) (*big.Int, error)
- func (_BondingManager *BondingManagerCaller) GetTranscoderPoolSize(opts *bind.CallOpts) (*big.Int, error)
- func (_BondingManager *BondingManagerCaller) IsActiveTranscoder(opts *bind.CallOpts, _transcoder common.Address) (bool, error)
- func (_BondingManager *BondingManagerCaller) IsRegisteredTranscoder(opts *bind.CallOpts, _transcoder common.Address) (bool, error)
- func (_BondingManager *BondingManagerCaller) IsValidUnbondingLock(opts *bind.CallOpts, _delegator common.Address, _unbondingLockId *big.Int) (bool, error)
- func (_BondingManager *BondingManagerCaller) MaxEarningsClaimsRounds(opts *bind.CallOpts) (*big.Int, error)
- func (_BondingManager *BondingManagerCaller) NextRoundTotalActiveStake(opts *bind.CallOpts) (*big.Int, error)
- func (_BondingManager *BondingManagerCaller) NumActiveTranscodersDEPRECATED(opts *bind.CallOpts) (*big.Int, error)
- func (_BondingManager *BondingManagerCaller) PendingFees(opts *bind.CallOpts, _delegator common.Address, _endRound *big.Int) (*big.Int, error)
- func (_BondingManager *BondingManagerCaller) PendingStake(opts *bind.CallOpts, _delegator common.Address, _endRound *big.Int) (*big.Int, error)
- func (_BondingManager *BondingManagerCaller) TargetContractId(opts *bind.CallOpts) ([32]byte, error)
- func (_BondingManager *BondingManagerCaller) TranscoderStatus(opts *bind.CallOpts, _transcoder common.Address) (uint8, error)
- func (_BondingManager *BondingManagerCaller) TranscoderTotalStake(opts *bind.CallOpts, _transcoder common.Address) (*big.Int, error)
- func (_BondingManager *BondingManagerCaller) UnbondingPeriod(opts *bind.CallOpts) (uint64, error)
- type BondingManagerCallerRaw
- type BondingManagerCallerSession
- func (_BondingManager *BondingManagerCallerSession) ActiveTranscoderSetDEPRECATED(arg0 *big.Int) (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) Controller() (common.Address, error)
- func (_BondingManager *BondingManagerCallerSession) CurrentRoundTotalActiveStake() (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) DelegatorStatus(_delegator common.Address) (uint8, error)
- func (_BondingManager *BondingManagerCallerSession) GetDelegator(_delegator common.Address) (struct{ ... }, error)
- func (_BondingManager *BondingManagerCallerSession) GetDelegatorUnbondingLock(_delegator common.Address, _unbondingLockId *big.Int) (struct{ ... }, error)
- func (_BondingManager *BondingManagerCallerSession) GetFirstTranscoderInPool() (common.Address, error)
- func (_BondingManager *BondingManagerCallerSession) GetNextTranscoderInPool(_transcoder common.Address) (common.Address, error)
- func (_BondingManager *BondingManagerCallerSession) GetTotalBonded() (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) GetTranscoder(_transcoder common.Address) (struct{ ... }, error)
- func (_BondingManager *BondingManagerCallerSession) GetTranscoderEarningsPoolForRound(_transcoder common.Address, _round *big.Int) (struct{ ... }, error)
- func (_BondingManager *BondingManagerCallerSession) GetTranscoderPoolMaxSize() (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) GetTranscoderPoolSize() (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) IsActiveTranscoder(_transcoder common.Address) (bool, error)
- func (_BondingManager *BondingManagerCallerSession) IsRegisteredTranscoder(_transcoder common.Address) (bool, error)
- func (_BondingManager *BondingManagerCallerSession) IsValidUnbondingLock(_delegator common.Address, _unbondingLockId *big.Int) (bool, error)
- func (_BondingManager *BondingManagerCallerSession) MaxEarningsClaimsRounds() (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) NextRoundTotalActiveStake() (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) NumActiveTranscodersDEPRECATED() (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) PendingFees(_delegator common.Address, _endRound *big.Int) (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) PendingStake(_delegator common.Address, _endRound *big.Int) (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) TargetContractId() ([32]byte, error)
- func (_BondingManager *BondingManagerCallerSession) TranscoderStatus(_transcoder common.Address) (uint8, error)
- func (_BondingManager *BondingManagerCallerSession) TranscoderTotalStake(_transcoder common.Address) (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) UnbondingPeriod() (uint64, error)
- type BondingManagerEarningsClaimed
- type BondingManagerEarningsClaimedIterator
- type BondingManagerFilterer
- func (_BondingManager *BondingManagerFilterer) FilterBond(opts *bind.FilterOpts, newDelegate []common.Address, ...) (*BondingManagerBondIterator, error)
- func (_BondingManager *BondingManagerFilterer) FilterEarningsClaimed(opts *bind.FilterOpts, delegate []common.Address, delegator []common.Address) (*BondingManagerEarningsClaimedIterator, error)
- func (_BondingManager *BondingManagerFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*BondingManagerParameterUpdateIterator, error)
- func (_BondingManager *BondingManagerFilterer) FilterRebond(opts *bind.FilterOpts, delegate []common.Address, delegator []common.Address) (*BondingManagerRebondIterator, error)
- func (_BondingManager *BondingManagerFilterer) FilterReward(opts *bind.FilterOpts, transcoder []common.Address) (*BondingManagerRewardIterator, error)
- func (_BondingManager *BondingManagerFilterer) FilterSetController(opts *bind.FilterOpts) (*BondingManagerSetControllerIterator, error)
- func (_BondingManager *BondingManagerFilterer) FilterTranscoderActivated(opts *bind.FilterOpts, transcoder []common.Address) (*BondingManagerTranscoderActivatedIterator, error)
- func (_BondingManager *BondingManagerFilterer) FilterTranscoderDeactivated(opts *bind.FilterOpts, transcoder []common.Address) (*BondingManagerTranscoderDeactivatedIterator, error)
- func (_BondingManager *BondingManagerFilterer) FilterTranscoderSlashed(opts *bind.FilterOpts, transcoder []common.Address) (*BondingManagerTranscoderSlashedIterator, error)
- func (_BondingManager *BondingManagerFilterer) FilterTranscoderUpdate(opts *bind.FilterOpts, transcoder []common.Address) (*BondingManagerTranscoderUpdateIterator, error)
- func (_BondingManager *BondingManagerFilterer) FilterUnbond(opts *bind.FilterOpts, delegate []common.Address, delegator []common.Address) (*BondingManagerUnbondIterator, error)
- func (_BondingManager *BondingManagerFilterer) FilterWithdrawFees(opts *bind.FilterOpts, delegator []common.Address) (*BondingManagerWithdrawFeesIterator, error)
- func (_BondingManager *BondingManagerFilterer) FilterWithdrawStake(opts *bind.FilterOpts, delegator []common.Address) (*BondingManagerWithdrawStakeIterator, error)
- func (_BondingManager *BondingManagerFilterer) ParseBond(log types.Log) (*BondingManagerBond, error)
- func (_BondingManager *BondingManagerFilterer) ParseEarningsClaimed(log types.Log) (*BondingManagerEarningsClaimed, error)
- func (_BondingManager *BondingManagerFilterer) ParseParameterUpdate(log types.Log) (*BondingManagerParameterUpdate, error)
- func (_BondingManager *BondingManagerFilterer) ParseRebond(log types.Log) (*BondingManagerRebond, error)
- func (_BondingManager *BondingManagerFilterer) ParseReward(log types.Log) (*BondingManagerReward, error)
- func (_BondingManager *BondingManagerFilterer) ParseSetController(log types.Log) (*BondingManagerSetController, error)
- func (_BondingManager *BondingManagerFilterer) ParseTranscoderActivated(log types.Log) (*BondingManagerTranscoderActivated, error)
- func (_BondingManager *BondingManagerFilterer) ParseTranscoderDeactivated(log types.Log) (*BondingManagerTranscoderDeactivated, error)
- func (_BondingManager *BondingManagerFilterer) ParseTranscoderSlashed(log types.Log) (*BondingManagerTranscoderSlashed, error)
- func (_BondingManager *BondingManagerFilterer) ParseTranscoderUpdate(log types.Log) (*BondingManagerTranscoderUpdate, error)
- func (_BondingManager *BondingManagerFilterer) ParseUnbond(log types.Log) (*BondingManagerUnbond, error)
- func (_BondingManager *BondingManagerFilterer) ParseWithdrawFees(log types.Log) (*BondingManagerWithdrawFees, error)
- func (_BondingManager *BondingManagerFilterer) ParseWithdrawStake(log types.Log) (*BondingManagerWithdrawStake, error)
- func (_BondingManager *BondingManagerFilterer) WatchBond(opts *bind.WatchOpts, sink chan<- *BondingManagerBond, ...) (event.Subscription, error)
- func (_BondingManager *BondingManagerFilterer) WatchEarningsClaimed(opts *bind.WatchOpts, sink chan<- *BondingManagerEarningsClaimed, ...) (event.Subscription, error)
- func (_BondingManager *BondingManagerFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *BondingManagerParameterUpdate) (event.Subscription, error)
- func (_BondingManager *BondingManagerFilterer) WatchRebond(opts *bind.WatchOpts, sink chan<- *BondingManagerRebond, ...) (event.Subscription, error)
- func (_BondingManager *BondingManagerFilterer) WatchReward(opts *bind.WatchOpts, sink chan<- *BondingManagerReward, ...) (event.Subscription, error)
- func (_BondingManager *BondingManagerFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *BondingManagerSetController) (event.Subscription, error)
- func (_BondingManager *BondingManagerFilterer) WatchTranscoderActivated(opts *bind.WatchOpts, sink chan<- *BondingManagerTranscoderActivated, ...) (event.Subscription, error)
- func (_BondingManager *BondingManagerFilterer) WatchTranscoderDeactivated(opts *bind.WatchOpts, sink chan<- *BondingManagerTranscoderDeactivated, ...) (event.Subscription, error)
- func (_BondingManager *BondingManagerFilterer) WatchTranscoderSlashed(opts *bind.WatchOpts, sink chan<- *BondingManagerTranscoderSlashed, ...) (event.Subscription, error)
- func (_BondingManager *BondingManagerFilterer) WatchTranscoderUpdate(opts *bind.WatchOpts, sink chan<- *BondingManagerTranscoderUpdate, ...) (event.Subscription, error)
- func (_BondingManager *BondingManagerFilterer) WatchUnbond(opts *bind.WatchOpts, sink chan<- *BondingManagerUnbond, ...) (event.Subscription, error)
- func (_BondingManager *BondingManagerFilterer) WatchWithdrawFees(opts *bind.WatchOpts, sink chan<- *BondingManagerWithdrawFees, ...) (event.Subscription, error)
- func (_BondingManager *BondingManagerFilterer) WatchWithdrawStake(opts *bind.WatchOpts, sink chan<- *BondingManagerWithdrawStake, ...) (event.Subscription, error)
- type BondingManagerParameterUpdate
- type BondingManagerParameterUpdateIterator
- type BondingManagerRaw
- func (_BondingManager *BondingManagerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_BondingManager *BondingManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_BondingManager *BondingManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type BondingManagerRebond
- type BondingManagerRebondIterator
- type BondingManagerReward
- type BondingManagerRewardIterator
- type BondingManagerSession
- func (_BondingManager *BondingManagerSession) ActiveTranscoderSetDEPRECATED(arg0 *big.Int) (*big.Int, error)
- func (_BondingManager *BondingManagerSession) Bond(_amount *big.Int, _to common.Address) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) BondWithHint(_amount *big.Int, _to common.Address, _oldDelegateNewPosPrev common.Address, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) ClaimEarnings(_endRound *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) Controller() (common.Address, error)
- func (_BondingManager *BondingManagerSession) CurrentRoundTotalActiveStake() (*big.Int, error)
- func (_BondingManager *BondingManagerSession) DelegatorStatus(_delegator common.Address) (uint8, error)
- func (_BondingManager *BondingManagerSession) GetDelegator(_delegator common.Address) (struct{ ... }, error)
- func (_BondingManager *BondingManagerSession) GetDelegatorUnbondingLock(_delegator common.Address, _unbondingLockId *big.Int) (struct{ ... }, error)
- func (_BondingManager *BondingManagerSession) GetFirstTranscoderInPool() (common.Address, error)
- func (_BondingManager *BondingManagerSession) GetNextTranscoderInPool(_transcoder common.Address) (common.Address, error)
- func (_BondingManager *BondingManagerSession) GetTotalBonded() (*big.Int, error)
- func (_BondingManager *BondingManagerSession) GetTranscoder(_transcoder common.Address) (struct{ ... }, error)
- func (_BondingManager *BondingManagerSession) GetTranscoderEarningsPoolForRound(_transcoder common.Address, _round *big.Int) (struct{ ... }, error)
- func (_BondingManager *BondingManagerSession) GetTranscoderPoolMaxSize() (*big.Int, error)
- func (_BondingManager *BondingManagerSession) GetTranscoderPoolSize() (*big.Int, error)
- func (_BondingManager *BondingManagerSession) IsActiveTranscoder(_transcoder common.Address) (bool, error)
- func (_BondingManager *BondingManagerSession) IsRegisteredTranscoder(_transcoder common.Address) (bool, error)
- func (_BondingManager *BondingManagerSession) IsValidUnbondingLock(_delegator common.Address, _unbondingLockId *big.Int) (bool, error)
- func (_BondingManager *BondingManagerSession) MaxEarningsClaimsRounds() (*big.Int, error)
- func (_BondingManager *BondingManagerSession) NextRoundTotalActiveStake() (*big.Int, error)
- func (_BondingManager *BondingManagerSession) NumActiveTranscodersDEPRECATED() (*big.Int, error)
- func (_BondingManager *BondingManagerSession) PendingFees(_delegator common.Address, _endRound *big.Int) (*big.Int, error)
- func (_BondingManager *BondingManagerSession) PendingStake(_delegator common.Address, _endRound *big.Int) (*big.Int, error)
- func (_BondingManager *BondingManagerSession) Rebond(_unbondingLockId *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) RebondFromUnbonded(_to common.Address, _unbondingLockId *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) RebondFromUnbondedWithHint(_to common.Address, _unbondingLockId *big.Int, _newPosPrev common.Address, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) RebondWithHint(_unbondingLockId *big.Int, _newPosPrev common.Address, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) Reward() (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) RewardWithHint(_newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) SetController(_controller common.Address) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) SetCurrentRoundTotalActiveStake() (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) SetMaxEarningsClaimsRounds(_maxEarningsClaimsRounds *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) SetNumActiveTranscoders(_numActiveTranscoders *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) SetUnbondingPeriod(_unbondingPeriod uint64) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) SlashTranscoder(_transcoder common.Address, _finder common.Address, _slashAmount *big.Int, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) TargetContractId() ([32]byte, error)
- func (_BondingManager *BondingManagerSession) Transcoder(_rewardCut *big.Int, _feeShare *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) TranscoderStatus(_transcoder common.Address) (uint8, error)
- func (_BondingManager *BondingManagerSession) TranscoderTotalStake(_transcoder common.Address) (*big.Int, error)
- func (_BondingManager *BondingManagerSession) TranscoderWithHint(_rewardCut *big.Int, _feeShare *big.Int, _newPosPrev common.Address, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) Unbond(_amount *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) UnbondWithHint(_amount *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) UnbondingPeriod() (uint64, error)
- func (_BondingManager *BondingManagerSession) UpdateTranscoderWithFees(_transcoder common.Address, _fees *big.Int, _round *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) WithdrawFees() (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) WithdrawStake(_unbondingLockId *big.Int) (*types.Transaction, error)
- type BondingManagerSetController
- type BondingManagerSetControllerIterator
- type BondingManagerTransactor
- func (_BondingManager *BondingManagerTransactor) Bond(opts *bind.TransactOpts, _amount *big.Int, _to common.Address) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) BondWithHint(opts *bind.TransactOpts, _amount *big.Int, _to common.Address, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) ClaimEarnings(opts *bind.TransactOpts, _endRound *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) Rebond(opts *bind.TransactOpts, _unbondingLockId *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) RebondFromUnbonded(opts *bind.TransactOpts, _to common.Address, _unbondingLockId *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) RebondFromUnbondedWithHint(opts *bind.TransactOpts, _to common.Address, _unbondingLockId *big.Int, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) RebondWithHint(opts *bind.TransactOpts, _unbondingLockId *big.Int, _newPosPrev common.Address, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) Reward(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) RewardWithHint(opts *bind.TransactOpts, _newPosPrev common.Address, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) SetCurrentRoundTotalActiveStake(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) SetMaxEarningsClaimsRounds(opts *bind.TransactOpts, _maxEarningsClaimsRounds *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) SetNumActiveTranscoders(opts *bind.TransactOpts, _numActiveTranscoders *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) SetUnbondingPeriod(opts *bind.TransactOpts, _unbondingPeriod uint64) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) SlashTranscoder(opts *bind.TransactOpts, _transcoder common.Address, _finder common.Address, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) Transcoder(opts *bind.TransactOpts, _rewardCut *big.Int, _feeShare *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) TranscoderWithHint(opts *bind.TransactOpts, _rewardCut *big.Int, _feeShare *big.Int, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) Unbond(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) UnbondWithHint(opts *bind.TransactOpts, _amount *big.Int, _newPosPrev common.Address, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) UpdateTranscoderWithFees(opts *bind.TransactOpts, _transcoder common.Address, _fees *big.Int, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) WithdrawFees(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) WithdrawStake(opts *bind.TransactOpts, _unbondingLockId *big.Int) (*types.Transaction, error)
- type BondingManagerTransactorRaw
- type BondingManagerTransactorSession
- func (_BondingManager *BondingManagerTransactorSession) Bond(_amount *big.Int, _to common.Address) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) BondWithHint(_amount *big.Int, _to common.Address, _oldDelegateNewPosPrev common.Address, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) ClaimEarnings(_endRound *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) Rebond(_unbondingLockId *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) RebondFromUnbonded(_to common.Address, _unbondingLockId *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) RebondFromUnbondedWithHint(_to common.Address, _unbondingLockId *big.Int, _newPosPrev common.Address, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) RebondWithHint(_unbondingLockId *big.Int, _newPosPrev common.Address, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) Reward() (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) RewardWithHint(_newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) SetCurrentRoundTotalActiveStake() (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) SetMaxEarningsClaimsRounds(_maxEarningsClaimsRounds *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) SetNumActiveTranscoders(_numActiveTranscoders *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) SetUnbondingPeriod(_unbondingPeriod uint64) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) SlashTranscoder(_transcoder common.Address, _finder common.Address, _slashAmount *big.Int, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) Transcoder(_rewardCut *big.Int, _feeShare *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) TranscoderWithHint(_rewardCut *big.Int, _feeShare *big.Int, _newPosPrev common.Address, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) Unbond(_amount *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) UnbondWithHint(_amount *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) UpdateTranscoderWithFees(_transcoder common.Address, _fees *big.Int, _round *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) WithdrawFees() (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) WithdrawStake(_unbondingLockId *big.Int) (*types.Transaction, error)
- type BondingManagerTranscoderActivated
- type BondingManagerTranscoderActivatedIterator
- type BondingManagerTranscoderDeactivated
- type BondingManagerTranscoderDeactivatedIterator
- type BondingManagerTranscoderSlashed
- type BondingManagerTranscoderSlashedIterator
- type BondingManagerTranscoderUpdate
- type BondingManagerTranscoderUpdateIterator
- type BondingManagerUnbond
- type BondingManagerUnbondIterator
- type BondingManagerWithdrawFees
- type BondingManagerWithdrawFeesIterator
- type BondingManagerWithdrawStake
- type BondingManagerWithdrawStakeIterator
- type Controller
- type ControllerCaller
- func (_Controller *ControllerCaller) GetContract(opts *bind.CallOpts, _id [32]byte) (common.Address, error)
- func (_Controller *ControllerCaller) GetContractInfo(opts *bind.CallOpts, _id [32]byte) (common.Address, [20]byte, error)
- func (_Controller *ControllerCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Controller *ControllerCaller) Paused(opts *bind.CallOpts) (bool, error)
- type ControllerCallerRaw
- type ControllerCallerSession
- func (_Controller *ControllerCallerSession) GetContract(_id [32]byte) (common.Address, error)
- func (_Controller *ControllerCallerSession) GetContractInfo(_id [32]byte) (common.Address, [20]byte, error)
- func (_Controller *ControllerCallerSession) Owner() (common.Address, error)
- func (_Controller *ControllerCallerSession) Paused() (bool, error)
- type ControllerFilterer
- func (_Controller *ControllerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*ControllerOwnershipTransferredIterator, error)
- func (_Controller *ControllerFilterer) FilterPause(opts *bind.FilterOpts) (*ControllerPauseIterator, error)
- func (_Controller *ControllerFilterer) FilterSetContractInfo(opts *bind.FilterOpts) (*ControllerSetContractInfoIterator, error)
- func (_Controller *ControllerFilterer) FilterUnpause(opts *bind.FilterOpts) (*ControllerUnpauseIterator, error)
- func (_Controller *ControllerFilterer) ParseOwnershipTransferred(log types.Log) (*ControllerOwnershipTransferred, error)
- func (_Controller *ControllerFilterer) ParsePause(log types.Log) (*ControllerPause, error)
- func (_Controller *ControllerFilterer) ParseSetContractInfo(log types.Log) (*ControllerSetContractInfo, error)
- func (_Controller *ControllerFilterer) ParseUnpause(log types.Log) (*ControllerUnpause, error)
- func (_Controller *ControllerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ControllerOwnershipTransferred, ...) (event.Subscription, error)
- func (_Controller *ControllerFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *ControllerPause) (event.Subscription, error)
- func (_Controller *ControllerFilterer) WatchSetContractInfo(opts *bind.WatchOpts, sink chan<- *ControllerSetContractInfo) (event.Subscription, error)
- func (_Controller *ControllerFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *ControllerUnpause) (event.Subscription, error)
- type ControllerOwnershipTransferred
- type ControllerOwnershipTransferredIterator
- type ControllerPause
- type ControllerPauseIterator
- type ControllerRaw
- func (_Controller *ControllerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Controller *ControllerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Controller *ControllerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ControllerSession
- func (_Controller *ControllerSession) GetContract(_id [32]byte) (common.Address, error)
- func (_Controller *ControllerSession) GetContractInfo(_id [32]byte) (common.Address, [20]byte, error)
- func (_Controller *ControllerSession) Owner() (common.Address, error)
- func (_Controller *ControllerSession) Pause() (*types.Transaction, error)
- func (_Controller *ControllerSession) Paused() (bool, error)
- func (_Controller *ControllerSession) SetContractInfo(_id [32]byte, _contractAddress common.Address, _gitCommitHash [20]byte) (*types.Transaction, error)
- func (_Controller *ControllerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Controller *ControllerSession) Unpause() (*types.Transaction, error)
- func (_Controller *ControllerSession) UpdateController(_id [32]byte, _controller common.Address) (*types.Transaction, error)
- type ControllerSetContractInfo
- type ControllerSetContractInfoIterator
- type ControllerTransactor
- func (_Controller *ControllerTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) SetContractInfo(opts *bind.TransactOpts, _id [32]byte, _contractAddress common.Address, ...) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) UpdateController(opts *bind.TransactOpts, _id [32]byte, _controller common.Address) (*types.Transaction, error)
- type ControllerTransactorRaw
- type ControllerTransactorSession
- func (_Controller *ControllerTransactorSession) Pause() (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) SetContractInfo(_id [32]byte, _contractAddress common.Address, _gitCommitHash [20]byte) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) Unpause() (*types.Transaction, error)
- func (_Controller *ControllerTransactorSession) UpdateController(_id [32]byte, _controller common.Address) (*types.Transaction, error)
- type ControllerUnpause
- type ControllerUnpauseIterator
- type LivepeerToken
- type LivepeerTokenApproval
- type LivepeerTokenApprovalIterator
- type LivepeerTokenBurn
- type LivepeerTokenBurnIterator
- type LivepeerTokenCaller
- func (_LivepeerToken *LivepeerTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
- func (_LivepeerToken *LivepeerTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
- func (_LivepeerToken *LivepeerTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
- func (_LivepeerToken *LivepeerTokenCaller) MintingFinished(opts *bind.CallOpts) (bool, error)
- func (_LivepeerToken *LivepeerTokenCaller) Name(opts *bind.CallOpts) (string, error)
- func (_LivepeerToken *LivepeerTokenCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_LivepeerToken *LivepeerTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
- func (_LivepeerToken *LivepeerTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_LivepeerToken *LivepeerTokenCaller) Version(opts *bind.CallOpts) (string, error)
- type LivepeerTokenCallerRaw
- type LivepeerTokenCallerSession
- func (_LivepeerToken *LivepeerTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_LivepeerToken *LivepeerTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_LivepeerToken *LivepeerTokenCallerSession) Decimals() (uint8, error)
- func (_LivepeerToken *LivepeerTokenCallerSession) MintingFinished() (bool, error)
- func (_LivepeerToken *LivepeerTokenCallerSession) Name() (string, error)
- func (_LivepeerToken *LivepeerTokenCallerSession) Owner() (common.Address, error)
- func (_LivepeerToken *LivepeerTokenCallerSession) Symbol() (string, error)
- func (_LivepeerToken *LivepeerTokenCallerSession) TotalSupply() (*big.Int, error)
- func (_LivepeerToken *LivepeerTokenCallerSession) Version() (string, error)
- type LivepeerTokenFaucet
- type LivepeerTokenFaucetCaller
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetCaller) IsWhitelisted(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetCaller) NextValidRequest(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetCaller) RequestAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetCaller) RequestWait(opts *bind.CallOpts) (*big.Int, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetCaller) Token(opts *bind.CallOpts) (common.Address, error)
- type LivepeerTokenFaucetCallerRaw
- type LivepeerTokenFaucetCallerSession
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerSession) IsWhitelisted(arg0 common.Address) (bool, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerSession) NextValidRequest(arg0 common.Address) (*big.Int, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerSession) Owner() (common.Address, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerSession) RequestAmount() (*big.Int, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerSession) RequestWait() (*big.Int, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerSession) Token() (common.Address, error)
- type LivepeerTokenFaucetFilterer
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*LivepeerTokenFaucetOwnershipTransferredIterator, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) FilterRequest(opts *bind.FilterOpts, to []common.Address) (*LivepeerTokenFaucetRequestIterator, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) ParseOwnershipTransferred(log types.Log) (*LivepeerTokenFaucetOwnershipTransferred, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) ParseRequest(log types.Log) (*LivepeerTokenFaucetRequest, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LivepeerTokenFaucetOwnershipTransferred, ...) (event.Subscription, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) WatchRequest(opts *bind.WatchOpts, sink chan<- *LivepeerTokenFaucetRequest, ...) (event.Subscription, error)
- type LivepeerTokenFaucetOwnershipTransferred
- type LivepeerTokenFaucetOwnershipTransferredIterator
- type LivepeerTokenFaucetRaw
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LivepeerTokenFaucetRequest
- type LivepeerTokenFaucetRequestIterator
- type LivepeerTokenFaucetSession
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) AddToWhitelist(_addr common.Address) (*types.Transaction, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) IsWhitelisted(arg0 common.Address) (bool, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) NextValidRequest(arg0 common.Address) (*big.Int, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) Owner() (common.Address, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) RemoveFromWhitelist(_addr common.Address) (*types.Transaction, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) Request() (*types.Transaction, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) RequestAmount() (*big.Int, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) RequestWait() (*big.Int, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) Token() (common.Address, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type LivepeerTokenFaucetTransactor
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactor) AddToWhitelist(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactor) RemoveFromWhitelist(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactor) Request(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type LivepeerTokenFaucetTransactorRaw
- type LivepeerTokenFaucetTransactorSession
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactorSession) AddToWhitelist(_addr common.Address) (*types.Transaction, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactorSession) RemoveFromWhitelist(_addr common.Address) (*types.Transaction, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactorSession) Request() (*types.Transaction, error)
- func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type LivepeerTokenFilterer
- func (_LivepeerToken *LivepeerTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LivepeerTokenApprovalIterator, error)
- func (_LivepeerToken *LivepeerTokenFilterer) FilterBurn(opts *bind.FilterOpts, burner []common.Address) (*LivepeerTokenBurnIterator, error)
- func (_LivepeerToken *LivepeerTokenFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*LivepeerTokenMintIterator, error)
- func (_LivepeerToken *LivepeerTokenFilterer) FilterMintFinished(opts *bind.FilterOpts) (*LivepeerTokenMintFinishedIterator, error)
- func (_LivepeerToken *LivepeerTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, ...) (*LivepeerTokenOwnershipTransferredIterator, error)
- func (_LivepeerToken *LivepeerTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*LivepeerTokenTransferIterator, error)
- func (_LivepeerToken *LivepeerTokenFilterer) ParseApproval(log types.Log) (*LivepeerTokenApproval, error)
- func (_LivepeerToken *LivepeerTokenFilterer) ParseBurn(log types.Log) (*LivepeerTokenBurn, error)
- func (_LivepeerToken *LivepeerTokenFilterer) ParseMint(log types.Log) (*LivepeerTokenMint, error)
- func (_LivepeerToken *LivepeerTokenFilterer) ParseMintFinished(log types.Log) (*LivepeerTokenMintFinished, error)
- func (_LivepeerToken *LivepeerTokenFilterer) ParseOwnershipTransferred(log types.Log) (*LivepeerTokenOwnershipTransferred, error)
- func (_LivepeerToken *LivepeerTokenFilterer) ParseTransfer(log types.Log) (*LivepeerTokenTransfer, error)
- func (_LivepeerToken *LivepeerTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LivepeerTokenApproval, ...) (event.Subscription, error)
- func (_LivepeerToken *LivepeerTokenFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *LivepeerTokenBurn, burner []common.Address) (event.Subscription, error)
- func (_LivepeerToken *LivepeerTokenFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *LivepeerTokenMint, to []common.Address) (event.Subscription, error)
- func (_LivepeerToken *LivepeerTokenFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *LivepeerTokenMintFinished) (event.Subscription, error)
- func (_LivepeerToken *LivepeerTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LivepeerTokenOwnershipTransferred, ...) (event.Subscription, error)
- func (_LivepeerToken *LivepeerTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LivepeerTokenTransfer, ...) (event.Subscription, error)
- type LivepeerTokenMint
- type LivepeerTokenMintFinished
- type LivepeerTokenMintFinishedIterator
- type LivepeerTokenMintIterator
- type LivepeerTokenOwnershipTransferred
- type LivepeerTokenOwnershipTransferredIterator
- type LivepeerTokenRaw
- func (_LivepeerToken *LivepeerTokenRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_LivepeerToken *LivepeerTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type LivepeerTokenSession
- func (_LivepeerToken *LivepeerTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
- func (_LivepeerToken *LivepeerTokenSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenSession) BalanceOf(account common.Address) (*big.Int, error)
- func (_LivepeerToken *LivepeerTokenSession) Burn(_amount *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenSession) Decimals() (uint8, error)
- func (_LivepeerToken *LivepeerTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenSession) FinishMinting() (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenSession) MintingFinished() (bool, error)
- func (_LivepeerToken *LivepeerTokenSession) Name() (string, error)
- func (_LivepeerToken *LivepeerTokenSession) Owner() (common.Address, error)
- func (_LivepeerToken *LivepeerTokenSession) Symbol() (string, error)
- func (_LivepeerToken *LivepeerTokenSession) TotalSupply() (*big.Int, error)
- func (_LivepeerToken *LivepeerTokenSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenSession) Version() (string, error)
- type LivepeerTokenTransactor
- func (_LivepeerToken *LivepeerTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactor) Burn(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, ...) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
- type LivepeerTokenTransactorRaw
- type LivepeerTokenTransactorSession
- func (_LivepeerToken *LivepeerTokenTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactorSession) Burn(_amount *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactorSession) FinishMinting() (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type LivepeerTokenTransfer
- type LivepeerTokenTransferIterator
- type Minter
- type MinterCaller
- func (_Minter *MinterCaller) Controller(opts *bind.CallOpts) (common.Address, error)
- func (_Minter *MinterCaller) CurrentMintableTokens(opts *bind.CallOpts) (*big.Int, error)
- func (_Minter *MinterCaller) CurrentMintedTokens(opts *bind.CallOpts) (*big.Int, error)
- func (_Minter *MinterCaller) GetController(opts *bind.CallOpts) (common.Address, error)
- func (_Minter *MinterCaller) Inflation(opts *bind.CallOpts) (*big.Int, error)
- func (_Minter *MinterCaller) InflationChange(opts *bind.CallOpts) (*big.Int, error)
- func (_Minter *MinterCaller) TargetBondingRate(opts *bind.CallOpts) (*big.Int, error)
- type MinterCallerRaw
- type MinterCallerSession
- func (_Minter *MinterCallerSession) Controller() (common.Address, error)
- func (_Minter *MinterCallerSession) CurrentMintableTokens() (*big.Int, error)
- func (_Minter *MinterCallerSession) CurrentMintedTokens() (*big.Int, error)
- func (_Minter *MinterCallerSession) GetController() (common.Address, error)
- func (_Minter *MinterCallerSession) Inflation() (*big.Int, error)
- func (_Minter *MinterCallerSession) InflationChange() (*big.Int, error)
- func (_Minter *MinterCallerSession) TargetBondingRate() (*big.Int, error)
- type MinterFilterer
- func (_Minter *MinterFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*MinterParameterUpdateIterator, error)
- func (_Minter *MinterFilterer) FilterSetController(opts *bind.FilterOpts) (*MinterSetControllerIterator, error)
- func (_Minter *MinterFilterer) FilterSetCurrentRewardTokens(opts *bind.FilterOpts) (*MinterSetCurrentRewardTokensIterator, error)
- func (_Minter *MinterFilterer) ParseParameterUpdate(log types.Log) (*MinterParameterUpdate, error)
- func (_Minter *MinterFilterer) ParseSetController(log types.Log) (*MinterSetController, error)
- func (_Minter *MinterFilterer) ParseSetCurrentRewardTokens(log types.Log) (*MinterSetCurrentRewardTokens, error)
- func (_Minter *MinterFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *MinterParameterUpdate) (event.Subscription, error)
- func (_Minter *MinterFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *MinterSetController) (event.Subscription, error)
- func (_Minter *MinterFilterer) WatchSetCurrentRewardTokens(opts *bind.WatchOpts, sink chan<- *MinterSetCurrentRewardTokens) (event.Subscription, error)
- type MinterParameterUpdate
- type MinterParameterUpdateIterator
- type MinterRaw
- func (_Minter *MinterRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Minter *MinterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Minter *MinterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type MinterSession
- func (_Minter *MinterSession) Controller() (common.Address, error)
- func (_Minter *MinterSession) CreateReward(_fracNum *big.Int, _fracDenom *big.Int) (*types.Transaction, error)
- func (_Minter *MinterSession) CurrentMintableTokens() (*big.Int, error)
- func (_Minter *MinterSession) CurrentMintedTokens() (*big.Int, error)
- func (_Minter *MinterSession) DepositETH() (*types.Transaction, error)
- func (_Minter *MinterSession) GetController() (common.Address, error)
- func (_Minter *MinterSession) Inflation() (*big.Int, error)
- func (_Minter *MinterSession) InflationChange() (*big.Int, error)
- func (_Minter *MinterSession) MigrateToNewMinter(_newMinter common.Address) (*types.Transaction, error)
- func (_Minter *MinterSession) SetController(_controller common.Address) (*types.Transaction, error)
- func (_Minter *MinterSession) SetCurrentRewardTokens() (*types.Transaction, error)
- func (_Minter *MinterSession) SetInflationChange(_inflationChange *big.Int) (*types.Transaction, error)
- func (_Minter *MinterSession) SetTargetBondingRate(_targetBondingRate *big.Int) (*types.Transaction, error)
- func (_Minter *MinterSession) TargetBondingRate() (*big.Int, error)
- func (_Minter *MinterSession) TrustedBurnTokens(_amount *big.Int) (*types.Transaction, error)
- func (_Minter *MinterSession) TrustedTransferTokens(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Minter *MinterSession) TrustedWithdrawETH(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- type MinterSetController
- type MinterSetControllerIterator
- type MinterSetCurrentRewardTokens
- type MinterSetCurrentRewardTokensIterator
- type MinterTransactor
- func (_Minter *MinterTransactor) CreateReward(opts *bind.TransactOpts, _fracNum *big.Int, _fracDenom *big.Int) (*types.Transaction, error)
- func (_Minter *MinterTransactor) DepositETH(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Minter *MinterTransactor) MigrateToNewMinter(opts *bind.TransactOpts, _newMinter common.Address) (*types.Transaction, error)
- func (_Minter *MinterTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)
- func (_Minter *MinterTransactor) SetCurrentRewardTokens(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Minter *MinterTransactor) SetInflationChange(opts *bind.TransactOpts, _inflationChange *big.Int) (*types.Transaction, error)
- func (_Minter *MinterTransactor) SetTargetBondingRate(opts *bind.TransactOpts, _targetBondingRate *big.Int) (*types.Transaction, error)
- func (_Minter *MinterTransactor) TrustedBurnTokens(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_Minter *MinterTransactor) TrustedTransferTokens(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Minter *MinterTransactor) TrustedWithdrawETH(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
- type MinterTransactorRaw
- type MinterTransactorSession
- func (_Minter *MinterTransactorSession) CreateReward(_fracNum *big.Int, _fracDenom *big.Int) (*types.Transaction, error)
- func (_Minter *MinterTransactorSession) DepositETH() (*types.Transaction, error)
- func (_Minter *MinterTransactorSession) MigrateToNewMinter(_newMinter common.Address) (*types.Transaction, error)
- func (_Minter *MinterTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)
- func (_Minter *MinterTransactorSession) SetCurrentRewardTokens() (*types.Transaction, error)
- func (_Minter *MinterTransactorSession) SetInflationChange(_inflationChange *big.Int) (*types.Transaction, error)
- func (_Minter *MinterTransactorSession) SetTargetBondingRate(_targetBondingRate *big.Int) (*types.Transaction, error)
- func (_Minter *MinterTransactorSession) TrustedBurnTokens(_amount *big.Int) (*types.Transaction, error)
- func (_Minter *MinterTransactorSession) TrustedTransferTokens(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- func (_Minter *MinterTransactorSession) TrustedWithdrawETH(_to common.Address, _amount *big.Int) (*types.Transaction, error)
- type RoundsManager
- type RoundsManagerCaller
- func (_RoundsManager *RoundsManagerCaller) BlockHash(opts *bind.CallOpts, _block *big.Int) ([32]byte, error)
- func (_RoundsManager *RoundsManagerCaller) BlockHashForRound(opts *bind.CallOpts, _round *big.Int) ([32]byte, error)
- func (_RoundsManager *RoundsManagerCaller) BlockNum(opts *bind.CallOpts) (*big.Int, error)
- func (_RoundsManager *RoundsManagerCaller) Controller(opts *bind.CallOpts) (common.Address, error)
- func (_RoundsManager *RoundsManagerCaller) CurrentRound(opts *bind.CallOpts) (*big.Int, error)
- func (_RoundsManager *RoundsManagerCaller) CurrentRoundInitialized(opts *bind.CallOpts) (bool, error)
- func (_RoundsManager *RoundsManagerCaller) CurrentRoundLocked(opts *bind.CallOpts) (bool, error)
- func (_RoundsManager *RoundsManagerCaller) CurrentRoundStartBlock(opts *bind.CallOpts) (*big.Int, error)
- func (_RoundsManager *RoundsManagerCaller) LastInitializedRound(opts *bind.CallOpts) (*big.Int, error)
- func (_RoundsManager *RoundsManagerCaller) LastRoundLengthUpdateRound(opts *bind.CallOpts) (*big.Int, error)
- func (_RoundsManager *RoundsManagerCaller) LastRoundLengthUpdateStartBlock(opts *bind.CallOpts) (*big.Int, error)
- func (_RoundsManager *RoundsManagerCaller) RoundLength(opts *bind.CallOpts) (*big.Int, error)
- func (_RoundsManager *RoundsManagerCaller) RoundLockAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_RoundsManager *RoundsManagerCaller) TargetContractId(opts *bind.CallOpts) ([32]byte, error)
- type RoundsManagerCallerRaw
- type RoundsManagerCallerSession
- func (_RoundsManager *RoundsManagerCallerSession) BlockHash(_block *big.Int) ([32]byte, error)
- func (_RoundsManager *RoundsManagerCallerSession) BlockHashForRound(_round *big.Int) ([32]byte, error)
- func (_RoundsManager *RoundsManagerCallerSession) BlockNum() (*big.Int, error)
- func (_RoundsManager *RoundsManagerCallerSession) Controller() (common.Address, error)
- func (_RoundsManager *RoundsManagerCallerSession) CurrentRound() (*big.Int, error)
- func (_RoundsManager *RoundsManagerCallerSession) CurrentRoundInitialized() (bool, error)
- func (_RoundsManager *RoundsManagerCallerSession) CurrentRoundLocked() (bool, error)
- func (_RoundsManager *RoundsManagerCallerSession) CurrentRoundStartBlock() (*big.Int, error)
- func (_RoundsManager *RoundsManagerCallerSession) LastInitializedRound() (*big.Int, error)
- func (_RoundsManager *RoundsManagerCallerSession) LastRoundLengthUpdateRound() (*big.Int, error)
- func (_RoundsManager *RoundsManagerCallerSession) LastRoundLengthUpdateStartBlock() (*big.Int, error)
- func (_RoundsManager *RoundsManagerCallerSession) RoundLength() (*big.Int, error)
- func (_RoundsManager *RoundsManagerCallerSession) RoundLockAmount() (*big.Int, error)
- func (_RoundsManager *RoundsManagerCallerSession) TargetContractId() ([32]byte, error)
- type RoundsManagerFilterer
- func (_RoundsManager *RoundsManagerFilterer) FilterNewRound(opts *bind.FilterOpts, round []*big.Int) (*RoundsManagerNewRoundIterator, error)
- func (_RoundsManager *RoundsManagerFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*RoundsManagerParameterUpdateIterator, error)
- func (_RoundsManager *RoundsManagerFilterer) FilterSetController(opts *bind.FilterOpts) (*RoundsManagerSetControllerIterator, error)
- func (_RoundsManager *RoundsManagerFilterer) ParseNewRound(log types.Log) (*RoundsManagerNewRound, error)
- func (_RoundsManager *RoundsManagerFilterer) ParseParameterUpdate(log types.Log) (*RoundsManagerParameterUpdate, error)
- func (_RoundsManager *RoundsManagerFilterer) ParseSetController(log types.Log) (*RoundsManagerSetController, error)
- func (_RoundsManager *RoundsManagerFilterer) WatchNewRound(opts *bind.WatchOpts, sink chan<- *RoundsManagerNewRound, round []*big.Int) (event.Subscription, error)
- func (_RoundsManager *RoundsManagerFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *RoundsManagerParameterUpdate) (event.Subscription, error)
- func (_RoundsManager *RoundsManagerFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *RoundsManagerSetController) (event.Subscription, error)
- type RoundsManagerNewRound
- type RoundsManagerNewRoundIterator
- type RoundsManagerParameterUpdate
- type RoundsManagerParameterUpdateIterator
- type RoundsManagerRaw
- func (_RoundsManager *RoundsManagerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_RoundsManager *RoundsManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_RoundsManager *RoundsManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type RoundsManagerSession
- func (_RoundsManager *RoundsManagerSession) BlockHash(_block *big.Int) ([32]byte, error)
- func (_RoundsManager *RoundsManagerSession) BlockHashForRound(_round *big.Int) ([32]byte, error)
- func (_RoundsManager *RoundsManagerSession) BlockNum() (*big.Int, error)
- func (_RoundsManager *RoundsManagerSession) Controller() (common.Address, error)
- func (_RoundsManager *RoundsManagerSession) CurrentRound() (*big.Int, error)
- func (_RoundsManager *RoundsManagerSession) CurrentRoundInitialized() (bool, error)
- func (_RoundsManager *RoundsManagerSession) CurrentRoundLocked() (bool, error)
- func (_RoundsManager *RoundsManagerSession) CurrentRoundStartBlock() (*big.Int, error)
- func (_RoundsManager *RoundsManagerSession) InitializeRound() (*types.Transaction, error)
- func (_RoundsManager *RoundsManagerSession) LastInitializedRound() (*big.Int, error)
- func (_RoundsManager *RoundsManagerSession) LastRoundLengthUpdateRound() (*big.Int, error)
- func (_RoundsManager *RoundsManagerSession) LastRoundLengthUpdateStartBlock() (*big.Int, error)
- func (_RoundsManager *RoundsManagerSession) RoundLength() (*big.Int, error)
- func (_RoundsManager *RoundsManagerSession) RoundLockAmount() (*big.Int, error)
- func (_RoundsManager *RoundsManagerSession) SetController(_controller common.Address) (*types.Transaction, error)
- func (_RoundsManager *RoundsManagerSession) SetRoundLength(_roundLength *big.Int) (*types.Transaction, error)
- func (_RoundsManager *RoundsManagerSession) SetRoundLockAmount(_roundLockAmount *big.Int) (*types.Transaction, error)
- func (_RoundsManager *RoundsManagerSession) TargetContractId() ([32]byte, error)
- type RoundsManagerSetController
- type RoundsManagerSetControllerIterator
- type RoundsManagerTransactor
- func (_RoundsManager *RoundsManagerTransactor) InitializeRound(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_RoundsManager *RoundsManagerTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)
- func (_RoundsManager *RoundsManagerTransactor) SetRoundLength(opts *bind.TransactOpts, _roundLength *big.Int) (*types.Transaction, error)
- func (_RoundsManager *RoundsManagerTransactor) SetRoundLockAmount(opts *bind.TransactOpts, _roundLockAmount *big.Int) (*types.Transaction, error)
- type RoundsManagerTransactorRaw
- type RoundsManagerTransactorSession
- func (_RoundsManager *RoundsManagerTransactorSession) InitializeRound() (*types.Transaction, error)
- func (_RoundsManager *RoundsManagerTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)
- func (_RoundsManager *RoundsManagerTransactorSession) SetRoundLength(_roundLength *big.Int) (*types.Transaction, error)
- func (_RoundsManager *RoundsManagerTransactorSession) SetRoundLockAmount(_roundLockAmount *big.Int) (*types.Transaction, error)
- type ServiceRegistry
- type ServiceRegistryCaller
- func (_ServiceRegistry *ServiceRegistryCaller) Controller(opts *bind.CallOpts) (common.Address, error)
- func (_ServiceRegistry *ServiceRegistryCaller) GetServiceURI(opts *bind.CallOpts, _addr common.Address) (string, error)
- func (_ServiceRegistry *ServiceRegistryCaller) TargetContractId(opts *bind.CallOpts) ([32]byte, error)
- type ServiceRegistryCallerRaw
- type ServiceRegistryCallerSession
- type ServiceRegistryFilterer
- func (_ServiceRegistry *ServiceRegistryFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*ServiceRegistryParameterUpdateIterator, error)
- func (_ServiceRegistry *ServiceRegistryFilterer) FilterServiceURIUpdate(opts *bind.FilterOpts, addr []common.Address) (*ServiceRegistryServiceURIUpdateIterator, error)
- func (_ServiceRegistry *ServiceRegistryFilterer) FilterSetController(opts *bind.FilterOpts) (*ServiceRegistrySetControllerIterator, error)
- func (_ServiceRegistry *ServiceRegistryFilterer) ParseParameterUpdate(log types.Log) (*ServiceRegistryParameterUpdate, error)
- func (_ServiceRegistry *ServiceRegistryFilterer) ParseServiceURIUpdate(log types.Log) (*ServiceRegistryServiceURIUpdate, error)
- func (_ServiceRegistry *ServiceRegistryFilterer) ParseSetController(log types.Log) (*ServiceRegistrySetController, error)
- func (_ServiceRegistry *ServiceRegistryFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *ServiceRegistryParameterUpdate) (event.Subscription, error)
- func (_ServiceRegistry *ServiceRegistryFilterer) WatchServiceURIUpdate(opts *bind.WatchOpts, sink chan<- *ServiceRegistryServiceURIUpdate, ...) (event.Subscription, error)
- func (_ServiceRegistry *ServiceRegistryFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *ServiceRegistrySetController) (event.Subscription, error)
- type ServiceRegistryParameterUpdate
- type ServiceRegistryParameterUpdateIterator
- type ServiceRegistryRaw
- func (_ServiceRegistry *ServiceRegistryRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ServiceRegistry *ServiceRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_ServiceRegistry *ServiceRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type ServiceRegistryServiceURIUpdate
- type ServiceRegistryServiceURIUpdateIterator
- type ServiceRegistrySession
- func (_ServiceRegistry *ServiceRegistrySession) Controller() (common.Address, error)
- func (_ServiceRegistry *ServiceRegistrySession) GetServiceURI(_addr common.Address) (string, error)
- func (_ServiceRegistry *ServiceRegistrySession) SetController(_controller common.Address) (*types.Transaction, error)
- func (_ServiceRegistry *ServiceRegistrySession) SetServiceURI(_serviceURI string) (*types.Transaction, error)
- func (_ServiceRegistry *ServiceRegistrySession) TargetContractId() ([32]byte, error)
- type ServiceRegistrySetController
- type ServiceRegistrySetControllerIterator
- type ServiceRegistryTransactor
- type ServiceRegistryTransactorRaw
- type ServiceRegistryTransactorSession
- type Struct0
- type Struct1
- type TicketBroker
- type TicketBrokerCaller
- func (_TicketBroker *TicketBrokerCaller) ClaimableReserve(opts *bind.CallOpts, _reserveHolder common.Address, _claimant common.Address) (*big.Int, error)
- func (_TicketBroker *TicketBrokerCaller) ClaimedReserve(opts *bind.CallOpts, _reserveHolder common.Address, _claimant common.Address) (*big.Int, error)
- func (_TicketBroker *TicketBrokerCaller) Controller(opts *bind.CallOpts) (common.Address, error)
- func (_TicketBroker *TicketBrokerCaller) GetReserveInfo(opts *bind.CallOpts, _reserveHolder common.Address) (Struct0, error)
- func (_TicketBroker *TicketBrokerCaller) GetSenderInfo(opts *bind.CallOpts, _sender common.Address) (struct{ ... }, error)
- func (_TicketBroker *TicketBrokerCaller) IsUnlockInProgress(opts *bind.CallOpts, _sender common.Address) (bool, error)
- func (_TicketBroker *TicketBrokerCaller) TargetContractId(opts *bind.CallOpts) ([32]byte, error)
- func (_TicketBroker *TicketBrokerCaller) TicketValidityPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_TicketBroker *TicketBrokerCaller) UnlockPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_TicketBroker *TicketBrokerCaller) UsedTickets(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- type TicketBrokerCallerRaw
- type TicketBrokerCallerSession
- func (_TicketBroker *TicketBrokerCallerSession) ClaimableReserve(_reserveHolder common.Address, _claimant common.Address) (*big.Int, error)
- func (_TicketBroker *TicketBrokerCallerSession) ClaimedReserve(_reserveHolder common.Address, _claimant common.Address) (*big.Int, error)
- func (_TicketBroker *TicketBrokerCallerSession) Controller() (common.Address, error)
- func (_TicketBroker *TicketBrokerCallerSession) GetReserveInfo(_reserveHolder common.Address) (Struct0, error)
- func (_TicketBroker *TicketBrokerCallerSession) GetSenderInfo(_sender common.Address) (struct{ ... }, error)
- func (_TicketBroker *TicketBrokerCallerSession) IsUnlockInProgress(_sender common.Address) (bool, error)
- func (_TicketBroker *TicketBrokerCallerSession) TargetContractId() ([32]byte, error)
- func (_TicketBroker *TicketBrokerCallerSession) TicketValidityPeriod() (*big.Int, error)
- func (_TicketBroker *TicketBrokerCallerSession) UnlockPeriod() (*big.Int, error)
- func (_TicketBroker *TicketBrokerCallerSession) UsedTickets(arg0 [32]byte) (bool, error)
- type TicketBrokerDepositFunded
- type TicketBrokerDepositFundedIterator
- type TicketBrokerFilterer
- func (_TicketBroker *TicketBrokerFilterer) FilterDepositFunded(opts *bind.FilterOpts, sender []common.Address) (*TicketBrokerDepositFundedIterator, error)
- func (_TicketBroker *TicketBrokerFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*TicketBrokerParameterUpdateIterator, error)
- func (_TicketBroker *TicketBrokerFilterer) FilterReserveClaimed(opts *bind.FilterOpts, reserveHolder []common.Address) (*TicketBrokerReserveClaimedIterator, error)
- func (_TicketBroker *TicketBrokerFilterer) FilterReserveFunded(opts *bind.FilterOpts, reserveHolder []common.Address) (*TicketBrokerReserveFundedIterator, error)
- func (_TicketBroker *TicketBrokerFilterer) FilterSetController(opts *bind.FilterOpts) (*TicketBrokerSetControllerIterator, error)
- func (_TicketBroker *TicketBrokerFilterer) FilterUnlock(opts *bind.FilterOpts, sender []common.Address) (*TicketBrokerUnlockIterator, error)
- func (_TicketBroker *TicketBrokerFilterer) FilterUnlockCancelled(opts *bind.FilterOpts, sender []common.Address) (*TicketBrokerUnlockCancelledIterator, error)
- func (_TicketBroker *TicketBrokerFilterer) FilterWinningTicketRedeemed(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*TicketBrokerWinningTicketRedeemedIterator, error)
- func (_TicketBroker *TicketBrokerFilterer) FilterWinningTicketTransfer(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*TicketBrokerWinningTicketTransferIterator, error)
- func (_TicketBroker *TicketBrokerFilterer) FilterWithdrawal(opts *bind.FilterOpts, sender []common.Address) (*TicketBrokerWithdrawalIterator, error)
- func (_TicketBroker *TicketBrokerFilterer) ParseDepositFunded(log types.Log) (*TicketBrokerDepositFunded, error)
- func (_TicketBroker *TicketBrokerFilterer) ParseParameterUpdate(log types.Log) (*TicketBrokerParameterUpdate, error)
- func (_TicketBroker *TicketBrokerFilterer) ParseReserveClaimed(log types.Log) (*TicketBrokerReserveClaimed, error)
- func (_TicketBroker *TicketBrokerFilterer) ParseReserveFunded(log types.Log) (*TicketBrokerReserveFunded, error)
- func (_TicketBroker *TicketBrokerFilterer) ParseSetController(log types.Log) (*TicketBrokerSetController, error)
- func (_TicketBroker *TicketBrokerFilterer) ParseUnlock(log types.Log) (*TicketBrokerUnlock, error)
- func (_TicketBroker *TicketBrokerFilterer) ParseUnlockCancelled(log types.Log) (*TicketBrokerUnlockCancelled, error)
- func (_TicketBroker *TicketBrokerFilterer) ParseWinningTicketRedeemed(log types.Log) (*TicketBrokerWinningTicketRedeemed, error)
- func (_TicketBroker *TicketBrokerFilterer) ParseWinningTicketTransfer(log types.Log) (*TicketBrokerWinningTicketTransfer, error)
- func (_TicketBroker *TicketBrokerFilterer) ParseWithdrawal(log types.Log) (*TicketBrokerWithdrawal, error)
- func (_TicketBroker *TicketBrokerFilterer) WatchDepositFunded(opts *bind.WatchOpts, sink chan<- *TicketBrokerDepositFunded, ...) (event.Subscription, error)
- func (_TicketBroker *TicketBrokerFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *TicketBrokerParameterUpdate) (event.Subscription, error)
- func (_TicketBroker *TicketBrokerFilterer) WatchReserveClaimed(opts *bind.WatchOpts, sink chan<- *TicketBrokerReserveClaimed, ...) (event.Subscription, error)
- func (_TicketBroker *TicketBrokerFilterer) WatchReserveFunded(opts *bind.WatchOpts, sink chan<- *TicketBrokerReserveFunded, ...) (event.Subscription, error)
- func (_TicketBroker *TicketBrokerFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *TicketBrokerSetController) (event.Subscription, error)
- func (_TicketBroker *TicketBrokerFilterer) WatchUnlock(opts *bind.WatchOpts, sink chan<- *TicketBrokerUnlock, sender []common.Address) (event.Subscription, error)
- func (_TicketBroker *TicketBrokerFilterer) WatchUnlockCancelled(opts *bind.WatchOpts, sink chan<- *TicketBrokerUnlockCancelled, ...) (event.Subscription, error)
- func (_TicketBroker *TicketBrokerFilterer) WatchWinningTicketRedeemed(opts *bind.WatchOpts, sink chan<- *TicketBrokerWinningTicketRedeemed, ...) (event.Subscription, error)
- func (_TicketBroker *TicketBrokerFilterer) WatchWinningTicketTransfer(opts *bind.WatchOpts, sink chan<- *TicketBrokerWinningTicketTransfer, ...) (event.Subscription, error)
- func (_TicketBroker *TicketBrokerFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *TicketBrokerWithdrawal, ...) (event.Subscription, error)
- type TicketBrokerParameterUpdate
- type TicketBrokerParameterUpdateIterator
- type TicketBrokerRaw
- func (_TicketBroker *TicketBrokerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_TicketBroker *TicketBrokerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type TicketBrokerReserveClaimed
- type TicketBrokerReserveClaimedIterator
- type TicketBrokerReserveFunded
- type TicketBrokerReserveFundedIterator
- type TicketBrokerSession
- func (_TicketBroker *TicketBrokerSession) BatchRedeemWinningTickets(_tickets []Struct1, _sigs [][]byte, _recipientRands []*big.Int) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerSession) CancelUnlock() (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerSession) ClaimableReserve(_reserveHolder common.Address, _claimant common.Address) (*big.Int, error)
- func (_TicketBroker *TicketBrokerSession) ClaimedReserve(_reserveHolder common.Address, _claimant common.Address) (*big.Int, error)
- func (_TicketBroker *TicketBrokerSession) Controller() (common.Address, error)
- func (_TicketBroker *TicketBrokerSession) FundDeposit() (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerSession) FundDepositAndReserve(_depositAmount *big.Int, _reserveAmount *big.Int) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerSession) FundReserve() (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerSession) GetReserveInfo(_reserveHolder common.Address) (Struct0, error)
- func (_TicketBroker *TicketBrokerSession) GetSenderInfo(_sender common.Address) (struct{ ... }, error)
- func (_TicketBroker *TicketBrokerSession) IsUnlockInProgress(_sender common.Address) (bool, error)
- func (_TicketBroker *TicketBrokerSession) RedeemWinningTicket(_ticket Struct1, _sig []byte, _recipientRand *big.Int) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerSession) SetController(_controller common.Address) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerSession) SetTicketValidityPeriod(_ticketValidityPeriod *big.Int) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerSession) SetUnlockPeriod(_unlockPeriod *big.Int) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerSession) TargetContractId() ([32]byte, error)
- func (_TicketBroker *TicketBrokerSession) TicketValidityPeriod() (*big.Int, error)
- func (_TicketBroker *TicketBrokerSession) Unlock() (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerSession) UnlockPeriod() (*big.Int, error)
- func (_TicketBroker *TicketBrokerSession) UsedTickets(arg0 [32]byte) (bool, error)
- func (_TicketBroker *TicketBrokerSession) Withdraw() (*types.Transaction, error)
- type TicketBrokerSetController
- type TicketBrokerSetControllerIterator
- type TicketBrokerTransactor
- func (_TicketBroker *TicketBrokerTransactor) BatchRedeemWinningTickets(opts *bind.TransactOpts, _tickets []Struct1, _sigs [][]byte, ...) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactor) CancelUnlock(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactor) FundDeposit(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactor) FundDepositAndReserve(opts *bind.TransactOpts, _depositAmount *big.Int, _reserveAmount *big.Int) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactor) FundReserve(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactor) RedeemWinningTicket(opts *bind.TransactOpts, _ticket Struct1, _sig []byte, _recipientRand *big.Int) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactor) SetTicketValidityPeriod(opts *bind.TransactOpts, _ticketValidityPeriod *big.Int) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactor) SetUnlockPeriod(opts *bind.TransactOpts, _unlockPeriod *big.Int) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactor) Unlock(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- type TicketBrokerTransactorRaw
- type TicketBrokerTransactorSession
- func (_TicketBroker *TicketBrokerTransactorSession) BatchRedeemWinningTickets(_tickets []Struct1, _sigs [][]byte, _recipientRands []*big.Int) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactorSession) CancelUnlock() (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactorSession) FundDeposit() (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactorSession) FundDepositAndReserve(_depositAmount *big.Int, _reserveAmount *big.Int) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactorSession) FundReserve() (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactorSession) RedeemWinningTicket(_ticket Struct1, _sig []byte, _recipientRand *big.Int) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactorSession) SetTicketValidityPeriod(_ticketValidityPeriod *big.Int) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactorSession) SetUnlockPeriod(_unlockPeriod *big.Int) (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactorSession) Unlock() (*types.Transaction, error)
- func (_TicketBroker *TicketBrokerTransactorSession) Withdraw() (*types.Transaction, error)
- type TicketBrokerUnlock
- type TicketBrokerUnlockCancelled
- type TicketBrokerUnlockCancelledIterator
- type TicketBrokerUnlockIterator
- type TicketBrokerWinningTicketRedeemed
- type TicketBrokerWinningTicketRedeemedIterator
- type TicketBrokerWinningTicketTransfer
- type TicketBrokerWinningTicketTransferIterator
- type TicketBrokerWithdrawal
- type TicketBrokerWithdrawalIterator
Constants ¶
const BondingManagerABI = "" /* 20226-byte string literal not displayed */
BondingManagerABI is the input ABI used to generate the binding from.
const ControllerABI = "" /* 3109-byte string literal not displayed */
ControllerABI is the input ABI used to generate the binding from.
const LivepeerTokenABI = "" /* 6437-byte string literal not displayed */
LivepeerTokenABI is the input ABI used to generate the binding from.
const LivepeerTokenFaucetABI = "" /* 3059-byte string literal not displayed */
LivepeerTokenFaucetABI is the input ABI used to generate the binding from.
const MinterABI = "" /* 5072-byte string literal not displayed */
MinterABI is the input ABI used to generate the binding from.
const RoundsManagerABI = "" /* 4761-byte string literal not displayed */
RoundsManagerABI is the input ABI used to generate the binding from.
const ServiceRegistryABI = "" /* 1943-byte string literal not displayed */
ServiceRegistryABI is the input ABI used to generate the binding from.
const TicketBrokerABI = "" /* 10410-byte string literal not displayed */
TicketBrokerABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BondingManager ¶
type BondingManager struct { BondingManagerCaller // Read-only binding to the contract BondingManagerTransactor // Write-only binding to the contract BondingManagerFilterer // Log filterer for contract events }
BondingManager is an auto generated Go binding around an Ethereum contract.
func NewBondingManager ¶
func NewBondingManager(address common.Address, backend bind.ContractBackend) (*BondingManager, error)
NewBondingManager creates a new instance of BondingManager, bound to a specific deployed contract.
type BondingManagerBond ¶ added in v0.3.3
type BondingManagerBond struct { NewDelegate common.Address OldDelegate common.Address Delegator common.Address AdditionalAmount *big.Int BondedAmount *big.Int Raw types.Log // Blockchain specific contextual infos }
BondingManagerBond represents a Bond event raised by the BondingManager contract.
type BondingManagerBondIterator ¶ added in v0.3.3
type BondingManagerBondIterator struct { Event *BondingManagerBond // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BondingManagerBondIterator is returned from FilterBond and is used to iterate over the raw logs and unpacked data for Bond events raised by the BondingManager contract.
func (*BondingManagerBondIterator) Close ¶ added in v0.3.3
func (it *BondingManagerBondIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BondingManagerBondIterator) Error ¶ added in v0.3.3
func (it *BondingManagerBondIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BondingManagerBondIterator) Next ¶ added in v0.3.3
func (it *BondingManagerBondIterator) 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 BondingManagerCaller ¶
type BondingManagerCaller struct {
// contains filtered or unexported fields
}
BondingManagerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewBondingManagerCaller ¶
func NewBondingManagerCaller(address common.Address, caller bind.ContractCaller) (*BondingManagerCaller, error)
NewBondingManagerCaller creates a new read-only instance of BondingManager, bound to a specific deployed contract.
func (*BondingManagerCaller) ActiveTranscoderSetDEPRECATED ¶ added in v0.5.0
func (_BondingManager *BondingManagerCaller) ActiveTranscoderSetDEPRECATED(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
ActiveTranscoderSetDEPRECATED is a free data retrieval call binding the contract method 0x014ee259.
Solidity: function activeTranscoderSetDEPRECATED(uint256 ) constant returns(uint256 totalStake)
func (*BondingManagerCaller) Controller ¶
func (_BondingManager *BondingManagerCaller) Controller(opts *bind.CallOpts) (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*BondingManagerCaller) CurrentRoundTotalActiveStake ¶ added in v0.5.0
func (_BondingManager *BondingManagerCaller) CurrentRoundTotalActiveStake(opts *bind.CallOpts) (*big.Int, error)
CurrentRoundTotalActiveStake is a free data retrieval call binding the contract method 0x4196ee75.
Solidity: function currentRoundTotalActiveStake() constant returns(uint256)
func (*BondingManagerCaller) DelegatorStatus ¶
func (_BondingManager *BondingManagerCaller) DelegatorStatus(opts *bind.CallOpts, _delegator common.Address) (uint8, error)
DelegatorStatus is a free data retrieval call binding the contract method 0x1544fc67.
Solidity: function delegatorStatus(address _delegator) constant returns(uint8)
func (*BondingManagerCaller) GetDelegator ¶
func (_BondingManager *BondingManagerCaller) GetDelegator(opts *bind.CallOpts, _delegator common.Address) (struct { BondedAmount *big.Int Fees *big.Int DelegateAddress common.Address DelegatedAmount *big.Int StartRound *big.Int LastClaimRound *big.Int NextUnbondingLockId *big.Int }, error)
GetDelegator is a free data retrieval call binding the contract method 0xa64ad595.
Solidity: function getDelegator(address _delegator) constant returns(uint256 bondedAmount, uint256 fees, address delegateAddress, uint256 delegatedAmount, uint256 startRound, uint256 lastClaimRound, uint256 nextUnbondingLockId)
func (*BondingManagerCaller) GetDelegatorUnbondingLock ¶ added in v0.3.3
func (_BondingManager *BondingManagerCaller) GetDelegatorUnbondingLock(opts *bind.CallOpts, _delegator common.Address, _unbondingLockId *big.Int) (struct { Amount *big.Int WithdrawRound *big.Int }, error)
GetDelegatorUnbondingLock is a free data retrieval call binding the contract method 0x412f83b6.
Solidity: function getDelegatorUnbondingLock(address _delegator, uint256 _unbondingLockId) constant returns(uint256 amount, uint256 withdrawRound)
func (*BondingManagerCaller) GetFirstTranscoderInPool ¶
func (_BondingManager *BondingManagerCaller) GetFirstTranscoderInPool(opts *bind.CallOpts) (common.Address, error)
GetFirstTranscoderInPool is a free data retrieval call binding the contract method 0x88a6c749.
Solidity: function getFirstTranscoderInPool() constant returns(address)
func (*BondingManagerCaller) GetNextTranscoderInPool ¶
func (_BondingManager *BondingManagerCaller) GetNextTranscoderInPool(opts *bind.CallOpts, _transcoder common.Address) (common.Address, error)
GetNextTranscoderInPool is a free data retrieval call binding the contract method 0x235c9603.
Solidity: function getNextTranscoderInPool(address _transcoder) constant returns(address)
func (*BondingManagerCaller) GetTotalBonded ¶
GetTotalBonded is a free data retrieval call binding the contract method 0x5c50c356.
Solidity: function getTotalBonded() constant returns(uint256)
func (*BondingManagerCaller) GetTranscoder ¶
func (_BondingManager *BondingManagerCaller) GetTranscoder(opts *bind.CallOpts, _transcoder common.Address) (struct { LastRewardRound *big.Int RewardCut *big.Int FeeShare *big.Int LastActiveStakeUpdateRound *big.Int ActivationRound *big.Int DeactivationRound *big.Int }, error)
GetTranscoder is a free data retrieval call binding the contract method 0x5dce9948.
Solidity: function getTranscoder(address _transcoder) constant returns(uint256 lastRewardRound, uint256 rewardCut, uint256 feeShare, uint256 lastActiveStakeUpdateRound, uint256 activationRound, uint256 deactivationRound)
func (*BondingManagerCaller) GetTranscoderEarningsPoolForRound ¶ added in v0.3.3
func (_BondingManager *BondingManagerCaller) GetTranscoderEarningsPoolForRound(opts *bind.CallOpts, _transcoder common.Address, _round *big.Int) (struct { RewardPool *big.Int FeePool *big.Int TotalStake *big.Int ClaimableStake *big.Int TranscoderRewardCut *big.Int TranscoderFeeShare *big.Int TranscoderRewardPool *big.Int TranscoderFeePool *big.Int HasTranscoderRewardFeePool bool }, error)
GetTranscoderEarningsPoolForRound is a free data retrieval call binding the contract method 0x24454fc4.
Solidity: function getTranscoderEarningsPoolForRound(address _transcoder, uint256 _round) constant returns(uint256 rewardPool, uint256 feePool, uint256 totalStake, uint256 claimableStake, uint256 transcoderRewardCut, uint256 transcoderFeeShare, uint256 transcoderRewardPool, uint256 transcoderFeePool, bool hasTranscoderRewardFeePool)
func (*BondingManagerCaller) GetTranscoderPoolMaxSize ¶ added in v0.3.3
func (_BondingManager *BondingManagerCaller) GetTranscoderPoolMaxSize(opts *bind.CallOpts) (*big.Int, error)
GetTranscoderPoolMaxSize is a free data retrieval call binding the contract method 0x5a2a75a9.
Solidity: function getTranscoderPoolMaxSize() constant returns(uint256)
func (*BondingManagerCaller) GetTranscoderPoolSize ¶
func (_BondingManager *BondingManagerCaller) GetTranscoderPoolSize(opts *bind.CallOpts) (*big.Int, error)
GetTranscoderPoolSize is a free data retrieval call binding the contract method 0x2a4e0d55.
Solidity: function getTranscoderPoolSize() constant returns(uint256)
func (*BondingManagerCaller) IsActiveTranscoder ¶
func (_BondingManager *BondingManagerCaller) IsActiveTranscoder(opts *bind.CallOpts, _transcoder common.Address) (bool, error)
IsActiveTranscoder is a free data retrieval call binding the contract method 0x08802374.
Solidity: function isActiveTranscoder(address _transcoder) constant returns(bool)
func (*BondingManagerCaller) IsRegisteredTranscoder ¶ added in v0.3.3
func (_BondingManager *BondingManagerCaller) IsRegisteredTranscoder(opts *bind.CallOpts, _transcoder common.Address) (bool, error)
IsRegisteredTranscoder is a free data retrieval call binding the contract method 0x68ba170c.
Solidity: function isRegisteredTranscoder(address _transcoder) constant returns(bool)
func (*BondingManagerCaller) IsValidUnbondingLock ¶ added in v0.3.3
func (_BondingManager *BondingManagerCaller) IsValidUnbondingLock(opts *bind.CallOpts, _delegator common.Address, _unbondingLockId *big.Int) (bool, error)
IsValidUnbondingLock is a free data retrieval call binding the contract method 0x0fd02fc1.
Solidity: function isValidUnbondingLock(address _delegator, uint256 _unbondingLockId) constant returns(bool)
func (*BondingManagerCaller) MaxEarningsClaimsRounds ¶ added in v0.3.3
func (_BondingManager *BondingManagerCaller) MaxEarningsClaimsRounds(opts *bind.CallOpts) (*big.Int, error)
MaxEarningsClaimsRounds is a free data retrieval call binding the contract method 0x038424c3.
Solidity: function maxEarningsClaimsRounds() constant returns(uint256)
func (*BondingManagerCaller) NextRoundTotalActiveStake ¶ added in v0.5.0
func (_BondingManager *BondingManagerCaller) NextRoundTotalActiveStake(opts *bind.CallOpts) (*big.Int, error)
NextRoundTotalActiveStake is a free data retrieval call binding the contract method 0x465501d3.
Solidity: function nextRoundTotalActiveStake() constant returns(uint256)
func (*BondingManagerCaller) NumActiveTranscodersDEPRECATED ¶ added in v0.5.0
func (_BondingManager *BondingManagerCaller) NumActiveTranscodersDEPRECATED(opts *bind.CallOpts) (*big.Int, error)
NumActiveTranscodersDEPRECATED is a free data retrieval call binding the contract method 0x3c725cbb.
Solidity: function numActiveTranscodersDEPRECATED() constant returns(uint256)
func (*BondingManagerCaller) PendingFees ¶ added in v0.3.3
func (_BondingManager *BondingManagerCaller) PendingFees(opts *bind.CallOpts, _delegator common.Address, _endRound *big.Int) (*big.Int, error)
PendingFees is a free data retrieval call binding the contract method 0xf595f1cc.
Solidity: function pendingFees(address _delegator, uint256 _endRound) constant returns(uint256)
func (*BondingManagerCaller) PendingStake ¶ added in v0.3.3
func (_BondingManager *BondingManagerCaller) PendingStake(opts *bind.CallOpts, _delegator common.Address, _endRound *big.Int) (*big.Int, error)
PendingStake is a free data retrieval call binding the contract method 0x9d0b2c7a.
Solidity: function pendingStake(address _delegator, uint256 _endRound) constant returns(uint256)
func (*BondingManagerCaller) TargetContractId ¶
func (_BondingManager *BondingManagerCaller) TargetContractId(opts *bind.CallOpts) ([32]byte, error)
TargetContractId is a free data retrieval call binding the contract method 0x51720b41.
Solidity: function targetContractId() constant returns(bytes32)
func (*BondingManagerCaller) TranscoderStatus ¶
func (_BondingManager *BondingManagerCaller) TranscoderStatus(opts *bind.CallOpts, _transcoder common.Address) (uint8, error)
TranscoderStatus is a free data retrieval call binding the contract method 0x8b2f1652.
Solidity: function transcoderStatus(address _transcoder) constant returns(uint8)
func (*BondingManagerCaller) TranscoderTotalStake ¶
func (_BondingManager *BondingManagerCaller) TranscoderTotalStake(opts *bind.CallOpts, _transcoder common.Address) (*big.Int, error)
TranscoderTotalStake is a free data retrieval call binding the contract method 0x9ef9df94.
Solidity: function transcoderTotalStake(address _transcoder) constant returns(uint256)
func (*BondingManagerCaller) UnbondingPeriod ¶
func (_BondingManager *BondingManagerCaller) UnbondingPeriod(opts *bind.CallOpts) (uint64, error)
UnbondingPeriod is a free data retrieval call binding the contract method 0x6cf6d675.
Solidity: function unbondingPeriod() constant returns(uint64)
type BondingManagerCallerRaw ¶
type BondingManagerCallerRaw struct {
Contract *BondingManagerCaller // Generic read-only contract binding to access the raw methods on
}
BondingManagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*BondingManagerCallerRaw) Call ¶
func (_BondingManager *BondingManagerCallerRaw) 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 BondingManagerCallerSession ¶
type BondingManagerCallerSession struct { Contract *BondingManagerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
BondingManagerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*BondingManagerCallerSession) ActiveTranscoderSetDEPRECATED ¶ added in v0.5.0
func (_BondingManager *BondingManagerCallerSession) ActiveTranscoderSetDEPRECATED(arg0 *big.Int) (*big.Int, error)
ActiveTranscoderSetDEPRECATED is a free data retrieval call binding the contract method 0x014ee259.
Solidity: function activeTranscoderSetDEPRECATED(uint256 ) constant returns(uint256 totalStake)
func (*BondingManagerCallerSession) Controller ¶
func (_BondingManager *BondingManagerCallerSession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*BondingManagerCallerSession) CurrentRoundTotalActiveStake ¶ added in v0.5.0
func (_BondingManager *BondingManagerCallerSession) CurrentRoundTotalActiveStake() (*big.Int, error)
CurrentRoundTotalActiveStake is a free data retrieval call binding the contract method 0x4196ee75.
Solidity: function currentRoundTotalActiveStake() constant returns(uint256)
func (*BondingManagerCallerSession) DelegatorStatus ¶
func (_BondingManager *BondingManagerCallerSession) DelegatorStatus(_delegator common.Address) (uint8, error)
DelegatorStatus is a free data retrieval call binding the contract method 0x1544fc67.
Solidity: function delegatorStatus(address _delegator) constant returns(uint8)
func (*BondingManagerCallerSession) GetDelegator ¶
func (_BondingManager *BondingManagerCallerSession) GetDelegator(_delegator common.Address) (struct { BondedAmount *big.Int Fees *big.Int DelegateAddress common.Address DelegatedAmount *big.Int StartRound *big.Int LastClaimRound *big.Int NextUnbondingLockId *big.Int }, error)
GetDelegator is a free data retrieval call binding the contract method 0xa64ad595.
Solidity: function getDelegator(address _delegator) constant returns(uint256 bondedAmount, uint256 fees, address delegateAddress, uint256 delegatedAmount, uint256 startRound, uint256 lastClaimRound, uint256 nextUnbondingLockId)
func (*BondingManagerCallerSession) GetDelegatorUnbondingLock ¶ added in v0.3.3
func (_BondingManager *BondingManagerCallerSession) GetDelegatorUnbondingLock(_delegator common.Address, _unbondingLockId *big.Int) (struct { Amount *big.Int WithdrawRound *big.Int }, error)
GetDelegatorUnbondingLock is a free data retrieval call binding the contract method 0x412f83b6.
Solidity: function getDelegatorUnbondingLock(address _delegator, uint256 _unbondingLockId) constant returns(uint256 amount, uint256 withdrawRound)
func (*BondingManagerCallerSession) GetFirstTranscoderInPool ¶
func (_BondingManager *BondingManagerCallerSession) GetFirstTranscoderInPool() (common.Address, error)
GetFirstTranscoderInPool is a free data retrieval call binding the contract method 0x88a6c749.
Solidity: function getFirstTranscoderInPool() constant returns(address)
func (*BondingManagerCallerSession) GetNextTranscoderInPool ¶
func (_BondingManager *BondingManagerCallerSession) GetNextTranscoderInPool(_transcoder common.Address) (common.Address, error)
GetNextTranscoderInPool is a free data retrieval call binding the contract method 0x235c9603.
Solidity: function getNextTranscoderInPool(address _transcoder) constant returns(address)
func (*BondingManagerCallerSession) GetTotalBonded ¶
func (_BondingManager *BondingManagerCallerSession) GetTotalBonded() (*big.Int, error)
GetTotalBonded is a free data retrieval call binding the contract method 0x5c50c356.
Solidity: function getTotalBonded() constant returns(uint256)
func (*BondingManagerCallerSession) GetTranscoder ¶
func (_BondingManager *BondingManagerCallerSession) GetTranscoder(_transcoder common.Address) (struct { LastRewardRound *big.Int RewardCut *big.Int FeeShare *big.Int LastActiveStakeUpdateRound *big.Int ActivationRound *big.Int DeactivationRound *big.Int }, error)
GetTranscoder is a free data retrieval call binding the contract method 0x5dce9948.
Solidity: function getTranscoder(address _transcoder) constant returns(uint256 lastRewardRound, uint256 rewardCut, uint256 feeShare, uint256 lastActiveStakeUpdateRound, uint256 activationRound, uint256 deactivationRound)
func (*BondingManagerCallerSession) GetTranscoderEarningsPoolForRound ¶ added in v0.3.3
func (_BondingManager *BondingManagerCallerSession) GetTranscoderEarningsPoolForRound(_transcoder common.Address, _round *big.Int) (struct { RewardPool *big.Int FeePool *big.Int TotalStake *big.Int ClaimableStake *big.Int TranscoderRewardCut *big.Int TranscoderFeeShare *big.Int TranscoderRewardPool *big.Int TranscoderFeePool *big.Int HasTranscoderRewardFeePool bool }, error)
GetTranscoderEarningsPoolForRound is a free data retrieval call binding the contract method 0x24454fc4.
Solidity: function getTranscoderEarningsPoolForRound(address _transcoder, uint256 _round) constant returns(uint256 rewardPool, uint256 feePool, uint256 totalStake, uint256 claimableStake, uint256 transcoderRewardCut, uint256 transcoderFeeShare, uint256 transcoderRewardPool, uint256 transcoderFeePool, bool hasTranscoderRewardFeePool)
func (*BondingManagerCallerSession) GetTranscoderPoolMaxSize ¶ added in v0.3.3
func (_BondingManager *BondingManagerCallerSession) GetTranscoderPoolMaxSize() (*big.Int, error)
GetTranscoderPoolMaxSize is a free data retrieval call binding the contract method 0x5a2a75a9.
Solidity: function getTranscoderPoolMaxSize() constant returns(uint256)
func (*BondingManagerCallerSession) GetTranscoderPoolSize ¶
func (_BondingManager *BondingManagerCallerSession) GetTranscoderPoolSize() (*big.Int, error)
GetTranscoderPoolSize is a free data retrieval call binding the contract method 0x2a4e0d55.
Solidity: function getTranscoderPoolSize() constant returns(uint256)
func (*BondingManagerCallerSession) IsActiveTranscoder ¶
func (_BondingManager *BondingManagerCallerSession) IsActiveTranscoder(_transcoder common.Address) (bool, error)
IsActiveTranscoder is a free data retrieval call binding the contract method 0x08802374.
Solidity: function isActiveTranscoder(address _transcoder) constant returns(bool)
func (*BondingManagerCallerSession) IsRegisteredTranscoder ¶ added in v0.3.3
func (_BondingManager *BondingManagerCallerSession) IsRegisteredTranscoder(_transcoder common.Address) (bool, error)
IsRegisteredTranscoder is a free data retrieval call binding the contract method 0x68ba170c.
Solidity: function isRegisteredTranscoder(address _transcoder) constant returns(bool)
func (*BondingManagerCallerSession) IsValidUnbondingLock ¶ added in v0.3.3
func (_BondingManager *BondingManagerCallerSession) IsValidUnbondingLock(_delegator common.Address, _unbondingLockId *big.Int) (bool, error)
IsValidUnbondingLock is a free data retrieval call binding the contract method 0x0fd02fc1.
Solidity: function isValidUnbondingLock(address _delegator, uint256 _unbondingLockId) constant returns(bool)
func (*BondingManagerCallerSession) MaxEarningsClaimsRounds ¶ added in v0.3.3
func (_BondingManager *BondingManagerCallerSession) MaxEarningsClaimsRounds() (*big.Int, error)
MaxEarningsClaimsRounds is a free data retrieval call binding the contract method 0x038424c3.
Solidity: function maxEarningsClaimsRounds() constant returns(uint256)
func (*BondingManagerCallerSession) NextRoundTotalActiveStake ¶ added in v0.5.0
func (_BondingManager *BondingManagerCallerSession) NextRoundTotalActiveStake() (*big.Int, error)
NextRoundTotalActiveStake is a free data retrieval call binding the contract method 0x465501d3.
Solidity: function nextRoundTotalActiveStake() constant returns(uint256)
func (*BondingManagerCallerSession) NumActiveTranscodersDEPRECATED ¶ added in v0.5.0
func (_BondingManager *BondingManagerCallerSession) NumActiveTranscodersDEPRECATED() (*big.Int, error)
NumActiveTranscodersDEPRECATED is a free data retrieval call binding the contract method 0x3c725cbb.
Solidity: function numActiveTranscodersDEPRECATED() constant returns(uint256)
func (*BondingManagerCallerSession) PendingFees ¶ added in v0.3.3
func (_BondingManager *BondingManagerCallerSession) PendingFees(_delegator common.Address, _endRound *big.Int) (*big.Int, error)
PendingFees is a free data retrieval call binding the contract method 0xf595f1cc.
Solidity: function pendingFees(address _delegator, uint256 _endRound) constant returns(uint256)
func (*BondingManagerCallerSession) PendingStake ¶ added in v0.3.3
func (_BondingManager *BondingManagerCallerSession) PendingStake(_delegator common.Address, _endRound *big.Int) (*big.Int, error)
PendingStake is a free data retrieval call binding the contract method 0x9d0b2c7a.
Solidity: function pendingStake(address _delegator, uint256 _endRound) constant returns(uint256)
func (*BondingManagerCallerSession) TargetContractId ¶
func (_BondingManager *BondingManagerCallerSession) TargetContractId() ([32]byte, error)
TargetContractId is a free data retrieval call binding the contract method 0x51720b41.
Solidity: function targetContractId() constant returns(bytes32)
func (*BondingManagerCallerSession) TranscoderStatus ¶
func (_BondingManager *BondingManagerCallerSession) TranscoderStatus(_transcoder common.Address) (uint8, error)
TranscoderStatus is a free data retrieval call binding the contract method 0x8b2f1652.
Solidity: function transcoderStatus(address _transcoder) constant returns(uint8)
func (*BondingManagerCallerSession) TranscoderTotalStake ¶
func (_BondingManager *BondingManagerCallerSession) TranscoderTotalStake(_transcoder common.Address) (*big.Int, error)
TranscoderTotalStake is a free data retrieval call binding the contract method 0x9ef9df94.
Solidity: function transcoderTotalStake(address _transcoder) constant returns(uint256)
func (*BondingManagerCallerSession) UnbondingPeriod ¶
func (_BondingManager *BondingManagerCallerSession) UnbondingPeriod() (uint64, error)
UnbondingPeriod is a free data retrieval call binding the contract method 0x6cf6d675.
Solidity: function unbondingPeriod() constant returns(uint64)
type BondingManagerEarningsClaimed ¶ added in v0.5.0
type BondingManagerEarningsClaimed struct { Delegate common.Address Delegator common.Address Rewards *big.Int Fees *big.Int StartRound *big.Int EndRound *big.Int Raw types.Log // Blockchain specific contextual infos }
BondingManagerEarningsClaimed represents a EarningsClaimed event raised by the BondingManager contract.
type BondingManagerEarningsClaimedIterator ¶ added in v0.5.0
type BondingManagerEarningsClaimedIterator struct { Event *BondingManagerEarningsClaimed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BondingManagerEarningsClaimedIterator is returned from FilterEarningsClaimed and is used to iterate over the raw logs and unpacked data for EarningsClaimed events raised by the BondingManager contract.
func (*BondingManagerEarningsClaimedIterator) Close ¶ added in v0.5.0
func (it *BondingManagerEarningsClaimedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BondingManagerEarningsClaimedIterator) Error ¶ added in v0.5.0
func (it *BondingManagerEarningsClaimedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BondingManagerEarningsClaimedIterator) Next ¶ added in v0.5.0
func (it *BondingManagerEarningsClaimedIterator) 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 BondingManagerFilterer ¶ added in v0.3.3
type BondingManagerFilterer struct {
// contains filtered or unexported fields
}
BondingManagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewBondingManagerFilterer ¶ added in v0.3.3
func NewBondingManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*BondingManagerFilterer, error)
NewBondingManagerFilterer creates a new log filterer instance of BondingManager, bound to a specific deployed contract.
func (*BondingManagerFilterer) FilterBond ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) FilterBond(opts *bind.FilterOpts, newDelegate []common.Address, oldDelegate []common.Address, delegator []common.Address) (*BondingManagerBondIterator, error)
FilterBond is a free log retrieval operation binding the contract event 0xe5917769f276ddca9f2ee7c6b0b33e1d1e1b61008010ce622c632dd20d168a23.
Solidity: event Bond(address indexed newDelegate, address indexed oldDelegate, address indexed delegator, uint256 additionalAmount, uint256 bondedAmount)
func (*BondingManagerFilterer) FilterEarningsClaimed ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) FilterEarningsClaimed(opts *bind.FilterOpts, delegate []common.Address, delegator []common.Address) (*BondingManagerEarningsClaimedIterator, error)
FilterEarningsClaimed is a free log retrieval operation binding the contract event 0xd7eab0765b772ea6ea859d5633baf737502198012e930f257f90013d9b211094.
Solidity: event EarningsClaimed(address indexed delegate, address indexed delegator, uint256 rewards, uint256 fees, uint256 startRound, uint256 endRound)
func (*BondingManagerFilterer) FilterParameterUpdate ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*BondingManagerParameterUpdateIterator, error)
FilterParameterUpdate is a free log retrieval operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.
Solidity: event ParameterUpdate(string param)
func (*BondingManagerFilterer) FilterRebond ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) FilterRebond(opts *bind.FilterOpts, delegate []common.Address, delegator []common.Address) (*BondingManagerRebondIterator, error)
FilterRebond is a free log retrieval operation binding the contract event 0x9f5b64cc71e1e26ff178caaa7877a04d8ce66fde989251870e80e6fbee690c17.
Solidity: event Rebond(address indexed delegate, address indexed delegator, uint256 unbondingLockId, uint256 amount)
func (*BondingManagerFilterer) FilterReward ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) FilterReward(opts *bind.FilterOpts, transcoder []common.Address) (*BondingManagerRewardIterator, error)
FilterReward is a free log retrieval operation binding the contract event 0x619caafabdd75649b302ba8419e48cccf64f37f1983ac4727cfb38b57703ffc9.
Solidity: event Reward(address indexed transcoder, uint256 amount)
func (*BondingManagerFilterer) FilterSetController ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) FilterSetController(opts *bind.FilterOpts) (*BondingManagerSetControllerIterator, error)
FilterSetController is a free log retrieval operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.
Solidity: event SetController(address controller)
func (*BondingManagerFilterer) FilterTranscoderActivated ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) FilterTranscoderActivated(opts *bind.FilterOpts, transcoder []common.Address) (*BondingManagerTranscoderActivatedIterator, error)
FilterTranscoderActivated is a free log retrieval operation binding the contract event 0x65d72d782835d64c3287844a829608d5abdc7e864cc9affe96d910ab3db665e9.
Solidity: event TranscoderActivated(address indexed transcoder, uint256 activationRound)
func (*BondingManagerFilterer) FilterTranscoderDeactivated ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) FilterTranscoderDeactivated(opts *bind.FilterOpts, transcoder []common.Address) (*BondingManagerTranscoderDeactivatedIterator, error)
FilterTranscoderDeactivated is a free log retrieval operation binding the contract event 0xfee3e693fc72d0a0a673805f3e606c551f4c677b9072444b90dd2d0406bc995c.
Solidity: event TranscoderDeactivated(address indexed transcoder, uint256 deactivationRound)
func (*BondingManagerFilterer) FilterTranscoderSlashed ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) FilterTranscoderSlashed(opts *bind.FilterOpts, transcoder []common.Address) (*BondingManagerTranscoderSlashedIterator, error)
FilterTranscoderSlashed is a free log retrieval operation binding the contract event 0xf4b71fed8e2c9a8c67c388bc6d35ad20b9368a24eed6d565459f2b277b6c0c22.
Solidity: event TranscoderSlashed(address indexed transcoder, address finder, uint256 penalty, uint256 finderReward)
func (*BondingManagerFilterer) FilterTranscoderUpdate ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) FilterTranscoderUpdate(opts *bind.FilterOpts, transcoder []common.Address) (*BondingManagerTranscoderUpdateIterator, error)
FilterTranscoderUpdate is a free log retrieval operation binding the contract event 0x7346854431dbb3eb8e373c604abf89e90f4865b8447e1e2834d7b3e4677bf544.
Solidity: event TranscoderUpdate(address indexed transcoder, uint256 rewardCut, uint256 feeShare)
func (*BondingManagerFilterer) FilterUnbond ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) FilterUnbond(opts *bind.FilterOpts, delegate []common.Address, delegator []common.Address) (*BondingManagerUnbondIterator, error)
FilterUnbond is a free log retrieval operation binding the contract event 0x2d5d98d189bee5496a08db2a5948cb7e5e786f09d17d0c3f228eb41776c24a06.
Solidity: event Unbond(address indexed delegate, address indexed delegator, uint256 unbondingLockId, uint256 amount, uint256 withdrawRound)
func (*BondingManagerFilterer) FilterWithdrawFees ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) FilterWithdrawFees(opts *bind.FilterOpts, delegator []common.Address) (*BondingManagerWithdrawFeesIterator, error)
FilterWithdrawFees is a free log retrieval operation binding the contract event 0xd3719f04262b628e1d01a6ed24707f542cda51f144b5271149c7d0419436d00c.
Solidity: event WithdrawFees(address indexed delegator)
func (*BondingManagerFilterer) FilterWithdrawStake ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) FilterWithdrawStake(opts *bind.FilterOpts, delegator []common.Address) (*BondingManagerWithdrawStakeIterator, error)
FilterWithdrawStake is a free log retrieval operation binding the contract event 0x1340f1a8f3d456a649e1a12071dfa15655e3d09252131d0f980c3b405cc8dd2e.
Solidity: event WithdrawStake(address indexed delegator, uint256 unbondingLockId, uint256 amount, uint256 withdrawRound)
func (*BondingManagerFilterer) ParseBond ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) ParseBond(log types.Log) (*BondingManagerBond, error)
ParseBond is a log parse operation binding the contract event 0xe5917769f276ddca9f2ee7c6b0b33e1d1e1b61008010ce622c632dd20d168a23.
Solidity: event Bond(address indexed newDelegate, address indexed oldDelegate, address indexed delegator, uint256 additionalAmount, uint256 bondedAmount)
func (*BondingManagerFilterer) ParseEarningsClaimed ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) ParseEarningsClaimed(log types.Log) (*BondingManagerEarningsClaimed, error)
ParseEarningsClaimed is a log parse operation binding the contract event 0xd7eab0765b772ea6ea859d5633baf737502198012e930f257f90013d9b211094.
Solidity: event EarningsClaimed(address indexed delegate, address indexed delegator, uint256 rewards, uint256 fees, uint256 startRound, uint256 endRound)
func (*BondingManagerFilterer) ParseParameterUpdate ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) ParseParameterUpdate(log types.Log) (*BondingManagerParameterUpdate, error)
ParseParameterUpdate is a log parse operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.
Solidity: event ParameterUpdate(string param)
func (*BondingManagerFilterer) ParseRebond ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) ParseRebond(log types.Log) (*BondingManagerRebond, error)
ParseRebond is a log parse operation binding the contract event 0x9f5b64cc71e1e26ff178caaa7877a04d8ce66fde989251870e80e6fbee690c17.
Solidity: event Rebond(address indexed delegate, address indexed delegator, uint256 unbondingLockId, uint256 amount)
func (*BondingManagerFilterer) ParseReward ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) ParseReward(log types.Log) (*BondingManagerReward, error)
ParseReward is a log parse operation binding the contract event 0x619caafabdd75649b302ba8419e48cccf64f37f1983ac4727cfb38b57703ffc9.
Solidity: event Reward(address indexed transcoder, uint256 amount)
func (*BondingManagerFilterer) ParseSetController ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) ParseSetController(log types.Log) (*BondingManagerSetController, error)
ParseSetController is a log parse operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.
Solidity: event SetController(address controller)
func (*BondingManagerFilterer) ParseTranscoderActivated ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) ParseTranscoderActivated(log types.Log) (*BondingManagerTranscoderActivated, error)
ParseTranscoderActivated is a log parse operation binding the contract event 0x65d72d782835d64c3287844a829608d5abdc7e864cc9affe96d910ab3db665e9.
Solidity: event TranscoderActivated(address indexed transcoder, uint256 activationRound)
func (*BondingManagerFilterer) ParseTranscoderDeactivated ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) ParseTranscoderDeactivated(log types.Log) (*BondingManagerTranscoderDeactivated, error)
ParseTranscoderDeactivated is a log parse operation binding the contract event 0xfee3e693fc72d0a0a673805f3e606c551f4c677b9072444b90dd2d0406bc995c.
Solidity: event TranscoderDeactivated(address indexed transcoder, uint256 deactivationRound)
func (*BondingManagerFilterer) ParseTranscoderSlashed ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) ParseTranscoderSlashed(log types.Log) (*BondingManagerTranscoderSlashed, error)
ParseTranscoderSlashed is a log parse operation binding the contract event 0xf4b71fed8e2c9a8c67c388bc6d35ad20b9368a24eed6d565459f2b277b6c0c22.
Solidity: event TranscoderSlashed(address indexed transcoder, address finder, uint256 penalty, uint256 finderReward)
func (*BondingManagerFilterer) ParseTranscoderUpdate ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) ParseTranscoderUpdate(log types.Log) (*BondingManagerTranscoderUpdate, error)
ParseTranscoderUpdate is a log parse operation binding the contract event 0x7346854431dbb3eb8e373c604abf89e90f4865b8447e1e2834d7b3e4677bf544.
Solidity: event TranscoderUpdate(address indexed transcoder, uint256 rewardCut, uint256 feeShare)
func (*BondingManagerFilterer) ParseUnbond ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) ParseUnbond(log types.Log) (*BondingManagerUnbond, error)
ParseUnbond is a log parse operation binding the contract event 0x2d5d98d189bee5496a08db2a5948cb7e5e786f09d17d0c3f228eb41776c24a06.
Solidity: event Unbond(address indexed delegate, address indexed delegator, uint256 unbondingLockId, uint256 amount, uint256 withdrawRound)
func (*BondingManagerFilterer) ParseWithdrawFees ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) ParseWithdrawFees(log types.Log) (*BondingManagerWithdrawFees, error)
ParseWithdrawFees is a log parse operation binding the contract event 0xd3719f04262b628e1d01a6ed24707f542cda51f144b5271149c7d0419436d00c.
Solidity: event WithdrawFees(address indexed delegator)
func (*BondingManagerFilterer) ParseWithdrawStake ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) ParseWithdrawStake(log types.Log) (*BondingManagerWithdrawStake, error)
ParseWithdrawStake is a log parse operation binding the contract event 0x1340f1a8f3d456a649e1a12071dfa15655e3d09252131d0f980c3b405cc8dd2e.
Solidity: event WithdrawStake(address indexed delegator, uint256 unbondingLockId, uint256 amount, uint256 withdrawRound)
func (*BondingManagerFilterer) WatchBond ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) WatchBond(opts *bind.WatchOpts, sink chan<- *BondingManagerBond, newDelegate []common.Address, oldDelegate []common.Address, delegator []common.Address) (event.Subscription, error)
WatchBond is a free log subscription operation binding the contract event 0xe5917769f276ddca9f2ee7c6b0b33e1d1e1b61008010ce622c632dd20d168a23.
Solidity: event Bond(address indexed newDelegate, address indexed oldDelegate, address indexed delegator, uint256 additionalAmount, uint256 bondedAmount)
func (*BondingManagerFilterer) WatchEarningsClaimed ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) WatchEarningsClaimed(opts *bind.WatchOpts, sink chan<- *BondingManagerEarningsClaimed, delegate []common.Address, delegator []common.Address) (event.Subscription, error)
WatchEarningsClaimed is a free log subscription operation binding the contract event 0xd7eab0765b772ea6ea859d5633baf737502198012e930f257f90013d9b211094.
Solidity: event EarningsClaimed(address indexed delegate, address indexed delegator, uint256 rewards, uint256 fees, uint256 startRound, uint256 endRound)
func (*BondingManagerFilterer) WatchParameterUpdate ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *BondingManagerParameterUpdate) (event.Subscription, error)
WatchParameterUpdate is a free log subscription operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.
Solidity: event ParameterUpdate(string param)
func (*BondingManagerFilterer) WatchRebond ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) WatchRebond(opts *bind.WatchOpts, sink chan<- *BondingManagerRebond, delegate []common.Address, delegator []common.Address) (event.Subscription, error)
WatchRebond is a free log subscription operation binding the contract event 0x9f5b64cc71e1e26ff178caaa7877a04d8ce66fde989251870e80e6fbee690c17.
Solidity: event Rebond(address indexed delegate, address indexed delegator, uint256 unbondingLockId, uint256 amount)
func (*BondingManagerFilterer) WatchReward ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) WatchReward(opts *bind.WatchOpts, sink chan<- *BondingManagerReward, transcoder []common.Address) (event.Subscription, error)
WatchReward is a free log subscription operation binding the contract event 0x619caafabdd75649b302ba8419e48cccf64f37f1983ac4727cfb38b57703ffc9.
Solidity: event Reward(address indexed transcoder, uint256 amount)
func (*BondingManagerFilterer) WatchSetController ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *BondingManagerSetController) (event.Subscription, error)
WatchSetController is a free log subscription operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.
Solidity: event SetController(address controller)
func (*BondingManagerFilterer) WatchTranscoderActivated ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) WatchTranscoderActivated(opts *bind.WatchOpts, sink chan<- *BondingManagerTranscoderActivated, transcoder []common.Address) (event.Subscription, error)
WatchTranscoderActivated is a free log subscription operation binding the contract event 0x65d72d782835d64c3287844a829608d5abdc7e864cc9affe96d910ab3db665e9.
Solidity: event TranscoderActivated(address indexed transcoder, uint256 activationRound)
func (*BondingManagerFilterer) WatchTranscoderDeactivated ¶ added in v0.5.0
func (_BondingManager *BondingManagerFilterer) WatchTranscoderDeactivated(opts *bind.WatchOpts, sink chan<- *BondingManagerTranscoderDeactivated, transcoder []common.Address) (event.Subscription, error)
WatchTranscoderDeactivated is a free log subscription operation binding the contract event 0xfee3e693fc72d0a0a673805f3e606c551f4c677b9072444b90dd2d0406bc995c.
Solidity: event TranscoderDeactivated(address indexed transcoder, uint256 deactivationRound)
func (*BondingManagerFilterer) WatchTranscoderSlashed ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) WatchTranscoderSlashed(opts *bind.WatchOpts, sink chan<- *BondingManagerTranscoderSlashed, transcoder []common.Address) (event.Subscription, error)
WatchTranscoderSlashed is a free log subscription operation binding the contract event 0xf4b71fed8e2c9a8c67c388bc6d35ad20b9368a24eed6d565459f2b277b6c0c22.
Solidity: event TranscoderSlashed(address indexed transcoder, address finder, uint256 penalty, uint256 finderReward)
func (*BondingManagerFilterer) WatchTranscoderUpdate ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) WatchTranscoderUpdate(opts *bind.WatchOpts, sink chan<- *BondingManagerTranscoderUpdate, transcoder []common.Address) (event.Subscription, error)
WatchTranscoderUpdate is a free log subscription operation binding the contract event 0x7346854431dbb3eb8e373c604abf89e90f4865b8447e1e2834d7b3e4677bf544.
Solidity: event TranscoderUpdate(address indexed transcoder, uint256 rewardCut, uint256 feeShare)
func (*BondingManagerFilterer) WatchUnbond ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) WatchUnbond(opts *bind.WatchOpts, sink chan<- *BondingManagerUnbond, delegate []common.Address, delegator []common.Address) (event.Subscription, error)
WatchUnbond is a free log subscription operation binding the contract event 0x2d5d98d189bee5496a08db2a5948cb7e5e786f09d17d0c3f228eb41776c24a06.
Solidity: event Unbond(address indexed delegate, address indexed delegator, uint256 unbondingLockId, uint256 amount, uint256 withdrawRound)
func (*BondingManagerFilterer) WatchWithdrawFees ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) WatchWithdrawFees(opts *bind.WatchOpts, sink chan<- *BondingManagerWithdrawFees, delegator []common.Address) (event.Subscription, error)
WatchWithdrawFees is a free log subscription operation binding the contract event 0xd3719f04262b628e1d01a6ed24707f542cda51f144b5271149c7d0419436d00c.
Solidity: event WithdrawFees(address indexed delegator)
func (*BondingManagerFilterer) WatchWithdrawStake ¶ added in v0.3.3
func (_BondingManager *BondingManagerFilterer) WatchWithdrawStake(opts *bind.WatchOpts, sink chan<- *BondingManagerWithdrawStake, delegator []common.Address) (event.Subscription, error)
WatchWithdrawStake is a free log subscription operation binding the contract event 0x1340f1a8f3d456a649e1a12071dfa15655e3d09252131d0f980c3b405cc8dd2e.
Solidity: event WithdrawStake(address indexed delegator, uint256 unbondingLockId, uint256 amount, uint256 withdrawRound)
type BondingManagerParameterUpdate ¶ added in v0.3.3
type BondingManagerParameterUpdate struct { Param string Raw types.Log // Blockchain specific contextual infos }
BondingManagerParameterUpdate represents a ParameterUpdate event raised by the BondingManager contract.
type BondingManagerParameterUpdateIterator ¶ added in v0.3.3
type BondingManagerParameterUpdateIterator struct { Event *BondingManagerParameterUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BondingManagerParameterUpdateIterator is returned from FilterParameterUpdate and is used to iterate over the raw logs and unpacked data for ParameterUpdate events raised by the BondingManager contract.
func (*BondingManagerParameterUpdateIterator) Close ¶ added in v0.3.3
func (it *BondingManagerParameterUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BondingManagerParameterUpdateIterator) Error ¶ added in v0.3.3
func (it *BondingManagerParameterUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BondingManagerParameterUpdateIterator) Next ¶ added in v0.3.3
func (it *BondingManagerParameterUpdateIterator) 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 BondingManagerRaw ¶
type BondingManagerRaw struct {
Contract *BondingManager // Generic contract binding to access the raw methods on
}
BondingManagerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*BondingManagerRaw) Call ¶
func (_BondingManager *BondingManagerRaw) 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 (*BondingManagerRaw) Transact ¶
func (_BondingManager *BondingManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BondingManagerRaw) Transfer ¶
func (_BondingManager *BondingManagerRaw) 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 BondingManagerRebond ¶ added in v0.3.3
type BondingManagerRebond struct { Delegate common.Address Delegator common.Address UnbondingLockId *big.Int Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
BondingManagerRebond represents a Rebond event raised by the BondingManager contract.
type BondingManagerRebondIterator ¶ added in v0.3.3
type BondingManagerRebondIterator struct { Event *BondingManagerRebond // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BondingManagerRebondIterator is returned from FilterRebond and is used to iterate over the raw logs and unpacked data for Rebond events raised by the BondingManager contract.
func (*BondingManagerRebondIterator) Close ¶ added in v0.3.3
func (it *BondingManagerRebondIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BondingManagerRebondIterator) Error ¶ added in v0.3.3
func (it *BondingManagerRebondIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BondingManagerRebondIterator) Next ¶ added in v0.3.3
func (it *BondingManagerRebondIterator) 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 BondingManagerReward ¶ added in v0.3.3
type BondingManagerReward struct { Transcoder common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
BondingManagerReward represents a Reward event raised by the BondingManager contract.
type BondingManagerRewardIterator ¶ added in v0.3.3
type BondingManagerRewardIterator struct { Event *BondingManagerReward // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BondingManagerRewardIterator is returned from FilterReward and is used to iterate over the raw logs and unpacked data for Reward events raised by the BondingManager contract.
func (*BondingManagerRewardIterator) Close ¶ added in v0.3.3
func (it *BondingManagerRewardIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BondingManagerRewardIterator) Error ¶ added in v0.3.3
func (it *BondingManagerRewardIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BondingManagerRewardIterator) Next ¶ added in v0.3.3
func (it *BondingManagerRewardIterator) 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 BondingManagerSession ¶
type BondingManagerSession struct { Contract *BondingManager // 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 }
BondingManagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*BondingManagerSession) ActiveTranscoderSetDEPRECATED ¶ added in v0.5.0
func (_BondingManager *BondingManagerSession) ActiveTranscoderSetDEPRECATED(arg0 *big.Int) (*big.Int, error)
ActiveTranscoderSetDEPRECATED is a free data retrieval call binding the contract method 0x014ee259.
Solidity: function activeTranscoderSetDEPRECATED(uint256 ) constant returns(uint256 totalStake)
func (*BondingManagerSession) Bond ¶
func (_BondingManager *BondingManagerSession) Bond(_amount *big.Int, _to common.Address) (*types.Transaction, error)
Bond is a paid mutator transaction binding the contract method 0xb78d27dc.
Solidity: function bond(uint256 _amount, address _to) returns()
func (*BondingManagerSession) BondWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerSession) BondWithHint(_amount *big.Int, _to common.Address, _oldDelegateNewPosPrev common.Address, _oldDelegateNewPosNext common.Address, _currDelegateNewPosPrev common.Address, _currDelegateNewPosNext common.Address) (*types.Transaction, error)
BondWithHint is a paid mutator transaction binding the contract method 0x6bd9add4.
Solidity: function bondWithHint(uint256 _amount, address _to, address _oldDelegateNewPosPrev, address _oldDelegateNewPosNext, address _currDelegateNewPosPrev, address _currDelegateNewPosNext) returns()
func (*BondingManagerSession) ClaimEarnings ¶ added in v0.3.3
func (_BondingManager *BondingManagerSession) ClaimEarnings(_endRound *big.Int) (*types.Transaction, error)
ClaimEarnings is a paid mutator transaction binding the contract method 0x24b1babf.
Solidity: function claimEarnings(uint256 _endRound) returns()
func (*BondingManagerSession) Controller ¶
func (_BondingManager *BondingManagerSession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*BondingManagerSession) CurrentRoundTotalActiveStake ¶ added in v0.5.0
func (_BondingManager *BondingManagerSession) CurrentRoundTotalActiveStake() (*big.Int, error)
CurrentRoundTotalActiveStake is a free data retrieval call binding the contract method 0x4196ee75.
Solidity: function currentRoundTotalActiveStake() constant returns(uint256)
func (*BondingManagerSession) DelegatorStatus ¶
func (_BondingManager *BondingManagerSession) DelegatorStatus(_delegator common.Address) (uint8, error)
DelegatorStatus is a free data retrieval call binding the contract method 0x1544fc67.
Solidity: function delegatorStatus(address _delegator) constant returns(uint8)
func (*BondingManagerSession) GetDelegator ¶
func (_BondingManager *BondingManagerSession) GetDelegator(_delegator common.Address) (struct { BondedAmount *big.Int Fees *big.Int DelegateAddress common.Address DelegatedAmount *big.Int StartRound *big.Int LastClaimRound *big.Int NextUnbondingLockId *big.Int }, error)
GetDelegator is a free data retrieval call binding the contract method 0xa64ad595.
Solidity: function getDelegator(address _delegator) constant returns(uint256 bondedAmount, uint256 fees, address delegateAddress, uint256 delegatedAmount, uint256 startRound, uint256 lastClaimRound, uint256 nextUnbondingLockId)
func (*BondingManagerSession) GetDelegatorUnbondingLock ¶ added in v0.3.3
func (_BondingManager *BondingManagerSession) GetDelegatorUnbondingLock(_delegator common.Address, _unbondingLockId *big.Int) (struct { Amount *big.Int WithdrawRound *big.Int }, error)
GetDelegatorUnbondingLock is a free data retrieval call binding the contract method 0x412f83b6.
Solidity: function getDelegatorUnbondingLock(address _delegator, uint256 _unbondingLockId) constant returns(uint256 amount, uint256 withdrawRound)
func (*BondingManagerSession) GetFirstTranscoderInPool ¶
func (_BondingManager *BondingManagerSession) GetFirstTranscoderInPool() (common.Address, error)
GetFirstTranscoderInPool is a free data retrieval call binding the contract method 0x88a6c749.
Solidity: function getFirstTranscoderInPool() constant returns(address)
func (*BondingManagerSession) GetNextTranscoderInPool ¶
func (_BondingManager *BondingManagerSession) GetNextTranscoderInPool(_transcoder common.Address) (common.Address, error)
GetNextTranscoderInPool is a free data retrieval call binding the contract method 0x235c9603.
Solidity: function getNextTranscoderInPool(address _transcoder) constant returns(address)
func (*BondingManagerSession) GetTotalBonded ¶
func (_BondingManager *BondingManagerSession) GetTotalBonded() (*big.Int, error)
GetTotalBonded is a free data retrieval call binding the contract method 0x5c50c356.
Solidity: function getTotalBonded() constant returns(uint256)
func (*BondingManagerSession) GetTranscoder ¶
func (_BondingManager *BondingManagerSession) GetTranscoder(_transcoder common.Address) (struct { LastRewardRound *big.Int RewardCut *big.Int FeeShare *big.Int LastActiveStakeUpdateRound *big.Int ActivationRound *big.Int DeactivationRound *big.Int }, error)
GetTranscoder is a free data retrieval call binding the contract method 0x5dce9948.
Solidity: function getTranscoder(address _transcoder) constant returns(uint256 lastRewardRound, uint256 rewardCut, uint256 feeShare, uint256 lastActiveStakeUpdateRound, uint256 activationRound, uint256 deactivationRound)
func (*BondingManagerSession) GetTranscoderEarningsPoolForRound ¶ added in v0.3.3
func (_BondingManager *BondingManagerSession) GetTranscoderEarningsPoolForRound(_transcoder common.Address, _round *big.Int) (struct { RewardPool *big.Int FeePool *big.Int TotalStake *big.Int ClaimableStake *big.Int TranscoderRewardCut *big.Int TranscoderFeeShare *big.Int TranscoderRewardPool *big.Int TranscoderFeePool *big.Int HasTranscoderRewardFeePool bool }, error)
GetTranscoderEarningsPoolForRound is a free data retrieval call binding the contract method 0x24454fc4.
Solidity: function getTranscoderEarningsPoolForRound(address _transcoder, uint256 _round) constant returns(uint256 rewardPool, uint256 feePool, uint256 totalStake, uint256 claimableStake, uint256 transcoderRewardCut, uint256 transcoderFeeShare, uint256 transcoderRewardPool, uint256 transcoderFeePool, bool hasTranscoderRewardFeePool)
func (*BondingManagerSession) GetTranscoderPoolMaxSize ¶ added in v0.3.3
func (_BondingManager *BondingManagerSession) GetTranscoderPoolMaxSize() (*big.Int, error)
GetTranscoderPoolMaxSize is a free data retrieval call binding the contract method 0x5a2a75a9.
Solidity: function getTranscoderPoolMaxSize() constant returns(uint256)
func (*BondingManagerSession) GetTranscoderPoolSize ¶
func (_BondingManager *BondingManagerSession) GetTranscoderPoolSize() (*big.Int, error)
GetTranscoderPoolSize is a free data retrieval call binding the contract method 0x2a4e0d55.
Solidity: function getTranscoderPoolSize() constant returns(uint256)
func (*BondingManagerSession) IsActiveTranscoder ¶
func (_BondingManager *BondingManagerSession) IsActiveTranscoder(_transcoder common.Address) (bool, error)
IsActiveTranscoder is a free data retrieval call binding the contract method 0x08802374.
Solidity: function isActiveTranscoder(address _transcoder) constant returns(bool)
func (*BondingManagerSession) IsRegisteredTranscoder ¶ added in v0.3.3
func (_BondingManager *BondingManagerSession) IsRegisteredTranscoder(_transcoder common.Address) (bool, error)
IsRegisteredTranscoder is a free data retrieval call binding the contract method 0x68ba170c.
Solidity: function isRegisteredTranscoder(address _transcoder) constant returns(bool)
func (*BondingManagerSession) IsValidUnbondingLock ¶ added in v0.3.3
func (_BondingManager *BondingManagerSession) IsValidUnbondingLock(_delegator common.Address, _unbondingLockId *big.Int) (bool, error)
IsValidUnbondingLock is a free data retrieval call binding the contract method 0x0fd02fc1.
Solidity: function isValidUnbondingLock(address _delegator, uint256 _unbondingLockId) constant returns(bool)
func (*BondingManagerSession) MaxEarningsClaimsRounds ¶ added in v0.3.3
func (_BondingManager *BondingManagerSession) MaxEarningsClaimsRounds() (*big.Int, error)
MaxEarningsClaimsRounds is a free data retrieval call binding the contract method 0x038424c3.
Solidity: function maxEarningsClaimsRounds() constant returns(uint256)
func (*BondingManagerSession) NextRoundTotalActiveStake ¶ added in v0.5.0
func (_BondingManager *BondingManagerSession) NextRoundTotalActiveStake() (*big.Int, error)
NextRoundTotalActiveStake is a free data retrieval call binding the contract method 0x465501d3.
Solidity: function nextRoundTotalActiveStake() constant returns(uint256)
func (*BondingManagerSession) NumActiveTranscodersDEPRECATED ¶ added in v0.5.0
func (_BondingManager *BondingManagerSession) NumActiveTranscodersDEPRECATED() (*big.Int, error)
NumActiveTranscodersDEPRECATED is a free data retrieval call binding the contract method 0x3c725cbb.
Solidity: function numActiveTranscodersDEPRECATED() constant returns(uint256)
func (*BondingManagerSession) PendingFees ¶ added in v0.3.3
func (_BondingManager *BondingManagerSession) PendingFees(_delegator common.Address, _endRound *big.Int) (*big.Int, error)
PendingFees is a free data retrieval call binding the contract method 0xf595f1cc.
Solidity: function pendingFees(address _delegator, uint256 _endRound) constant returns(uint256)
func (*BondingManagerSession) PendingStake ¶ added in v0.3.3
func (_BondingManager *BondingManagerSession) PendingStake(_delegator common.Address, _endRound *big.Int) (*big.Int, error)
PendingStake is a free data retrieval call binding the contract method 0x9d0b2c7a.
Solidity: function pendingStake(address _delegator, uint256 _endRound) constant returns(uint256)
func (*BondingManagerSession) Rebond ¶ added in v0.3.3
func (_BondingManager *BondingManagerSession) Rebond(_unbondingLockId *big.Int) (*types.Transaction, error)
Rebond is a paid mutator transaction binding the contract method 0xeaffb3f9.
Solidity: function rebond(uint256 _unbondingLockId) returns()
func (*BondingManagerSession) RebondFromUnbonded ¶ added in v0.3.3
func (_BondingManager *BondingManagerSession) RebondFromUnbonded(_to common.Address, _unbondingLockId *big.Int) (*types.Transaction, error)
RebondFromUnbonded is a paid mutator transaction binding the contract method 0x3a080e93.
Solidity: function rebondFromUnbonded(address _to, uint256 _unbondingLockId) returns()
func (*BondingManagerSession) RebondFromUnbondedWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerSession) RebondFromUnbondedWithHint(_to common.Address, _unbondingLockId *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
RebondFromUnbondedWithHint is a paid mutator transaction binding the contract method 0x0584a373.
Solidity: function rebondFromUnbondedWithHint(address _to, uint256 _unbondingLockId, address _newPosPrev, address _newPosNext) returns()
func (*BondingManagerSession) RebondWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerSession) RebondWithHint(_unbondingLockId *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
RebondWithHint is a paid mutator transaction binding the contract method 0x7fc4606f.
Solidity: function rebondWithHint(uint256 _unbondingLockId, address _newPosPrev, address _newPosNext) returns()
func (*BondingManagerSession) Reward ¶
func (_BondingManager *BondingManagerSession) Reward() (*types.Transaction, error)
Reward is a paid mutator transaction binding the contract method 0x228cb733.
Solidity: function reward() returns()
func (*BondingManagerSession) RewardWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerSession) RewardWithHint(_newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
RewardWithHint is a paid mutator transaction binding the contract method 0x81871056.
Solidity: function rewardWithHint(address _newPosPrev, address _newPosNext) returns()
func (*BondingManagerSession) SetController ¶
func (_BondingManager *BondingManagerSession) SetController(_controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address _controller) returns()
func (*BondingManagerSession) SetCurrentRoundTotalActiveStake ¶ added in v0.5.0
func (_BondingManager *BondingManagerSession) SetCurrentRoundTotalActiveStake() (*types.Transaction, error)
SetCurrentRoundTotalActiveStake is a paid mutator transaction binding the contract method 0x713f2216.
Solidity: function setCurrentRoundTotalActiveStake() returns()
func (*BondingManagerSession) SetMaxEarningsClaimsRounds ¶ added in v0.3.3
func (_BondingManager *BondingManagerSession) SetMaxEarningsClaimsRounds(_maxEarningsClaimsRounds *big.Int) (*types.Transaction, error)
SetMaxEarningsClaimsRounds is a paid mutator transaction binding the contract method 0x72d9f13d.
Solidity: function setMaxEarningsClaimsRounds(uint256 _maxEarningsClaimsRounds) returns()
func (*BondingManagerSession) SetNumActiveTranscoders ¶
func (_BondingManager *BondingManagerSession) SetNumActiveTranscoders(_numActiveTranscoders *big.Int) (*types.Transaction, error)
SetNumActiveTranscoders is a paid mutator transaction binding the contract method 0x673a456b.
Solidity: function setNumActiveTranscoders(uint256 _numActiveTranscoders) returns()
func (*BondingManagerSession) SetUnbondingPeriod ¶
func (_BondingManager *BondingManagerSession) SetUnbondingPeriod(_unbondingPeriod uint64) (*types.Transaction, error)
SetUnbondingPeriod is a paid mutator transaction binding the contract method 0xf10d1de1.
Solidity: function setUnbondingPeriod(uint64 _unbondingPeriod) returns()
func (*BondingManagerSession) SlashTranscoder ¶
func (_BondingManager *BondingManagerSession) SlashTranscoder(_transcoder common.Address, _finder common.Address, _slashAmount *big.Int, _finderFee *big.Int) (*types.Transaction, error)
SlashTranscoder is a paid mutator transaction binding the contract method 0x22bf9d7c.
Solidity: function slashTranscoder(address _transcoder, address _finder, uint256 _slashAmount, uint256 _finderFee) returns()
func (*BondingManagerSession) TargetContractId ¶
func (_BondingManager *BondingManagerSession) TargetContractId() ([32]byte, error)
TargetContractId is a free data retrieval call binding the contract method 0x51720b41.
Solidity: function targetContractId() constant returns(bytes32)
func (*BondingManagerSession) Transcoder ¶
func (_BondingManager *BondingManagerSession) Transcoder(_rewardCut *big.Int, _feeShare *big.Int) (*types.Transaction, error)
Transcoder is a paid mutator transaction binding the contract method 0x43d3461a.
Solidity: function transcoder(uint256 _rewardCut, uint256 _feeShare) returns()
func (*BondingManagerSession) TranscoderStatus ¶
func (_BondingManager *BondingManagerSession) TranscoderStatus(_transcoder common.Address) (uint8, error)
TranscoderStatus is a free data retrieval call binding the contract method 0x8b2f1652.
Solidity: function transcoderStatus(address _transcoder) constant returns(uint8)
func (*BondingManagerSession) TranscoderTotalStake ¶
func (_BondingManager *BondingManagerSession) TranscoderTotalStake(_transcoder common.Address) (*big.Int, error)
TranscoderTotalStake is a free data retrieval call binding the contract method 0x9ef9df94.
Solidity: function transcoderTotalStake(address _transcoder) constant returns(uint256)
func (*BondingManagerSession) TranscoderWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerSession) TranscoderWithHint(_rewardCut *big.Int, _feeShare *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
TranscoderWithHint is a paid mutator transaction binding the contract method 0x3550aa10.
Solidity: function transcoderWithHint(uint256 _rewardCut, uint256 _feeShare, address _newPosPrev, address _newPosNext) returns()
func (*BondingManagerSession) Unbond ¶
func (_BondingManager *BondingManagerSession) Unbond(_amount *big.Int) (*types.Transaction, error)
Unbond is a paid mutator transaction binding the contract method 0x27de9e32.
Solidity: function unbond(uint256 _amount) returns()
func (*BondingManagerSession) UnbondWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerSession) UnbondWithHint(_amount *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
UnbondWithHint is a paid mutator transaction binding the contract method 0x9500ed9b.
Solidity: function unbondWithHint(uint256 _amount, address _newPosPrev, address _newPosNext) returns()
func (*BondingManagerSession) UnbondingPeriod ¶
func (_BondingManager *BondingManagerSession) UnbondingPeriod() (uint64, error)
UnbondingPeriod is a free data retrieval call binding the contract method 0x6cf6d675.
Solidity: function unbondingPeriod() constant returns(uint64)
func (*BondingManagerSession) UpdateTranscoderWithFees ¶
func (_BondingManager *BondingManagerSession) UpdateTranscoderWithFees(_transcoder common.Address, _fees *big.Int, _round *big.Int) (*types.Transaction, error)
UpdateTranscoderWithFees is a paid mutator transaction binding the contract method 0x3aeb512c.
Solidity: function updateTranscoderWithFees(address _transcoder, uint256 _fees, uint256 _round) returns()
func (*BondingManagerSession) WithdrawFees ¶ added in v0.3.3
func (_BondingManager *BondingManagerSession) WithdrawFees() (*types.Transaction, error)
WithdrawFees is a paid mutator transaction binding the contract method 0x476343ee.
Solidity: function withdrawFees() returns()
func (*BondingManagerSession) WithdrawStake ¶ added in v0.3.3
func (_BondingManager *BondingManagerSession) WithdrawStake(_unbondingLockId *big.Int) (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0x25d5971f.
Solidity: function withdrawStake(uint256 _unbondingLockId) returns()
type BondingManagerSetController ¶ added in v0.3.3
type BondingManagerSetController struct { Controller common.Address Raw types.Log // Blockchain specific contextual infos }
BondingManagerSetController represents a SetController event raised by the BondingManager contract.
type BondingManagerSetControllerIterator ¶ added in v0.3.3
type BondingManagerSetControllerIterator struct { Event *BondingManagerSetController // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BondingManagerSetControllerIterator is returned from FilterSetController and is used to iterate over the raw logs and unpacked data for SetController events raised by the BondingManager contract.
func (*BondingManagerSetControllerIterator) Close ¶ added in v0.3.3
func (it *BondingManagerSetControllerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BondingManagerSetControllerIterator) Error ¶ added in v0.3.3
func (it *BondingManagerSetControllerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BondingManagerSetControllerIterator) Next ¶ added in v0.3.3
func (it *BondingManagerSetControllerIterator) 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 BondingManagerTransactor ¶
type BondingManagerTransactor struct {
// contains filtered or unexported fields
}
BondingManagerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewBondingManagerTransactor ¶
func NewBondingManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*BondingManagerTransactor, error)
NewBondingManagerTransactor creates a new write-only instance of BondingManager, bound to a specific deployed contract.
func (*BondingManagerTransactor) Bond ¶
func (_BondingManager *BondingManagerTransactor) Bond(opts *bind.TransactOpts, _amount *big.Int, _to common.Address) (*types.Transaction, error)
Bond is a paid mutator transaction binding the contract method 0xb78d27dc.
Solidity: function bond(uint256 _amount, address _to) returns()
func (*BondingManagerTransactor) BondWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerTransactor) BondWithHint(opts *bind.TransactOpts, _amount *big.Int, _to common.Address, _oldDelegateNewPosPrev common.Address, _oldDelegateNewPosNext common.Address, _currDelegateNewPosPrev common.Address, _currDelegateNewPosNext common.Address) (*types.Transaction, error)
BondWithHint is a paid mutator transaction binding the contract method 0x6bd9add4.
Solidity: function bondWithHint(uint256 _amount, address _to, address _oldDelegateNewPosPrev, address _oldDelegateNewPosNext, address _currDelegateNewPosPrev, address _currDelegateNewPosNext) returns()
func (*BondingManagerTransactor) ClaimEarnings ¶ added in v0.3.3
func (_BondingManager *BondingManagerTransactor) ClaimEarnings(opts *bind.TransactOpts, _endRound *big.Int) (*types.Transaction, error)
ClaimEarnings is a paid mutator transaction binding the contract method 0x24b1babf.
Solidity: function claimEarnings(uint256 _endRound) returns()
func (*BondingManagerTransactor) Rebond ¶ added in v0.3.3
func (_BondingManager *BondingManagerTransactor) Rebond(opts *bind.TransactOpts, _unbondingLockId *big.Int) (*types.Transaction, error)
Rebond is a paid mutator transaction binding the contract method 0xeaffb3f9.
Solidity: function rebond(uint256 _unbondingLockId) returns()
func (*BondingManagerTransactor) RebondFromUnbonded ¶ added in v0.3.3
func (_BondingManager *BondingManagerTransactor) RebondFromUnbonded(opts *bind.TransactOpts, _to common.Address, _unbondingLockId *big.Int) (*types.Transaction, error)
RebondFromUnbonded is a paid mutator transaction binding the contract method 0x3a080e93.
Solidity: function rebondFromUnbonded(address _to, uint256 _unbondingLockId) returns()
func (*BondingManagerTransactor) RebondFromUnbondedWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerTransactor) RebondFromUnbondedWithHint(opts *bind.TransactOpts, _to common.Address, _unbondingLockId *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
RebondFromUnbondedWithHint is a paid mutator transaction binding the contract method 0x0584a373.
Solidity: function rebondFromUnbondedWithHint(address _to, uint256 _unbondingLockId, address _newPosPrev, address _newPosNext) returns()
func (*BondingManagerTransactor) RebondWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerTransactor) RebondWithHint(opts *bind.TransactOpts, _unbondingLockId *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
RebondWithHint is a paid mutator transaction binding the contract method 0x7fc4606f.
Solidity: function rebondWithHint(uint256 _unbondingLockId, address _newPosPrev, address _newPosNext) returns()
func (*BondingManagerTransactor) Reward ¶
func (_BondingManager *BondingManagerTransactor) Reward(opts *bind.TransactOpts) (*types.Transaction, error)
Reward is a paid mutator transaction binding the contract method 0x228cb733.
Solidity: function reward() returns()
func (*BondingManagerTransactor) RewardWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerTransactor) RewardWithHint(opts *bind.TransactOpts, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
RewardWithHint is a paid mutator transaction binding the contract method 0x81871056.
Solidity: function rewardWithHint(address _newPosPrev, address _newPosNext) returns()
func (*BondingManagerTransactor) SetController ¶
func (_BondingManager *BondingManagerTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address _controller) returns()
func (*BondingManagerTransactor) SetCurrentRoundTotalActiveStake ¶ added in v0.5.0
func (_BondingManager *BondingManagerTransactor) SetCurrentRoundTotalActiveStake(opts *bind.TransactOpts) (*types.Transaction, error)
SetCurrentRoundTotalActiveStake is a paid mutator transaction binding the contract method 0x713f2216.
Solidity: function setCurrentRoundTotalActiveStake() returns()
func (*BondingManagerTransactor) SetMaxEarningsClaimsRounds ¶ added in v0.3.3
func (_BondingManager *BondingManagerTransactor) SetMaxEarningsClaimsRounds(opts *bind.TransactOpts, _maxEarningsClaimsRounds *big.Int) (*types.Transaction, error)
SetMaxEarningsClaimsRounds is a paid mutator transaction binding the contract method 0x72d9f13d.
Solidity: function setMaxEarningsClaimsRounds(uint256 _maxEarningsClaimsRounds) returns()
func (*BondingManagerTransactor) SetNumActiveTranscoders ¶
func (_BondingManager *BondingManagerTransactor) SetNumActiveTranscoders(opts *bind.TransactOpts, _numActiveTranscoders *big.Int) (*types.Transaction, error)
SetNumActiveTranscoders is a paid mutator transaction binding the contract method 0x673a456b.
Solidity: function setNumActiveTranscoders(uint256 _numActiveTranscoders) returns()
func (*BondingManagerTransactor) SetUnbondingPeriod ¶
func (_BondingManager *BondingManagerTransactor) SetUnbondingPeriod(opts *bind.TransactOpts, _unbondingPeriod uint64) (*types.Transaction, error)
SetUnbondingPeriod is a paid mutator transaction binding the contract method 0xf10d1de1.
Solidity: function setUnbondingPeriod(uint64 _unbondingPeriod) returns()
func (*BondingManagerTransactor) SlashTranscoder ¶
func (_BondingManager *BondingManagerTransactor) SlashTranscoder(opts *bind.TransactOpts, _transcoder common.Address, _finder common.Address, _slashAmount *big.Int, _finderFee *big.Int) (*types.Transaction, error)
SlashTranscoder is a paid mutator transaction binding the contract method 0x22bf9d7c.
Solidity: function slashTranscoder(address _transcoder, address _finder, uint256 _slashAmount, uint256 _finderFee) returns()
func (*BondingManagerTransactor) Transcoder ¶
func (_BondingManager *BondingManagerTransactor) Transcoder(opts *bind.TransactOpts, _rewardCut *big.Int, _feeShare *big.Int) (*types.Transaction, error)
Transcoder is a paid mutator transaction binding the contract method 0x43d3461a.
Solidity: function transcoder(uint256 _rewardCut, uint256 _feeShare) returns()
func (*BondingManagerTransactor) TranscoderWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerTransactor) TranscoderWithHint(opts *bind.TransactOpts, _rewardCut *big.Int, _feeShare *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
TranscoderWithHint is a paid mutator transaction binding the contract method 0x3550aa10.
Solidity: function transcoderWithHint(uint256 _rewardCut, uint256 _feeShare, address _newPosPrev, address _newPosNext) returns()
func (*BondingManagerTransactor) Unbond ¶
func (_BondingManager *BondingManagerTransactor) Unbond(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
Unbond is a paid mutator transaction binding the contract method 0x27de9e32.
Solidity: function unbond(uint256 _amount) returns()
func (*BondingManagerTransactor) UnbondWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerTransactor) UnbondWithHint(opts *bind.TransactOpts, _amount *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
UnbondWithHint is a paid mutator transaction binding the contract method 0x9500ed9b.
Solidity: function unbondWithHint(uint256 _amount, address _newPosPrev, address _newPosNext) returns()
func (*BondingManagerTransactor) UpdateTranscoderWithFees ¶
func (_BondingManager *BondingManagerTransactor) UpdateTranscoderWithFees(opts *bind.TransactOpts, _transcoder common.Address, _fees *big.Int, _round *big.Int) (*types.Transaction, error)
UpdateTranscoderWithFees is a paid mutator transaction binding the contract method 0x3aeb512c.
Solidity: function updateTranscoderWithFees(address _transcoder, uint256 _fees, uint256 _round) returns()
func (*BondingManagerTransactor) WithdrawFees ¶ added in v0.3.3
func (_BondingManager *BondingManagerTransactor) WithdrawFees(opts *bind.TransactOpts) (*types.Transaction, error)
WithdrawFees is a paid mutator transaction binding the contract method 0x476343ee.
Solidity: function withdrawFees() returns()
func (*BondingManagerTransactor) WithdrawStake ¶ added in v0.3.3
func (_BondingManager *BondingManagerTransactor) WithdrawStake(opts *bind.TransactOpts, _unbondingLockId *big.Int) (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0x25d5971f.
Solidity: function withdrawStake(uint256 _unbondingLockId) returns()
type BondingManagerTransactorRaw ¶
type BondingManagerTransactorRaw struct {
Contract *BondingManagerTransactor // Generic write-only contract binding to access the raw methods on
}
BondingManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*BondingManagerTransactorRaw) Transact ¶
func (_BondingManager *BondingManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*BondingManagerTransactorRaw) Transfer ¶
func (_BondingManager *BondingManagerTransactorRaw) 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 BondingManagerTransactorSession ¶
type BondingManagerTransactorSession struct { Contract *BondingManagerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
BondingManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*BondingManagerTransactorSession) Bond ¶
func (_BondingManager *BondingManagerTransactorSession) Bond(_amount *big.Int, _to common.Address) (*types.Transaction, error)
Bond is a paid mutator transaction binding the contract method 0xb78d27dc.
Solidity: function bond(uint256 _amount, address _to) returns()
func (*BondingManagerTransactorSession) BondWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerTransactorSession) BondWithHint(_amount *big.Int, _to common.Address, _oldDelegateNewPosPrev common.Address, _oldDelegateNewPosNext common.Address, _currDelegateNewPosPrev common.Address, _currDelegateNewPosNext common.Address) (*types.Transaction, error)
BondWithHint is a paid mutator transaction binding the contract method 0x6bd9add4.
Solidity: function bondWithHint(uint256 _amount, address _to, address _oldDelegateNewPosPrev, address _oldDelegateNewPosNext, address _currDelegateNewPosPrev, address _currDelegateNewPosNext) returns()
func (*BondingManagerTransactorSession) ClaimEarnings ¶ added in v0.3.3
func (_BondingManager *BondingManagerTransactorSession) ClaimEarnings(_endRound *big.Int) (*types.Transaction, error)
ClaimEarnings is a paid mutator transaction binding the contract method 0x24b1babf.
Solidity: function claimEarnings(uint256 _endRound) returns()
func (*BondingManagerTransactorSession) Rebond ¶ added in v0.3.3
func (_BondingManager *BondingManagerTransactorSession) Rebond(_unbondingLockId *big.Int) (*types.Transaction, error)
Rebond is a paid mutator transaction binding the contract method 0xeaffb3f9.
Solidity: function rebond(uint256 _unbondingLockId) returns()
func (*BondingManagerTransactorSession) RebondFromUnbonded ¶ added in v0.3.3
func (_BondingManager *BondingManagerTransactorSession) RebondFromUnbonded(_to common.Address, _unbondingLockId *big.Int) (*types.Transaction, error)
RebondFromUnbonded is a paid mutator transaction binding the contract method 0x3a080e93.
Solidity: function rebondFromUnbonded(address _to, uint256 _unbondingLockId) returns()
func (*BondingManagerTransactorSession) RebondFromUnbondedWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerTransactorSession) RebondFromUnbondedWithHint(_to common.Address, _unbondingLockId *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
RebondFromUnbondedWithHint is a paid mutator transaction binding the contract method 0x0584a373.
Solidity: function rebondFromUnbondedWithHint(address _to, uint256 _unbondingLockId, address _newPosPrev, address _newPosNext) returns()
func (*BondingManagerTransactorSession) RebondWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerTransactorSession) RebondWithHint(_unbondingLockId *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
RebondWithHint is a paid mutator transaction binding the contract method 0x7fc4606f.
Solidity: function rebondWithHint(uint256 _unbondingLockId, address _newPosPrev, address _newPosNext) returns()
func (*BondingManagerTransactorSession) Reward ¶
func (_BondingManager *BondingManagerTransactorSession) Reward() (*types.Transaction, error)
Reward is a paid mutator transaction binding the contract method 0x228cb733.
Solidity: function reward() returns()
func (*BondingManagerTransactorSession) RewardWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerTransactorSession) RewardWithHint(_newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
RewardWithHint is a paid mutator transaction binding the contract method 0x81871056.
Solidity: function rewardWithHint(address _newPosPrev, address _newPosNext) returns()
func (*BondingManagerTransactorSession) SetController ¶
func (_BondingManager *BondingManagerTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address _controller) returns()
func (*BondingManagerTransactorSession) SetCurrentRoundTotalActiveStake ¶ added in v0.5.0
func (_BondingManager *BondingManagerTransactorSession) SetCurrentRoundTotalActiveStake() (*types.Transaction, error)
SetCurrentRoundTotalActiveStake is a paid mutator transaction binding the contract method 0x713f2216.
Solidity: function setCurrentRoundTotalActiveStake() returns()
func (*BondingManagerTransactorSession) SetMaxEarningsClaimsRounds ¶ added in v0.3.3
func (_BondingManager *BondingManagerTransactorSession) SetMaxEarningsClaimsRounds(_maxEarningsClaimsRounds *big.Int) (*types.Transaction, error)
SetMaxEarningsClaimsRounds is a paid mutator transaction binding the contract method 0x72d9f13d.
Solidity: function setMaxEarningsClaimsRounds(uint256 _maxEarningsClaimsRounds) returns()
func (*BondingManagerTransactorSession) SetNumActiveTranscoders ¶
func (_BondingManager *BondingManagerTransactorSession) SetNumActiveTranscoders(_numActiveTranscoders *big.Int) (*types.Transaction, error)
SetNumActiveTranscoders is a paid mutator transaction binding the contract method 0x673a456b.
Solidity: function setNumActiveTranscoders(uint256 _numActiveTranscoders) returns()
func (*BondingManagerTransactorSession) SetUnbondingPeriod ¶
func (_BondingManager *BondingManagerTransactorSession) SetUnbondingPeriod(_unbondingPeriod uint64) (*types.Transaction, error)
SetUnbondingPeriod is a paid mutator transaction binding the contract method 0xf10d1de1.
Solidity: function setUnbondingPeriod(uint64 _unbondingPeriod) returns()
func (*BondingManagerTransactorSession) SlashTranscoder ¶
func (_BondingManager *BondingManagerTransactorSession) SlashTranscoder(_transcoder common.Address, _finder common.Address, _slashAmount *big.Int, _finderFee *big.Int) (*types.Transaction, error)
SlashTranscoder is a paid mutator transaction binding the contract method 0x22bf9d7c.
Solidity: function slashTranscoder(address _transcoder, address _finder, uint256 _slashAmount, uint256 _finderFee) returns()
func (*BondingManagerTransactorSession) Transcoder ¶
func (_BondingManager *BondingManagerTransactorSession) Transcoder(_rewardCut *big.Int, _feeShare *big.Int) (*types.Transaction, error)
Transcoder is a paid mutator transaction binding the contract method 0x43d3461a.
Solidity: function transcoder(uint256 _rewardCut, uint256 _feeShare) returns()
func (*BondingManagerTransactorSession) TranscoderWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerTransactorSession) TranscoderWithHint(_rewardCut *big.Int, _feeShare *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
TranscoderWithHint is a paid mutator transaction binding the contract method 0x3550aa10.
Solidity: function transcoderWithHint(uint256 _rewardCut, uint256 _feeShare, address _newPosPrev, address _newPosNext) returns()
func (*BondingManagerTransactorSession) Unbond ¶
func (_BondingManager *BondingManagerTransactorSession) Unbond(_amount *big.Int) (*types.Transaction, error)
Unbond is a paid mutator transaction binding the contract method 0x27de9e32.
Solidity: function unbond(uint256 _amount) returns()
func (*BondingManagerTransactorSession) UnbondWithHint ¶ added in v0.5.0
func (_BondingManager *BondingManagerTransactorSession) UnbondWithHint(_amount *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)
UnbondWithHint is a paid mutator transaction binding the contract method 0x9500ed9b.
Solidity: function unbondWithHint(uint256 _amount, address _newPosPrev, address _newPosNext) returns()
func (*BondingManagerTransactorSession) UpdateTranscoderWithFees ¶
func (_BondingManager *BondingManagerTransactorSession) UpdateTranscoderWithFees(_transcoder common.Address, _fees *big.Int, _round *big.Int) (*types.Transaction, error)
UpdateTranscoderWithFees is a paid mutator transaction binding the contract method 0x3aeb512c.
Solidity: function updateTranscoderWithFees(address _transcoder, uint256 _fees, uint256 _round) returns()
func (*BondingManagerTransactorSession) WithdrawFees ¶ added in v0.3.3
func (_BondingManager *BondingManagerTransactorSession) WithdrawFees() (*types.Transaction, error)
WithdrawFees is a paid mutator transaction binding the contract method 0x476343ee.
Solidity: function withdrawFees() returns()
func (*BondingManagerTransactorSession) WithdrawStake ¶ added in v0.3.3
func (_BondingManager *BondingManagerTransactorSession) WithdrawStake(_unbondingLockId *big.Int) (*types.Transaction, error)
WithdrawStake is a paid mutator transaction binding the contract method 0x25d5971f.
Solidity: function withdrawStake(uint256 _unbondingLockId) returns()
type BondingManagerTranscoderActivated ¶ added in v0.5.0
type BondingManagerTranscoderActivated struct { Transcoder common.Address ActivationRound *big.Int Raw types.Log // Blockchain specific contextual infos }
BondingManagerTranscoderActivated represents a TranscoderActivated event raised by the BondingManager contract.
type BondingManagerTranscoderActivatedIterator ¶ added in v0.5.0
type BondingManagerTranscoderActivatedIterator struct { Event *BondingManagerTranscoderActivated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BondingManagerTranscoderActivatedIterator is returned from FilterTranscoderActivated and is used to iterate over the raw logs and unpacked data for TranscoderActivated events raised by the BondingManager contract.
func (*BondingManagerTranscoderActivatedIterator) Close ¶ added in v0.5.0
func (it *BondingManagerTranscoderActivatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BondingManagerTranscoderActivatedIterator) Error ¶ added in v0.5.0
func (it *BondingManagerTranscoderActivatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BondingManagerTranscoderActivatedIterator) Next ¶ added in v0.5.0
func (it *BondingManagerTranscoderActivatedIterator) 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 BondingManagerTranscoderDeactivated ¶ added in v0.5.0
type BondingManagerTranscoderDeactivated struct { Transcoder common.Address DeactivationRound *big.Int Raw types.Log // Blockchain specific contextual infos }
BondingManagerTranscoderDeactivated represents a TranscoderDeactivated event raised by the BondingManager contract.
type BondingManagerTranscoderDeactivatedIterator ¶ added in v0.5.0
type BondingManagerTranscoderDeactivatedIterator struct { Event *BondingManagerTranscoderDeactivated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BondingManagerTranscoderDeactivatedIterator is returned from FilterTranscoderDeactivated and is used to iterate over the raw logs and unpacked data for TranscoderDeactivated events raised by the BondingManager contract.
func (*BondingManagerTranscoderDeactivatedIterator) Close ¶ added in v0.5.0
func (it *BondingManagerTranscoderDeactivatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BondingManagerTranscoderDeactivatedIterator) Error ¶ added in v0.5.0
func (it *BondingManagerTranscoderDeactivatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BondingManagerTranscoderDeactivatedIterator) Next ¶ added in v0.5.0
func (it *BondingManagerTranscoderDeactivatedIterator) 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 BondingManagerTranscoderSlashed ¶ added in v0.3.3
type BondingManagerTranscoderSlashed struct { Transcoder common.Address Finder common.Address Penalty *big.Int FinderReward *big.Int Raw types.Log // Blockchain specific contextual infos }
BondingManagerTranscoderSlashed represents a TranscoderSlashed event raised by the BondingManager contract.
type BondingManagerTranscoderSlashedIterator ¶ added in v0.3.3
type BondingManagerTranscoderSlashedIterator struct { Event *BondingManagerTranscoderSlashed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BondingManagerTranscoderSlashedIterator is returned from FilterTranscoderSlashed and is used to iterate over the raw logs and unpacked data for TranscoderSlashed events raised by the BondingManager contract.
func (*BondingManagerTranscoderSlashedIterator) Close ¶ added in v0.3.3
func (it *BondingManagerTranscoderSlashedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BondingManagerTranscoderSlashedIterator) Error ¶ added in v0.3.3
func (it *BondingManagerTranscoderSlashedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BondingManagerTranscoderSlashedIterator) Next ¶ added in v0.3.3
func (it *BondingManagerTranscoderSlashedIterator) 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 BondingManagerTranscoderUpdate ¶ added in v0.3.3
type BondingManagerTranscoderUpdate struct { Transcoder common.Address RewardCut *big.Int Raw types.Log // Blockchain specific contextual infos }
BondingManagerTranscoderUpdate represents a TranscoderUpdate event raised by the BondingManager contract.
type BondingManagerTranscoderUpdateIterator ¶ added in v0.3.3
type BondingManagerTranscoderUpdateIterator struct { Event *BondingManagerTranscoderUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BondingManagerTranscoderUpdateIterator is returned from FilterTranscoderUpdate and is used to iterate over the raw logs and unpacked data for TranscoderUpdate events raised by the BondingManager contract.
func (*BondingManagerTranscoderUpdateIterator) Close ¶ added in v0.3.3
func (it *BondingManagerTranscoderUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BondingManagerTranscoderUpdateIterator) Error ¶ added in v0.3.3
func (it *BondingManagerTranscoderUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BondingManagerTranscoderUpdateIterator) Next ¶ added in v0.3.3
func (it *BondingManagerTranscoderUpdateIterator) 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 BondingManagerUnbond ¶ added in v0.3.3
type BondingManagerUnbond struct { Delegate common.Address Delegator common.Address UnbondingLockId *big.Int Amount *big.Int WithdrawRound *big.Int Raw types.Log // Blockchain specific contextual infos }
BondingManagerUnbond represents a Unbond event raised by the BondingManager contract.
type BondingManagerUnbondIterator ¶ added in v0.3.3
type BondingManagerUnbondIterator struct { Event *BondingManagerUnbond // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BondingManagerUnbondIterator is returned from FilterUnbond and is used to iterate over the raw logs and unpacked data for Unbond events raised by the BondingManager contract.
func (*BondingManagerUnbondIterator) Close ¶ added in v0.3.3
func (it *BondingManagerUnbondIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BondingManagerUnbondIterator) Error ¶ added in v0.3.3
func (it *BondingManagerUnbondIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BondingManagerUnbondIterator) Next ¶ added in v0.3.3
func (it *BondingManagerUnbondIterator) 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 BondingManagerWithdrawFees ¶ added in v0.3.3
type BondingManagerWithdrawFees struct { Delegator common.Address Raw types.Log // Blockchain specific contextual infos }
BondingManagerWithdrawFees represents a WithdrawFees event raised by the BondingManager contract.
type BondingManagerWithdrawFeesIterator ¶ added in v0.3.3
type BondingManagerWithdrawFeesIterator struct { Event *BondingManagerWithdrawFees // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BondingManagerWithdrawFeesIterator is returned from FilterWithdrawFees and is used to iterate over the raw logs and unpacked data for WithdrawFees events raised by the BondingManager contract.
func (*BondingManagerWithdrawFeesIterator) Close ¶ added in v0.3.3
func (it *BondingManagerWithdrawFeesIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BondingManagerWithdrawFeesIterator) Error ¶ added in v0.3.3
func (it *BondingManagerWithdrawFeesIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BondingManagerWithdrawFeesIterator) Next ¶ added in v0.3.3
func (it *BondingManagerWithdrawFeesIterator) 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 BondingManagerWithdrawStake ¶ added in v0.3.3
type BondingManagerWithdrawStake struct { Delegator common.Address UnbondingLockId *big.Int Amount *big.Int WithdrawRound *big.Int Raw types.Log // Blockchain specific contextual infos }
BondingManagerWithdrawStake represents a WithdrawStake event raised by the BondingManager contract.
type BondingManagerWithdrawStakeIterator ¶ added in v0.3.3
type BondingManagerWithdrawStakeIterator struct { Event *BondingManagerWithdrawStake // Event containing the contract specifics and raw log // contains filtered or unexported fields }
BondingManagerWithdrawStakeIterator is returned from FilterWithdrawStake and is used to iterate over the raw logs and unpacked data for WithdrawStake events raised by the BondingManager contract.
func (*BondingManagerWithdrawStakeIterator) Close ¶ added in v0.3.3
func (it *BondingManagerWithdrawStakeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*BondingManagerWithdrawStakeIterator) Error ¶ added in v0.3.3
func (it *BondingManagerWithdrawStakeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*BondingManagerWithdrawStakeIterator) Next ¶ added in v0.3.3
func (it *BondingManagerWithdrawStakeIterator) 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 Controller ¶
type Controller struct { ControllerCaller // Read-only binding to the contract ControllerTransactor // Write-only binding to the contract ControllerFilterer // Log filterer for contract events }
Controller is an auto generated Go binding around an Ethereum contract.
func NewController ¶
func NewController(address common.Address, backend bind.ContractBackend) (*Controller, error)
NewController creates a new instance of Controller, bound to a specific deployed contract.
type ControllerCaller ¶
type ControllerCaller struct {
// contains filtered or unexported fields
}
ControllerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewControllerCaller ¶
func NewControllerCaller(address common.Address, caller bind.ContractCaller) (*ControllerCaller, error)
NewControllerCaller creates a new read-only instance of Controller, bound to a specific deployed contract.
func (*ControllerCaller) GetContract ¶
func (_Controller *ControllerCaller) GetContract(opts *bind.CallOpts, _id [32]byte) (common.Address, error)
GetContract is a free data retrieval call binding the contract method 0xe16c7d98.
Solidity: function getContract(bytes32 _id) constant returns(address)
func (*ControllerCaller) GetContractInfo ¶ added in v0.3.3
func (_Controller *ControllerCaller) GetContractInfo(opts *bind.CallOpts, _id [32]byte) (common.Address, [20]byte, error)
GetContractInfo is a free data retrieval call binding the contract method 0x613e2de2.
Solidity: function getContractInfo(bytes32 _id) constant returns(address, bytes20)
type ControllerCallerRaw ¶
type ControllerCallerRaw struct {
Contract *ControllerCaller // Generic read-only contract binding to access the raw methods on
}
ControllerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ControllerCallerRaw) Call ¶
func (_Controller *ControllerCallerRaw) 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 ControllerCallerSession ¶
type ControllerCallerSession struct { Contract *ControllerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ControllerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ControllerCallerSession) GetContract ¶
func (_Controller *ControllerCallerSession) GetContract(_id [32]byte) (common.Address, error)
GetContract is a free data retrieval call binding the contract method 0xe16c7d98.
Solidity: function getContract(bytes32 _id) constant returns(address)
func (*ControllerCallerSession) GetContractInfo ¶ added in v0.3.3
func (_Controller *ControllerCallerSession) GetContractInfo(_id [32]byte) (common.Address, [20]byte, error)
GetContractInfo is a free data retrieval call binding the contract method 0x613e2de2.
Solidity: function getContractInfo(bytes32 _id) constant returns(address, bytes20)
func (*ControllerCallerSession) Owner ¶
func (_Controller *ControllerCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*ControllerCallerSession) Paused ¶
func (_Controller *ControllerCallerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() constant returns(bool)
type ControllerFilterer ¶ added in v0.3.3
type ControllerFilterer struct {
// contains filtered or unexported fields
}
ControllerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewControllerFilterer ¶ added in v0.3.3
func NewControllerFilterer(address common.Address, filterer bind.ContractFilterer) (*ControllerFilterer, error)
NewControllerFilterer creates a new log filterer instance of Controller, bound to a specific deployed contract.
func (*ControllerFilterer) FilterOwnershipTransferred ¶ added in v0.3.3
func (_Controller *ControllerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ControllerOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ControllerFilterer) FilterPause ¶ added in v0.3.3
func (_Controller *ControllerFilterer) FilterPause(opts *bind.FilterOpts) (*ControllerPauseIterator, error)
FilterPause is a free log retrieval operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.
Solidity: event Pause()
func (*ControllerFilterer) FilterSetContractInfo ¶ added in v0.3.3
func (_Controller *ControllerFilterer) FilterSetContractInfo(opts *bind.FilterOpts) (*ControllerSetContractInfoIterator, error)
FilterSetContractInfo is a free log retrieval operation binding the contract event 0xf9a6cf519167d81bc5cb3d26c60c0c9a19704aa908c148e82a861b570f4cd2d7.
Solidity: event SetContractInfo(bytes32 id, address contractAddress, bytes20 gitCommitHash)
func (*ControllerFilterer) FilterUnpause ¶ added in v0.3.3
func (_Controller *ControllerFilterer) FilterUnpause(opts *bind.FilterOpts) (*ControllerUnpauseIterator, error)
FilterUnpause is a free log retrieval operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.
Solidity: event Unpause()
func (*ControllerFilterer) ParseOwnershipTransferred ¶ added in v0.5.0
func (_Controller *ControllerFilterer) ParseOwnershipTransferred(log types.Log) (*ControllerOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*ControllerFilterer) ParsePause ¶ added in v0.5.0
func (_Controller *ControllerFilterer) ParsePause(log types.Log) (*ControllerPause, error)
ParsePause is a log parse operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.
Solidity: event Pause()
func (*ControllerFilterer) ParseSetContractInfo ¶ added in v0.5.0
func (_Controller *ControllerFilterer) ParseSetContractInfo(log types.Log) (*ControllerSetContractInfo, error)
ParseSetContractInfo is a log parse operation binding the contract event 0xf9a6cf519167d81bc5cb3d26c60c0c9a19704aa908c148e82a861b570f4cd2d7.
Solidity: event SetContractInfo(bytes32 id, address contractAddress, bytes20 gitCommitHash)
func (*ControllerFilterer) ParseUnpause ¶ added in v0.5.0
func (_Controller *ControllerFilterer) ParseUnpause(log types.Log) (*ControllerUnpause, error)
ParseUnpause is a log parse operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.
Solidity: event Unpause()
func (*ControllerFilterer) WatchOwnershipTransferred ¶ added in v0.3.3
func (_Controller *ControllerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ControllerOwnershipTransferred, 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 (*ControllerFilterer) WatchPause ¶ added in v0.3.3
func (_Controller *ControllerFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *ControllerPause) (event.Subscription, error)
WatchPause is a free log subscription operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.
Solidity: event Pause()
func (*ControllerFilterer) WatchSetContractInfo ¶ added in v0.3.3
func (_Controller *ControllerFilterer) WatchSetContractInfo(opts *bind.WatchOpts, sink chan<- *ControllerSetContractInfo) (event.Subscription, error)
WatchSetContractInfo is a free log subscription operation binding the contract event 0xf9a6cf519167d81bc5cb3d26c60c0c9a19704aa908c148e82a861b570f4cd2d7.
Solidity: event SetContractInfo(bytes32 id, address contractAddress, bytes20 gitCommitHash)
func (*ControllerFilterer) WatchUnpause ¶ added in v0.3.3
func (_Controller *ControllerFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *ControllerUnpause) (event.Subscription, error)
WatchUnpause is a free log subscription operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.
Solidity: event Unpause()
type ControllerOwnershipTransferred ¶ added in v0.3.3
type ControllerOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
ControllerOwnershipTransferred represents a OwnershipTransferred event raised by the Controller contract.
type ControllerOwnershipTransferredIterator ¶ added in v0.3.3
type ControllerOwnershipTransferredIterator struct { Event *ControllerOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ControllerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Controller contract.
func (*ControllerOwnershipTransferredIterator) Close ¶ added in v0.3.3
func (it *ControllerOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ControllerOwnershipTransferredIterator) Error ¶ added in v0.3.3
func (it *ControllerOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ControllerOwnershipTransferredIterator) Next ¶ added in v0.3.3
func (it *ControllerOwnershipTransferredIterator) 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 ControllerPause ¶ added in v0.3.3
ControllerPause represents a Pause event raised by the Controller contract.
type ControllerPauseIterator ¶ added in v0.3.3
type ControllerPauseIterator struct { Event *ControllerPause // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ControllerPauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the Controller contract.
func (*ControllerPauseIterator) Close ¶ added in v0.3.3
func (it *ControllerPauseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ControllerPauseIterator) Error ¶ added in v0.3.3
func (it *ControllerPauseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ControllerPauseIterator) Next ¶ added in v0.3.3
func (it *ControllerPauseIterator) 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 ControllerRaw ¶
type ControllerRaw struct {
Contract *Controller // Generic contract binding to access the raw methods on
}
ControllerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ControllerRaw) Call ¶
func (_Controller *ControllerRaw) 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 (*ControllerRaw) Transact ¶
func (_Controller *ControllerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ControllerRaw) Transfer ¶
func (_Controller *ControllerRaw) 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 ControllerSession ¶
type ControllerSession struct { Contract *Controller // 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 }
ControllerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ControllerSession) GetContract ¶
func (_Controller *ControllerSession) GetContract(_id [32]byte) (common.Address, error)
GetContract is a free data retrieval call binding the contract method 0xe16c7d98.
Solidity: function getContract(bytes32 _id) constant returns(address)
func (*ControllerSession) GetContractInfo ¶ added in v0.3.3
func (_Controller *ControllerSession) GetContractInfo(_id [32]byte) (common.Address, [20]byte, error)
GetContractInfo is a free data retrieval call binding the contract method 0x613e2de2.
Solidity: function getContractInfo(bytes32 _id) constant returns(address, bytes20)
func (*ControllerSession) Owner ¶
func (_Controller *ControllerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*ControllerSession) Pause ¶
func (_Controller *ControllerSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ControllerSession) Paused ¶
func (_Controller *ControllerSession) Paused() (bool, error)
Paused is a free data retrieval call binding the contract method 0x5c975abb.
Solidity: function paused() constant returns(bool)
func (*ControllerSession) SetContractInfo ¶ added in v0.3.3
func (_Controller *ControllerSession) SetContractInfo(_id [32]byte, _contractAddress common.Address, _gitCommitHash [20]byte) (*types.Transaction, error)
SetContractInfo is a paid mutator transaction binding the contract method 0xd737c2b0.
Solidity: function setContractInfo(bytes32 _id, address _contractAddress, bytes20 _gitCommitHash) returns()
func (*ControllerSession) TransferOwnership ¶
func (_Controller *ControllerSession) 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 (*ControllerSession) Unpause ¶
func (_Controller *ControllerSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*ControllerSession) UpdateController ¶
func (_Controller *ControllerSession) UpdateController(_id [32]byte, _controller common.Address) (*types.Transaction, error)
UpdateController is a paid mutator transaction binding the contract method 0xeb5dd94f.
Solidity: function updateController(bytes32 _id, address _controller) returns()
type ControllerSetContractInfo ¶ added in v0.3.3
type ControllerSetContractInfo struct { Id [32]byte ContractAddress common.Address GitCommitHash [20]byte Raw types.Log // Blockchain specific contextual infos }
ControllerSetContractInfo represents a SetContractInfo event raised by the Controller contract.
type ControllerSetContractInfoIterator ¶ added in v0.3.3
type ControllerSetContractInfoIterator struct { Event *ControllerSetContractInfo // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ControllerSetContractInfoIterator is returned from FilterSetContractInfo and is used to iterate over the raw logs and unpacked data for SetContractInfo events raised by the Controller contract.
func (*ControllerSetContractInfoIterator) Close ¶ added in v0.3.3
func (it *ControllerSetContractInfoIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ControllerSetContractInfoIterator) Error ¶ added in v0.3.3
func (it *ControllerSetContractInfoIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ControllerSetContractInfoIterator) Next ¶ added in v0.3.3
func (it *ControllerSetContractInfoIterator) 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 ControllerTransactor ¶
type ControllerTransactor struct {
// contains filtered or unexported fields
}
ControllerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewControllerTransactor ¶
func NewControllerTransactor(address common.Address, transactor bind.ContractTransactor) (*ControllerTransactor, error)
NewControllerTransactor creates a new write-only instance of Controller, bound to a specific deployed contract.
func (*ControllerTransactor) Pause ¶
func (_Controller *ControllerTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ControllerTransactor) SetContractInfo ¶ added in v0.3.3
func (_Controller *ControllerTransactor) SetContractInfo(opts *bind.TransactOpts, _id [32]byte, _contractAddress common.Address, _gitCommitHash [20]byte) (*types.Transaction, error)
SetContractInfo is a paid mutator transaction binding the contract method 0xd737c2b0.
Solidity: function setContractInfo(bytes32 _id, address _contractAddress, bytes20 _gitCommitHash) returns()
func (*ControllerTransactor) TransferOwnership ¶
func (_Controller *ControllerTransactor) 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 (*ControllerTransactor) Unpause ¶
func (_Controller *ControllerTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*ControllerTransactor) UpdateController ¶
func (_Controller *ControllerTransactor) UpdateController(opts *bind.TransactOpts, _id [32]byte, _controller common.Address) (*types.Transaction, error)
UpdateController is a paid mutator transaction binding the contract method 0xeb5dd94f.
Solidity: function updateController(bytes32 _id, address _controller) returns()
type ControllerTransactorRaw ¶
type ControllerTransactorRaw struct {
Contract *ControllerTransactor // Generic write-only contract binding to access the raw methods on
}
ControllerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ControllerTransactorRaw) Transact ¶
func (_Controller *ControllerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ControllerTransactorRaw) Transfer ¶
func (_Controller *ControllerTransactorRaw) 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 ControllerTransactorSession ¶
type ControllerTransactorSession struct { Contract *ControllerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ControllerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ControllerTransactorSession) Pause ¶
func (_Controller *ControllerTransactorSession) Pause() (*types.Transaction, error)
Pause is a paid mutator transaction binding the contract method 0x8456cb59.
Solidity: function pause() returns()
func (*ControllerTransactorSession) SetContractInfo ¶ added in v0.3.3
func (_Controller *ControllerTransactorSession) SetContractInfo(_id [32]byte, _contractAddress common.Address, _gitCommitHash [20]byte) (*types.Transaction, error)
SetContractInfo is a paid mutator transaction binding the contract method 0xd737c2b0.
Solidity: function setContractInfo(bytes32 _id, address _contractAddress, bytes20 _gitCommitHash) returns()
func (*ControllerTransactorSession) TransferOwnership ¶
func (_Controller *ControllerTransactorSession) 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 (*ControllerTransactorSession) Unpause ¶
func (_Controller *ControllerTransactorSession) Unpause() (*types.Transaction, error)
Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.
Solidity: function unpause() returns()
func (*ControllerTransactorSession) UpdateController ¶
func (_Controller *ControllerTransactorSession) UpdateController(_id [32]byte, _controller common.Address) (*types.Transaction, error)
UpdateController is a paid mutator transaction binding the contract method 0xeb5dd94f.
Solidity: function updateController(bytes32 _id, address _controller) returns()
type ControllerUnpause ¶ added in v0.3.3
ControllerUnpause represents a Unpause event raised by the Controller contract.
type ControllerUnpauseIterator ¶ added in v0.3.3
type ControllerUnpauseIterator struct { Event *ControllerUnpause // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ControllerUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the Controller contract.
func (*ControllerUnpauseIterator) Close ¶ added in v0.3.3
func (it *ControllerUnpauseIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ControllerUnpauseIterator) Error ¶ added in v0.3.3
func (it *ControllerUnpauseIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ControllerUnpauseIterator) Next ¶ added in v0.3.3
func (it *ControllerUnpauseIterator) 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 LivepeerToken ¶
type LivepeerToken struct { LivepeerTokenCaller // Read-only binding to the contract LivepeerTokenTransactor // Write-only binding to the contract LivepeerTokenFilterer // Log filterer for contract events }
LivepeerToken is an auto generated Go binding around an Ethereum contract.
func NewLivepeerToken ¶
func NewLivepeerToken(address common.Address, backend bind.ContractBackend) (*LivepeerToken, error)
NewLivepeerToken creates a new instance of LivepeerToken, bound to a specific deployed contract.
type LivepeerTokenApproval ¶ added in v0.3.3
type LivepeerTokenApproval struct { Owner common.Address Spender common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
LivepeerTokenApproval represents a Approval event raised by the LivepeerToken contract.
type LivepeerTokenApprovalIterator ¶ added in v0.3.3
type LivepeerTokenApprovalIterator struct { Event *LivepeerTokenApproval // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LivepeerTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the LivepeerToken contract.
func (*LivepeerTokenApprovalIterator) Close ¶ added in v0.3.3
func (it *LivepeerTokenApprovalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LivepeerTokenApprovalIterator) Error ¶ added in v0.3.3
func (it *LivepeerTokenApprovalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LivepeerTokenApprovalIterator) Next ¶ added in v0.3.3
func (it *LivepeerTokenApprovalIterator) 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 LivepeerTokenBurn ¶ added in v0.3.3
type LivepeerTokenBurn struct { Burner common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
LivepeerTokenBurn represents a Burn event raised by the LivepeerToken contract.
type LivepeerTokenBurnIterator ¶ added in v0.3.3
type LivepeerTokenBurnIterator struct { Event *LivepeerTokenBurn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LivepeerTokenBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the LivepeerToken contract.
func (*LivepeerTokenBurnIterator) Close ¶ added in v0.3.3
func (it *LivepeerTokenBurnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LivepeerTokenBurnIterator) Error ¶ added in v0.3.3
func (it *LivepeerTokenBurnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LivepeerTokenBurnIterator) Next ¶ added in v0.3.3
func (it *LivepeerTokenBurnIterator) 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 LivepeerTokenCaller ¶
type LivepeerTokenCaller struct {
// contains filtered or unexported fields
}
LivepeerTokenCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLivepeerTokenCaller ¶
func NewLivepeerTokenCaller(address common.Address, caller bind.ContractCaller) (*LivepeerTokenCaller, error)
NewLivepeerTokenCaller creates a new read-only instance of LivepeerToken, bound to a specific deployed contract.
func (*LivepeerTokenCaller) Allowance ¶
func (_LivepeerToken *LivepeerTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) constant returns(uint256)
func (*LivepeerTokenCaller) BalanceOf ¶
func (_LivepeerToken *LivepeerTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) constant returns(uint256)
func (*LivepeerTokenCaller) Decimals ¶
func (_LivepeerToken *LivepeerTokenCaller) Decimals(opts *bind.CallOpts) (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*LivepeerTokenCaller) MintingFinished ¶
func (_LivepeerToken *LivepeerTokenCaller) MintingFinished(opts *bind.CallOpts) (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() constant returns(bool)
func (*LivepeerTokenCaller) Name ¶
func (_LivepeerToken *LivepeerTokenCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*LivepeerTokenCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*LivepeerTokenCaller) Symbol ¶
func (_LivepeerToken *LivepeerTokenCaller) Symbol(opts *bind.CallOpts) (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*LivepeerTokenCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
type LivepeerTokenCallerRaw ¶
type LivepeerTokenCallerRaw struct {
Contract *LivepeerTokenCaller // Generic read-only contract binding to access the raw methods on
}
LivepeerTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LivepeerTokenCallerRaw) Call ¶
func (_LivepeerToken *LivepeerTokenCallerRaw) 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 LivepeerTokenCallerSession ¶
type LivepeerTokenCallerSession struct { Contract *LivepeerTokenCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LivepeerTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LivepeerTokenCallerSession) Allowance ¶
func (_LivepeerToken *LivepeerTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) constant returns(uint256)
func (*LivepeerTokenCallerSession) BalanceOf ¶
func (_LivepeerToken *LivepeerTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) constant returns(uint256)
func (*LivepeerTokenCallerSession) Decimals ¶
func (_LivepeerToken *LivepeerTokenCallerSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*LivepeerTokenCallerSession) MintingFinished ¶
func (_LivepeerToken *LivepeerTokenCallerSession) MintingFinished() (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() constant returns(bool)
func (*LivepeerTokenCallerSession) Name ¶
func (_LivepeerToken *LivepeerTokenCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*LivepeerTokenCallerSession) Owner ¶
func (_LivepeerToken *LivepeerTokenCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*LivepeerTokenCallerSession) Symbol ¶
func (_LivepeerToken *LivepeerTokenCallerSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*LivepeerTokenCallerSession) TotalSupply ¶
func (_LivepeerToken *LivepeerTokenCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*LivepeerTokenCallerSession) Version ¶
func (_LivepeerToken *LivepeerTokenCallerSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() constant returns(string)
type LivepeerTokenFaucet ¶
type LivepeerTokenFaucet struct { LivepeerTokenFaucetCaller // Read-only binding to the contract LivepeerTokenFaucetTransactor // Write-only binding to the contract LivepeerTokenFaucetFilterer // Log filterer for contract events }
LivepeerTokenFaucet is an auto generated Go binding around an Ethereum contract.
func NewLivepeerTokenFaucet ¶
func NewLivepeerTokenFaucet(address common.Address, backend bind.ContractBackend) (*LivepeerTokenFaucet, error)
NewLivepeerTokenFaucet creates a new instance of LivepeerTokenFaucet, bound to a specific deployed contract.
type LivepeerTokenFaucetCaller ¶
type LivepeerTokenFaucetCaller struct {
// contains filtered or unexported fields
}
LivepeerTokenFaucetCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewLivepeerTokenFaucetCaller ¶
func NewLivepeerTokenFaucetCaller(address common.Address, caller bind.ContractCaller) (*LivepeerTokenFaucetCaller, error)
NewLivepeerTokenFaucetCaller creates a new read-only instance of LivepeerTokenFaucet, bound to a specific deployed contract.
func (*LivepeerTokenFaucetCaller) IsWhitelisted ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetCaller) IsWhitelisted(opts *bind.CallOpts, arg0 common.Address) (bool, error)
IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.
Solidity: function isWhitelisted(address ) constant returns(bool)
func (*LivepeerTokenFaucetCaller) NextValidRequest ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetCaller) NextValidRequest(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
NextValidRequest is a free data retrieval call binding the contract method 0x207f5ce6.
Solidity: function nextValidRequest(address ) constant returns(uint256)
func (*LivepeerTokenFaucetCaller) Owner ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetCaller) Owner(opts *bind.CallOpts) (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*LivepeerTokenFaucetCaller) RequestAmount ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetCaller) RequestAmount(opts *bind.CallOpts) (*big.Int, error)
RequestAmount is a free data retrieval call binding the contract method 0xf52ec46c.
Solidity: function requestAmount() constant returns(uint256)
func (*LivepeerTokenFaucetCaller) RequestWait ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetCaller) RequestWait(opts *bind.CallOpts) (*big.Int, error)
RequestWait is a free data retrieval call binding the contract method 0x0d6c51b3.
Solidity: function requestWait() constant returns(uint256)
type LivepeerTokenFaucetCallerRaw ¶
type LivepeerTokenFaucetCallerRaw struct {
Contract *LivepeerTokenFaucetCaller // Generic read-only contract binding to access the raw methods on
}
LivepeerTokenFaucetCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*LivepeerTokenFaucetCallerRaw) Call ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerRaw) 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 LivepeerTokenFaucetCallerSession ¶
type LivepeerTokenFaucetCallerSession struct { Contract *LivepeerTokenFaucetCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
LivepeerTokenFaucetCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*LivepeerTokenFaucetCallerSession) IsWhitelisted ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerSession) IsWhitelisted(arg0 common.Address) (bool, error)
IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.
Solidity: function isWhitelisted(address ) constant returns(bool)
func (*LivepeerTokenFaucetCallerSession) NextValidRequest ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerSession) NextValidRequest(arg0 common.Address) (*big.Int, error)
NextValidRequest is a free data retrieval call binding the contract method 0x207f5ce6.
Solidity: function nextValidRequest(address ) constant returns(uint256)
func (*LivepeerTokenFaucetCallerSession) Owner ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*LivepeerTokenFaucetCallerSession) RequestAmount ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerSession) RequestAmount() (*big.Int, error)
RequestAmount is a free data retrieval call binding the contract method 0xf52ec46c.
Solidity: function requestAmount() constant returns(uint256)
func (*LivepeerTokenFaucetCallerSession) RequestWait ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerSession) RequestWait() (*big.Int, error)
RequestWait is a free data retrieval call binding the contract method 0x0d6c51b3.
Solidity: function requestWait() constant returns(uint256)
type LivepeerTokenFaucetFilterer ¶ added in v0.3.3
type LivepeerTokenFaucetFilterer struct {
// contains filtered or unexported fields
}
LivepeerTokenFaucetFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLivepeerTokenFaucetFilterer ¶ added in v0.3.3
func NewLivepeerTokenFaucetFilterer(address common.Address, filterer bind.ContractFilterer) (*LivepeerTokenFaucetFilterer, error)
NewLivepeerTokenFaucetFilterer creates a new log filterer instance of LivepeerTokenFaucet, bound to a specific deployed contract.
func (*LivepeerTokenFaucetFilterer) FilterOwnershipTransferred ¶ added in v0.3.3
func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*LivepeerTokenFaucetOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LivepeerTokenFaucetFilterer) FilterRequest ¶ added in v0.3.3
func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) FilterRequest(opts *bind.FilterOpts, to []common.Address) (*LivepeerTokenFaucetRequestIterator, error)
FilterRequest is a free log retrieval operation binding the contract event 0xe31c60e37ab1301f69f01b436a1d13486e6c16cc22c888a08c0e64a39230b6ac.
Solidity: event Request(address indexed to, uint256 amount)
func (*LivepeerTokenFaucetFilterer) ParseOwnershipTransferred ¶ added in v0.5.0
func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) ParseOwnershipTransferred(log types.Log) (*LivepeerTokenFaucetOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LivepeerTokenFaucetFilterer) ParseRequest ¶ added in v0.5.0
func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) ParseRequest(log types.Log) (*LivepeerTokenFaucetRequest, error)
ParseRequest is a log parse operation binding the contract event 0xe31c60e37ab1301f69f01b436a1d13486e6c16cc22c888a08c0e64a39230b6ac.
Solidity: event Request(address indexed to, uint256 amount)
func (*LivepeerTokenFaucetFilterer) WatchOwnershipTransferred ¶ added in v0.3.3
func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LivepeerTokenFaucetOwnershipTransferred, 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 (*LivepeerTokenFaucetFilterer) WatchRequest ¶ added in v0.3.3
func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) WatchRequest(opts *bind.WatchOpts, sink chan<- *LivepeerTokenFaucetRequest, to []common.Address) (event.Subscription, error)
WatchRequest is a free log subscription operation binding the contract event 0xe31c60e37ab1301f69f01b436a1d13486e6c16cc22c888a08c0e64a39230b6ac.
Solidity: event Request(address indexed to, uint256 amount)
type LivepeerTokenFaucetOwnershipTransferred ¶ added in v0.3.3
type LivepeerTokenFaucetOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
LivepeerTokenFaucetOwnershipTransferred represents a OwnershipTransferred event raised by the LivepeerTokenFaucet contract.
type LivepeerTokenFaucetOwnershipTransferredIterator ¶ added in v0.3.3
type LivepeerTokenFaucetOwnershipTransferredIterator struct { Event *LivepeerTokenFaucetOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LivepeerTokenFaucetOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the LivepeerTokenFaucet contract.
func (*LivepeerTokenFaucetOwnershipTransferredIterator) Close ¶ added in v0.3.3
func (it *LivepeerTokenFaucetOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LivepeerTokenFaucetOwnershipTransferredIterator) Error ¶ added in v0.3.3
func (it *LivepeerTokenFaucetOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LivepeerTokenFaucetOwnershipTransferredIterator) Next ¶ added in v0.3.3
func (it *LivepeerTokenFaucetOwnershipTransferredIterator) 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 LivepeerTokenFaucetRaw ¶
type LivepeerTokenFaucetRaw struct {
Contract *LivepeerTokenFaucet // Generic contract binding to access the raw methods on
}
LivepeerTokenFaucetRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LivepeerTokenFaucetRaw) Call ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetRaw) 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 (*LivepeerTokenFaucetRaw) Transact ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LivepeerTokenFaucetRaw) Transfer ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetRaw) 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 LivepeerTokenFaucetRequest ¶ added in v0.3.3
type LivepeerTokenFaucetRequest struct { To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
LivepeerTokenFaucetRequest represents a Request event raised by the LivepeerTokenFaucet contract.
type LivepeerTokenFaucetRequestIterator ¶ added in v0.3.3
type LivepeerTokenFaucetRequestIterator struct { Event *LivepeerTokenFaucetRequest // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LivepeerTokenFaucetRequestIterator is returned from FilterRequest and is used to iterate over the raw logs and unpacked data for Request events raised by the LivepeerTokenFaucet contract.
func (*LivepeerTokenFaucetRequestIterator) Close ¶ added in v0.3.3
func (it *LivepeerTokenFaucetRequestIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LivepeerTokenFaucetRequestIterator) Error ¶ added in v0.3.3
func (it *LivepeerTokenFaucetRequestIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LivepeerTokenFaucetRequestIterator) Next ¶ added in v0.3.3
func (it *LivepeerTokenFaucetRequestIterator) 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 LivepeerTokenFaucetSession ¶
type LivepeerTokenFaucetSession struct { Contract *LivepeerTokenFaucet // 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 }
LivepeerTokenFaucetSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LivepeerTokenFaucetSession) AddToWhitelist ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) AddToWhitelist(_addr common.Address) (*types.Transaction, error)
AddToWhitelist is a paid mutator transaction binding the contract method 0xe43252d7.
Solidity: function addToWhitelist(address _addr) returns()
func (*LivepeerTokenFaucetSession) IsWhitelisted ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) IsWhitelisted(arg0 common.Address) (bool, error)
IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.
Solidity: function isWhitelisted(address ) constant returns(bool)
func (*LivepeerTokenFaucetSession) NextValidRequest ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) NextValidRequest(arg0 common.Address) (*big.Int, error)
NextValidRequest is a free data retrieval call binding the contract method 0x207f5ce6.
Solidity: function nextValidRequest(address ) constant returns(uint256)
func (*LivepeerTokenFaucetSession) Owner ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*LivepeerTokenFaucetSession) RemoveFromWhitelist ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) RemoveFromWhitelist(_addr common.Address) (*types.Transaction, error)
RemoveFromWhitelist is a paid mutator transaction binding the contract method 0x8ab1d681.
Solidity: function removeFromWhitelist(address _addr) returns()
func (*LivepeerTokenFaucetSession) Request ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) Request() (*types.Transaction, error)
Request is a paid mutator transaction binding the contract method 0x338cdca1.
Solidity: function request() returns()
func (*LivepeerTokenFaucetSession) RequestAmount ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) RequestAmount() (*big.Int, error)
RequestAmount is a free data retrieval call binding the contract method 0xf52ec46c.
Solidity: function requestAmount() constant returns(uint256)
func (*LivepeerTokenFaucetSession) RequestWait ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) RequestWait() (*big.Int, error)
RequestWait is a free data retrieval call binding the contract method 0x0d6c51b3.
Solidity: function requestWait() constant returns(uint256)
func (*LivepeerTokenFaucetSession) Token ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) Token() (common.Address, error)
Token is a free data retrieval call binding the contract method 0xfc0c546a.
Solidity: function token() constant returns(address)
func (*LivepeerTokenFaucetSession) TransferOwnership ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type LivepeerTokenFaucetTransactor ¶
type LivepeerTokenFaucetTransactor struct {
// contains filtered or unexported fields
}
LivepeerTokenFaucetTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLivepeerTokenFaucetTransactor ¶
func NewLivepeerTokenFaucetTransactor(address common.Address, transactor bind.ContractTransactor) (*LivepeerTokenFaucetTransactor, error)
NewLivepeerTokenFaucetTransactor creates a new write-only instance of LivepeerTokenFaucet, bound to a specific deployed contract.
func (*LivepeerTokenFaucetTransactor) AddToWhitelist ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactor) AddToWhitelist(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)
AddToWhitelist is a paid mutator transaction binding the contract method 0xe43252d7.
Solidity: function addToWhitelist(address _addr) returns()
func (*LivepeerTokenFaucetTransactor) RemoveFromWhitelist ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactor) RemoveFromWhitelist(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)
RemoveFromWhitelist is a paid mutator transaction binding the contract method 0x8ab1d681.
Solidity: function removeFromWhitelist(address _addr) returns()
func (*LivepeerTokenFaucetTransactor) Request ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactor) Request(opts *bind.TransactOpts) (*types.Transaction, error)
Request is a paid mutator transaction binding the contract method 0x338cdca1.
Solidity: function request() returns()
func (*LivepeerTokenFaucetTransactor) TransferOwnership ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type LivepeerTokenFaucetTransactorRaw ¶
type LivepeerTokenFaucetTransactorRaw struct {
Contract *LivepeerTokenFaucetTransactor // Generic write-only contract binding to access the raw methods on
}
LivepeerTokenFaucetTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LivepeerTokenFaucetTransactorRaw) Transact ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LivepeerTokenFaucetTransactorRaw) Transfer ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactorRaw) 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 LivepeerTokenFaucetTransactorSession ¶
type LivepeerTokenFaucetTransactorSession struct { Contract *LivepeerTokenFaucetTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LivepeerTokenFaucetTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LivepeerTokenFaucetTransactorSession) AddToWhitelist ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactorSession) AddToWhitelist(_addr common.Address) (*types.Transaction, error)
AddToWhitelist is a paid mutator transaction binding the contract method 0xe43252d7.
Solidity: function addToWhitelist(address _addr) returns()
func (*LivepeerTokenFaucetTransactorSession) RemoveFromWhitelist ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactorSession) RemoveFromWhitelist(_addr common.Address) (*types.Transaction, error)
RemoveFromWhitelist is a paid mutator transaction binding the contract method 0x8ab1d681.
Solidity: function removeFromWhitelist(address _addr) returns()
func (*LivepeerTokenFaucetTransactorSession) Request ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactorSession) Request() (*types.Transaction, error)
Request is a paid mutator transaction binding the contract method 0x338cdca1.
Solidity: function request() returns()
func (*LivepeerTokenFaucetTransactorSession) TransferOwnership ¶
func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type LivepeerTokenFilterer ¶ added in v0.3.3
type LivepeerTokenFilterer struct {
// contains filtered or unexported fields
}
LivepeerTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewLivepeerTokenFilterer ¶ added in v0.3.3
func NewLivepeerTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*LivepeerTokenFilterer, error)
NewLivepeerTokenFilterer creates a new log filterer instance of LivepeerToken, bound to a specific deployed contract.
func (*LivepeerTokenFilterer) FilterApproval ¶ added in v0.3.3
func (_LivepeerToken *LivepeerTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LivepeerTokenApprovalIterator, error)
FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*LivepeerTokenFilterer) FilterBurn ¶ added in v0.3.3
func (_LivepeerToken *LivepeerTokenFilterer) FilterBurn(opts *bind.FilterOpts, burner []common.Address) (*LivepeerTokenBurnIterator, error)
FilterBurn is a free log retrieval operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.
Solidity: event Burn(address indexed burner, uint256 value)
func (*LivepeerTokenFilterer) FilterMint ¶ added in v0.3.3
func (_LivepeerToken *LivepeerTokenFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*LivepeerTokenMintIterator, error)
FilterMint is a free log retrieval operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*LivepeerTokenFilterer) FilterMintFinished ¶ added in v0.3.3
func (_LivepeerToken *LivepeerTokenFilterer) FilterMintFinished(opts *bind.FilterOpts) (*LivepeerTokenMintFinishedIterator, error)
FilterMintFinished is a free log retrieval operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*LivepeerTokenFilterer) FilterOwnershipTransferred ¶ added in v0.3.3
func (_LivepeerToken *LivepeerTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*LivepeerTokenOwnershipTransferredIterator, error)
FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LivepeerTokenFilterer) FilterTransfer ¶ added in v0.3.3
func (_LivepeerToken *LivepeerTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*LivepeerTokenTransferIterator, error)
FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*LivepeerTokenFilterer) ParseApproval ¶ added in v0.5.0
func (_LivepeerToken *LivepeerTokenFilterer) ParseApproval(log types.Log) (*LivepeerTokenApproval, error)
ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*LivepeerTokenFilterer) ParseBurn ¶ added in v0.5.0
func (_LivepeerToken *LivepeerTokenFilterer) ParseBurn(log types.Log) (*LivepeerTokenBurn, error)
ParseBurn is a log parse operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.
Solidity: event Burn(address indexed burner, uint256 value)
func (*LivepeerTokenFilterer) ParseMint ¶ added in v0.5.0
func (_LivepeerToken *LivepeerTokenFilterer) ParseMint(log types.Log) (*LivepeerTokenMint, error)
ParseMint is a log parse operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*LivepeerTokenFilterer) ParseMintFinished ¶ added in v0.5.0
func (_LivepeerToken *LivepeerTokenFilterer) ParseMintFinished(log types.Log) (*LivepeerTokenMintFinished, error)
ParseMintFinished is a log parse operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*LivepeerTokenFilterer) ParseOwnershipTransferred ¶ added in v0.5.0
func (_LivepeerToken *LivepeerTokenFilterer) ParseOwnershipTransferred(log types.Log) (*LivepeerTokenOwnershipTransferred, error)
ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.
Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
func (*LivepeerTokenFilterer) ParseTransfer ¶ added in v0.5.0
func (_LivepeerToken *LivepeerTokenFilterer) ParseTransfer(log types.Log) (*LivepeerTokenTransfer, error)
ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
func (*LivepeerTokenFilterer) WatchApproval ¶ added in v0.3.3
func (_LivepeerToken *LivepeerTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LivepeerTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)
WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.
Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)
func (*LivepeerTokenFilterer) WatchBurn ¶ added in v0.3.3
func (_LivepeerToken *LivepeerTokenFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *LivepeerTokenBurn, burner []common.Address) (event.Subscription, error)
WatchBurn is a free log subscription operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.
Solidity: event Burn(address indexed burner, uint256 value)
func (*LivepeerTokenFilterer) WatchMint ¶ added in v0.3.3
func (_LivepeerToken *LivepeerTokenFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *LivepeerTokenMint, to []common.Address) (event.Subscription, error)
WatchMint is a free log subscription operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.
Solidity: event Mint(address indexed to, uint256 amount)
func (*LivepeerTokenFilterer) WatchMintFinished ¶ added in v0.3.3
func (_LivepeerToken *LivepeerTokenFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *LivepeerTokenMintFinished) (event.Subscription, error)
WatchMintFinished is a free log subscription operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.
Solidity: event MintFinished()
func (*LivepeerTokenFilterer) WatchOwnershipTransferred ¶ added in v0.3.3
func (_LivepeerToken *LivepeerTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LivepeerTokenOwnershipTransferred, 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 (*LivepeerTokenFilterer) WatchTransfer ¶ added in v0.3.3
func (_LivepeerToken *LivepeerTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LivepeerTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)
WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.
Solidity: event Transfer(address indexed from, address indexed to, uint256 value)
type LivepeerTokenMint ¶ added in v0.3.3
type LivepeerTokenMint struct { To common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
LivepeerTokenMint represents a Mint event raised by the LivepeerToken contract.
type LivepeerTokenMintFinished ¶ added in v0.3.3
LivepeerTokenMintFinished represents a MintFinished event raised by the LivepeerToken contract.
type LivepeerTokenMintFinishedIterator ¶ added in v0.3.3
type LivepeerTokenMintFinishedIterator struct { Event *LivepeerTokenMintFinished // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LivepeerTokenMintFinishedIterator is returned from FilterMintFinished and is used to iterate over the raw logs and unpacked data for MintFinished events raised by the LivepeerToken contract.
func (*LivepeerTokenMintFinishedIterator) Close ¶ added in v0.3.3
func (it *LivepeerTokenMintFinishedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LivepeerTokenMintFinishedIterator) Error ¶ added in v0.3.3
func (it *LivepeerTokenMintFinishedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LivepeerTokenMintFinishedIterator) Next ¶ added in v0.3.3
func (it *LivepeerTokenMintFinishedIterator) 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 LivepeerTokenMintIterator ¶ added in v0.3.3
type LivepeerTokenMintIterator struct { Event *LivepeerTokenMint // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LivepeerTokenMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the LivepeerToken contract.
func (*LivepeerTokenMintIterator) Close ¶ added in v0.3.3
func (it *LivepeerTokenMintIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LivepeerTokenMintIterator) Error ¶ added in v0.3.3
func (it *LivepeerTokenMintIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LivepeerTokenMintIterator) Next ¶ added in v0.3.3
func (it *LivepeerTokenMintIterator) 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 LivepeerTokenOwnershipTransferred ¶ added in v0.3.3
type LivepeerTokenOwnershipTransferred struct { PreviousOwner common.Address NewOwner common.Address Raw types.Log // Blockchain specific contextual infos }
LivepeerTokenOwnershipTransferred represents a OwnershipTransferred event raised by the LivepeerToken contract.
type LivepeerTokenOwnershipTransferredIterator ¶ added in v0.3.3
type LivepeerTokenOwnershipTransferredIterator struct { Event *LivepeerTokenOwnershipTransferred // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LivepeerTokenOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the LivepeerToken contract.
func (*LivepeerTokenOwnershipTransferredIterator) Close ¶ added in v0.3.3
func (it *LivepeerTokenOwnershipTransferredIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LivepeerTokenOwnershipTransferredIterator) Error ¶ added in v0.3.3
func (it *LivepeerTokenOwnershipTransferredIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LivepeerTokenOwnershipTransferredIterator) Next ¶ added in v0.3.3
func (it *LivepeerTokenOwnershipTransferredIterator) 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 LivepeerTokenRaw ¶
type LivepeerTokenRaw struct {
Contract *LivepeerToken // Generic contract binding to access the raw methods on
}
LivepeerTokenRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*LivepeerTokenRaw) Call ¶
func (_LivepeerToken *LivepeerTokenRaw) 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 (*LivepeerTokenRaw) Transact ¶
func (_LivepeerToken *LivepeerTokenRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LivepeerTokenRaw) Transfer ¶
func (_LivepeerToken *LivepeerTokenRaw) 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 LivepeerTokenSession ¶
type LivepeerTokenSession struct { Contract *LivepeerToken // 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 }
LivepeerTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*LivepeerTokenSession) Allowance ¶
func (_LivepeerToken *LivepeerTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)
Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.
Solidity: function allowance(address owner, address spender) constant returns(uint256)
func (*LivepeerTokenSession) Approve ¶
func (_LivepeerToken *LivepeerTokenSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*LivepeerTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(address account) constant returns(uint256)
func (*LivepeerTokenSession) Burn ¶ added in v0.3.3
func (_LivepeerToken *LivepeerTokenSession) Burn(_amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 _amount) returns()
func (*LivepeerTokenSession) Decimals ¶
func (_LivepeerToken *LivepeerTokenSession) Decimals() (uint8, error)
Decimals is a free data retrieval call binding the contract method 0x313ce567.
Solidity: function decimals() constant returns(uint8)
func (*LivepeerTokenSession) DecreaseAllowance ¶ added in v0.5.0
func (_LivepeerToken *LivepeerTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*LivepeerTokenSession) FinishMinting ¶
func (_LivepeerToken *LivepeerTokenSession) FinishMinting() (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*LivepeerTokenSession) IncreaseAllowance ¶ added in v0.5.0
func (_LivepeerToken *LivepeerTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*LivepeerTokenSession) Mint ¶
func (_LivepeerToken *LivepeerTokenSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*LivepeerTokenSession) MintingFinished ¶
func (_LivepeerToken *LivepeerTokenSession) MintingFinished() (bool, error)
MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.
Solidity: function mintingFinished() constant returns(bool)
func (*LivepeerTokenSession) Name ¶
func (_LivepeerToken *LivepeerTokenSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() constant returns(string)
func (*LivepeerTokenSession) Owner ¶
func (_LivepeerToken *LivepeerTokenSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*LivepeerTokenSession) Symbol ¶
func (_LivepeerToken *LivepeerTokenSession) Symbol() (string, error)
Symbol is a free data retrieval call binding the contract method 0x95d89b41.
Solidity: function symbol() constant returns(string)
func (*LivepeerTokenSession) TotalSupply ¶
func (_LivepeerToken *LivepeerTokenSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*LivepeerTokenSession) Transfer ¶
func (_LivepeerToken *LivepeerTokenSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*LivepeerTokenSession) TransferFrom ¶
func (_LivepeerToken *LivepeerTokenSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*LivepeerTokenSession) TransferOwnership ¶
func (_LivepeerToken *LivepeerTokenSession) 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 (*LivepeerTokenSession) Version ¶
func (_LivepeerToken *LivepeerTokenSession) Version() (string, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() constant returns(string)
type LivepeerTokenTransactor ¶
type LivepeerTokenTransactor struct {
// contains filtered or unexported fields
}
LivepeerTokenTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewLivepeerTokenTransactor ¶
func NewLivepeerTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*LivepeerTokenTransactor, error)
NewLivepeerTokenTransactor creates a new write-only instance of LivepeerToken, bound to a specific deployed contract.
func (*LivepeerTokenTransactor) Approve ¶
func (_LivepeerToken *LivepeerTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*LivepeerTokenTransactor) Burn ¶ added in v0.3.3
func (_LivepeerToken *LivepeerTokenTransactor) Burn(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 _amount) returns()
func (*LivepeerTokenTransactor) DecreaseAllowance ¶ added in v0.5.0
func (_LivepeerToken *LivepeerTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*LivepeerTokenTransactor) FinishMinting ¶
func (_LivepeerToken *LivepeerTokenTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*LivepeerTokenTransactor) IncreaseAllowance ¶ added in v0.5.0
func (_LivepeerToken *LivepeerTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*LivepeerTokenTransactor) Mint ¶
func (_LivepeerToken *LivepeerTokenTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*LivepeerTokenTransactor) Transfer ¶
func (_LivepeerToken *LivepeerTokenTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*LivepeerTokenTransactor) TransferFrom ¶
func (_LivepeerToken *LivepeerTokenTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*LivepeerTokenTransactor) TransferOwnership ¶
func (_LivepeerToken *LivepeerTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type LivepeerTokenTransactorRaw ¶
type LivepeerTokenTransactorRaw struct {
Contract *LivepeerTokenTransactor // Generic write-only contract binding to access the raw methods on
}
LivepeerTokenTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*LivepeerTokenTransactorRaw) Transact ¶
func (_LivepeerToken *LivepeerTokenTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*LivepeerTokenTransactorRaw) Transfer ¶
func (_LivepeerToken *LivepeerTokenTransactorRaw) 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 LivepeerTokenTransactorSession ¶
type LivepeerTokenTransactorSession struct { Contract *LivepeerTokenTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
LivepeerTokenTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*LivepeerTokenTransactorSession) Approve ¶
func (_LivepeerToken *LivepeerTokenTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)
Approve is a paid mutator transaction binding the contract method 0x095ea7b3.
Solidity: function approve(address spender, uint256 value) returns(bool)
func (*LivepeerTokenTransactorSession) Burn ¶ added in v0.3.3
func (_LivepeerToken *LivepeerTokenTransactorSession) Burn(_amount *big.Int) (*types.Transaction, error)
Burn is a paid mutator transaction binding the contract method 0x42966c68.
Solidity: function burn(uint256 _amount) returns()
func (*LivepeerTokenTransactorSession) DecreaseAllowance ¶ added in v0.5.0
func (_LivepeerToken *LivepeerTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)
DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.
Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)
func (*LivepeerTokenTransactorSession) FinishMinting ¶
func (_LivepeerToken *LivepeerTokenTransactorSession) FinishMinting() (*types.Transaction, error)
FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.
Solidity: function finishMinting() returns(bool)
func (*LivepeerTokenTransactorSession) IncreaseAllowance ¶ added in v0.5.0
func (_LivepeerToken *LivepeerTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)
IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.
Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)
func (*LivepeerTokenTransactorSession) Mint ¶
func (_LivepeerToken *LivepeerTokenTransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)
Mint is a paid mutator transaction binding the contract method 0x40c10f19.
Solidity: function mint(address _to, uint256 _amount) returns(bool)
func (*LivepeerTokenTransactorSession) Transfer ¶
func (_LivepeerToken *LivepeerTokenTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(address recipient, uint256 amount) returns(bool)
func (*LivepeerTokenTransactorSession) TransferFrom ¶
func (_LivepeerToken *LivepeerTokenTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)
func (*LivepeerTokenTransactorSession) TransferOwnership ¶
func (_LivepeerToken *LivepeerTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address newOwner) returns()
type LivepeerTokenTransfer ¶ added in v0.3.3
type LivepeerTokenTransfer struct { From common.Address To common.Address Value *big.Int Raw types.Log // Blockchain specific contextual infos }
LivepeerTokenTransfer represents a Transfer event raised by the LivepeerToken contract.
type LivepeerTokenTransferIterator ¶ added in v0.3.3
type LivepeerTokenTransferIterator struct { Event *LivepeerTokenTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
LivepeerTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the LivepeerToken contract.
func (*LivepeerTokenTransferIterator) Close ¶ added in v0.3.3
func (it *LivepeerTokenTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*LivepeerTokenTransferIterator) Error ¶ added in v0.3.3
func (it *LivepeerTokenTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*LivepeerTokenTransferIterator) Next ¶ added in v0.3.3
func (it *LivepeerTokenTransferIterator) 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 Minter ¶ added in v0.3.3
type Minter struct { MinterCaller // Read-only binding to the contract MinterTransactor // Write-only binding to the contract MinterFilterer // Log filterer for contract events }
Minter is an auto generated Go binding around an Ethereum contract.
type MinterCaller ¶ added in v0.3.3
type MinterCaller struct {
// contains filtered or unexported fields
}
MinterCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewMinterCaller ¶ added in v0.3.3
func NewMinterCaller(address common.Address, caller bind.ContractCaller) (*MinterCaller, error)
NewMinterCaller creates a new read-only instance of Minter, bound to a specific deployed contract.
func (*MinterCaller) Controller ¶ added in v0.3.3
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*MinterCaller) CurrentMintableTokens ¶ added in v0.3.3
CurrentMintableTokens is a free data retrieval call binding the contract method 0x9ae6309a.
Solidity: function currentMintableTokens() constant returns(uint256)
func (*MinterCaller) CurrentMintedTokens ¶ added in v0.3.3
CurrentMintedTokens is a free data retrieval call binding the contract method 0x2de22cdb.
Solidity: function currentMintedTokens() constant returns(uint256)
func (*MinterCaller) GetController ¶ added in v0.3.3
GetController is a free data retrieval call binding the contract method 0x3018205f.
Solidity: function getController() constant returns(address)
func (*MinterCaller) Inflation ¶ added in v0.3.3
Inflation is a free data retrieval call binding the contract method 0xbe0522e0.
Solidity: function inflation() constant returns(uint256)
func (*MinterCaller) InflationChange ¶ added in v0.3.3
InflationChange is a free data retrieval call binding the contract method 0xa7c83514.
Solidity: function inflationChange() constant returns(uint256)
func (*MinterCaller) TargetBondingRate ¶ added in v0.3.3
TargetBondingRate is a free data retrieval call binding the contract method 0x821b771f.
Solidity: function targetBondingRate() constant returns(uint256)
type MinterCallerRaw ¶ added in v0.3.3
type MinterCallerRaw struct {
Contract *MinterCaller // Generic read-only contract binding to access the raw methods on
}
MinterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*MinterCallerRaw) Call ¶ added in v0.3.3
func (_Minter *MinterCallerRaw) 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 MinterCallerSession ¶ added in v0.3.3
type MinterCallerSession struct { Contract *MinterCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
MinterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*MinterCallerSession) Controller ¶ added in v0.3.3
func (_Minter *MinterCallerSession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*MinterCallerSession) CurrentMintableTokens ¶ added in v0.3.3
func (_Minter *MinterCallerSession) CurrentMintableTokens() (*big.Int, error)
CurrentMintableTokens is a free data retrieval call binding the contract method 0x9ae6309a.
Solidity: function currentMintableTokens() constant returns(uint256)
func (*MinterCallerSession) CurrentMintedTokens ¶ added in v0.3.3
func (_Minter *MinterCallerSession) CurrentMintedTokens() (*big.Int, error)
CurrentMintedTokens is a free data retrieval call binding the contract method 0x2de22cdb.
Solidity: function currentMintedTokens() constant returns(uint256)
func (*MinterCallerSession) GetController ¶ added in v0.3.3
func (_Minter *MinterCallerSession) GetController() (common.Address, error)
GetController is a free data retrieval call binding the contract method 0x3018205f.
Solidity: function getController() constant returns(address)
func (*MinterCallerSession) Inflation ¶ added in v0.3.3
func (_Minter *MinterCallerSession) Inflation() (*big.Int, error)
Inflation is a free data retrieval call binding the contract method 0xbe0522e0.
Solidity: function inflation() constant returns(uint256)
func (*MinterCallerSession) InflationChange ¶ added in v0.3.3
func (_Minter *MinterCallerSession) InflationChange() (*big.Int, error)
InflationChange is a free data retrieval call binding the contract method 0xa7c83514.
Solidity: function inflationChange() constant returns(uint256)
func (*MinterCallerSession) TargetBondingRate ¶ added in v0.3.3
func (_Minter *MinterCallerSession) TargetBondingRate() (*big.Int, error)
TargetBondingRate is a free data retrieval call binding the contract method 0x821b771f.
Solidity: function targetBondingRate() constant returns(uint256)
type MinterFilterer ¶ added in v0.3.3
type MinterFilterer struct {
// contains filtered or unexported fields
}
MinterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewMinterFilterer ¶ added in v0.3.3
func NewMinterFilterer(address common.Address, filterer bind.ContractFilterer) (*MinterFilterer, error)
NewMinterFilterer creates a new log filterer instance of Minter, bound to a specific deployed contract.
func (*MinterFilterer) FilterParameterUpdate ¶ added in v0.3.3
func (_Minter *MinterFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*MinterParameterUpdateIterator, error)
FilterParameterUpdate is a free log retrieval operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.
Solidity: event ParameterUpdate(string param)
func (*MinterFilterer) FilterSetController ¶ added in v0.3.3
func (_Minter *MinterFilterer) FilterSetController(opts *bind.FilterOpts) (*MinterSetControllerIterator, error)
FilterSetController is a free log retrieval operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.
Solidity: event SetController(address controller)
func (*MinterFilterer) FilterSetCurrentRewardTokens ¶ added in v0.3.3
func (_Minter *MinterFilterer) FilterSetCurrentRewardTokens(opts *bind.FilterOpts) (*MinterSetCurrentRewardTokensIterator, error)
FilterSetCurrentRewardTokens is a free log retrieval operation binding the contract event 0x39567a366345edf17f50c1967a31b597745186c4632f34c4f8ebe06b6890784d.
Solidity: event SetCurrentRewardTokens(uint256 currentMintableTokens, uint256 currentInflation)
func (*MinterFilterer) ParseParameterUpdate ¶ added in v0.5.0
func (_Minter *MinterFilterer) ParseParameterUpdate(log types.Log) (*MinterParameterUpdate, error)
ParseParameterUpdate is a log parse operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.
Solidity: event ParameterUpdate(string param)
func (*MinterFilterer) ParseSetController ¶ added in v0.5.0
func (_Minter *MinterFilterer) ParseSetController(log types.Log) (*MinterSetController, error)
ParseSetController is a log parse operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.
Solidity: event SetController(address controller)
func (*MinterFilterer) ParseSetCurrentRewardTokens ¶ added in v0.5.0
func (_Minter *MinterFilterer) ParseSetCurrentRewardTokens(log types.Log) (*MinterSetCurrentRewardTokens, error)
ParseSetCurrentRewardTokens is a log parse operation binding the contract event 0x39567a366345edf17f50c1967a31b597745186c4632f34c4f8ebe06b6890784d.
Solidity: event SetCurrentRewardTokens(uint256 currentMintableTokens, uint256 currentInflation)
func (*MinterFilterer) WatchParameterUpdate ¶ added in v0.3.3
func (_Minter *MinterFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *MinterParameterUpdate) (event.Subscription, error)
WatchParameterUpdate is a free log subscription operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.
Solidity: event ParameterUpdate(string param)
func (*MinterFilterer) WatchSetController ¶ added in v0.3.3
func (_Minter *MinterFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *MinterSetController) (event.Subscription, error)
WatchSetController is a free log subscription operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.
Solidity: event SetController(address controller)
func (*MinterFilterer) WatchSetCurrentRewardTokens ¶ added in v0.3.3
func (_Minter *MinterFilterer) WatchSetCurrentRewardTokens(opts *bind.WatchOpts, sink chan<- *MinterSetCurrentRewardTokens) (event.Subscription, error)
WatchSetCurrentRewardTokens is a free log subscription operation binding the contract event 0x39567a366345edf17f50c1967a31b597745186c4632f34c4f8ebe06b6890784d.
Solidity: event SetCurrentRewardTokens(uint256 currentMintableTokens, uint256 currentInflation)
type MinterParameterUpdate ¶ added in v0.3.3
type MinterParameterUpdate struct { Param string Raw types.Log // Blockchain specific contextual infos }
MinterParameterUpdate represents a ParameterUpdate event raised by the Minter contract.
type MinterParameterUpdateIterator ¶ added in v0.3.3
type MinterParameterUpdateIterator struct { Event *MinterParameterUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MinterParameterUpdateIterator is returned from FilterParameterUpdate and is used to iterate over the raw logs and unpacked data for ParameterUpdate events raised by the Minter contract.
func (*MinterParameterUpdateIterator) Close ¶ added in v0.3.3
func (it *MinterParameterUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MinterParameterUpdateIterator) Error ¶ added in v0.3.3
func (it *MinterParameterUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MinterParameterUpdateIterator) Next ¶ added in v0.3.3
func (it *MinterParameterUpdateIterator) 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 MinterRaw ¶ added in v0.3.3
type MinterRaw struct {
Contract *Minter // Generic contract binding to access the raw methods on
}
MinterRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*MinterRaw) Call ¶ added in v0.3.3
func (_Minter *MinterRaw) 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 (*MinterRaw) Transact ¶ added in v0.3.3
func (_Minter *MinterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MinterRaw) Transfer ¶ added in v0.3.3
func (_Minter *MinterRaw) 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 MinterSession ¶ added in v0.3.3
type MinterSession struct { Contract *Minter // 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 }
MinterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*MinterSession) Controller ¶ added in v0.3.3
func (_Minter *MinterSession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*MinterSession) CreateReward ¶ added in v0.3.3
func (_Minter *MinterSession) CreateReward(_fracNum *big.Int, _fracDenom *big.Int) (*types.Transaction, error)
CreateReward is a paid mutator transaction binding the contract method 0x7dbedad5.
Solidity: function createReward(uint256 _fracNum, uint256 _fracDenom) returns(uint256)
func (*MinterSession) CurrentMintableTokens ¶ added in v0.3.3
func (_Minter *MinterSession) CurrentMintableTokens() (*big.Int, error)
CurrentMintableTokens is a free data retrieval call binding the contract method 0x9ae6309a.
Solidity: function currentMintableTokens() constant returns(uint256)
func (*MinterSession) CurrentMintedTokens ¶ added in v0.3.3
func (_Minter *MinterSession) CurrentMintedTokens() (*big.Int, error)
CurrentMintedTokens is a free data retrieval call binding the contract method 0x2de22cdb.
Solidity: function currentMintedTokens() constant returns(uint256)
func (*MinterSession) DepositETH ¶ added in v0.3.3
func (_Minter *MinterSession) DepositETH() (*types.Transaction, error)
DepositETH is a paid mutator transaction binding the contract method 0xf6326fb3.
Solidity: function depositETH() returns(bool)
func (*MinterSession) GetController ¶ added in v0.3.3
func (_Minter *MinterSession) GetController() (common.Address, error)
GetController is a free data retrieval call binding the contract method 0x3018205f.
Solidity: function getController() constant returns(address)
func (*MinterSession) Inflation ¶ added in v0.3.3
func (_Minter *MinterSession) Inflation() (*big.Int, error)
Inflation is a free data retrieval call binding the contract method 0xbe0522e0.
Solidity: function inflation() constant returns(uint256)
func (*MinterSession) InflationChange ¶ added in v0.3.3
func (_Minter *MinterSession) InflationChange() (*big.Int, error)
InflationChange is a free data retrieval call binding the contract method 0xa7c83514.
Solidity: function inflationChange() constant returns(uint256)
func (*MinterSession) MigrateToNewMinter ¶ added in v0.3.3
func (_Minter *MinterSession) MigrateToNewMinter(_newMinter common.Address) (*types.Transaction, error)
MigrateToNewMinter is a paid mutator transaction binding the contract method 0x18d217ad.
Solidity: function migrateToNewMinter(address _newMinter) returns()
func (*MinterSession) SetController ¶ added in v0.3.3
func (_Minter *MinterSession) SetController(_controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address _controller) returns()
func (*MinterSession) SetCurrentRewardTokens ¶ added in v0.3.3
func (_Minter *MinterSession) SetCurrentRewardTokens() (*types.Transaction, error)
SetCurrentRewardTokens is a paid mutator transaction binding the contract method 0xece2064c.
Solidity: function setCurrentRewardTokens() returns()
func (*MinterSession) SetInflationChange ¶ added in v0.3.3
func (_Minter *MinterSession) SetInflationChange(_inflationChange *big.Int) (*types.Transaction, error)
SetInflationChange is a paid mutator transaction binding the contract method 0x010e3c1c.
Solidity: function setInflationChange(uint256 _inflationChange) returns()
func (*MinterSession) SetTargetBondingRate ¶ added in v0.3.3
func (_Minter *MinterSession) SetTargetBondingRate(_targetBondingRate *big.Int) (*types.Transaction, error)
SetTargetBondingRate is a paid mutator transaction binding the contract method 0x77bde142.
Solidity: function setTargetBondingRate(uint256 _targetBondingRate) returns()
func (*MinterSession) TargetBondingRate ¶ added in v0.3.3
func (_Minter *MinterSession) TargetBondingRate() (*big.Int, error)
TargetBondingRate is a free data retrieval call binding the contract method 0x821b771f.
Solidity: function targetBondingRate() constant returns(uint256)
func (*MinterSession) TrustedBurnTokens ¶ added in v0.3.3
func (_Minter *MinterSession) TrustedBurnTokens(_amount *big.Int) (*types.Transaction, error)
TrustedBurnTokens is a paid mutator transaction binding the contract method 0xc7ee98c2.
Solidity: function trustedBurnTokens(uint256 _amount) returns()
func (*MinterSession) TrustedTransferTokens ¶ added in v0.3.3
func (_Minter *MinterSession) TrustedTransferTokens(_to common.Address, _amount *big.Int) (*types.Transaction, error)
TrustedTransferTokens is a paid mutator transaction binding the contract method 0xe7a49c2b.
Solidity: function trustedTransferTokens(address _to, uint256 _amount) returns()
func (*MinterSession) TrustedWithdrawETH ¶ added in v0.3.3
func (_Minter *MinterSession) TrustedWithdrawETH(_to common.Address, _amount *big.Int) (*types.Transaction, error)
TrustedWithdrawETH is a paid mutator transaction binding the contract method 0x20283da9.
Solidity: function trustedWithdrawETH(address _to, uint256 _amount) returns()
type MinterSetController ¶ added in v0.3.3
type MinterSetController struct { Controller common.Address Raw types.Log // Blockchain specific contextual infos }
MinterSetController represents a SetController event raised by the Minter contract.
type MinterSetControllerIterator ¶ added in v0.3.3
type MinterSetControllerIterator struct { Event *MinterSetController // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MinterSetControllerIterator is returned from FilterSetController and is used to iterate over the raw logs and unpacked data for SetController events raised by the Minter contract.
func (*MinterSetControllerIterator) Close ¶ added in v0.3.3
func (it *MinterSetControllerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MinterSetControllerIterator) Error ¶ added in v0.3.3
func (it *MinterSetControllerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MinterSetControllerIterator) Next ¶ added in v0.3.3
func (it *MinterSetControllerIterator) 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 MinterSetCurrentRewardTokens ¶ added in v0.3.3
type MinterSetCurrentRewardTokens struct { CurrentMintableTokens *big.Int CurrentInflation *big.Int Raw types.Log // Blockchain specific contextual infos }
MinterSetCurrentRewardTokens represents a SetCurrentRewardTokens event raised by the Minter contract.
type MinterSetCurrentRewardTokensIterator ¶ added in v0.3.3
type MinterSetCurrentRewardTokensIterator struct { Event *MinterSetCurrentRewardTokens // Event containing the contract specifics and raw log // contains filtered or unexported fields }
MinterSetCurrentRewardTokensIterator is returned from FilterSetCurrentRewardTokens and is used to iterate over the raw logs and unpacked data for SetCurrentRewardTokens events raised by the Minter contract.
func (*MinterSetCurrentRewardTokensIterator) Close ¶ added in v0.3.3
func (it *MinterSetCurrentRewardTokensIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*MinterSetCurrentRewardTokensIterator) Error ¶ added in v0.3.3
func (it *MinterSetCurrentRewardTokensIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*MinterSetCurrentRewardTokensIterator) Next ¶ added in v0.3.3
func (it *MinterSetCurrentRewardTokensIterator) 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 MinterTransactor ¶ added in v0.3.3
type MinterTransactor struct {
// contains filtered or unexported fields
}
MinterTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewMinterTransactor ¶ added in v0.3.3
func NewMinterTransactor(address common.Address, transactor bind.ContractTransactor) (*MinterTransactor, error)
NewMinterTransactor creates a new write-only instance of Minter, bound to a specific deployed contract.
func (*MinterTransactor) CreateReward ¶ added in v0.3.3
func (_Minter *MinterTransactor) CreateReward(opts *bind.TransactOpts, _fracNum *big.Int, _fracDenom *big.Int) (*types.Transaction, error)
CreateReward is a paid mutator transaction binding the contract method 0x7dbedad5.
Solidity: function createReward(uint256 _fracNum, uint256 _fracDenom) returns(uint256)
func (*MinterTransactor) DepositETH ¶ added in v0.3.3
func (_Minter *MinterTransactor) DepositETH(opts *bind.TransactOpts) (*types.Transaction, error)
DepositETH is a paid mutator transaction binding the contract method 0xf6326fb3.
Solidity: function depositETH() returns(bool)
func (*MinterTransactor) MigrateToNewMinter ¶ added in v0.3.3
func (_Minter *MinterTransactor) MigrateToNewMinter(opts *bind.TransactOpts, _newMinter common.Address) (*types.Transaction, error)
MigrateToNewMinter is a paid mutator transaction binding the contract method 0x18d217ad.
Solidity: function migrateToNewMinter(address _newMinter) returns()
func (*MinterTransactor) SetController ¶ added in v0.3.3
func (_Minter *MinterTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address _controller) returns()
func (*MinterTransactor) SetCurrentRewardTokens ¶ added in v0.3.3
func (_Minter *MinterTransactor) SetCurrentRewardTokens(opts *bind.TransactOpts) (*types.Transaction, error)
SetCurrentRewardTokens is a paid mutator transaction binding the contract method 0xece2064c.
Solidity: function setCurrentRewardTokens() returns()
func (*MinterTransactor) SetInflationChange ¶ added in v0.3.3
func (_Minter *MinterTransactor) SetInflationChange(opts *bind.TransactOpts, _inflationChange *big.Int) (*types.Transaction, error)
SetInflationChange is a paid mutator transaction binding the contract method 0x010e3c1c.
Solidity: function setInflationChange(uint256 _inflationChange) returns()
func (*MinterTransactor) SetTargetBondingRate ¶ added in v0.3.3
func (_Minter *MinterTransactor) SetTargetBondingRate(opts *bind.TransactOpts, _targetBondingRate *big.Int) (*types.Transaction, error)
SetTargetBondingRate is a paid mutator transaction binding the contract method 0x77bde142.
Solidity: function setTargetBondingRate(uint256 _targetBondingRate) returns()
func (*MinterTransactor) TrustedBurnTokens ¶ added in v0.3.3
func (_Minter *MinterTransactor) TrustedBurnTokens(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
TrustedBurnTokens is a paid mutator transaction binding the contract method 0xc7ee98c2.
Solidity: function trustedBurnTokens(uint256 _amount) returns()
func (*MinterTransactor) TrustedTransferTokens ¶ added in v0.3.3
func (_Minter *MinterTransactor) TrustedTransferTokens(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
TrustedTransferTokens is a paid mutator transaction binding the contract method 0xe7a49c2b.
Solidity: function trustedTransferTokens(address _to, uint256 _amount) returns()
func (*MinterTransactor) TrustedWithdrawETH ¶ added in v0.3.3
func (_Minter *MinterTransactor) TrustedWithdrawETH(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)
TrustedWithdrawETH is a paid mutator transaction binding the contract method 0x20283da9.
Solidity: function trustedWithdrawETH(address _to, uint256 _amount) returns()
type MinterTransactorRaw ¶ added in v0.3.3
type MinterTransactorRaw struct {
Contract *MinterTransactor // Generic write-only contract binding to access the raw methods on
}
MinterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*MinterTransactorRaw) Transact ¶ added in v0.3.3
func (_Minter *MinterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*MinterTransactorRaw) Transfer ¶ added in v0.3.3
func (_Minter *MinterTransactorRaw) 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 MinterTransactorSession ¶ added in v0.3.3
type MinterTransactorSession struct { Contract *MinterTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
MinterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*MinterTransactorSession) CreateReward ¶ added in v0.3.3
func (_Minter *MinterTransactorSession) CreateReward(_fracNum *big.Int, _fracDenom *big.Int) (*types.Transaction, error)
CreateReward is a paid mutator transaction binding the contract method 0x7dbedad5.
Solidity: function createReward(uint256 _fracNum, uint256 _fracDenom) returns(uint256)
func (*MinterTransactorSession) DepositETH ¶ added in v0.3.3
func (_Minter *MinterTransactorSession) DepositETH() (*types.Transaction, error)
DepositETH is a paid mutator transaction binding the contract method 0xf6326fb3.
Solidity: function depositETH() returns(bool)
func (*MinterTransactorSession) MigrateToNewMinter ¶ added in v0.3.3
func (_Minter *MinterTransactorSession) MigrateToNewMinter(_newMinter common.Address) (*types.Transaction, error)
MigrateToNewMinter is a paid mutator transaction binding the contract method 0x18d217ad.
Solidity: function migrateToNewMinter(address _newMinter) returns()
func (*MinterTransactorSession) SetController ¶ added in v0.3.3
func (_Minter *MinterTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address _controller) returns()
func (*MinterTransactorSession) SetCurrentRewardTokens ¶ added in v0.3.3
func (_Minter *MinterTransactorSession) SetCurrentRewardTokens() (*types.Transaction, error)
SetCurrentRewardTokens is a paid mutator transaction binding the contract method 0xece2064c.
Solidity: function setCurrentRewardTokens() returns()
func (*MinterTransactorSession) SetInflationChange ¶ added in v0.3.3
func (_Minter *MinterTransactorSession) SetInflationChange(_inflationChange *big.Int) (*types.Transaction, error)
SetInflationChange is a paid mutator transaction binding the contract method 0x010e3c1c.
Solidity: function setInflationChange(uint256 _inflationChange) returns()
func (*MinterTransactorSession) SetTargetBondingRate ¶ added in v0.3.3
func (_Minter *MinterTransactorSession) SetTargetBondingRate(_targetBondingRate *big.Int) (*types.Transaction, error)
SetTargetBondingRate is a paid mutator transaction binding the contract method 0x77bde142.
Solidity: function setTargetBondingRate(uint256 _targetBondingRate) returns()
func (*MinterTransactorSession) TrustedBurnTokens ¶ added in v0.3.3
func (_Minter *MinterTransactorSession) TrustedBurnTokens(_amount *big.Int) (*types.Transaction, error)
TrustedBurnTokens is a paid mutator transaction binding the contract method 0xc7ee98c2.
Solidity: function trustedBurnTokens(uint256 _amount) returns()
func (*MinterTransactorSession) TrustedTransferTokens ¶ added in v0.3.3
func (_Minter *MinterTransactorSession) TrustedTransferTokens(_to common.Address, _amount *big.Int) (*types.Transaction, error)
TrustedTransferTokens is a paid mutator transaction binding the contract method 0xe7a49c2b.
Solidity: function trustedTransferTokens(address _to, uint256 _amount) returns()
func (*MinterTransactorSession) TrustedWithdrawETH ¶ added in v0.3.3
func (_Minter *MinterTransactorSession) TrustedWithdrawETH(_to common.Address, _amount *big.Int) (*types.Transaction, error)
TrustedWithdrawETH is a paid mutator transaction binding the contract method 0x20283da9.
Solidity: function trustedWithdrawETH(address _to, uint256 _amount) returns()
type RoundsManager ¶
type RoundsManager struct { RoundsManagerCaller // Read-only binding to the contract RoundsManagerTransactor // Write-only binding to the contract RoundsManagerFilterer // Log filterer for contract events }
RoundsManager is an auto generated Go binding around an Ethereum contract.
func NewRoundsManager ¶
func NewRoundsManager(address common.Address, backend bind.ContractBackend) (*RoundsManager, error)
NewRoundsManager creates a new instance of RoundsManager, bound to a specific deployed contract.
type RoundsManagerCaller ¶
type RoundsManagerCaller struct {
// contains filtered or unexported fields
}
RoundsManagerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewRoundsManagerCaller ¶
func NewRoundsManagerCaller(address common.Address, caller bind.ContractCaller) (*RoundsManagerCaller, error)
NewRoundsManagerCaller creates a new read-only instance of RoundsManager, bound to a specific deployed contract.
func (*RoundsManagerCaller) BlockHash ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerCaller) BlockHash(opts *bind.CallOpts, _block *big.Int) ([32]byte, error)
BlockHash is a free data retrieval call binding the contract method 0x85df51fd.
Solidity: function blockHash(uint256 _block) constant returns(bytes32)
func (*RoundsManagerCaller) BlockHashForRound ¶ added in v0.5.0
func (_RoundsManager *RoundsManagerCaller) BlockHashForRound(opts *bind.CallOpts, _round *big.Int) ([32]byte, error)
BlockHashForRound is a free data retrieval call binding the contract method 0x3aa4add4.
Solidity: function blockHashForRound(uint256 _round) constant returns(bytes32)
func (*RoundsManagerCaller) BlockNum ¶
BlockNum is a free data retrieval call binding the contract method 0x8ae63d6d.
Solidity: function blockNum() constant returns(uint256)
func (*RoundsManagerCaller) Controller ¶
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*RoundsManagerCaller) CurrentRound ¶
CurrentRound is a free data retrieval call binding the contract method 0x8a19c8bc.
Solidity: function currentRound() constant returns(uint256)
func (*RoundsManagerCaller) CurrentRoundInitialized ¶
func (_RoundsManager *RoundsManagerCaller) CurrentRoundInitialized(opts *bind.CallOpts) (bool, error)
CurrentRoundInitialized is a free data retrieval call binding the contract method 0x219bc76c.
Solidity: function currentRoundInitialized() constant returns(bool)
func (*RoundsManagerCaller) CurrentRoundLocked ¶
func (_RoundsManager *RoundsManagerCaller) CurrentRoundLocked(opts *bind.CallOpts) (bool, error)
CurrentRoundLocked is a free data retrieval call binding the contract method 0x6841f253.
Solidity: function currentRoundLocked() constant returns(bool)
func (*RoundsManagerCaller) CurrentRoundStartBlock ¶
func (_RoundsManager *RoundsManagerCaller) CurrentRoundStartBlock(opts *bind.CallOpts) (*big.Int, error)
CurrentRoundStartBlock is a free data retrieval call binding the contract method 0x8fa148f2.
Solidity: function currentRoundStartBlock() constant returns(uint256)
func (*RoundsManagerCaller) LastInitializedRound ¶
func (_RoundsManager *RoundsManagerCaller) LastInitializedRound(opts *bind.CallOpts) (*big.Int, error)
LastInitializedRound is a free data retrieval call binding the contract method 0x8807f36e.
Solidity: function lastInitializedRound() constant returns(uint256)
func (*RoundsManagerCaller) LastRoundLengthUpdateRound ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerCaller) LastRoundLengthUpdateRound(opts *bind.CallOpts) (*big.Int, error)
LastRoundLengthUpdateRound is a free data retrieval call binding the contract method 0x0fe1dfa8.
Solidity: function lastRoundLengthUpdateRound() constant returns(uint256)
func (*RoundsManagerCaller) LastRoundLengthUpdateStartBlock ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerCaller) LastRoundLengthUpdateStartBlock(opts *bind.CallOpts) (*big.Int, error)
LastRoundLengthUpdateStartBlock is a free data retrieval call binding the contract method 0x668abff7.
Solidity: function lastRoundLengthUpdateStartBlock() constant returns(uint256)
func (*RoundsManagerCaller) RoundLength ¶
RoundLength is a free data retrieval call binding the contract method 0x8b649b94.
Solidity: function roundLength() constant returns(uint256)
func (*RoundsManagerCaller) RoundLockAmount ¶
RoundLockAmount is a free data retrieval call binding the contract method 0xf5b490d5.
Solidity: function roundLockAmount() constant returns(uint256)
func (*RoundsManagerCaller) TargetContractId ¶
func (_RoundsManager *RoundsManagerCaller) TargetContractId(opts *bind.CallOpts) ([32]byte, error)
TargetContractId is a free data retrieval call binding the contract method 0x51720b41.
Solidity: function targetContractId() constant returns(bytes32)
type RoundsManagerCallerRaw ¶
type RoundsManagerCallerRaw struct {
Contract *RoundsManagerCaller // Generic read-only contract binding to access the raw methods on
}
RoundsManagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*RoundsManagerCallerRaw) Call ¶
func (_RoundsManager *RoundsManagerCallerRaw) 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 RoundsManagerCallerSession ¶
type RoundsManagerCallerSession struct { Contract *RoundsManagerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
RoundsManagerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*RoundsManagerCallerSession) BlockHash ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerCallerSession) BlockHash(_block *big.Int) ([32]byte, error)
BlockHash is a free data retrieval call binding the contract method 0x85df51fd.
Solidity: function blockHash(uint256 _block) constant returns(bytes32)
func (*RoundsManagerCallerSession) BlockHashForRound ¶ added in v0.5.0
func (_RoundsManager *RoundsManagerCallerSession) BlockHashForRound(_round *big.Int) ([32]byte, error)
BlockHashForRound is a free data retrieval call binding the contract method 0x3aa4add4.
Solidity: function blockHashForRound(uint256 _round) constant returns(bytes32)
func (*RoundsManagerCallerSession) BlockNum ¶
func (_RoundsManager *RoundsManagerCallerSession) BlockNum() (*big.Int, error)
BlockNum is a free data retrieval call binding the contract method 0x8ae63d6d.
Solidity: function blockNum() constant returns(uint256)
func (*RoundsManagerCallerSession) Controller ¶
func (_RoundsManager *RoundsManagerCallerSession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*RoundsManagerCallerSession) CurrentRound ¶
func (_RoundsManager *RoundsManagerCallerSession) CurrentRound() (*big.Int, error)
CurrentRound is a free data retrieval call binding the contract method 0x8a19c8bc.
Solidity: function currentRound() constant returns(uint256)
func (*RoundsManagerCallerSession) CurrentRoundInitialized ¶
func (_RoundsManager *RoundsManagerCallerSession) CurrentRoundInitialized() (bool, error)
CurrentRoundInitialized is a free data retrieval call binding the contract method 0x219bc76c.
Solidity: function currentRoundInitialized() constant returns(bool)
func (*RoundsManagerCallerSession) CurrentRoundLocked ¶
func (_RoundsManager *RoundsManagerCallerSession) CurrentRoundLocked() (bool, error)
CurrentRoundLocked is a free data retrieval call binding the contract method 0x6841f253.
Solidity: function currentRoundLocked() constant returns(bool)
func (*RoundsManagerCallerSession) CurrentRoundStartBlock ¶
func (_RoundsManager *RoundsManagerCallerSession) CurrentRoundStartBlock() (*big.Int, error)
CurrentRoundStartBlock is a free data retrieval call binding the contract method 0x8fa148f2.
Solidity: function currentRoundStartBlock() constant returns(uint256)
func (*RoundsManagerCallerSession) LastInitializedRound ¶
func (_RoundsManager *RoundsManagerCallerSession) LastInitializedRound() (*big.Int, error)
LastInitializedRound is a free data retrieval call binding the contract method 0x8807f36e.
Solidity: function lastInitializedRound() constant returns(uint256)
func (*RoundsManagerCallerSession) LastRoundLengthUpdateRound ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerCallerSession) LastRoundLengthUpdateRound() (*big.Int, error)
LastRoundLengthUpdateRound is a free data retrieval call binding the contract method 0x0fe1dfa8.
Solidity: function lastRoundLengthUpdateRound() constant returns(uint256)
func (*RoundsManagerCallerSession) LastRoundLengthUpdateStartBlock ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerCallerSession) LastRoundLengthUpdateStartBlock() (*big.Int, error)
LastRoundLengthUpdateStartBlock is a free data retrieval call binding the contract method 0x668abff7.
Solidity: function lastRoundLengthUpdateStartBlock() constant returns(uint256)
func (*RoundsManagerCallerSession) RoundLength ¶
func (_RoundsManager *RoundsManagerCallerSession) RoundLength() (*big.Int, error)
RoundLength is a free data retrieval call binding the contract method 0x8b649b94.
Solidity: function roundLength() constant returns(uint256)
func (*RoundsManagerCallerSession) RoundLockAmount ¶
func (_RoundsManager *RoundsManagerCallerSession) RoundLockAmount() (*big.Int, error)
RoundLockAmount is a free data retrieval call binding the contract method 0xf5b490d5.
Solidity: function roundLockAmount() constant returns(uint256)
func (*RoundsManagerCallerSession) TargetContractId ¶
func (_RoundsManager *RoundsManagerCallerSession) TargetContractId() ([32]byte, error)
TargetContractId is a free data retrieval call binding the contract method 0x51720b41.
Solidity: function targetContractId() constant returns(bytes32)
type RoundsManagerFilterer ¶ added in v0.3.3
type RoundsManagerFilterer struct {
// contains filtered or unexported fields
}
RoundsManagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewRoundsManagerFilterer ¶ added in v0.3.3
func NewRoundsManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*RoundsManagerFilterer, error)
NewRoundsManagerFilterer creates a new log filterer instance of RoundsManager, bound to a specific deployed contract.
func (*RoundsManagerFilterer) FilterNewRound ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerFilterer) FilterNewRound(opts *bind.FilterOpts, round []*big.Int) (*RoundsManagerNewRoundIterator, error)
FilterNewRound is a free log retrieval operation binding the contract event 0x22f2fc17c5daf07db2379b3a03a8ef20a183f761097a58fce219c8a14619e786.
Solidity: event NewRound(uint256 indexed round, bytes32 blockHash)
func (*RoundsManagerFilterer) FilterParameterUpdate ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*RoundsManagerParameterUpdateIterator, error)
FilterParameterUpdate is a free log retrieval operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.
Solidity: event ParameterUpdate(string param)
func (*RoundsManagerFilterer) FilterSetController ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerFilterer) FilterSetController(opts *bind.FilterOpts) (*RoundsManagerSetControllerIterator, error)
FilterSetController is a free log retrieval operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.
Solidity: event SetController(address controller)
func (*RoundsManagerFilterer) ParseNewRound ¶ added in v0.5.0
func (_RoundsManager *RoundsManagerFilterer) ParseNewRound(log types.Log) (*RoundsManagerNewRound, error)
ParseNewRound is a log parse operation binding the contract event 0x22f2fc17c5daf07db2379b3a03a8ef20a183f761097a58fce219c8a14619e786.
Solidity: event NewRound(uint256 indexed round, bytes32 blockHash)
func (*RoundsManagerFilterer) ParseParameterUpdate ¶ added in v0.5.0
func (_RoundsManager *RoundsManagerFilterer) ParseParameterUpdate(log types.Log) (*RoundsManagerParameterUpdate, error)
ParseParameterUpdate is a log parse operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.
Solidity: event ParameterUpdate(string param)
func (*RoundsManagerFilterer) ParseSetController ¶ added in v0.5.0
func (_RoundsManager *RoundsManagerFilterer) ParseSetController(log types.Log) (*RoundsManagerSetController, error)
ParseSetController is a log parse operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.
Solidity: event SetController(address controller)
func (*RoundsManagerFilterer) WatchNewRound ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerFilterer) WatchNewRound(opts *bind.WatchOpts, sink chan<- *RoundsManagerNewRound, round []*big.Int) (event.Subscription, error)
WatchNewRound is a free log subscription operation binding the contract event 0x22f2fc17c5daf07db2379b3a03a8ef20a183f761097a58fce219c8a14619e786.
Solidity: event NewRound(uint256 indexed round, bytes32 blockHash)
func (*RoundsManagerFilterer) WatchParameterUpdate ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *RoundsManagerParameterUpdate) (event.Subscription, error)
WatchParameterUpdate is a free log subscription operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.
Solidity: event ParameterUpdate(string param)
func (*RoundsManagerFilterer) WatchSetController ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *RoundsManagerSetController) (event.Subscription, error)
WatchSetController is a free log subscription operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.
Solidity: event SetController(address controller)
type RoundsManagerNewRound ¶ added in v0.3.3
type RoundsManagerNewRound struct { Round *big.Int BlockHash [32]byte Raw types.Log // Blockchain specific contextual infos }
RoundsManagerNewRound represents a NewRound event raised by the RoundsManager contract.
type RoundsManagerNewRoundIterator ¶ added in v0.3.3
type RoundsManagerNewRoundIterator struct { Event *RoundsManagerNewRound // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RoundsManagerNewRoundIterator is returned from FilterNewRound and is used to iterate over the raw logs and unpacked data for NewRound events raised by the RoundsManager contract.
func (*RoundsManagerNewRoundIterator) Close ¶ added in v0.3.3
func (it *RoundsManagerNewRoundIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RoundsManagerNewRoundIterator) Error ¶ added in v0.3.3
func (it *RoundsManagerNewRoundIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RoundsManagerNewRoundIterator) Next ¶ added in v0.3.3
func (it *RoundsManagerNewRoundIterator) 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 RoundsManagerParameterUpdate ¶ added in v0.3.3
type RoundsManagerParameterUpdate struct { Param string Raw types.Log // Blockchain specific contextual infos }
RoundsManagerParameterUpdate represents a ParameterUpdate event raised by the RoundsManager contract.
type RoundsManagerParameterUpdateIterator ¶ added in v0.3.3
type RoundsManagerParameterUpdateIterator struct { Event *RoundsManagerParameterUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RoundsManagerParameterUpdateIterator is returned from FilterParameterUpdate and is used to iterate over the raw logs and unpacked data for ParameterUpdate events raised by the RoundsManager contract.
func (*RoundsManagerParameterUpdateIterator) Close ¶ added in v0.3.3
func (it *RoundsManagerParameterUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RoundsManagerParameterUpdateIterator) Error ¶ added in v0.3.3
func (it *RoundsManagerParameterUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RoundsManagerParameterUpdateIterator) Next ¶ added in v0.3.3
func (it *RoundsManagerParameterUpdateIterator) 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 RoundsManagerRaw ¶
type RoundsManagerRaw struct {
Contract *RoundsManager // Generic contract binding to access the raw methods on
}
RoundsManagerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*RoundsManagerRaw) Call ¶
func (_RoundsManager *RoundsManagerRaw) 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 (*RoundsManagerRaw) Transact ¶
func (_RoundsManager *RoundsManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RoundsManagerRaw) Transfer ¶
func (_RoundsManager *RoundsManagerRaw) 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 RoundsManagerSession ¶
type RoundsManagerSession struct { Contract *RoundsManager // 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 }
RoundsManagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*RoundsManagerSession) BlockHash ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerSession) BlockHash(_block *big.Int) ([32]byte, error)
BlockHash is a free data retrieval call binding the contract method 0x85df51fd.
Solidity: function blockHash(uint256 _block) constant returns(bytes32)
func (*RoundsManagerSession) BlockHashForRound ¶ added in v0.5.0
func (_RoundsManager *RoundsManagerSession) BlockHashForRound(_round *big.Int) ([32]byte, error)
BlockHashForRound is a free data retrieval call binding the contract method 0x3aa4add4.
Solidity: function blockHashForRound(uint256 _round) constant returns(bytes32)
func (*RoundsManagerSession) BlockNum ¶
func (_RoundsManager *RoundsManagerSession) BlockNum() (*big.Int, error)
BlockNum is a free data retrieval call binding the contract method 0x8ae63d6d.
Solidity: function blockNum() constant returns(uint256)
func (*RoundsManagerSession) Controller ¶
func (_RoundsManager *RoundsManagerSession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*RoundsManagerSession) CurrentRound ¶
func (_RoundsManager *RoundsManagerSession) CurrentRound() (*big.Int, error)
CurrentRound is a free data retrieval call binding the contract method 0x8a19c8bc.
Solidity: function currentRound() constant returns(uint256)
func (*RoundsManagerSession) CurrentRoundInitialized ¶
func (_RoundsManager *RoundsManagerSession) CurrentRoundInitialized() (bool, error)
CurrentRoundInitialized is a free data retrieval call binding the contract method 0x219bc76c.
Solidity: function currentRoundInitialized() constant returns(bool)
func (*RoundsManagerSession) CurrentRoundLocked ¶
func (_RoundsManager *RoundsManagerSession) CurrentRoundLocked() (bool, error)
CurrentRoundLocked is a free data retrieval call binding the contract method 0x6841f253.
Solidity: function currentRoundLocked() constant returns(bool)
func (*RoundsManagerSession) CurrentRoundStartBlock ¶
func (_RoundsManager *RoundsManagerSession) CurrentRoundStartBlock() (*big.Int, error)
CurrentRoundStartBlock is a free data retrieval call binding the contract method 0x8fa148f2.
Solidity: function currentRoundStartBlock() constant returns(uint256)
func (*RoundsManagerSession) InitializeRound ¶
func (_RoundsManager *RoundsManagerSession) InitializeRound() (*types.Transaction, error)
InitializeRound is a paid mutator transaction binding the contract method 0xd4807fb2.
Solidity: function initializeRound() returns()
func (*RoundsManagerSession) LastInitializedRound ¶
func (_RoundsManager *RoundsManagerSession) LastInitializedRound() (*big.Int, error)
LastInitializedRound is a free data retrieval call binding the contract method 0x8807f36e.
Solidity: function lastInitializedRound() constant returns(uint256)
func (*RoundsManagerSession) LastRoundLengthUpdateRound ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerSession) LastRoundLengthUpdateRound() (*big.Int, error)
LastRoundLengthUpdateRound is a free data retrieval call binding the contract method 0x0fe1dfa8.
Solidity: function lastRoundLengthUpdateRound() constant returns(uint256)
func (*RoundsManagerSession) LastRoundLengthUpdateStartBlock ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerSession) LastRoundLengthUpdateStartBlock() (*big.Int, error)
LastRoundLengthUpdateStartBlock is a free data retrieval call binding the contract method 0x668abff7.
Solidity: function lastRoundLengthUpdateStartBlock() constant returns(uint256)
func (*RoundsManagerSession) RoundLength ¶
func (_RoundsManager *RoundsManagerSession) RoundLength() (*big.Int, error)
RoundLength is a free data retrieval call binding the contract method 0x8b649b94.
Solidity: function roundLength() constant returns(uint256)
func (*RoundsManagerSession) RoundLockAmount ¶
func (_RoundsManager *RoundsManagerSession) RoundLockAmount() (*big.Int, error)
RoundLockAmount is a free data retrieval call binding the contract method 0xf5b490d5.
Solidity: function roundLockAmount() constant returns(uint256)
func (*RoundsManagerSession) SetController ¶
func (_RoundsManager *RoundsManagerSession) SetController(_controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address _controller) returns()
func (*RoundsManagerSession) SetRoundLength ¶
func (_RoundsManager *RoundsManagerSession) SetRoundLength(_roundLength *big.Int) (*types.Transaction, error)
SetRoundLength is a paid mutator transaction binding the contract method 0x681312f5.
Solidity: function setRoundLength(uint256 _roundLength) returns()
func (*RoundsManagerSession) SetRoundLockAmount ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerSession) SetRoundLockAmount(_roundLockAmount *big.Int) (*types.Transaction, error)
SetRoundLockAmount is a paid mutator transaction binding the contract method 0x0b1573b8.
Solidity: function setRoundLockAmount(uint256 _roundLockAmount) returns()
func (*RoundsManagerSession) TargetContractId ¶
func (_RoundsManager *RoundsManagerSession) TargetContractId() ([32]byte, error)
TargetContractId is a free data retrieval call binding the contract method 0x51720b41.
Solidity: function targetContractId() constant returns(bytes32)
type RoundsManagerSetController ¶ added in v0.3.3
type RoundsManagerSetController struct { Controller common.Address Raw types.Log // Blockchain specific contextual infos }
RoundsManagerSetController represents a SetController event raised by the RoundsManager contract.
type RoundsManagerSetControllerIterator ¶ added in v0.3.3
type RoundsManagerSetControllerIterator struct { Event *RoundsManagerSetController // Event containing the contract specifics and raw log // contains filtered or unexported fields }
RoundsManagerSetControllerIterator is returned from FilterSetController and is used to iterate over the raw logs and unpacked data for SetController events raised by the RoundsManager contract.
func (*RoundsManagerSetControllerIterator) Close ¶ added in v0.3.3
func (it *RoundsManagerSetControllerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*RoundsManagerSetControllerIterator) Error ¶ added in v0.3.3
func (it *RoundsManagerSetControllerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*RoundsManagerSetControllerIterator) Next ¶ added in v0.3.3
func (it *RoundsManagerSetControllerIterator) 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 RoundsManagerTransactor ¶
type RoundsManagerTransactor struct {
// contains filtered or unexported fields
}
RoundsManagerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewRoundsManagerTransactor ¶
func NewRoundsManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*RoundsManagerTransactor, error)
NewRoundsManagerTransactor creates a new write-only instance of RoundsManager, bound to a specific deployed contract.
func (*RoundsManagerTransactor) InitializeRound ¶
func (_RoundsManager *RoundsManagerTransactor) InitializeRound(opts *bind.TransactOpts) (*types.Transaction, error)
InitializeRound is a paid mutator transaction binding the contract method 0xd4807fb2.
Solidity: function initializeRound() returns()
func (*RoundsManagerTransactor) SetController ¶
func (_RoundsManager *RoundsManagerTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address _controller) returns()
func (*RoundsManagerTransactor) SetRoundLength ¶
func (_RoundsManager *RoundsManagerTransactor) SetRoundLength(opts *bind.TransactOpts, _roundLength *big.Int) (*types.Transaction, error)
SetRoundLength is a paid mutator transaction binding the contract method 0x681312f5.
Solidity: function setRoundLength(uint256 _roundLength) returns()
func (*RoundsManagerTransactor) SetRoundLockAmount ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerTransactor) SetRoundLockAmount(opts *bind.TransactOpts, _roundLockAmount *big.Int) (*types.Transaction, error)
SetRoundLockAmount is a paid mutator transaction binding the contract method 0x0b1573b8.
Solidity: function setRoundLockAmount(uint256 _roundLockAmount) returns()
type RoundsManagerTransactorRaw ¶
type RoundsManagerTransactorRaw struct {
Contract *RoundsManagerTransactor // Generic write-only contract binding to access the raw methods on
}
RoundsManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*RoundsManagerTransactorRaw) Transact ¶
func (_RoundsManager *RoundsManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*RoundsManagerTransactorRaw) Transfer ¶
func (_RoundsManager *RoundsManagerTransactorRaw) 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 RoundsManagerTransactorSession ¶
type RoundsManagerTransactorSession struct { Contract *RoundsManagerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
RoundsManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*RoundsManagerTransactorSession) InitializeRound ¶
func (_RoundsManager *RoundsManagerTransactorSession) InitializeRound() (*types.Transaction, error)
InitializeRound is a paid mutator transaction binding the contract method 0xd4807fb2.
Solidity: function initializeRound() returns()
func (*RoundsManagerTransactorSession) SetController ¶
func (_RoundsManager *RoundsManagerTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address _controller) returns()
func (*RoundsManagerTransactorSession) SetRoundLength ¶
func (_RoundsManager *RoundsManagerTransactorSession) SetRoundLength(_roundLength *big.Int) (*types.Transaction, error)
SetRoundLength is a paid mutator transaction binding the contract method 0x681312f5.
Solidity: function setRoundLength(uint256 _roundLength) returns()
func (*RoundsManagerTransactorSession) SetRoundLockAmount ¶ added in v0.3.3
func (_RoundsManager *RoundsManagerTransactorSession) SetRoundLockAmount(_roundLockAmount *big.Int) (*types.Transaction, error)
SetRoundLockAmount is a paid mutator transaction binding the contract method 0x0b1573b8.
Solidity: function setRoundLockAmount(uint256 _roundLockAmount) returns()
type ServiceRegistry ¶ added in v0.3.3
type ServiceRegistry struct { ServiceRegistryCaller // Read-only binding to the contract ServiceRegistryTransactor // Write-only binding to the contract ServiceRegistryFilterer // Log filterer for contract events }
ServiceRegistry is an auto generated Go binding around an Ethereum contract.
func NewServiceRegistry ¶ added in v0.3.3
func NewServiceRegistry(address common.Address, backend bind.ContractBackend) (*ServiceRegistry, error)
NewServiceRegistry creates a new instance of ServiceRegistry, bound to a specific deployed contract.
type ServiceRegistryCaller ¶ added in v0.3.3
type ServiceRegistryCaller struct {
// contains filtered or unexported fields
}
ServiceRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewServiceRegistryCaller ¶ added in v0.3.3
func NewServiceRegistryCaller(address common.Address, caller bind.ContractCaller) (*ServiceRegistryCaller, error)
NewServiceRegistryCaller creates a new read-only instance of ServiceRegistry, bound to a specific deployed contract.
func (*ServiceRegistryCaller) Controller ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryCaller) Controller(opts *bind.CallOpts) (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*ServiceRegistryCaller) GetServiceURI ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryCaller) GetServiceURI(opts *bind.CallOpts, _addr common.Address) (string, error)
GetServiceURI is a free data retrieval call binding the contract method 0x214c2a4b.
Solidity: function getServiceURI(address _addr) constant returns(string)
func (*ServiceRegistryCaller) TargetContractId ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryCaller) TargetContractId(opts *bind.CallOpts) ([32]byte, error)
TargetContractId is a free data retrieval call binding the contract method 0x51720b41.
Solidity: function targetContractId() constant returns(bytes32)
type ServiceRegistryCallerRaw ¶ added in v0.3.3
type ServiceRegistryCallerRaw struct {
Contract *ServiceRegistryCaller // Generic read-only contract binding to access the raw methods on
}
ServiceRegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*ServiceRegistryCallerRaw) Call ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryCallerRaw) 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 ServiceRegistryCallerSession ¶ added in v0.3.3
type ServiceRegistryCallerSession struct { Contract *ServiceRegistryCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ServiceRegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*ServiceRegistryCallerSession) Controller ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryCallerSession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*ServiceRegistryCallerSession) GetServiceURI ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryCallerSession) GetServiceURI(_addr common.Address) (string, error)
GetServiceURI is a free data retrieval call binding the contract method 0x214c2a4b.
Solidity: function getServiceURI(address _addr) constant returns(string)
func (*ServiceRegistryCallerSession) TargetContractId ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryCallerSession) TargetContractId() ([32]byte, error)
TargetContractId is a free data retrieval call binding the contract method 0x51720b41.
Solidity: function targetContractId() constant returns(bytes32)
type ServiceRegistryFilterer ¶ added in v0.3.3
type ServiceRegistryFilterer struct {
// contains filtered or unexported fields
}
ServiceRegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewServiceRegistryFilterer ¶ added in v0.3.3
func NewServiceRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*ServiceRegistryFilterer, error)
NewServiceRegistryFilterer creates a new log filterer instance of ServiceRegistry, bound to a specific deployed contract.
func (*ServiceRegistryFilterer) FilterParameterUpdate ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*ServiceRegistryParameterUpdateIterator, error)
FilterParameterUpdate is a free log retrieval operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.
Solidity: event ParameterUpdate(string param)
func (*ServiceRegistryFilterer) FilterServiceURIUpdate ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryFilterer) FilterServiceURIUpdate(opts *bind.FilterOpts, addr []common.Address) (*ServiceRegistryServiceURIUpdateIterator, error)
FilterServiceURIUpdate is a free log retrieval operation binding the contract event 0xfbb63068732c85741c9f8e61caffaabe038d577bfafd2d2dcc0e352a4f653a4c.
Solidity: event ServiceURIUpdate(address indexed addr, string serviceURI)
func (*ServiceRegistryFilterer) FilterSetController ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryFilterer) FilterSetController(opts *bind.FilterOpts) (*ServiceRegistrySetControllerIterator, error)
FilterSetController is a free log retrieval operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.
Solidity: event SetController(address controller)
func (*ServiceRegistryFilterer) ParseParameterUpdate ¶ added in v0.5.0
func (_ServiceRegistry *ServiceRegistryFilterer) ParseParameterUpdate(log types.Log) (*ServiceRegistryParameterUpdate, error)
ParseParameterUpdate is a log parse operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.
Solidity: event ParameterUpdate(string param)
func (*ServiceRegistryFilterer) ParseServiceURIUpdate ¶ added in v0.5.0
func (_ServiceRegistry *ServiceRegistryFilterer) ParseServiceURIUpdate(log types.Log) (*ServiceRegistryServiceURIUpdate, error)
ParseServiceURIUpdate is a log parse operation binding the contract event 0xfbb63068732c85741c9f8e61caffaabe038d577bfafd2d2dcc0e352a4f653a4c.
Solidity: event ServiceURIUpdate(address indexed addr, string serviceURI)
func (*ServiceRegistryFilterer) ParseSetController ¶ added in v0.5.0
func (_ServiceRegistry *ServiceRegistryFilterer) ParseSetController(log types.Log) (*ServiceRegistrySetController, error)
ParseSetController is a log parse operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.
Solidity: event SetController(address controller)
func (*ServiceRegistryFilterer) WatchParameterUpdate ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *ServiceRegistryParameterUpdate) (event.Subscription, error)
WatchParameterUpdate is a free log subscription operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.
Solidity: event ParameterUpdate(string param)
func (*ServiceRegistryFilterer) WatchServiceURIUpdate ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryFilterer) WatchServiceURIUpdate(opts *bind.WatchOpts, sink chan<- *ServiceRegistryServiceURIUpdate, addr []common.Address) (event.Subscription, error)
WatchServiceURIUpdate is a free log subscription operation binding the contract event 0xfbb63068732c85741c9f8e61caffaabe038d577bfafd2d2dcc0e352a4f653a4c.
Solidity: event ServiceURIUpdate(address indexed addr, string serviceURI)
func (*ServiceRegistryFilterer) WatchSetController ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *ServiceRegistrySetController) (event.Subscription, error)
WatchSetController is a free log subscription operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.
Solidity: event SetController(address controller)
type ServiceRegistryParameterUpdate ¶ added in v0.3.3
type ServiceRegistryParameterUpdate struct { Param string Raw types.Log // Blockchain specific contextual infos }
ServiceRegistryParameterUpdate represents a ParameterUpdate event raised by the ServiceRegistry contract.
type ServiceRegistryParameterUpdateIterator ¶ added in v0.3.3
type ServiceRegistryParameterUpdateIterator struct { Event *ServiceRegistryParameterUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ServiceRegistryParameterUpdateIterator is returned from FilterParameterUpdate and is used to iterate over the raw logs and unpacked data for ParameterUpdate events raised by the ServiceRegistry contract.
func (*ServiceRegistryParameterUpdateIterator) Close ¶ added in v0.3.3
func (it *ServiceRegistryParameterUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ServiceRegistryParameterUpdateIterator) Error ¶ added in v0.3.3
func (it *ServiceRegistryParameterUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ServiceRegistryParameterUpdateIterator) Next ¶ added in v0.3.3
func (it *ServiceRegistryParameterUpdateIterator) 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 ServiceRegistryRaw ¶ added in v0.3.3
type ServiceRegistryRaw struct {
Contract *ServiceRegistry // Generic contract binding to access the raw methods on
}
ServiceRegistryRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*ServiceRegistryRaw) Call ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryRaw) 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 (*ServiceRegistryRaw) Transact ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ServiceRegistryRaw) Transfer ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryRaw) 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 ServiceRegistryServiceURIUpdate ¶ added in v0.3.3
type ServiceRegistryServiceURIUpdate struct { Addr common.Address ServiceURI string Raw types.Log // Blockchain specific contextual infos }
ServiceRegistryServiceURIUpdate represents a ServiceURIUpdate event raised by the ServiceRegistry contract.
type ServiceRegistryServiceURIUpdateIterator ¶ added in v0.3.3
type ServiceRegistryServiceURIUpdateIterator struct { Event *ServiceRegistryServiceURIUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ServiceRegistryServiceURIUpdateIterator is returned from FilterServiceURIUpdate and is used to iterate over the raw logs and unpacked data for ServiceURIUpdate events raised by the ServiceRegistry contract.
func (*ServiceRegistryServiceURIUpdateIterator) Close ¶ added in v0.3.3
func (it *ServiceRegistryServiceURIUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ServiceRegistryServiceURIUpdateIterator) Error ¶ added in v0.3.3
func (it *ServiceRegistryServiceURIUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ServiceRegistryServiceURIUpdateIterator) Next ¶ added in v0.3.3
func (it *ServiceRegistryServiceURIUpdateIterator) 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 ServiceRegistrySession ¶ added in v0.3.3
type ServiceRegistrySession struct { Contract *ServiceRegistry // 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 }
ServiceRegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*ServiceRegistrySession) Controller ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistrySession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*ServiceRegistrySession) GetServiceURI ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistrySession) GetServiceURI(_addr common.Address) (string, error)
GetServiceURI is a free data retrieval call binding the contract method 0x214c2a4b.
Solidity: function getServiceURI(address _addr) constant returns(string)
func (*ServiceRegistrySession) SetController ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistrySession) SetController(_controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address _controller) returns()
func (*ServiceRegistrySession) SetServiceURI ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistrySession) SetServiceURI(_serviceURI string) (*types.Transaction, error)
SetServiceURI is a paid mutator transaction binding the contract method 0x5f11301b.
Solidity: function setServiceURI(string _serviceURI) returns()
func (*ServiceRegistrySession) TargetContractId ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistrySession) TargetContractId() ([32]byte, error)
TargetContractId is a free data retrieval call binding the contract method 0x51720b41.
Solidity: function targetContractId() constant returns(bytes32)
type ServiceRegistrySetController ¶ added in v0.3.3
type ServiceRegistrySetController struct { Controller common.Address Raw types.Log // Blockchain specific contextual infos }
ServiceRegistrySetController represents a SetController event raised by the ServiceRegistry contract.
type ServiceRegistrySetControllerIterator ¶ added in v0.3.3
type ServiceRegistrySetControllerIterator struct { Event *ServiceRegistrySetController // Event containing the contract specifics and raw log // contains filtered or unexported fields }
ServiceRegistrySetControllerIterator is returned from FilterSetController and is used to iterate over the raw logs and unpacked data for SetController events raised by the ServiceRegistry contract.
func (*ServiceRegistrySetControllerIterator) Close ¶ added in v0.3.3
func (it *ServiceRegistrySetControllerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*ServiceRegistrySetControllerIterator) Error ¶ added in v0.3.3
func (it *ServiceRegistrySetControllerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*ServiceRegistrySetControllerIterator) Next ¶ added in v0.3.3
func (it *ServiceRegistrySetControllerIterator) 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 ServiceRegistryTransactor ¶ added in v0.3.3
type ServiceRegistryTransactor struct {
// contains filtered or unexported fields
}
ServiceRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewServiceRegistryTransactor ¶ added in v0.3.3
func NewServiceRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*ServiceRegistryTransactor, error)
NewServiceRegistryTransactor creates a new write-only instance of ServiceRegistry, bound to a specific deployed contract.
func (*ServiceRegistryTransactor) SetController ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address _controller) returns()
func (*ServiceRegistryTransactor) SetServiceURI ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryTransactor) SetServiceURI(opts *bind.TransactOpts, _serviceURI string) (*types.Transaction, error)
SetServiceURI is a paid mutator transaction binding the contract method 0x5f11301b.
Solidity: function setServiceURI(string _serviceURI) returns()
type ServiceRegistryTransactorRaw ¶ added in v0.3.3
type ServiceRegistryTransactorRaw struct {
Contract *ServiceRegistryTransactor // Generic write-only contract binding to access the raw methods on
}
ServiceRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*ServiceRegistryTransactorRaw) Transact ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*ServiceRegistryTransactorRaw) Transfer ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryTransactorRaw) 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 ServiceRegistryTransactorSession ¶ added in v0.3.3
type ServiceRegistryTransactorSession struct { Contract *ServiceRegistryTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ServiceRegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*ServiceRegistryTransactorSession) SetController ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address _controller) returns()
func (*ServiceRegistryTransactorSession) SetServiceURI ¶ added in v0.3.3
func (_ServiceRegistry *ServiceRegistryTransactorSession) SetServiceURI(_serviceURI string) (*types.Transaction, error)
SetServiceURI is a paid mutator transaction binding the contract method 0x5f11301b.
Solidity: function setServiceURI(string _serviceURI) returns()
type Struct0 ¶ added in v0.5.0
Struct0 is an auto generated low-level Go binding around an user-defined struct.
type Struct1 ¶ added in v0.5.0
type Struct1 struct { Recipient common.Address Sender common.Address FaceValue *big.Int WinProb *big.Int SenderNonce *big.Int RecipientRandHash [32]byte AuxData []byte }
Struct1 is an auto generated low-level Go binding around an user-defined struct.
type TicketBroker ¶ added in v0.5.0
type TicketBroker struct { TicketBrokerCaller // Read-only binding to the contract TicketBrokerTransactor // Write-only binding to the contract TicketBrokerFilterer // Log filterer for contract events }
TicketBroker is an auto generated Go binding around an Ethereum contract.
func NewTicketBroker ¶ added in v0.5.0
func NewTicketBroker(address common.Address, backend bind.ContractBackend) (*TicketBroker, error)
NewTicketBroker creates a new instance of TicketBroker, bound to a specific deployed contract.
type TicketBrokerCaller ¶ added in v0.5.0
type TicketBrokerCaller struct {
// contains filtered or unexported fields
}
TicketBrokerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewTicketBrokerCaller ¶ added in v0.5.0
func NewTicketBrokerCaller(address common.Address, caller bind.ContractCaller) (*TicketBrokerCaller, error)
NewTicketBrokerCaller creates a new read-only instance of TicketBroker, bound to a specific deployed contract.
func (*TicketBrokerCaller) ClaimableReserve ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCaller) ClaimableReserve(opts *bind.CallOpts, _reserveHolder common.Address, _claimant common.Address) (*big.Int, error)
ClaimableReserve is a free data retrieval call binding the contract method 0x81779f38.
Solidity: function claimableReserve(address _reserveHolder, address _claimant) constant returns(uint256)
func (*TicketBrokerCaller) ClaimedReserve ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCaller) ClaimedReserve(opts *bind.CallOpts, _reserveHolder common.Address, _claimant common.Address) (*big.Int, error)
ClaimedReserve is a free data retrieval call binding the contract method 0x4ac826da.
Solidity: function claimedReserve(address _reserveHolder, address _claimant) constant returns(uint256)
func (*TicketBrokerCaller) Controller ¶ added in v0.5.0
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*TicketBrokerCaller) GetReserveInfo ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCaller) GetReserveInfo(opts *bind.CallOpts, _reserveHolder common.Address) (Struct0, error)
GetReserveInfo is a free data retrieval call binding the contract method 0x5b6333eb.
Solidity: function getReserveInfo(address _reserveHolder) constant returns(Struct0 info)
func (*TicketBrokerCaller) GetSenderInfo ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCaller) GetSenderInfo(opts *bind.CallOpts, _sender common.Address) (struct { Sender Struct0 Reserve Struct0 }, error)
GetSenderInfo is a free data retrieval call binding the contract method 0xe1a589da.
Solidity: function getSenderInfo(address _sender) constant returns(Struct0 sender, Struct0 reserve)
func (*TicketBrokerCaller) IsUnlockInProgress ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCaller) IsUnlockInProgress(opts *bind.CallOpts, _sender common.Address) (bool, error)
IsUnlockInProgress is a free data retrieval call binding the contract method 0x121cdcc2.
Solidity: function isUnlockInProgress(address _sender) constant returns(bool)
func (*TicketBrokerCaller) TargetContractId ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCaller) TargetContractId(opts *bind.CallOpts) ([32]byte, error)
TargetContractId is a free data retrieval call binding the contract method 0x51720b41.
Solidity: function targetContractId() constant returns(bytes32)
func (*TicketBrokerCaller) TicketValidityPeriod ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCaller) TicketValidityPeriod(opts *bind.CallOpts) (*big.Int, error)
TicketValidityPeriod is a free data retrieval call binding the contract method 0x856a2cf8.
Solidity: function ticketValidityPeriod() constant returns(uint256)
func (*TicketBrokerCaller) UnlockPeriod ¶ added in v0.5.0
UnlockPeriod is a free data retrieval call binding the contract method 0x20d3a0b4.
Solidity: function unlockPeriod() constant returns(uint256)
func (*TicketBrokerCaller) UsedTickets ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCaller) UsedTickets(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
UsedTickets is a free data retrieval call binding the contract method 0x59a515ba.
Solidity: function usedTickets(bytes32 ) constant returns(bool)
type TicketBrokerCallerRaw ¶ added in v0.5.0
type TicketBrokerCallerRaw struct {
Contract *TicketBrokerCaller // Generic read-only contract binding to access the raw methods on
}
TicketBrokerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*TicketBrokerCallerRaw) Call ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCallerRaw) 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 TicketBrokerCallerSession ¶ added in v0.5.0
type TicketBrokerCallerSession struct { Contract *TicketBrokerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
TicketBrokerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*TicketBrokerCallerSession) ClaimableReserve ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCallerSession) ClaimableReserve(_reserveHolder common.Address, _claimant common.Address) (*big.Int, error)
ClaimableReserve is a free data retrieval call binding the contract method 0x81779f38.
Solidity: function claimableReserve(address _reserveHolder, address _claimant) constant returns(uint256)
func (*TicketBrokerCallerSession) ClaimedReserve ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCallerSession) ClaimedReserve(_reserveHolder common.Address, _claimant common.Address) (*big.Int, error)
ClaimedReserve is a free data retrieval call binding the contract method 0x4ac826da.
Solidity: function claimedReserve(address _reserveHolder, address _claimant) constant returns(uint256)
func (*TicketBrokerCallerSession) Controller ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCallerSession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*TicketBrokerCallerSession) GetReserveInfo ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCallerSession) GetReserveInfo(_reserveHolder common.Address) (Struct0, error)
GetReserveInfo is a free data retrieval call binding the contract method 0x5b6333eb.
Solidity: function getReserveInfo(address _reserveHolder) constant returns(Struct0 info)
func (*TicketBrokerCallerSession) GetSenderInfo ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCallerSession) GetSenderInfo(_sender common.Address) (struct { Sender Struct0 Reserve Struct0 }, error)
GetSenderInfo is a free data retrieval call binding the contract method 0xe1a589da.
Solidity: function getSenderInfo(address _sender) constant returns(Struct0 sender, Struct0 reserve)
func (*TicketBrokerCallerSession) IsUnlockInProgress ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCallerSession) IsUnlockInProgress(_sender common.Address) (bool, error)
IsUnlockInProgress is a free data retrieval call binding the contract method 0x121cdcc2.
Solidity: function isUnlockInProgress(address _sender) constant returns(bool)
func (*TicketBrokerCallerSession) TargetContractId ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCallerSession) TargetContractId() ([32]byte, error)
TargetContractId is a free data retrieval call binding the contract method 0x51720b41.
Solidity: function targetContractId() constant returns(bytes32)
func (*TicketBrokerCallerSession) TicketValidityPeriod ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCallerSession) TicketValidityPeriod() (*big.Int, error)
TicketValidityPeriod is a free data retrieval call binding the contract method 0x856a2cf8.
Solidity: function ticketValidityPeriod() constant returns(uint256)
func (*TicketBrokerCallerSession) UnlockPeriod ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCallerSession) UnlockPeriod() (*big.Int, error)
UnlockPeriod is a free data retrieval call binding the contract method 0x20d3a0b4.
Solidity: function unlockPeriod() constant returns(uint256)
func (*TicketBrokerCallerSession) UsedTickets ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerCallerSession) UsedTickets(arg0 [32]byte) (bool, error)
UsedTickets is a free data retrieval call binding the contract method 0x59a515ba.
Solidity: function usedTickets(bytes32 ) constant returns(bool)
type TicketBrokerDepositFunded ¶ added in v0.5.0
type TicketBrokerDepositFunded struct { Sender common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
TicketBrokerDepositFunded represents a DepositFunded event raised by the TicketBroker contract.
type TicketBrokerDepositFundedIterator ¶ added in v0.5.0
type TicketBrokerDepositFundedIterator struct { Event *TicketBrokerDepositFunded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TicketBrokerDepositFundedIterator is returned from FilterDepositFunded and is used to iterate over the raw logs and unpacked data for DepositFunded events raised by the TicketBroker contract.
func (*TicketBrokerDepositFundedIterator) Close ¶ added in v0.5.0
func (it *TicketBrokerDepositFundedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TicketBrokerDepositFundedIterator) Error ¶ added in v0.5.0
func (it *TicketBrokerDepositFundedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TicketBrokerDepositFundedIterator) Next ¶ added in v0.5.0
func (it *TicketBrokerDepositFundedIterator) 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 TicketBrokerFilterer ¶ added in v0.5.0
type TicketBrokerFilterer struct {
// contains filtered or unexported fields
}
TicketBrokerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewTicketBrokerFilterer ¶ added in v0.5.0
func NewTicketBrokerFilterer(address common.Address, filterer bind.ContractFilterer) (*TicketBrokerFilterer, error)
NewTicketBrokerFilterer creates a new log filterer instance of TicketBroker, bound to a specific deployed contract.
func (*TicketBrokerFilterer) FilterDepositFunded ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) FilterDepositFunded(opts *bind.FilterOpts, sender []common.Address) (*TicketBrokerDepositFundedIterator, error)
FilterDepositFunded is a free log retrieval operation binding the contract event 0x5159e237d952190e68d5215430f305831be7c9c8776d1377c76679ae4773413f.
Solidity: event DepositFunded(address indexed sender, uint256 amount)
func (*TicketBrokerFilterer) FilterParameterUpdate ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*TicketBrokerParameterUpdateIterator, error)
FilterParameterUpdate is a free log retrieval operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.
Solidity: event ParameterUpdate(string param)
func (*TicketBrokerFilterer) FilterReserveClaimed ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) FilterReserveClaimed(opts *bind.FilterOpts, reserveHolder []common.Address) (*TicketBrokerReserveClaimedIterator, error)
FilterReserveClaimed is a free log retrieval operation binding the contract event 0x5c2b394723f408a40a60335e24b71829642e35f350cebe2036a96a66e895ea98.
Solidity: event ReserveClaimed(address indexed reserveHolder, address claimant, uint256 amount)
func (*TicketBrokerFilterer) FilterReserveFunded ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) FilterReserveFunded(opts *bind.FilterOpts, reserveHolder []common.Address) (*TicketBrokerReserveFundedIterator, error)
FilterReserveFunded is a free log retrieval operation binding the contract event 0xb52b99b9e83551fcbd069b559cc3e823e2a1a3bad8ece46561ea77524394c850.
Solidity: event ReserveFunded(address indexed reserveHolder, uint256 amount)
func (*TicketBrokerFilterer) FilterSetController ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) FilterSetController(opts *bind.FilterOpts) (*TicketBrokerSetControllerIterator, error)
FilterSetController is a free log retrieval operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.
Solidity: event SetController(address controller)
func (*TicketBrokerFilterer) FilterUnlock ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) FilterUnlock(opts *bind.FilterOpts, sender []common.Address) (*TicketBrokerUnlockIterator, error)
FilterUnlock is a free log retrieval operation binding the contract event 0xf7870c5b224cbc19873599e46ccfc7103934650509b1af0c3ce90138377c2004.
Solidity: event Unlock(address indexed sender, uint256 startRound, uint256 endRound)
func (*TicketBrokerFilterer) FilterUnlockCancelled ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) FilterUnlockCancelled(opts *bind.FilterOpts, sender []common.Address) (*TicketBrokerUnlockCancelledIterator, error)
FilterUnlockCancelled is a free log retrieval operation binding the contract event 0xfa044b7b93a40365dc68049797c2eb06918523d694e5d56e406cac3eb35578e5.
Solidity: event UnlockCancelled(address indexed sender)
func (*TicketBrokerFilterer) FilterWinningTicketRedeemed ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) FilterWinningTicketRedeemed(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*TicketBrokerWinningTicketRedeemedIterator, error)
FilterWinningTicketRedeemed is a free log retrieval operation binding the contract event 0xc389eb51ed006dbf2528507f010efdf5225ea596e1e1741d74f550dab1925ee7.
Solidity: event WinningTicketRedeemed(address indexed sender, address indexed recipient, uint256 faceValue, uint256 winProb, uint256 senderNonce, uint256 recipientRand, bytes auxData)
func (*TicketBrokerFilterer) FilterWinningTicketTransfer ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) FilterWinningTicketTransfer(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*TicketBrokerWinningTicketTransferIterator, error)
FilterWinningTicketTransfer is a free log retrieval operation binding the contract event 0x8b87351a208c06e3ceee59d80725fd77a23b4129e1b51ca231fc89b40712649c.
Solidity: event WinningTicketTransfer(address indexed sender, address indexed recipient, uint256 amount)
func (*TicketBrokerFilterer) FilterWithdrawal ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) FilterWithdrawal(opts *bind.FilterOpts, sender []common.Address) (*TicketBrokerWithdrawalIterator, error)
FilterWithdrawal is a free log retrieval operation binding the contract event 0xdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb.
Solidity: event Withdrawal(address indexed sender, uint256 deposit, uint256 reserve)
func (*TicketBrokerFilterer) ParseDepositFunded ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) ParseDepositFunded(log types.Log) (*TicketBrokerDepositFunded, error)
ParseDepositFunded is a log parse operation binding the contract event 0x5159e237d952190e68d5215430f305831be7c9c8776d1377c76679ae4773413f.
Solidity: event DepositFunded(address indexed sender, uint256 amount)
func (*TicketBrokerFilterer) ParseParameterUpdate ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) ParseParameterUpdate(log types.Log) (*TicketBrokerParameterUpdate, error)
ParseParameterUpdate is a log parse operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.
Solidity: event ParameterUpdate(string param)
func (*TicketBrokerFilterer) ParseReserveClaimed ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) ParseReserveClaimed(log types.Log) (*TicketBrokerReserveClaimed, error)
ParseReserveClaimed is a log parse operation binding the contract event 0x5c2b394723f408a40a60335e24b71829642e35f350cebe2036a96a66e895ea98.
Solidity: event ReserveClaimed(address indexed reserveHolder, address claimant, uint256 amount)
func (*TicketBrokerFilterer) ParseReserveFunded ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) ParseReserveFunded(log types.Log) (*TicketBrokerReserveFunded, error)
ParseReserveFunded is a log parse operation binding the contract event 0xb52b99b9e83551fcbd069b559cc3e823e2a1a3bad8ece46561ea77524394c850.
Solidity: event ReserveFunded(address indexed reserveHolder, uint256 amount)
func (*TicketBrokerFilterer) ParseSetController ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) ParseSetController(log types.Log) (*TicketBrokerSetController, error)
ParseSetController is a log parse operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.
Solidity: event SetController(address controller)
func (*TicketBrokerFilterer) ParseUnlock ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) ParseUnlock(log types.Log) (*TicketBrokerUnlock, error)
ParseUnlock is a log parse operation binding the contract event 0xf7870c5b224cbc19873599e46ccfc7103934650509b1af0c3ce90138377c2004.
Solidity: event Unlock(address indexed sender, uint256 startRound, uint256 endRound)
func (*TicketBrokerFilterer) ParseUnlockCancelled ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) ParseUnlockCancelled(log types.Log) (*TicketBrokerUnlockCancelled, error)
ParseUnlockCancelled is a log parse operation binding the contract event 0xfa044b7b93a40365dc68049797c2eb06918523d694e5d56e406cac3eb35578e5.
Solidity: event UnlockCancelled(address indexed sender)
func (*TicketBrokerFilterer) ParseWinningTicketRedeemed ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) ParseWinningTicketRedeemed(log types.Log) (*TicketBrokerWinningTicketRedeemed, error)
ParseWinningTicketRedeemed is a log parse operation binding the contract event 0xc389eb51ed006dbf2528507f010efdf5225ea596e1e1741d74f550dab1925ee7.
Solidity: event WinningTicketRedeemed(address indexed sender, address indexed recipient, uint256 faceValue, uint256 winProb, uint256 senderNonce, uint256 recipientRand, bytes auxData)
func (*TicketBrokerFilterer) ParseWinningTicketTransfer ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) ParseWinningTicketTransfer(log types.Log) (*TicketBrokerWinningTicketTransfer, error)
ParseWinningTicketTransfer is a log parse operation binding the contract event 0x8b87351a208c06e3ceee59d80725fd77a23b4129e1b51ca231fc89b40712649c.
Solidity: event WinningTicketTransfer(address indexed sender, address indexed recipient, uint256 amount)
func (*TicketBrokerFilterer) ParseWithdrawal ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) ParseWithdrawal(log types.Log) (*TicketBrokerWithdrawal, error)
ParseWithdrawal is a log parse operation binding the contract event 0xdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb.
Solidity: event Withdrawal(address indexed sender, uint256 deposit, uint256 reserve)
func (*TicketBrokerFilterer) WatchDepositFunded ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) WatchDepositFunded(opts *bind.WatchOpts, sink chan<- *TicketBrokerDepositFunded, sender []common.Address) (event.Subscription, error)
WatchDepositFunded is a free log subscription operation binding the contract event 0x5159e237d952190e68d5215430f305831be7c9c8776d1377c76679ae4773413f.
Solidity: event DepositFunded(address indexed sender, uint256 amount)
func (*TicketBrokerFilterer) WatchParameterUpdate ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *TicketBrokerParameterUpdate) (event.Subscription, error)
WatchParameterUpdate is a free log subscription operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.
Solidity: event ParameterUpdate(string param)
func (*TicketBrokerFilterer) WatchReserveClaimed ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) WatchReserveClaimed(opts *bind.WatchOpts, sink chan<- *TicketBrokerReserveClaimed, reserveHolder []common.Address) (event.Subscription, error)
WatchReserveClaimed is a free log subscription operation binding the contract event 0x5c2b394723f408a40a60335e24b71829642e35f350cebe2036a96a66e895ea98.
Solidity: event ReserveClaimed(address indexed reserveHolder, address claimant, uint256 amount)
func (*TicketBrokerFilterer) WatchReserveFunded ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) WatchReserveFunded(opts *bind.WatchOpts, sink chan<- *TicketBrokerReserveFunded, reserveHolder []common.Address) (event.Subscription, error)
WatchReserveFunded is a free log subscription operation binding the contract event 0xb52b99b9e83551fcbd069b559cc3e823e2a1a3bad8ece46561ea77524394c850.
Solidity: event ReserveFunded(address indexed reserveHolder, uint256 amount)
func (*TicketBrokerFilterer) WatchSetController ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *TicketBrokerSetController) (event.Subscription, error)
WatchSetController is a free log subscription operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.
Solidity: event SetController(address controller)
func (*TicketBrokerFilterer) WatchUnlock ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) WatchUnlock(opts *bind.WatchOpts, sink chan<- *TicketBrokerUnlock, sender []common.Address) (event.Subscription, error)
WatchUnlock is a free log subscription operation binding the contract event 0xf7870c5b224cbc19873599e46ccfc7103934650509b1af0c3ce90138377c2004.
Solidity: event Unlock(address indexed sender, uint256 startRound, uint256 endRound)
func (*TicketBrokerFilterer) WatchUnlockCancelled ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) WatchUnlockCancelled(opts *bind.WatchOpts, sink chan<- *TicketBrokerUnlockCancelled, sender []common.Address) (event.Subscription, error)
WatchUnlockCancelled is a free log subscription operation binding the contract event 0xfa044b7b93a40365dc68049797c2eb06918523d694e5d56e406cac3eb35578e5.
Solidity: event UnlockCancelled(address indexed sender)
func (*TicketBrokerFilterer) WatchWinningTicketRedeemed ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) WatchWinningTicketRedeemed(opts *bind.WatchOpts, sink chan<- *TicketBrokerWinningTicketRedeemed, sender []common.Address, recipient []common.Address) (event.Subscription, error)
WatchWinningTicketRedeemed is a free log subscription operation binding the contract event 0xc389eb51ed006dbf2528507f010efdf5225ea596e1e1741d74f550dab1925ee7.
Solidity: event WinningTicketRedeemed(address indexed sender, address indexed recipient, uint256 faceValue, uint256 winProb, uint256 senderNonce, uint256 recipientRand, bytes auxData)
func (*TicketBrokerFilterer) WatchWinningTicketTransfer ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) WatchWinningTicketTransfer(opts *bind.WatchOpts, sink chan<- *TicketBrokerWinningTicketTransfer, sender []common.Address, recipient []common.Address) (event.Subscription, error)
WatchWinningTicketTransfer is a free log subscription operation binding the contract event 0x8b87351a208c06e3ceee59d80725fd77a23b4129e1b51ca231fc89b40712649c.
Solidity: event WinningTicketTransfer(address indexed sender, address indexed recipient, uint256 amount)
func (*TicketBrokerFilterer) WatchWithdrawal ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *TicketBrokerWithdrawal, sender []common.Address) (event.Subscription, error)
WatchWithdrawal is a free log subscription operation binding the contract event 0xdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb.
Solidity: event Withdrawal(address indexed sender, uint256 deposit, uint256 reserve)
type TicketBrokerParameterUpdate ¶ added in v0.5.0
type TicketBrokerParameterUpdate struct { Param string Raw types.Log // Blockchain specific contextual infos }
TicketBrokerParameterUpdate represents a ParameterUpdate event raised by the TicketBroker contract.
type TicketBrokerParameterUpdateIterator ¶ added in v0.5.0
type TicketBrokerParameterUpdateIterator struct { Event *TicketBrokerParameterUpdate // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TicketBrokerParameterUpdateIterator is returned from FilterParameterUpdate and is used to iterate over the raw logs and unpacked data for ParameterUpdate events raised by the TicketBroker contract.
func (*TicketBrokerParameterUpdateIterator) Close ¶ added in v0.5.0
func (it *TicketBrokerParameterUpdateIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TicketBrokerParameterUpdateIterator) Error ¶ added in v0.5.0
func (it *TicketBrokerParameterUpdateIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TicketBrokerParameterUpdateIterator) Next ¶ added in v0.5.0
func (it *TicketBrokerParameterUpdateIterator) 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 TicketBrokerRaw ¶ added in v0.5.0
type TicketBrokerRaw struct {
Contract *TicketBroker // Generic contract binding to access the raw methods on
}
TicketBrokerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*TicketBrokerRaw) Call ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerRaw) 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 (*TicketBrokerRaw) Transact ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TicketBrokerRaw) Transfer ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerRaw) 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 TicketBrokerReserveClaimed ¶ added in v0.5.0
type TicketBrokerReserveClaimed struct { ReserveHolder common.Address Claimant common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
TicketBrokerReserveClaimed represents a ReserveClaimed event raised by the TicketBroker contract.
type TicketBrokerReserveClaimedIterator ¶ added in v0.5.0
type TicketBrokerReserveClaimedIterator struct { Event *TicketBrokerReserveClaimed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TicketBrokerReserveClaimedIterator is returned from FilterReserveClaimed and is used to iterate over the raw logs and unpacked data for ReserveClaimed events raised by the TicketBroker contract.
func (*TicketBrokerReserveClaimedIterator) Close ¶ added in v0.5.0
func (it *TicketBrokerReserveClaimedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TicketBrokerReserveClaimedIterator) Error ¶ added in v0.5.0
func (it *TicketBrokerReserveClaimedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TicketBrokerReserveClaimedIterator) Next ¶ added in v0.5.0
func (it *TicketBrokerReserveClaimedIterator) 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 TicketBrokerReserveFunded ¶ added in v0.5.0
type TicketBrokerReserveFunded struct { ReserveHolder common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
TicketBrokerReserveFunded represents a ReserveFunded event raised by the TicketBroker contract.
type TicketBrokerReserveFundedIterator ¶ added in v0.5.0
type TicketBrokerReserveFundedIterator struct { Event *TicketBrokerReserveFunded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TicketBrokerReserveFundedIterator is returned from FilterReserveFunded and is used to iterate over the raw logs and unpacked data for ReserveFunded events raised by the TicketBroker contract.
func (*TicketBrokerReserveFundedIterator) Close ¶ added in v0.5.0
func (it *TicketBrokerReserveFundedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TicketBrokerReserveFundedIterator) Error ¶ added in v0.5.0
func (it *TicketBrokerReserveFundedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TicketBrokerReserveFundedIterator) Next ¶ added in v0.5.0
func (it *TicketBrokerReserveFundedIterator) 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 TicketBrokerSession ¶ added in v0.5.0
type TicketBrokerSession struct { Contract *TicketBroker // 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 }
TicketBrokerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*TicketBrokerSession) BatchRedeemWinningTickets ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) BatchRedeemWinningTickets(_tickets []Struct1, _sigs [][]byte, _recipientRands []*big.Int) (*types.Transaction, error)
BatchRedeemWinningTickets is a paid mutator transaction binding the contract method 0xd01b808e.
Solidity: function batchRedeemWinningTickets([]Struct1 _tickets, bytes[] _sigs, uint256[] _recipientRands) returns()
func (*TicketBrokerSession) CancelUnlock ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) CancelUnlock() (*types.Transaction, error)
CancelUnlock is a paid mutator transaction binding the contract method 0xc2c4c2c8.
Solidity: function cancelUnlock() returns()
func (*TicketBrokerSession) ClaimableReserve ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) ClaimableReserve(_reserveHolder common.Address, _claimant common.Address) (*big.Int, error)
ClaimableReserve is a free data retrieval call binding the contract method 0x81779f38.
Solidity: function claimableReserve(address _reserveHolder, address _claimant) constant returns(uint256)
func (*TicketBrokerSession) ClaimedReserve ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) ClaimedReserve(_reserveHolder common.Address, _claimant common.Address) (*big.Int, error)
ClaimedReserve is a free data retrieval call binding the contract method 0x4ac826da.
Solidity: function claimedReserve(address _reserveHolder, address _claimant) constant returns(uint256)
func (*TicketBrokerSession) Controller ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*TicketBrokerSession) FundDeposit ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) FundDeposit() (*types.Transaction, error)
FundDeposit is a paid mutator transaction binding the contract method 0x6caa736b.
Solidity: function fundDeposit() returns()
func (*TicketBrokerSession) FundDepositAndReserve ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) FundDepositAndReserve(_depositAmount *big.Int, _reserveAmount *big.Int) (*types.Transaction, error)
FundDepositAndReserve is a paid mutator transaction binding the contract method 0x511f4073.
Solidity: function fundDepositAndReserve(uint256 _depositAmount, uint256 _reserveAmount) returns()
func (*TicketBrokerSession) FundReserve ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) FundReserve() (*types.Transaction, error)
FundReserve is a paid mutator transaction binding the contract method 0x6f9c3c8f.
Solidity: function fundReserve() returns()
func (*TicketBrokerSession) GetReserveInfo ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) GetReserveInfo(_reserveHolder common.Address) (Struct0, error)
GetReserveInfo is a free data retrieval call binding the contract method 0x5b6333eb.
Solidity: function getReserveInfo(address _reserveHolder) constant returns(Struct0 info)
func (*TicketBrokerSession) GetSenderInfo ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) GetSenderInfo(_sender common.Address) (struct { Sender Struct0 Reserve Struct0 }, error)
GetSenderInfo is a free data retrieval call binding the contract method 0xe1a589da.
Solidity: function getSenderInfo(address _sender) constant returns(Struct0 sender, Struct0 reserve)
func (*TicketBrokerSession) IsUnlockInProgress ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) IsUnlockInProgress(_sender common.Address) (bool, error)
IsUnlockInProgress is a free data retrieval call binding the contract method 0x121cdcc2.
Solidity: function isUnlockInProgress(address _sender) constant returns(bool)
func (*TicketBrokerSession) RedeemWinningTicket ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) RedeemWinningTicket(_ticket Struct1, _sig []byte, _recipientRand *big.Int) (*types.Transaction, error)
RedeemWinningTicket is a paid mutator transaction binding the contract method 0xec8b3cb6.
Solidity: function redeemWinningTicket(Struct1 _ticket, bytes _sig, uint256 _recipientRand) returns()
func (*TicketBrokerSession) SetController ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) SetController(_controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address _controller) returns()
func (*TicketBrokerSession) SetTicketValidityPeriod ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) SetTicketValidityPeriod(_ticketValidityPeriod *big.Int) (*types.Transaction, error)
SetTicketValidityPeriod is a paid mutator transaction binding the contract method 0xc9297808.
Solidity: function setTicketValidityPeriod(uint256 _ticketValidityPeriod) returns()
func (*TicketBrokerSession) SetUnlockPeriod ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) SetUnlockPeriod(_unlockPeriod *big.Int) (*types.Transaction, error)
SetUnlockPeriod is a paid mutator transaction binding the contract method 0x3d0ddf84.
Solidity: function setUnlockPeriod(uint256 _unlockPeriod) returns()
func (*TicketBrokerSession) TargetContractId ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) TargetContractId() ([32]byte, error)
TargetContractId is a free data retrieval call binding the contract method 0x51720b41.
Solidity: function targetContractId() constant returns(bytes32)
func (*TicketBrokerSession) TicketValidityPeriod ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) TicketValidityPeriod() (*big.Int, error)
TicketValidityPeriod is a free data retrieval call binding the contract method 0x856a2cf8.
Solidity: function ticketValidityPeriod() constant returns(uint256)
func (*TicketBrokerSession) Unlock ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) Unlock() (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.
Solidity: function unlock() returns()
func (*TicketBrokerSession) UnlockPeriod ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) UnlockPeriod() (*big.Int, error)
UnlockPeriod is a free data retrieval call binding the contract method 0x20d3a0b4.
Solidity: function unlockPeriod() constant returns(uint256)
func (*TicketBrokerSession) UsedTickets ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) UsedTickets(arg0 [32]byte) (bool, error)
UsedTickets is a free data retrieval call binding the contract method 0x59a515ba.
Solidity: function usedTickets(bytes32 ) constant returns(bool)
func (*TicketBrokerSession) Withdraw ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
type TicketBrokerSetController ¶ added in v0.5.0
type TicketBrokerSetController struct { Controller common.Address Raw types.Log // Blockchain specific contextual infos }
TicketBrokerSetController represents a SetController event raised by the TicketBroker contract.
type TicketBrokerSetControllerIterator ¶ added in v0.5.0
type TicketBrokerSetControllerIterator struct { Event *TicketBrokerSetController // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TicketBrokerSetControllerIterator is returned from FilterSetController and is used to iterate over the raw logs and unpacked data for SetController events raised by the TicketBroker contract.
func (*TicketBrokerSetControllerIterator) Close ¶ added in v0.5.0
func (it *TicketBrokerSetControllerIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TicketBrokerSetControllerIterator) Error ¶ added in v0.5.0
func (it *TicketBrokerSetControllerIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TicketBrokerSetControllerIterator) Next ¶ added in v0.5.0
func (it *TicketBrokerSetControllerIterator) 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 TicketBrokerTransactor ¶ added in v0.5.0
type TicketBrokerTransactor struct {
// contains filtered or unexported fields
}
TicketBrokerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewTicketBrokerTransactor ¶ added in v0.5.0
func NewTicketBrokerTransactor(address common.Address, transactor bind.ContractTransactor) (*TicketBrokerTransactor, error)
NewTicketBrokerTransactor creates a new write-only instance of TicketBroker, bound to a specific deployed contract.
func (*TicketBrokerTransactor) BatchRedeemWinningTickets ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactor) BatchRedeemWinningTickets(opts *bind.TransactOpts, _tickets []Struct1, _sigs [][]byte, _recipientRands []*big.Int) (*types.Transaction, error)
BatchRedeemWinningTickets is a paid mutator transaction binding the contract method 0xd01b808e.
Solidity: function batchRedeemWinningTickets([]Struct1 _tickets, bytes[] _sigs, uint256[] _recipientRands) returns()
func (*TicketBrokerTransactor) CancelUnlock ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactor) CancelUnlock(opts *bind.TransactOpts) (*types.Transaction, error)
CancelUnlock is a paid mutator transaction binding the contract method 0xc2c4c2c8.
Solidity: function cancelUnlock() returns()
func (*TicketBrokerTransactor) FundDeposit ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactor) FundDeposit(opts *bind.TransactOpts) (*types.Transaction, error)
FundDeposit is a paid mutator transaction binding the contract method 0x6caa736b.
Solidity: function fundDeposit() returns()
func (*TicketBrokerTransactor) FundDepositAndReserve ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactor) FundDepositAndReserve(opts *bind.TransactOpts, _depositAmount *big.Int, _reserveAmount *big.Int) (*types.Transaction, error)
FundDepositAndReserve is a paid mutator transaction binding the contract method 0x511f4073.
Solidity: function fundDepositAndReserve(uint256 _depositAmount, uint256 _reserveAmount) returns()
func (*TicketBrokerTransactor) FundReserve ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactor) FundReserve(opts *bind.TransactOpts) (*types.Transaction, error)
FundReserve is a paid mutator transaction binding the contract method 0x6f9c3c8f.
Solidity: function fundReserve() returns()
func (*TicketBrokerTransactor) RedeemWinningTicket ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactor) RedeemWinningTicket(opts *bind.TransactOpts, _ticket Struct1, _sig []byte, _recipientRand *big.Int) (*types.Transaction, error)
RedeemWinningTicket is a paid mutator transaction binding the contract method 0xec8b3cb6.
Solidity: function redeemWinningTicket(Struct1 _ticket, bytes _sig, uint256 _recipientRand) returns()
func (*TicketBrokerTransactor) SetController ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address _controller) returns()
func (*TicketBrokerTransactor) SetTicketValidityPeriod ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactor) SetTicketValidityPeriod(opts *bind.TransactOpts, _ticketValidityPeriod *big.Int) (*types.Transaction, error)
SetTicketValidityPeriod is a paid mutator transaction binding the contract method 0xc9297808.
Solidity: function setTicketValidityPeriod(uint256 _ticketValidityPeriod) returns()
func (*TicketBrokerTransactor) SetUnlockPeriod ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactor) SetUnlockPeriod(opts *bind.TransactOpts, _unlockPeriod *big.Int) (*types.Transaction, error)
SetUnlockPeriod is a paid mutator transaction binding the contract method 0x3d0ddf84.
Solidity: function setUnlockPeriod(uint256 _unlockPeriod) returns()
func (*TicketBrokerTransactor) Unlock ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactor) Unlock(opts *bind.TransactOpts) (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.
Solidity: function unlock() returns()
func (*TicketBrokerTransactor) Withdraw ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
type TicketBrokerTransactorRaw ¶ added in v0.5.0
type TicketBrokerTransactorRaw struct {
Contract *TicketBrokerTransactor // Generic write-only contract binding to access the raw methods on
}
TicketBrokerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*TicketBrokerTransactorRaw) Transact ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*TicketBrokerTransactorRaw) Transfer ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactorRaw) 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 TicketBrokerTransactorSession ¶ added in v0.5.0
type TicketBrokerTransactorSession struct { Contract *TicketBrokerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
TicketBrokerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*TicketBrokerTransactorSession) BatchRedeemWinningTickets ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactorSession) BatchRedeemWinningTickets(_tickets []Struct1, _sigs [][]byte, _recipientRands []*big.Int) (*types.Transaction, error)
BatchRedeemWinningTickets is a paid mutator transaction binding the contract method 0xd01b808e.
Solidity: function batchRedeemWinningTickets([]Struct1 _tickets, bytes[] _sigs, uint256[] _recipientRands) returns()
func (*TicketBrokerTransactorSession) CancelUnlock ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactorSession) CancelUnlock() (*types.Transaction, error)
CancelUnlock is a paid mutator transaction binding the contract method 0xc2c4c2c8.
Solidity: function cancelUnlock() returns()
func (*TicketBrokerTransactorSession) FundDeposit ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactorSession) FundDeposit() (*types.Transaction, error)
FundDeposit is a paid mutator transaction binding the contract method 0x6caa736b.
Solidity: function fundDeposit() returns()
func (*TicketBrokerTransactorSession) FundDepositAndReserve ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactorSession) FundDepositAndReserve(_depositAmount *big.Int, _reserveAmount *big.Int) (*types.Transaction, error)
FundDepositAndReserve is a paid mutator transaction binding the contract method 0x511f4073.
Solidity: function fundDepositAndReserve(uint256 _depositAmount, uint256 _reserveAmount) returns()
func (*TicketBrokerTransactorSession) FundReserve ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactorSession) FundReserve() (*types.Transaction, error)
FundReserve is a paid mutator transaction binding the contract method 0x6f9c3c8f.
Solidity: function fundReserve() returns()
func (*TicketBrokerTransactorSession) RedeemWinningTicket ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactorSession) RedeemWinningTicket(_ticket Struct1, _sig []byte, _recipientRand *big.Int) (*types.Transaction, error)
RedeemWinningTicket is a paid mutator transaction binding the contract method 0xec8b3cb6.
Solidity: function redeemWinningTicket(Struct1 _ticket, bytes _sig, uint256 _recipientRand) returns()
func (*TicketBrokerTransactorSession) SetController ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(address _controller) returns()
func (*TicketBrokerTransactorSession) SetTicketValidityPeriod ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactorSession) SetTicketValidityPeriod(_ticketValidityPeriod *big.Int) (*types.Transaction, error)
SetTicketValidityPeriod is a paid mutator transaction binding the contract method 0xc9297808.
Solidity: function setTicketValidityPeriod(uint256 _ticketValidityPeriod) returns()
func (*TicketBrokerTransactorSession) SetUnlockPeriod ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactorSession) SetUnlockPeriod(_unlockPeriod *big.Int) (*types.Transaction, error)
SetUnlockPeriod is a paid mutator transaction binding the contract method 0x3d0ddf84.
Solidity: function setUnlockPeriod(uint256 _unlockPeriod) returns()
func (*TicketBrokerTransactorSession) Unlock ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactorSession) Unlock() (*types.Transaction, error)
Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.
Solidity: function unlock() returns()
func (*TicketBrokerTransactorSession) Withdraw ¶ added in v0.5.0
func (_TicketBroker *TicketBrokerTransactorSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
type TicketBrokerUnlock ¶ added in v0.5.0
type TicketBrokerUnlock struct { Sender common.Address StartRound *big.Int EndRound *big.Int Raw types.Log // Blockchain specific contextual infos }
TicketBrokerUnlock represents a Unlock event raised by the TicketBroker contract.
type TicketBrokerUnlockCancelled ¶ added in v0.5.0
type TicketBrokerUnlockCancelled struct { Sender common.Address Raw types.Log // Blockchain specific contextual infos }
TicketBrokerUnlockCancelled represents a UnlockCancelled event raised by the TicketBroker contract.
type TicketBrokerUnlockCancelledIterator ¶ added in v0.5.0
type TicketBrokerUnlockCancelledIterator struct { Event *TicketBrokerUnlockCancelled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TicketBrokerUnlockCancelledIterator is returned from FilterUnlockCancelled and is used to iterate over the raw logs and unpacked data for UnlockCancelled events raised by the TicketBroker contract.
func (*TicketBrokerUnlockCancelledIterator) Close ¶ added in v0.5.0
func (it *TicketBrokerUnlockCancelledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TicketBrokerUnlockCancelledIterator) Error ¶ added in v0.5.0
func (it *TicketBrokerUnlockCancelledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TicketBrokerUnlockCancelledIterator) Next ¶ added in v0.5.0
func (it *TicketBrokerUnlockCancelledIterator) 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 TicketBrokerUnlockIterator ¶ added in v0.5.0
type TicketBrokerUnlockIterator struct { Event *TicketBrokerUnlock // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TicketBrokerUnlockIterator is returned from FilterUnlock and is used to iterate over the raw logs and unpacked data for Unlock events raised by the TicketBroker contract.
func (*TicketBrokerUnlockIterator) Close ¶ added in v0.5.0
func (it *TicketBrokerUnlockIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TicketBrokerUnlockIterator) Error ¶ added in v0.5.0
func (it *TicketBrokerUnlockIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TicketBrokerUnlockIterator) Next ¶ added in v0.5.0
func (it *TicketBrokerUnlockIterator) 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 TicketBrokerWinningTicketRedeemed ¶ added in v0.5.0
type TicketBrokerWinningTicketRedeemed struct { Sender common.Address Recipient common.Address FaceValue *big.Int WinProb *big.Int SenderNonce *big.Int RecipientRand *big.Int AuxData []byte Raw types.Log // Blockchain specific contextual infos }
TicketBrokerWinningTicketRedeemed represents a WinningTicketRedeemed event raised by the TicketBroker contract.
type TicketBrokerWinningTicketRedeemedIterator ¶ added in v0.5.0
type TicketBrokerWinningTicketRedeemedIterator struct { Event *TicketBrokerWinningTicketRedeemed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TicketBrokerWinningTicketRedeemedIterator is returned from FilterWinningTicketRedeemed and is used to iterate over the raw logs and unpacked data for WinningTicketRedeemed events raised by the TicketBroker contract.
func (*TicketBrokerWinningTicketRedeemedIterator) Close ¶ added in v0.5.0
func (it *TicketBrokerWinningTicketRedeemedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TicketBrokerWinningTicketRedeemedIterator) Error ¶ added in v0.5.0
func (it *TicketBrokerWinningTicketRedeemedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TicketBrokerWinningTicketRedeemedIterator) Next ¶ added in v0.5.0
func (it *TicketBrokerWinningTicketRedeemedIterator) 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 TicketBrokerWinningTicketTransfer ¶ added in v0.5.0
type TicketBrokerWinningTicketTransfer struct { Sender common.Address Recipient common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
TicketBrokerWinningTicketTransfer represents a WinningTicketTransfer event raised by the TicketBroker contract.
type TicketBrokerWinningTicketTransferIterator ¶ added in v0.5.0
type TicketBrokerWinningTicketTransferIterator struct { Event *TicketBrokerWinningTicketTransfer // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TicketBrokerWinningTicketTransferIterator is returned from FilterWinningTicketTransfer and is used to iterate over the raw logs and unpacked data for WinningTicketTransfer events raised by the TicketBroker contract.
func (*TicketBrokerWinningTicketTransferIterator) Close ¶ added in v0.5.0
func (it *TicketBrokerWinningTicketTransferIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TicketBrokerWinningTicketTransferIterator) Error ¶ added in v0.5.0
func (it *TicketBrokerWinningTicketTransferIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TicketBrokerWinningTicketTransferIterator) Next ¶ added in v0.5.0
func (it *TicketBrokerWinningTicketTransferIterator) 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 TicketBrokerWithdrawal ¶ added in v0.5.0
type TicketBrokerWithdrawal struct { Sender common.Address Deposit *big.Int Reserve *big.Int Raw types.Log // Blockchain specific contextual infos }
TicketBrokerWithdrawal represents a Withdrawal event raised by the TicketBroker contract.
type TicketBrokerWithdrawalIterator ¶ added in v0.5.0
type TicketBrokerWithdrawalIterator struct { Event *TicketBrokerWithdrawal // Event containing the contract specifics and raw log // contains filtered or unexported fields }
TicketBrokerWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the TicketBroker contract.
func (*TicketBrokerWithdrawalIterator) Close ¶ added in v0.5.0
func (it *TicketBrokerWithdrawalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*TicketBrokerWithdrawalIterator) Error ¶ added in v0.5.0
func (it *TicketBrokerWithdrawalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*TicketBrokerWithdrawalIterator) Next ¶ added in v0.5.0
func (it *TicketBrokerWithdrawalIterator) 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.