Documentation
¶
Index ¶
- Constants
- type BondingManager
- type BondingManagerCaller
- func (_BondingManager *BondingManagerCaller) ActiveTranscoderSet(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_BondingManager *BondingManagerCaller) ActiveTranscoderTotalStake(opts *bind.CallOpts, _transcoder common.Address, _round *big.Int) (*big.Int, error)
- func (_BondingManager *BondingManagerCaller) Controller(opts *bind.CallOpts) (common.Address, error)
- func (_BondingManager *BondingManagerCaller) DelegatorStake(opts *bind.CallOpts, _delegator common.Address) (*big.Int, error)
- func (_BondingManager *BondingManagerCaller) DelegatorStatus(opts *bind.CallOpts, _delegator common.Address) (uint8, error)
- func (_BondingManager *BondingManagerCaller) DelegatorUnbondedAmount(opts *bind.CallOpts, _delegator common.Address) (*big.Int, error)
- func (_BondingManager *BondingManagerCaller) ElectActiveTranscoder(opts *bind.CallOpts, _maxPricePerSegment *big.Int, _block *big.Int, ...) (common.Address, error)
- func (_BondingManager *BondingManagerCaller) GetDelegator(opts *bind.CallOpts, _delegator common.Address) (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) GetTotalActiveStake(opts *bind.CallOpts, _round *big.Int) (*big.Int, 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) GetTranscoderPoolSize(opts *bind.CallOpts) (*big.Int, error)
- func (_BondingManager *BondingManagerCaller) GetTranscoderTokenPoolsForRound(opts *bind.CallOpts, _transcoder common.Address, _round *big.Int) (struct{ ... }, error)
- func (_BondingManager *BondingManagerCaller) IsActiveTranscoder(opts *bind.CallOpts, _transcoder common.Address, _round *big.Int) (bool, error)
- func (_BondingManager *BondingManagerCaller) NumActiveTranscoders(opts *bind.CallOpts) (*big.Int, error)
- func (_BondingManager *BondingManagerCaller) PERC_DIVISOR(opts *bind.CallOpts) (*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) ActiveTranscoderSet(arg0 *big.Int) (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) ActiveTranscoderTotalStake(_transcoder common.Address, _round *big.Int) (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) Controller() (common.Address, error)
- func (_BondingManager *BondingManagerCallerSession) DelegatorStake(_delegator common.Address) (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) DelegatorStatus(_delegator common.Address) (uint8, error)
- func (_BondingManager *BondingManagerCallerSession) DelegatorUnbondedAmount(_delegator common.Address) (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) ElectActiveTranscoder(_maxPricePerSegment *big.Int, _block *big.Int, _round *big.Int) (common.Address, error)
- func (_BondingManager *BondingManagerCallerSession) GetDelegator(_delegator common.Address) (struct{ ... }, error)
- func (_BondingManager *BondingManagerCallerSession) GetFirstTranscoderInPool() (common.Address, error)
- func (_BondingManager *BondingManagerCallerSession) GetNextTranscoderInPool(_transcoder common.Address) (common.Address, error)
- func (_BondingManager *BondingManagerCallerSession) GetTotalActiveStake(_round *big.Int) (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) GetTotalBonded() (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) GetTranscoder(_transcoder common.Address) (struct{ ... }, error)
- func (_BondingManager *BondingManagerCallerSession) GetTranscoderPoolSize() (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) GetTranscoderTokenPoolsForRound(_transcoder common.Address, _round *big.Int) (struct{ ... }, error)
- func (_BondingManager *BondingManagerCallerSession) IsActiveTranscoder(_transcoder common.Address, _round *big.Int) (bool, error)
- func (_BondingManager *BondingManagerCallerSession) NumActiveTranscoders() (*big.Int, error)
- func (_BondingManager *BondingManagerCallerSession) PERC_DIVISOR() (*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 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 BondingManagerSession
- func (_BondingManager *BondingManagerSession) ActiveTranscoderSet(arg0 *big.Int) (*big.Int, error)
- func (_BondingManager *BondingManagerSession) ActiveTranscoderTotalStake(_transcoder common.Address, _round *big.Int) (*big.Int, error)
- func (_BondingManager *BondingManagerSession) Bond(_amount *big.Int, _to common.Address) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) ClaimTokenPoolsShares(_endRound *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) Controller() (common.Address, error)
- func (_BondingManager *BondingManagerSession) DelegatorStake(_delegator common.Address) (*big.Int, error)
- func (_BondingManager *BondingManagerSession) DelegatorStatus(_delegator common.Address) (uint8, error)
- func (_BondingManager *BondingManagerSession) DelegatorUnbondedAmount(_delegator common.Address) (*big.Int, error)
- func (_BondingManager *BondingManagerSession) ElectActiveTranscoder(_maxPricePerSegment *big.Int, _block *big.Int, _round *big.Int) (common.Address, error)
- func (_BondingManager *BondingManagerSession) GetDelegator(_delegator common.Address) (struct{ ... }, error)
- func (_BondingManager *BondingManagerSession) GetFirstTranscoderInPool() (common.Address, error)
- func (_BondingManager *BondingManagerSession) GetNextTranscoderInPool(_transcoder common.Address) (common.Address, error)
- func (_BondingManager *BondingManagerSession) GetTotalActiveStake(_round *big.Int) (*big.Int, error)
- func (_BondingManager *BondingManagerSession) GetTotalBonded() (*big.Int, error)
- func (_BondingManager *BondingManagerSession) GetTranscoder(_transcoder common.Address) (struct{ ... }, error)
- func (_BondingManager *BondingManagerSession) GetTranscoderPoolSize() (*big.Int, error)
- func (_BondingManager *BondingManagerSession) GetTranscoderTokenPoolsForRound(_transcoder common.Address, _round *big.Int) (struct{ ... }, error)
- func (_BondingManager *BondingManagerSession) IsActiveTranscoder(_transcoder common.Address, _round *big.Int) (bool, error)
- func (_BondingManager *BondingManagerSession) NumActiveTranscoders() (*big.Int, error)
- func (_BondingManager *BondingManagerSession) PERC_DIVISOR() (*big.Int, error)
- func (_BondingManager *BondingManagerSession) ResignAsTranscoder() (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) Reward() (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) SetActiveTranscoders() (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) SetController(_controller common.Address) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) SetNumActiveTranscoders(_numActiveTranscoders *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) SetNumTranscoders(_numTranscoders *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerSession) SetParameters(_unbondingPeriod uint64, _numTranscoders *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(_blockRewardCut *big.Int, _feeShare *big.Int, _pricePerSegment *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) Unbond() (*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) Withdraw() (*types.Transaction, error)
- type BondingManagerTransactor
- func (_BondingManager *BondingManagerTransactor) Bond(opts *bind.TransactOpts, _amount *big.Int, _to common.Address) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) ClaimTokenPoolsShares(opts *bind.TransactOpts, _endRound *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) ResignAsTranscoder(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) Reward(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) SetActiveTranscoders(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) SetNumActiveTranscoders(opts *bind.TransactOpts, _numActiveTranscoders *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) SetNumTranscoders(opts *bind.TransactOpts, _numTranscoders *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) SetParameters(opts *bind.TransactOpts, _unbondingPeriod uint64, _numTranscoders *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, _blockRewardCut *big.Int, _feeShare *big.Int, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) Unbond(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) UpdateTranscoderWithFees(opts *bind.TransactOpts, _transcoder common.Address, _fees *big.Int, ...) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- type BondingManagerTransactorRaw
- type BondingManagerTransactorSession
- func (_BondingManager *BondingManagerTransactorSession) Bond(_amount *big.Int, _to common.Address) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) ClaimTokenPoolsShares(_endRound *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) ResignAsTranscoder() (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) Reward() (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) SetActiveTranscoders() (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) SetNumActiveTranscoders(_numActiveTranscoders *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) SetNumTranscoders(_numTranscoders *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) SetParameters(_unbondingPeriod uint64, _numTranscoders *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(_blockRewardCut *big.Int, _feeShare *big.Int, _pricePerSegment *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) Unbond() (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) UpdateTranscoderWithFees(_transcoder common.Address, _fees *big.Int, _round *big.Int) (*types.Transaction, error)
- func (_BondingManager *BondingManagerTransactorSession) Withdraw() (*types.Transaction, error)
- type Controller
- type ControllerCaller
- type ControllerCallerRaw
- type ControllerCallerSession
- 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) Owner() (common.Address, error)
- func (_Controller *ControllerSession) Pause() (*types.Transaction, error)
- func (_Controller *ControllerSession) Paused() (bool, error)
- func (_Controller *ControllerSession) SetContract(_id [32]byte, _contract common.Address) (*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 ControllerTransactor
- func (_Controller *ControllerTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Controller *ControllerTransactor) SetContract(opts *bind.TransactOpts, _id [32]byte, _contract 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) SetContract(_id [32]byte, _contract common.Address) (*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 JobsManager
- type JobsManagerCaller
- func (_JobsManager *JobsManagerCaller) Broadcasters(opts *bind.CallOpts, arg0 common.Address) (struct{ ... }, error)
- func (_JobsManager *JobsManagerCaller) Controller(opts *bind.CallOpts) (common.Address, error)
- func (_JobsManager *JobsManagerCaller) DoubleClaimSegmentSlashAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_JobsManager *JobsManagerCaller) FailedVerificationSlashAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_JobsManager *JobsManagerCaller) FinderFee(opts *bind.CallOpts) (*big.Int, error)
- func (_JobsManager *JobsManagerCaller) GetClaim(opts *bind.CallOpts, _jobId *big.Int, _claimId *big.Int) (struct{ ... }, error)
- func (_JobsManager *JobsManagerCaller) GetJob(opts *bind.CallOpts, _jobId *big.Int) (struct{ ... }, error)
- func (_JobsManager *JobsManagerCaller) IsClaimSegmentVerified(opts *bind.CallOpts, _jobId *big.Int, _claimId *big.Int, ...) (bool, error)
- func (_JobsManager *JobsManagerCaller) JobStatus(opts *bind.CallOpts, _jobId *big.Int) (uint8, error)
- func (_JobsManager *JobsManagerCaller) Jobs(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_JobsManager *JobsManagerCaller) MissedVerificationSlashAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_JobsManager *JobsManagerCaller) NumJobs(opts *bind.CallOpts) (*big.Int, error)
- func (_JobsManager *JobsManagerCaller) PERC_DIVISOR(opts *bind.CallOpts) (*big.Int, error)
- func (_JobsManager *JobsManagerCaller) SlashingPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_JobsManager *JobsManagerCaller) TargetContractId(opts *bind.CallOpts) ([32]byte, error)
- func (_JobsManager *JobsManagerCaller) VerificationPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_JobsManager *JobsManagerCaller) VerificationRate(opts *bind.CallOpts) (uint64, error)
- type JobsManagerCallerRaw
- type JobsManagerCallerSession
- func (_JobsManager *JobsManagerCallerSession) Broadcasters(arg0 common.Address) (struct{ ... }, error)
- func (_JobsManager *JobsManagerCallerSession) Controller() (common.Address, error)
- func (_JobsManager *JobsManagerCallerSession) DoubleClaimSegmentSlashAmount() (*big.Int, error)
- func (_JobsManager *JobsManagerCallerSession) FailedVerificationSlashAmount() (*big.Int, error)
- func (_JobsManager *JobsManagerCallerSession) FinderFee() (*big.Int, error)
- func (_JobsManager *JobsManagerCallerSession) GetClaim(_jobId *big.Int, _claimId *big.Int) (struct{ ... }, error)
- func (_JobsManager *JobsManagerCallerSession) GetJob(_jobId *big.Int) (struct{ ... }, error)
- func (_JobsManager *JobsManagerCallerSession) IsClaimSegmentVerified(_jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int) (bool, error)
- func (_JobsManager *JobsManagerCallerSession) JobStatus(_jobId *big.Int) (uint8, error)
- func (_JobsManager *JobsManagerCallerSession) Jobs(arg0 *big.Int) (struct{ ... }, error)
- func (_JobsManager *JobsManagerCallerSession) MissedVerificationSlashAmount() (*big.Int, error)
- func (_JobsManager *JobsManagerCallerSession) NumJobs() (*big.Int, error)
- func (_JobsManager *JobsManagerCallerSession) PERC_DIVISOR() (*big.Int, error)
- func (_JobsManager *JobsManagerCallerSession) SlashingPeriod() (*big.Int, error)
- func (_JobsManager *JobsManagerCallerSession) TargetContractId() ([32]byte, error)
- func (_JobsManager *JobsManagerCallerSession) VerificationPeriod() (*big.Int, error)
- func (_JobsManager *JobsManagerCallerSession) VerificationRate() (uint64, error)
- type JobsManagerRaw
- func (_JobsManager *JobsManagerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_JobsManager *JobsManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_JobsManager *JobsManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type JobsManagerSession
- func (_JobsManager *JobsManagerSession) BatchDistributeFees(_jobId *big.Int, _claimIds []*big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) Broadcasters(arg0 common.Address) (struct{ ... }, error)
- func (_JobsManager *JobsManagerSession) ClaimWork(_jobId *big.Int, _segmentRange [2]*big.Int, _claimRoot [32]byte) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) Controller() (common.Address, error)
- func (_JobsManager *JobsManagerSession) Deposit(_amount *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) DistributeFees(_jobId *big.Int, _claimId *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) DoubleClaimSegmentSlash(_jobId *big.Int, _claimId1 *big.Int, _claimId2 *big.Int, ...) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) DoubleClaimSegmentSlashAmount() (*big.Int, error)
- func (_JobsManager *JobsManagerSession) FailedVerificationSlashAmount() (*big.Int, error)
- func (_JobsManager *JobsManagerSession) FinderFee() (*big.Int, error)
- func (_JobsManager *JobsManagerSession) GetClaim(_jobId *big.Int, _claimId *big.Int) (struct{ ... }, error)
- func (_JobsManager *JobsManagerSession) GetJob(_jobId *big.Int) (struct{ ... }, error)
- func (_JobsManager *JobsManagerSession) IsClaimSegmentVerified(_jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int) (bool, error)
- func (_JobsManager *JobsManagerSession) Job(_streamId string, _transcodingOptions string, _maxPricePerSegment *big.Int, ...) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) JobStatus(_jobId *big.Int) (uint8, error)
- func (_JobsManager *JobsManagerSession) Jobs(arg0 *big.Int) (struct{ ... }, error)
- func (_JobsManager *JobsManagerSession) MissedVerificationSlash(_jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) MissedVerificationSlashAmount() (*big.Int, error)
- func (_JobsManager *JobsManagerSession) NumJobs() (*big.Int, error)
- func (_JobsManager *JobsManagerSession) PERC_DIVISOR() (*big.Int, error)
- func (_JobsManager *JobsManagerSession) ReceiveVerification(_jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int, _result bool) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) SetController(_controller common.Address) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) SetDoubleClaimSegmentSlashAmount(_doubleClaimSegmentSlashAmount *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) SetFailedVerificationSlashAmount(_failedVerificationSlashAmount *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) SetFinderFee(_finderFee *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) SetMissedVerificationSlashAmount(_missedVerificationSlashAmount *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) SetParameters(_verificationRate uint64, _verificationPeriod *big.Int, ...) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) SetSlashingPeriod(_slashingPeriod *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) SetVerificationPeriod(_verificationPeriod *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) SetVerificationRate(_verificationRate uint64) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) SlashingPeriod() (*big.Int, error)
- func (_JobsManager *JobsManagerSession) TargetContractId() ([32]byte, error)
- func (_JobsManager *JobsManagerSession) VerificationPeriod() (*big.Int, error)
- func (_JobsManager *JobsManagerSession) VerificationRate() (uint64, error)
- func (_JobsManager *JobsManagerSession) Verify(_jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int, ...) (*types.Transaction, error)
- func (_JobsManager *JobsManagerSession) Withdraw() (*types.Transaction, error)
- type JobsManagerTransactor
- func (_JobsManager *JobsManagerTransactor) BatchDistributeFees(opts *bind.TransactOpts, _jobId *big.Int, _claimIds []*big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) ClaimWork(opts *bind.TransactOpts, _jobId *big.Int, _segmentRange [2]*big.Int, ...) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) Deposit(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) DistributeFees(opts *bind.TransactOpts, _jobId *big.Int, _claimId *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) DoubleClaimSegmentSlash(opts *bind.TransactOpts, _jobId *big.Int, _claimId1 *big.Int, ...) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) Job(opts *bind.TransactOpts, _streamId string, _transcodingOptions string, ...) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) MissedVerificationSlash(opts *bind.TransactOpts, _jobId *big.Int, _claimId *big.Int, ...) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) ReceiveVerification(opts *bind.TransactOpts, _jobId *big.Int, _claimId *big.Int, ...) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) SetDoubleClaimSegmentSlashAmount(opts *bind.TransactOpts, _doubleClaimSegmentSlashAmount *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) SetFailedVerificationSlashAmount(opts *bind.TransactOpts, _failedVerificationSlashAmount *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) SetFinderFee(opts *bind.TransactOpts, _finderFee *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) SetMissedVerificationSlashAmount(opts *bind.TransactOpts, _missedVerificationSlashAmount *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) SetParameters(opts *bind.TransactOpts, _verificationRate uint64, ...) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) SetSlashingPeriod(opts *bind.TransactOpts, _slashingPeriod *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) SetVerificationPeriod(opts *bind.TransactOpts, _verificationPeriod *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) SetVerificationRate(opts *bind.TransactOpts, _verificationRate uint64) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) Verify(opts *bind.TransactOpts, _jobId *big.Int, _claimId *big.Int, ...) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- type JobsManagerTransactorRaw
- type JobsManagerTransactorSession
- func (_JobsManager *JobsManagerTransactorSession) BatchDistributeFees(_jobId *big.Int, _claimIds []*big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) ClaimWork(_jobId *big.Int, _segmentRange [2]*big.Int, _claimRoot [32]byte) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) Deposit(_amount *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) DistributeFees(_jobId *big.Int, _claimId *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) DoubleClaimSegmentSlash(_jobId *big.Int, _claimId1 *big.Int, _claimId2 *big.Int, ...) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) Job(_streamId string, _transcodingOptions string, _maxPricePerSegment *big.Int, ...) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) MissedVerificationSlash(_jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) ReceiveVerification(_jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int, _result bool) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) SetDoubleClaimSegmentSlashAmount(_doubleClaimSegmentSlashAmount *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) SetFailedVerificationSlashAmount(_failedVerificationSlashAmount *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) SetFinderFee(_finderFee *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) SetMissedVerificationSlashAmount(_missedVerificationSlashAmount *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) SetParameters(_verificationRate uint64, _verificationPeriod *big.Int, ...) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) SetSlashingPeriod(_slashingPeriod *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) SetVerificationPeriod(_verificationPeriod *big.Int) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) SetVerificationRate(_verificationRate uint64) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) Verify(_jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int, ...) (*types.Transaction, error)
- func (_JobsManager *JobsManagerTransactorSession) Withdraw() (*types.Transaction, error)
- type LivepeerToken
- 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, _owner 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(_owner 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 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 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 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(_owner common.Address) (*big.Int, error)
- func (_LivepeerToken *LivepeerTokenSession) Decimals() (uint8, error)
- func (_LivepeerToken *LivepeerTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenSession) FinishMinting() (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenSession) IncreaseApproval(_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(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *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) DecreaseApproval(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) IncreaseApproval(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, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to 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) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactorSession) FinishMinting() (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactorSession) IncreaseApproval(_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(_to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
- func (_LivepeerToken *LivepeerTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)
- type RoundsManager
- type RoundsManagerCaller
- 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) PERC_DIVISOR(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) 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) PERC_DIVISOR() (*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 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) 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) PERC_DIVISOR() (*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) SetParameters(_roundLength *big.Int, _roundLockAmount *big.Int) (*types.Transaction, error)
- func (_RoundsManager *RoundsManagerSession) SetRoundLength(_roundLength *big.Int) (*types.Transaction, error)
- func (_RoundsManager *RoundsManagerSession) TargetContractId() ([32]byte, error)
- 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) SetParameters(opts *bind.TransactOpts, _roundLength *big.Int, _roundLockAmount *big.Int) (*types.Transaction, error)
- func (_RoundsManager *RoundsManagerTransactor) SetRoundLength(opts *bind.TransactOpts, _roundLength *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) SetParameters(_roundLength *big.Int, _roundLockAmount *big.Int) (*types.Transaction, error)
- func (_RoundsManager *RoundsManagerTransactorSession) SetRoundLength(_roundLength *big.Int) (*types.Transaction, error)
Constants ¶
const BondingManagerABI = "" /* 11081-byte string literal not displayed */
BondingManagerABI is the input ABI used to generate the binding from.
const ControllerABI = "" /* 2194-byte string literal not displayed */
ControllerABI is the input ABI used to generate the binding from.
const JobsManagerABI = "" /* 12760-byte string literal not displayed */
JobsManagerABI is the input ABI used to generate the binding from.
const LivepeerTokenABI = "" /* 4776-byte string literal not displayed */
LivepeerTokenABI is the input ABI used to generate the binding from.
const LivepeerTokenFaucetABI = "" /* 2525-byte string literal not displayed */
LivepeerTokenFaucetABI is the input ABI used to generate the binding from.
const RoundsManagerABI = "" /* 3382-byte string literal not displayed */
RoundsManagerABI 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
}
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 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) ActiveTranscoderSet ¶
func (_BondingManager *BondingManagerCaller) ActiveTranscoderSet(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
ActiveTranscoderSet is a free data retrieval call binding the contract method 0x3da1c2f5.
Solidity: function activeTranscoderSet( uint256) constant returns(totalStake uint256)
func (*BondingManagerCaller) ActiveTranscoderTotalStake ¶
func (_BondingManager *BondingManagerCaller) ActiveTranscoderTotalStake(opts *bind.CallOpts, _transcoder common.Address, _round *big.Int) (*big.Int, error)
ActiveTranscoderTotalStake is a free data retrieval call binding the contract method 0xf2083220.
Solidity: function activeTranscoderTotalStake(_transcoder address, _round uint256) constant returns(uint256)
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) DelegatorStake ¶
func (_BondingManager *BondingManagerCaller) DelegatorStake(opts *bind.CallOpts, _delegator common.Address) (*big.Int, error)
DelegatorStake is a free data retrieval call binding the contract method 0x0906a8ce.
Solidity: function delegatorStake(_delegator address) 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(_delegator address) constant returns(uint8)
func (*BondingManagerCaller) DelegatorUnbondedAmount ¶
func (_BondingManager *BondingManagerCaller) DelegatorUnbondedAmount(opts *bind.CallOpts, _delegator common.Address) (*big.Int, error)
DelegatorUnbondedAmount is a free data retrieval call binding the contract method 0xc6f92022.
Solidity: function delegatorUnbondedAmount(_delegator address) constant returns(uint256)
func (*BondingManagerCaller) ElectActiveTranscoder ¶
func (_BondingManager *BondingManagerCaller) ElectActiveTranscoder(opts *bind.CallOpts, _maxPricePerSegment *big.Int, _block *big.Int, _round *big.Int) (common.Address, error)
ElectActiveTranscoder is a free data retrieval call binding the contract method 0x70b614a0.
Solidity: function electActiveTranscoder(_maxPricePerSegment uint256, _block uint256, _round uint256) constant returns(address)
func (*BondingManagerCaller) GetDelegator ¶
func (_BondingManager *BondingManagerCaller) GetDelegator(opts *bind.CallOpts, _delegator common.Address) (struct { BondedAmount *big.Int UnbondedAmount *big.Int DelegateAddress common.Address DelegatedAmount *big.Int StartRound *big.Int WithdrawRound *big.Int LastClaimTokenPoolsSharesRound *big.Int }, error)
GetDelegator is a free data retrieval call binding the contract method 0xa64ad595.
Solidity: function getDelegator(_delegator address) constant returns(bondedAmount uint256, unbondedAmount uint256, delegateAddress address, delegatedAmount uint256, startRound uint256, withdrawRound uint256, lastClaimTokenPoolsSharesRound uint256)
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(_transcoder address) constant returns(address)
func (*BondingManagerCaller) GetTotalActiveStake ¶
func (_BondingManager *BondingManagerCaller) GetTotalActiveStake(opts *bind.CallOpts, _round *big.Int) (*big.Int, error)
GetTotalActiveStake is a free data retrieval call binding the contract method 0x77517765.
Solidity: function getTotalActiveStake(_round uint256) constant returns(uint256)
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 BlockRewardCut *big.Int FeeShare *big.Int PricePerSegment *big.Int PendingBlockRewardCut *big.Int PendingFeeShare *big.Int PendingPricePerSegment *big.Int }, error)
GetTranscoder is a free data retrieval call binding the contract method 0x5dce9948.
Solidity: function getTranscoder(_transcoder address) constant returns(lastRewardRound uint256, blockRewardCut uint256, feeShare uint256, pricePerSegment uint256, pendingBlockRewardCut uint256, pendingFeeShare uint256, pendingPricePerSegment 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) GetTranscoderTokenPoolsForRound ¶
func (_BondingManager *BondingManagerCaller) GetTranscoderTokenPoolsForRound(opts *bind.CallOpts, _transcoder common.Address, _round *big.Int) (struct { RewardPool *big.Int FeePool *big.Int TotalStake *big.Int UsedStake *big.Int }, error)
GetTranscoderTokenPoolsForRound is a free data retrieval call binding the contract method 0xb8b2fdfb.
Solidity: function getTranscoderTokenPoolsForRound(_transcoder address, _round uint256) constant returns(rewardPool uint256, feePool uint256, totalStake uint256, usedStake uint256)
func (*BondingManagerCaller) IsActiveTranscoder ¶
func (_BondingManager *BondingManagerCaller) IsActiveTranscoder(opts *bind.CallOpts, _transcoder common.Address, _round *big.Int) (bool, error)
IsActiveTranscoder is a free data retrieval call binding the contract method 0x7c0207cb.
Solidity: function isActiveTranscoder(_transcoder address, _round uint256) constant returns(bool)
func (*BondingManagerCaller) NumActiveTranscoders ¶
func (_BondingManager *BondingManagerCaller) NumActiveTranscoders(opts *bind.CallOpts) (*big.Int, error)
NumActiveTranscoders is a free data retrieval call binding the contract method 0x61e25d23.
Solidity: function numActiveTranscoders() constant returns(uint256)
func (*BondingManagerCaller) PERC_DIVISOR ¶
PERC_DIVISOR is a free data retrieval call binding the contract method 0xcce2a078.
Solidity: function PERC_DIVISOR() 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(_transcoder address) 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(_transcoder address) 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) ActiveTranscoderSet ¶
func (_BondingManager *BondingManagerCallerSession) ActiveTranscoderSet(arg0 *big.Int) (*big.Int, error)
ActiveTranscoderSet is a free data retrieval call binding the contract method 0x3da1c2f5.
Solidity: function activeTranscoderSet( uint256) constant returns(totalStake uint256)
func (*BondingManagerCallerSession) ActiveTranscoderTotalStake ¶
func (_BondingManager *BondingManagerCallerSession) ActiveTranscoderTotalStake(_transcoder common.Address, _round *big.Int) (*big.Int, error)
ActiveTranscoderTotalStake is a free data retrieval call binding the contract method 0xf2083220.
Solidity: function activeTranscoderTotalStake(_transcoder address, _round uint256) constant returns(uint256)
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) DelegatorStake ¶
func (_BondingManager *BondingManagerCallerSession) DelegatorStake(_delegator common.Address) (*big.Int, error)
DelegatorStake is a free data retrieval call binding the contract method 0x0906a8ce.
Solidity: function delegatorStake(_delegator address) 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(_delegator address) constant returns(uint8)
func (*BondingManagerCallerSession) DelegatorUnbondedAmount ¶
func (_BondingManager *BondingManagerCallerSession) DelegatorUnbondedAmount(_delegator common.Address) (*big.Int, error)
DelegatorUnbondedAmount is a free data retrieval call binding the contract method 0xc6f92022.
Solidity: function delegatorUnbondedAmount(_delegator address) constant returns(uint256)
func (*BondingManagerCallerSession) ElectActiveTranscoder ¶
func (_BondingManager *BondingManagerCallerSession) ElectActiveTranscoder(_maxPricePerSegment *big.Int, _block *big.Int, _round *big.Int) (common.Address, error)
ElectActiveTranscoder is a free data retrieval call binding the contract method 0x70b614a0.
Solidity: function electActiveTranscoder(_maxPricePerSegment uint256, _block uint256, _round uint256) constant returns(address)
func (*BondingManagerCallerSession) GetDelegator ¶
func (_BondingManager *BondingManagerCallerSession) GetDelegator(_delegator common.Address) (struct { BondedAmount *big.Int UnbondedAmount *big.Int DelegateAddress common.Address DelegatedAmount *big.Int StartRound *big.Int WithdrawRound *big.Int LastClaimTokenPoolsSharesRound *big.Int }, error)
GetDelegator is a free data retrieval call binding the contract method 0xa64ad595.
Solidity: function getDelegator(_delegator address) constant returns(bondedAmount uint256, unbondedAmount uint256, delegateAddress address, delegatedAmount uint256, startRound uint256, withdrawRound uint256, lastClaimTokenPoolsSharesRound uint256)
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(_transcoder address) constant returns(address)
func (*BondingManagerCallerSession) GetTotalActiveStake ¶
func (_BondingManager *BondingManagerCallerSession) GetTotalActiveStake(_round *big.Int) (*big.Int, error)
GetTotalActiveStake is a free data retrieval call binding the contract method 0x77517765.
Solidity: function getTotalActiveStake(_round uint256) constant returns(uint256)
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 BlockRewardCut *big.Int FeeShare *big.Int PricePerSegment *big.Int PendingBlockRewardCut *big.Int PendingFeeShare *big.Int PendingPricePerSegment *big.Int }, error)
GetTranscoder is a free data retrieval call binding the contract method 0x5dce9948.
Solidity: function getTranscoder(_transcoder address) constant returns(lastRewardRound uint256, blockRewardCut uint256, feeShare uint256, pricePerSegment uint256, pendingBlockRewardCut uint256, pendingFeeShare uint256, pendingPricePerSegment 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) GetTranscoderTokenPoolsForRound ¶
func (_BondingManager *BondingManagerCallerSession) GetTranscoderTokenPoolsForRound(_transcoder common.Address, _round *big.Int) (struct { RewardPool *big.Int FeePool *big.Int TotalStake *big.Int UsedStake *big.Int }, error)
GetTranscoderTokenPoolsForRound is a free data retrieval call binding the contract method 0xb8b2fdfb.
Solidity: function getTranscoderTokenPoolsForRound(_transcoder address, _round uint256) constant returns(rewardPool uint256, feePool uint256, totalStake uint256, usedStake uint256)
func (*BondingManagerCallerSession) IsActiveTranscoder ¶
func (_BondingManager *BondingManagerCallerSession) IsActiveTranscoder(_transcoder common.Address, _round *big.Int) (bool, error)
IsActiveTranscoder is a free data retrieval call binding the contract method 0x7c0207cb.
Solidity: function isActiveTranscoder(_transcoder address, _round uint256) constant returns(bool)
func (*BondingManagerCallerSession) NumActiveTranscoders ¶
func (_BondingManager *BondingManagerCallerSession) NumActiveTranscoders() (*big.Int, error)
NumActiveTranscoders is a free data retrieval call binding the contract method 0x61e25d23.
Solidity: function numActiveTranscoders() constant returns(uint256)
func (*BondingManagerCallerSession) PERC_DIVISOR ¶
func (_BondingManager *BondingManagerCallerSession) PERC_DIVISOR() (*big.Int, error)
PERC_DIVISOR is a free data retrieval call binding the contract method 0xcce2a078.
Solidity: function PERC_DIVISOR() 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(_transcoder address) 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(_transcoder address) 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 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 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) ActiveTranscoderSet ¶
ActiveTranscoderSet is a free data retrieval call binding the contract method 0x3da1c2f5.
Solidity: function activeTranscoderSet( uint256) constant returns(totalStake uint256)
func (*BondingManagerSession) ActiveTranscoderTotalStake ¶
func (_BondingManager *BondingManagerSession) ActiveTranscoderTotalStake(_transcoder common.Address, _round *big.Int) (*big.Int, error)
ActiveTranscoderTotalStake is a free data retrieval call binding the contract method 0xf2083220.
Solidity: function activeTranscoderTotalStake(_transcoder address, _round uint256) constant returns(uint256)
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(_amount uint256, _to address) returns()
func (*BondingManagerSession) ClaimTokenPoolsShares ¶
func (_BondingManager *BondingManagerSession) ClaimTokenPoolsShares(_endRound *big.Int) (*types.Transaction, error)
ClaimTokenPoolsShares is a paid mutator transaction binding the contract method 0x2c9509f5.
Solidity: function claimTokenPoolsShares(_endRound uint256) 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) DelegatorStake ¶
func (_BondingManager *BondingManagerSession) DelegatorStake(_delegator common.Address) (*big.Int, error)
DelegatorStake is a free data retrieval call binding the contract method 0x0906a8ce.
Solidity: function delegatorStake(_delegator address) 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(_delegator address) constant returns(uint8)
func (*BondingManagerSession) DelegatorUnbondedAmount ¶
func (_BondingManager *BondingManagerSession) DelegatorUnbondedAmount(_delegator common.Address) (*big.Int, error)
DelegatorUnbondedAmount is a free data retrieval call binding the contract method 0xc6f92022.
Solidity: function delegatorUnbondedAmount(_delegator address) constant returns(uint256)
func (*BondingManagerSession) ElectActiveTranscoder ¶
func (_BondingManager *BondingManagerSession) ElectActiveTranscoder(_maxPricePerSegment *big.Int, _block *big.Int, _round *big.Int) (common.Address, error)
ElectActiveTranscoder is a free data retrieval call binding the contract method 0x70b614a0.
Solidity: function electActiveTranscoder(_maxPricePerSegment uint256, _block uint256, _round uint256) constant returns(address)
func (*BondingManagerSession) GetDelegator ¶
func (_BondingManager *BondingManagerSession) GetDelegator(_delegator common.Address) (struct { BondedAmount *big.Int UnbondedAmount *big.Int DelegateAddress common.Address DelegatedAmount *big.Int StartRound *big.Int WithdrawRound *big.Int LastClaimTokenPoolsSharesRound *big.Int }, error)
GetDelegator is a free data retrieval call binding the contract method 0xa64ad595.
Solidity: function getDelegator(_delegator address) constant returns(bondedAmount uint256, unbondedAmount uint256, delegateAddress address, delegatedAmount uint256, startRound uint256, withdrawRound uint256, lastClaimTokenPoolsSharesRound uint256)
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(_transcoder address) constant returns(address)
func (*BondingManagerSession) GetTotalActiveStake ¶
func (_BondingManager *BondingManagerSession) GetTotalActiveStake(_round *big.Int) (*big.Int, error)
GetTotalActiveStake is a free data retrieval call binding the contract method 0x77517765.
Solidity: function getTotalActiveStake(_round uint256) constant returns(uint256)
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 BlockRewardCut *big.Int FeeShare *big.Int PricePerSegment *big.Int PendingBlockRewardCut *big.Int PendingFeeShare *big.Int PendingPricePerSegment *big.Int }, error)
GetTranscoder is a free data retrieval call binding the contract method 0x5dce9948.
Solidity: function getTranscoder(_transcoder address) constant returns(lastRewardRound uint256, blockRewardCut uint256, feeShare uint256, pricePerSegment uint256, pendingBlockRewardCut uint256, pendingFeeShare uint256, pendingPricePerSegment 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) GetTranscoderTokenPoolsForRound ¶
func (_BondingManager *BondingManagerSession) GetTranscoderTokenPoolsForRound(_transcoder common.Address, _round *big.Int) (struct { RewardPool *big.Int FeePool *big.Int TotalStake *big.Int UsedStake *big.Int }, error)
GetTranscoderTokenPoolsForRound is a free data retrieval call binding the contract method 0xb8b2fdfb.
Solidity: function getTranscoderTokenPoolsForRound(_transcoder address, _round uint256) constant returns(rewardPool uint256, feePool uint256, totalStake uint256, usedStake uint256)
func (*BondingManagerSession) IsActiveTranscoder ¶
func (_BondingManager *BondingManagerSession) IsActiveTranscoder(_transcoder common.Address, _round *big.Int) (bool, error)
IsActiveTranscoder is a free data retrieval call binding the contract method 0x7c0207cb.
Solidity: function isActiveTranscoder(_transcoder address, _round uint256) constant returns(bool)
func (*BondingManagerSession) NumActiveTranscoders ¶
func (_BondingManager *BondingManagerSession) NumActiveTranscoders() (*big.Int, error)
NumActiveTranscoders is a free data retrieval call binding the contract method 0x61e25d23.
Solidity: function numActiveTranscoders() constant returns(uint256)
func (*BondingManagerSession) PERC_DIVISOR ¶
func (_BondingManager *BondingManagerSession) PERC_DIVISOR() (*big.Int, error)
PERC_DIVISOR is a free data retrieval call binding the contract method 0xcce2a078.
Solidity: function PERC_DIVISOR() constant returns(uint256)
func (*BondingManagerSession) ResignAsTranscoder ¶
func (_BondingManager *BondingManagerSession) ResignAsTranscoder() (*types.Transaction, error)
ResignAsTranscoder is a paid mutator transaction binding the contract method 0x311f9e18.
Solidity: function resignAsTranscoder() 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) SetActiveTranscoders ¶
func (_BondingManager *BondingManagerSession) SetActiveTranscoders() (*types.Transaction, error)
SetActiveTranscoders is a paid mutator transaction binding the contract method 0x242ed69f.
Solidity: function setActiveTranscoders() 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(_controller address) 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(_numActiveTranscoders uint256) returns()
func (*BondingManagerSession) SetNumTranscoders ¶
func (_BondingManager *BondingManagerSession) SetNumTranscoders(_numTranscoders *big.Int) (*types.Transaction, error)
SetNumTranscoders is a paid mutator transaction binding the contract method 0x60c79d00.
Solidity: function setNumTranscoders(_numTranscoders uint256) returns()
func (*BondingManagerSession) SetParameters ¶
func (_BondingManager *BondingManagerSession) SetParameters(_unbondingPeriod uint64, _numTranscoders *big.Int, _numActiveTranscoders *big.Int) (*types.Transaction, error)
SetParameters is a paid mutator transaction binding the contract method 0xc8c50553.
Solidity: function setParameters(_unbondingPeriod uint64, _numTranscoders uint256, _numActiveTranscoders uint256) 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(_unbondingPeriod uint64) 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(_transcoder address, _finder address, _slashAmount uint256, _finderFee uint256) 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(_blockRewardCut *big.Int, _feeShare *big.Int, _pricePerSegment *big.Int) (*types.Transaction, error)
Transcoder is a paid mutator transaction binding the contract method 0x85aaff62.
Solidity: function transcoder(_blockRewardCut uint256, _feeShare uint256, _pricePerSegment uint256) 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(_transcoder address) 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(_transcoder address) constant returns(uint256)
func (*BondingManagerSession) Unbond ¶
func (_BondingManager *BondingManagerSession) Unbond() (*types.Transaction, error)
Unbond is a paid mutator transaction binding the contract method 0x5df6a6bc.
Solidity: function unbond() 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(_transcoder address, _fees uint256, _round uint256) returns()
func (*BondingManagerSession) Withdraw ¶
func (_BondingManager *BondingManagerSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
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(_amount uint256, _to address) returns()
func (*BondingManagerTransactor) ClaimTokenPoolsShares ¶
func (_BondingManager *BondingManagerTransactor) ClaimTokenPoolsShares(opts *bind.TransactOpts, _endRound *big.Int) (*types.Transaction, error)
ClaimTokenPoolsShares is a paid mutator transaction binding the contract method 0x2c9509f5.
Solidity: function claimTokenPoolsShares(_endRound uint256) returns()
func (*BondingManagerTransactor) ResignAsTranscoder ¶
func (_BondingManager *BondingManagerTransactor) ResignAsTranscoder(opts *bind.TransactOpts) (*types.Transaction, error)
ResignAsTranscoder is a paid mutator transaction binding the contract method 0x311f9e18.
Solidity: function resignAsTranscoder() 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) SetActiveTranscoders ¶
func (_BondingManager *BondingManagerTransactor) SetActiveTranscoders(opts *bind.TransactOpts) (*types.Transaction, error)
SetActiveTranscoders is a paid mutator transaction binding the contract method 0x242ed69f.
Solidity: function setActiveTranscoders() 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(_controller address) 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(_numActiveTranscoders uint256) returns()
func (*BondingManagerTransactor) SetNumTranscoders ¶
func (_BondingManager *BondingManagerTransactor) SetNumTranscoders(opts *bind.TransactOpts, _numTranscoders *big.Int) (*types.Transaction, error)
SetNumTranscoders is a paid mutator transaction binding the contract method 0x60c79d00.
Solidity: function setNumTranscoders(_numTranscoders uint256) returns()
func (*BondingManagerTransactor) SetParameters ¶
func (_BondingManager *BondingManagerTransactor) SetParameters(opts *bind.TransactOpts, _unbondingPeriod uint64, _numTranscoders *big.Int, _numActiveTranscoders *big.Int) (*types.Transaction, error)
SetParameters is a paid mutator transaction binding the contract method 0xc8c50553.
Solidity: function setParameters(_unbondingPeriod uint64, _numTranscoders uint256, _numActiveTranscoders uint256) 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(_unbondingPeriod uint64) 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(_transcoder address, _finder address, _slashAmount uint256, _finderFee uint256) returns()
func (*BondingManagerTransactor) Transcoder ¶
func (_BondingManager *BondingManagerTransactor) Transcoder(opts *bind.TransactOpts, _blockRewardCut *big.Int, _feeShare *big.Int, _pricePerSegment *big.Int) (*types.Transaction, error)
Transcoder is a paid mutator transaction binding the contract method 0x85aaff62.
Solidity: function transcoder(_blockRewardCut uint256, _feeShare uint256, _pricePerSegment uint256) returns()
func (*BondingManagerTransactor) Unbond ¶
func (_BondingManager *BondingManagerTransactor) Unbond(opts *bind.TransactOpts) (*types.Transaction, error)
Unbond is a paid mutator transaction binding the contract method 0x5df6a6bc.
Solidity: function unbond() 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(_transcoder address, _fees uint256, _round uint256) returns()
func (*BondingManagerTransactor) Withdraw ¶
func (_BondingManager *BondingManagerTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() 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(_amount uint256, _to address) returns()
func (*BondingManagerTransactorSession) ClaimTokenPoolsShares ¶
func (_BondingManager *BondingManagerTransactorSession) ClaimTokenPoolsShares(_endRound *big.Int) (*types.Transaction, error)
ClaimTokenPoolsShares is a paid mutator transaction binding the contract method 0x2c9509f5.
Solidity: function claimTokenPoolsShares(_endRound uint256) returns()
func (*BondingManagerTransactorSession) ResignAsTranscoder ¶
func (_BondingManager *BondingManagerTransactorSession) ResignAsTranscoder() (*types.Transaction, error)
ResignAsTranscoder is a paid mutator transaction binding the contract method 0x311f9e18.
Solidity: function resignAsTranscoder() 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) SetActiveTranscoders ¶
func (_BondingManager *BondingManagerTransactorSession) SetActiveTranscoders() (*types.Transaction, error)
SetActiveTranscoders is a paid mutator transaction binding the contract method 0x242ed69f.
Solidity: function setActiveTranscoders() 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(_controller address) 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(_numActiveTranscoders uint256) returns()
func (*BondingManagerTransactorSession) SetNumTranscoders ¶
func (_BondingManager *BondingManagerTransactorSession) SetNumTranscoders(_numTranscoders *big.Int) (*types.Transaction, error)
SetNumTranscoders is a paid mutator transaction binding the contract method 0x60c79d00.
Solidity: function setNumTranscoders(_numTranscoders uint256) returns()
func (*BondingManagerTransactorSession) SetParameters ¶
func (_BondingManager *BondingManagerTransactorSession) SetParameters(_unbondingPeriod uint64, _numTranscoders *big.Int, _numActiveTranscoders *big.Int) (*types.Transaction, error)
SetParameters is a paid mutator transaction binding the contract method 0xc8c50553.
Solidity: function setParameters(_unbondingPeriod uint64, _numTranscoders uint256, _numActiveTranscoders uint256) 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(_unbondingPeriod uint64) 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(_transcoder address, _finder address, _slashAmount uint256, _finderFee uint256) returns()
func (*BondingManagerTransactorSession) Transcoder ¶
func (_BondingManager *BondingManagerTransactorSession) Transcoder(_blockRewardCut *big.Int, _feeShare *big.Int, _pricePerSegment *big.Int) (*types.Transaction, error)
Transcoder is a paid mutator transaction binding the contract method 0x85aaff62.
Solidity: function transcoder(_blockRewardCut uint256, _feeShare uint256, _pricePerSegment uint256) returns()
func (*BondingManagerTransactorSession) Unbond ¶
func (_BondingManager *BondingManagerTransactorSession) Unbond() (*types.Transaction, error)
Unbond is a paid mutator transaction binding the contract method 0x5df6a6bc.
Solidity: function unbond() 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(_transcoder address, _fees uint256, _round uint256) returns()
func (*BondingManagerTransactorSession) Withdraw ¶
func (_BondingManager *BondingManagerTransactorSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
type Controller ¶
type Controller struct {
ControllerCaller // Read-only binding to the contract
ControllerTransactor // Write-only binding to the contract
}
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(_id bytes32) constant returns(address)
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(_id bytes32) constant returns(address)
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 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(_id bytes32) constant returns(address)
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) SetContract ¶
func (_Controller *ControllerSession) SetContract(_id [32]byte, _contract common.Address) (*types.Transaction, error)
SetContract is a paid mutator transaction binding the contract method 0x7ed77c9c.
Solidity: function setContract(_id bytes32, _contract address) 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(newOwner address) 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(_id bytes32, _controller address) returns()
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) SetContract ¶
func (_Controller *ControllerTransactor) SetContract(opts *bind.TransactOpts, _id [32]byte, _contract common.Address) (*types.Transaction, error)
SetContract is a paid mutator transaction binding the contract method 0x7ed77c9c.
Solidity: function setContract(_id bytes32, _contract address) 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(newOwner address) 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(_id bytes32, _controller address) 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) SetContract ¶
func (_Controller *ControllerTransactorSession) SetContract(_id [32]byte, _contract common.Address) (*types.Transaction, error)
SetContract is a paid mutator transaction binding the contract method 0x7ed77c9c.
Solidity: function setContract(_id bytes32, _contract address) 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(newOwner address) 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(_id bytes32, _controller address) returns()
type JobsManager ¶
type JobsManager struct {
JobsManagerCaller // Read-only binding to the contract
JobsManagerTransactor // Write-only binding to the contract
}
JobsManager is an auto generated Go binding around an Ethereum contract.
func NewJobsManager ¶
func NewJobsManager(address common.Address, backend bind.ContractBackend) (*JobsManager, error)
NewJobsManager creates a new instance of JobsManager, bound to a specific deployed contract.
type JobsManagerCaller ¶
type JobsManagerCaller struct {
// contains filtered or unexported fields
}
JobsManagerCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewJobsManagerCaller ¶
func NewJobsManagerCaller(address common.Address, caller bind.ContractCaller) (*JobsManagerCaller, error)
NewJobsManagerCaller creates a new read-only instance of JobsManager, bound to a specific deployed contract.
func (*JobsManagerCaller) Broadcasters ¶
func (_JobsManager *JobsManagerCaller) Broadcasters(opts *bind.CallOpts, arg0 common.Address) (struct { Deposit *big.Int WithdrawBlock *big.Int }, error)
Broadcasters is a free data retrieval call binding the contract method 0x88cc1093.
Solidity: function broadcasters( address) constant returns(deposit uint256, withdrawBlock uint256)
func (*JobsManagerCaller) Controller ¶
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*JobsManagerCaller) DoubleClaimSegmentSlashAmount ¶
func (_JobsManager *JobsManagerCaller) DoubleClaimSegmentSlashAmount(opts *bind.CallOpts) (*big.Int, error)
DoubleClaimSegmentSlashAmount is a free data retrieval call binding the contract method 0x6d7221d5.
Solidity: function doubleClaimSegmentSlashAmount() constant returns(uint256)
func (*JobsManagerCaller) FailedVerificationSlashAmount ¶
func (_JobsManager *JobsManagerCaller) FailedVerificationSlashAmount(opts *bind.CallOpts) (*big.Int, error)
FailedVerificationSlashAmount is a free data retrieval call binding the contract method 0xbe5c2423.
Solidity: function failedVerificationSlashAmount() constant returns(uint256)
func (*JobsManagerCaller) FinderFee ¶
FinderFee is a free data retrieval call binding the contract method 0x1e6b0e44.
Solidity: function finderFee() constant returns(uint256)
func (*JobsManagerCaller) GetClaim ¶
func (_JobsManager *JobsManagerCaller) GetClaim(opts *bind.CallOpts, _jobId *big.Int, _claimId *big.Int) (struct { SegmentRange [2]*big.Int ClaimRoot [32]byte ClaimBlock *big.Int EndVerificationBlock *big.Int EndSlashingBlock *big.Int Status uint8 }, error)
GetClaim is a free data retrieval call binding the contract method 0x427a2fc2.
Solidity: function getClaim(_jobId uint256, _claimId uint256) constant returns(segmentRange uint256[2], claimRoot bytes32, claimBlock uint256, endVerificationBlock uint256, endSlashingBlock uint256, status uint8)
func (*JobsManagerCaller) GetJob ¶
func (_JobsManager *JobsManagerCaller) GetJob(opts *bind.CallOpts, _jobId *big.Int) (struct { StreamId string TranscodingOptions string MaxPricePerSegment *big.Int BroadcasterAddress common.Address TranscoderAddress common.Address CreationRound *big.Int CreationBlock *big.Int EndBlock *big.Int Escrow *big.Int TotalClaims *big.Int }, error)
GetJob is a free data retrieval call binding the contract method 0xbf22c457.
Solidity: function getJob(_jobId uint256) constant returns(streamId string, transcodingOptions string, maxPricePerSegment uint256, broadcasterAddress address, transcoderAddress address, creationRound uint256, creationBlock uint256, endBlock uint256, escrow uint256, totalClaims uint256)
func (*JobsManagerCaller) IsClaimSegmentVerified ¶
func (_JobsManager *JobsManagerCaller) IsClaimSegmentVerified(opts *bind.CallOpts, _jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int) (bool, error)
IsClaimSegmentVerified is a free data retrieval call binding the contract method 0x71d6dbe1.
Solidity: function isClaimSegmentVerified(_jobId uint256, _claimId uint256, _segmentNumber uint256) constant returns(bool)
func (*JobsManagerCaller) JobStatus ¶
func (_JobsManager *JobsManagerCaller) JobStatus(opts *bind.CallOpts, _jobId *big.Int) (uint8, error)
JobStatus is a free data retrieval call binding the contract method 0xa8e5e219.
Solidity: function jobStatus(_jobId uint256) constant returns(uint8)
func (*JobsManagerCaller) Jobs ¶
func (_JobsManager *JobsManagerCaller) Jobs(opts *bind.CallOpts, arg0 *big.Int) (struct { JobId *big.Int StreamId string TranscodingOptions string MaxPricePerSegment *big.Int BroadcasterAddress common.Address TranscoderAddress common.Address CreationRound *big.Int CreationBlock *big.Int EndBlock *big.Int Escrow *big.Int }, error)
Jobs is a free data retrieval call binding the contract method 0x180aedf3.
Solidity: function jobs( uint256) constant returns(jobId uint256, streamId string, transcodingOptions string, maxPricePerSegment uint256, broadcasterAddress address, transcoderAddress address, creationRound uint256, creationBlock uint256, endBlock uint256, escrow uint256)
func (*JobsManagerCaller) MissedVerificationSlashAmount ¶
func (_JobsManager *JobsManagerCaller) MissedVerificationSlashAmount(opts *bind.CallOpts) (*big.Int, error)
MissedVerificationSlashAmount is a free data retrieval call binding the contract method 0x32b5b2d1.
Solidity: function missedVerificationSlashAmount() constant returns(uint256)
func (*JobsManagerCaller) NumJobs ¶
NumJobs is a free data retrieval call binding the contract method 0x9212051c.
Solidity: function numJobs() constant returns(uint256)
func (*JobsManagerCaller) PERC_DIVISOR ¶
PERC_DIVISOR is a free data retrieval call binding the contract method 0xcce2a078.
Solidity: function PERC_DIVISOR() constant returns(uint256)
func (*JobsManagerCaller) SlashingPeriod ¶
SlashingPeriod is a free data retrieval call binding the contract method 0xed24f661.
Solidity: function slashingPeriod() constant returns(uint256)
func (*JobsManagerCaller) TargetContractId ¶
func (_JobsManager *JobsManagerCaller) 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 (*JobsManagerCaller) VerificationPeriod ¶
VerificationPeriod is a free data retrieval call binding the contract method 0xb1bb7e0f.
Solidity: function verificationPeriod() constant returns(uint256)
func (*JobsManagerCaller) VerificationRate ¶
func (_JobsManager *JobsManagerCaller) VerificationRate(opts *bind.CallOpts) (uint64, error)
VerificationRate is a free data retrieval call binding the contract method 0x7af8b87d.
Solidity: function verificationRate() constant returns(uint64)
type JobsManagerCallerRaw ¶
type JobsManagerCallerRaw struct {
Contract *JobsManagerCaller // Generic read-only contract binding to access the raw methods on
}
JobsManagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*JobsManagerCallerRaw) Call ¶
func (_JobsManager *JobsManagerCallerRaw) 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 JobsManagerCallerSession ¶
type JobsManagerCallerSession struct {
Contract *JobsManagerCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
JobsManagerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*JobsManagerCallerSession) Broadcasters ¶
func (_JobsManager *JobsManagerCallerSession) Broadcasters(arg0 common.Address) (struct { Deposit *big.Int WithdrawBlock *big.Int }, error)
Broadcasters is a free data retrieval call binding the contract method 0x88cc1093.
Solidity: function broadcasters( address) constant returns(deposit uint256, withdrawBlock uint256)
func (*JobsManagerCallerSession) Controller ¶
func (_JobsManager *JobsManagerCallerSession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*JobsManagerCallerSession) DoubleClaimSegmentSlashAmount ¶
func (_JobsManager *JobsManagerCallerSession) DoubleClaimSegmentSlashAmount() (*big.Int, error)
DoubleClaimSegmentSlashAmount is a free data retrieval call binding the contract method 0x6d7221d5.
Solidity: function doubleClaimSegmentSlashAmount() constant returns(uint256)
func (*JobsManagerCallerSession) FailedVerificationSlashAmount ¶
func (_JobsManager *JobsManagerCallerSession) FailedVerificationSlashAmount() (*big.Int, error)
FailedVerificationSlashAmount is a free data retrieval call binding the contract method 0xbe5c2423.
Solidity: function failedVerificationSlashAmount() constant returns(uint256)
func (*JobsManagerCallerSession) FinderFee ¶
func (_JobsManager *JobsManagerCallerSession) FinderFee() (*big.Int, error)
FinderFee is a free data retrieval call binding the contract method 0x1e6b0e44.
Solidity: function finderFee() constant returns(uint256)
func (*JobsManagerCallerSession) GetClaim ¶
func (_JobsManager *JobsManagerCallerSession) GetClaim(_jobId *big.Int, _claimId *big.Int) (struct { SegmentRange [2]*big.Int ClaimRoot [32]byte ClaimBlock *big.Int EndVerificationBlock *big.Int EndSlashingBlock *big.Int Status uint8 }, error)
GetClaim is a free data retrieval call binding the contract method 0x427a2fc2.
Solidity: function getClaim(_jobId uint256, _claimId uint256) constant returns(segmentRange uint256[2], claimRoot bytes32, claimBlock uint256, endVerificationBlock uint256, endSlashingBlock uint256, status uint8)
func (*JobsManagerCallerSession) GetJob ¶
func (_JobsManager *JobsManagerCallerSession) GetJob(_jobId *big.Int) (struct { StreamId string TranscodingOptions string MaxPricePerSegment *big.Int BroadcasterAddress common.Address TranscoderAddress common.Address CreationRound *big.Int CreationBlock *big.Int EndBlock *big.Int Escrow *big.Int TotalClaims *big.Int }, error)
GetJob is a free data retrieval call binding the contract method 0xbf22c457.
Solidity: function getJob(_jobId uint256) constant returns(streamId string, transcodingOptions string, maxPricePerSegment uint256, broadcasterAddress address, transcoderAddress address, creationRound uint256, creationBlock uint256, endBlock uint256, escrow uint256, totalClaims uint256)
func (*JobsManagerCallerSession) IsClaimSegmentVerified ¶
func (_JobsManager *JobsManagerCallerSession) IsClaimSegmentVerified(_jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int) (bool, error)
IsClaimSegmentVerified is a free data retrieval call binding the contract method 0x71d6dbe1.
Solidity: function isClaimSegmentVerified(_jobId uint256, _claimId uint256, _segmentNumber uint256) constant returns(bool)
func (*JobsManagerCallerSession) JobStatus ¶
func (_JobsManager *JobsManagerCallerSession) JobStatus(_jobId *big.Int) (uint8, error)
JobStatus is a free data retrieval call binding the contract method 0xa8e5e219.
Solidity: function jobStatus(_jobId uint256) constant returns(uint8)
func (*JobsManagerCallerSession) Jobs ¶
func (_JobsManager *JobsManagerCallerSession) Jobs(arg0 *big.Int) (struct { JobId *big.Int StreamId string TranscodingOptions string MaxPricePerSegment *big.Int BroadcasterAddress common.Address TranscoderAddress common.Address CreationRound *big.Int CreationBlock *big.Int EndBlock *big.Int Escrow *big.Int }, error)
Jobs is a free data retrieval call binding the contract method 0x180aedf3.
Solidity: function jobs( uint256) constant returns(jobId uint256, streamId string, transcodingOptions string, maxPricePerSegment uint256, broadcasterAddress address, transcoderAddress address, creationRound uint256, creationBlock uint256, endBlock uint256, escrow uint256)
func (*JobsManagerCallerSession) MissedVerificationSlashAmount ¶
func (_JobsManager *JobsManagerCallerSession) MissedVerificationSlashAmount() (*big.Int, error)
MissedVerificationSlashAmount is a free data retrieval call binding the contract method 0x32b5b2d1.
Solidity: function missedVerificationSlashAmount() constant returns(uint256)
func (*JobsManagerCallerSession) NumJobs ¶
func (_JobsManager *JobsManagerCallerSession) NumJobs() (*big.Int, error)
NumJobs is a free data retrieval call binding the contract method 0x9212051c.
Solidity: function numJobs() constant returns(uint256)
func (*JobsManagerCallerSession) PERC_DIVISOR ¶
func (_JobsManager *JobsManagerCallerSession) PERC_DIVISOR() (*big.Int, error)
PERC_DIVISOR is a free data retrieval call binding the contract method 0xcce2a078.
Solidity: function PERC_DIVISOR() constant returns(uint256)
func (*JobsManagerCallerSession) SlashingPeriod ¶
func (_JobsManager *JobsManagerCallerSession) SlashingPeriod() (*big.Int, error)
SlashingPeriod is a free data retrieval call binding the contract method 0xed24f661.
Solidity: function slashingPeriod() constant returns(uint256)
func (*JobsManagerCallerSession) TargetContractId ¶
func (_JobsManager *JobsManagerCallerSession) TargetContractId() ([32]byte, error)
TargetContractId is a free data retrieval call binding the contract method 0x51720b41.
Solidity: function targetContractId() constant returns(bytes32)
func (*JobsManagerCallerSession) VerificationPeriod ¶
func (_JobsManager *JobsManagerCallerSession) VerificationPeriod() (*big.Int, error)
VerificationPeriod is a free data retrieval call binding the contract method 0xb1bb7e0f.
Solidity: function verificationPeriod() constant returns(uint256)
func (*JobsManagerCallerSession) VerificationRate ¶
func (_JobsManager *JobsManagerCallerSession) VerificationRate() (uint64, error)
VerificationRate is a free data retrieval call binding the contract method 0x7af8b87d.
Solidity: function verificationRate() constant returns(uint64)
type JobsManagerRaw ¶
type JobsManagerRaw struct {
Contract *JobsManager // Generic contract binding to access the raw methods on
}
JobsManagerRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*JobsManagerRaw) Call ¶
func (_JobsManager *JobsManagerRaw) 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 (*JobsManagerRaw) Transact ¶
func (_JobsManager *JobsManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*JobsManagerRaw) Transfer ¶
func (_JobsManager *JobsManagerRaw) 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 JobsManagerSession ¶
type JobsManagerSession struct {
Contract *JobsManager // 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
}
JobsManagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*JobsManagerSession) BatchDistributeFees ¶
func (_JobsManager *JobsManagerSession) BatchDistributeFees(_jobId *big.Int, _claimIds []*big.Int) (*types.Transaction, error)
BatchDistributeFees is a paid mutator transaction binding the contract method 0x8978fc79.
Solidity: function batchDistributeFees(_jobId uint256, _claimIds uint256[]) returns()
func (*JobsManagerSession) Broadcasters ¶
func (_JobsManager *JobsManagerSession) Broadcasters(arg0 common.Address) (struct { Deposit *big.Int WithdrawBlock *big.Int }, error)
Broadcasters is a free data retrieval call binding the contract method 0x88cc1093.
Solidity: function broadcasters( address) constant returns(deposit uint256, withdrawBlock uint256)
func (*JobsManagerSession) ClaimWork ¶
func (_JobsManager *JobsManagerSession) ClaimWork(_jobId *big.Int, _segmentRange [2]*big.Int, _claimRoot [32]byte) (*types.Transaction, error)
ClaimWork is a paid mutator transaction binding the contract method 0x3ffe5eb7.
Solidity: function claimWork(_jobId uint256, _segmentRange uint256[2], _claimRoot bytes32) returns()
func (*JobsManagerSession) Controller ¶
func (_JobsManager *JobsManagerSession) Controller() (common.Address, error)
Controller is a free data retrieval call binding the contract method 0xf77c4791.
Solidity: function controller() constant returns(address)
func (*JobsManagerSession) Deposit ¶
func (_JobsManager *JobsManagerSession) Deposit(_amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(_amount uint256) returns()
func (*JobsManagerSession) DistributeFees ¶
func (_JobsManager *JobsManagerSession) DistributeFees(_jobId *big.Int, _claimId *big.Int) (*types.Transaction, error)
DistributeFees is a paid mutator transaction binding the contract method 0x7e69671a.
Solidity: function distributeFees(_jobId uint256, _claimId uint256) returns()
func (*JobsManagerSession) DoubleClaimSegmentSlash ¶
func (_JobsManager *JobsManagerSession) DoubleClaimSegmentSlash(_jobId *big.Int, _claimId1 *big.Int, _claimId2 *big.Int, _segmentNumber *big.Int) (*types.Transaction, error)
DoubleClaimSegmentSlash is a paid mutator transaction binding the contract method 0x64d563f1.
Solidity: function doubleClaimSegmentSlash(_jobId uint256, _claimId1 uint256, _claimId2 uint256, _segmentNumber uint256) returns()
func (*JobsManagerSession) DoubleClaimSegmentSlashAmount ¶
func (_JobsManager *JobsManagerSession) DoubleClaimSegmentSlashAmount() (*big.Int, error)
DoubleClaimSegmentSlashAmount is a free data retrieval call binding the contract method 0x6d7221d5.
Solidity: function doubleClaimSegmentSlashAmount() constant returns(uint256)
func (*JobsManagerSession) FailedVerificationSlashAmount ¶
func (_JobsManager *JobsManagerSession) FailedVerificationSlashAmount() (*big.Int, error)
FailedVerificationSlashAmount is a free data retrieval call binding the contract method 0xbe5c2423.
Solidity: function failedVerificationSlashAmount() constant returns(uint256)
func (*JobsManagerSession) FinderFee ¶
func (_JobsManager *JobsManagerSession) FinderFee() (*big.Int, error)
FinderFee is a free data retrieval call binding the contract method 0x1e6b0e44.
Solidity: function finderFee() constant returns(uint256)
func (*JobsManagerSession) GetClaim ¶
func (_JobsManager *JobsManagerSession) GetClaim(_jobId *big.Int, _claimId *big.Int) (struct { SegmentRange [2]*big.Int ClaimRoot [32]byte ClaimBlock *big.Int EndVerificationBlock *big.Int EndSlashingBlock *big.Int Status uint8 }, error)
GetClaim is a free data retrieval call binding the contract method 0x427a2fc2.
Solidity: function getClaim(_jobId uint256, _claimId uint256) constant returns(segmentRange uint256[2], claimRoot bytes32, claimBlock uint256, endVerificationBlock uint256, endSlashingBlock uint256, status uint8)
func (*JobsManagerSession) GetJob ¶
func (_JobsManager *JobsManagerSession) GetJob(_jobId *big.Int) (struct { StreamId string TranscodingOptions string MaxPricePerSegment *big.Int BroadcasterAddress common.Address TranscoderAddress common.Address CreationRound *big.Int CreationBlock *big.Int EndBlock *big.Int Escrow *big.Int TotalClaims *big.Int }, error)
GetJob is a free data retrieval call binding the contract method 0xbf22c457.
Solidity: function getJob(_jobId uint256) constant returns(streamId string, transcodingOptions string, maxPricePerSegment uint256, broadcasterAddress address, transcoderAddress address, creationRound uint256, creationBlock uint256, endBlock uint256, escrow uint256, totalClaims uint256)
func (*JobsManagerSession) IsClaimSegmentVerified ¶
func (_JobsManager *JobsManagerSession) IsClaimSegmentVerified(_jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int) (bool, error)
IsClaimSegmentVerified is a free data retrieval call binding the contract method 0x71d6dbe1.
Solidity: function isClaimSegmentVerified(_jobId uint256, _claimId uint256, _segmentNumber uint256) constant returns(bool)
func (*JobsManagerSession) Job ¶
func (_JobsManager *JobsManagerSession) Job(_streamId string, _transcodingOptions string, _maxPricePerSegment *big.Int, _endBlock *big.Int) (*types.Transaction, error)
Job is a paid mutator transaction binding the contract method 0x307c6f8e.
Solidity: function job(_streamId string, _transcodingOptions string, _maxPricePerSegment uint256, _endBlock uint256) returns()
func (*JobsManagerSession) JobStatus ¶
func (_JobsManager *JobsManagerSession) JobStatus(_jobId *big.Int) (uint8, error)
JobStatus is a free data retrieval call binding the contract method 0xa8e5e219.
Solidity: function jobStatus(_jobId uint256) constant returns(uint8)
func (*JobsManagerSession) Jobs ¶
func (_JobsManager *JobsManagerSession) Jobs(arg0 *big.Int) (struct { JobId *big.Int StreamId string TranscodingOptions string MaxPricePerSegment *big.Int BroadcasterAddress common.Address TranscoderAddress common.Address CreationRound *big.Int CreationBlock *big.Int EndBlock *big.Int Escrow *big.Int }, error)
Jobs is a free data retrieval call binding the contract method 0x180aedf3.
Solidity: function jobs( uint256) constant returns(jobId uint256, streamId string, transcodingOptions string, maxPricePerSegment uint256, broadcasterAddress address, transcoderAddress address, creationRound uint256, creationBlock uint256, endBlock uint256, escrow uint256)
func (*JobsManagerSession) MissedVerificationSlash ¶
func (_JobsManager *JobsManagerSession) MissedVerificationSlash(_jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int) (*types.Transaction, error)
MissedVerificationSlash is a paid mutator transaction binding the contract method 0xc8e8f487.
Solidity: function missedVerificationSlash(_jobId uint256, _claimId uint256, _segmentNumber uint256) returns()
func (*JobsManagerSession) MissedVerificationSlashAmount ¶
func (_JobsManager *JobsManagerSession) MissedVerificationSlashAmount() (*big.Int, error)
MissedVerificationSlashAmount is a free data retrieval call binding the contract method 0x32b5b2d1.
Solidity: function missedVerificationSlashAmount() constant returns(uint256)
func (*JobsManagerSession) NumJobs ¶
func (_JobsManager *JobsManagerSession) NumJobs() (*big.Int, error)
NumJobs is a free data retrieval call binding the contract method 0x9212051c.
Solidity: function numJobs() constant returns(uint256)
func (*JobsManagerSession) PERC_DIVISOR ¶
func (_JobsManager *JobsManagerSession) PERC_DIVISOR() (*big.Int, error)
PERC_DIVISOR is a free data retrieval call binding the contract method 0xcce2a078.
Solidity: function PERC_DIVISOR() constant returns(uint256)
func (*JobsManagerSession) ReceiveVerification ¶
func (_JobsManager *JobsManagerSession) ReceiveVerification(_jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int, _result bool) (*types.Transaction, error)
ReceiveVerification is a paid mutator transaction binding the contract method 0x1e0976f3.
Solidity: function receiveVerification(_jobId uint256, _claimId uint256, _segmentNumber uint256, _result bool) returns()
func (*JobsManagerSession) SetController ¶
func (_JobsManager *JobsManagerSession) SetController(_controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(_controller address) returns()
func (*JobsManagerSession) SetDoubleClaimSegmentSlashAmount ¶
func (_JobsManager *JobsManagerSession) SetDoubleClaimSegmentSlashAmount(_doubleClaimSegmentSlashAmount *big.Int) (*types.Transaction, error)
SetDoubleClaimSegmentSlashAmount is a paid mutator transaction binding the contract method 0x7d6ebe94.
Solidity: function setDoubleClaimSegmentSlashAmount(_doubleClaimSegmentSlashAmount uint256) returns()
func (*JobsManagerSession) SetFailedVerificationSlashAmount ¶
func (_JobsManager *JobsManagerSession) SetFailedVerificationSlashAmount(_failedVerificationSlashAmount *big.Int) (*types.Transaction, error)
SetFailedVerificationSlashAmount is a paid mutator transaction binding the contract method 0x71af5d0e.
Solidity: function setFailedVerificationSlashAmount(_failedVerificationSlashAmount uint256) returns()
func (*JobsManagerSession) SetFinderFee ¶
func (_JobsManager *JobsManagerSession) SetFinderFee(_finderFee *big.Int) (*types.Transaction, error)
SetFinderFee is a paid mutator transaction binding the contract method 0xbe427b1c.
Solidity: function setFinderFee(_finderFee uint256) returns()
func (*JobsManagerSession) SetMissedVerificationSlashAmount ¶
func (_JobsManager *JobsManagerSession) SetMissedVerificationSlashAmount(_missedVerificationSlashAmount *big.Int) (*types.Transaction, error)
SetMissedVerificationSlashAmount is a paid mutator transaction binding the contract method 0x0cb335c4.
Solidity: function setMissedVerificationSlashAmount(_missedVerificationSlashAmount uint256) returns()
func (*JobsManagerSession) SetParameters ¶
func (_JobsManager *JobsManagerSession) SetParameters(_verificationRate uint64, _verificationPeriod *big.Int, _slashingPeriod *big.Int, _failedVerificationSlashAmount *big.Int, _missedVerificationSlashAmount *big.Int, _doubleClaimSegmentSlashAmount *big.Int, _finderFee *big.Int) (*types.Transaction, error)
SetParameters is a paid mutator transaction binding the contract method 0x75a32727.
Solidity: function setParameters(_verificationRate uint64, _verificationPeriod uint256, _slashingPeriod uint256, _failedVerificationSlashAmount uint256, _missedVerificationSlashAmount uint256, _doubleClaimSegmentSlashAmount uint256, _finderFee uint256) returns()
func (*JobsManagerSession) SetSlashingPeriod ¶
func (_JobsManager *JobsManagerSession) SetSlashingPeriod(_slashingPeriod *big.Int) (*types.Transaction, error)
SetSlashingPeriod is a paid mutator transaction binding the contract method 0xd64f152a.
Solidity: function setSlashingPeriod(_slashingPeriod uint256) returns()
func (*JobsManagerSession) SetVerificationPeriod ¶
func (_JobsManager *JobsManagerSession) SetVerificationPeriod(_verificationPeriod *big.Int) (*types.Transaction, error)
SetVerificationPeriod is a paid mutator transaction binding the contract method 0x09bc1812.
Solidity: function setVerificationPeriod(_verificationPeriod uint256) returns()
func (*JobsManagerSession) SetVerificationRate ¶
func (_JobsManager *JobsManagerSession) SetVerificationRate(_verificationRate uint64) (*types.Transaction, error)
SetVerificationRate is a paid mutator transaction binding the contract method 0x15fa168a.
Solidity: function setVerificationRate(_verificationRate uint64) returns()
func (*JobsManagerSession) SlashingPeriod ¶
func (_JobsManager *JobsManagerSession) SlashingPeriod() (*big.Int, error)
SlashingPeriod is a free data retrieval call binding the contract method 0xed24f661.
Solidity: function slashingPeriod() constant returns(uint256)
func (*JobsManagerSession) TargetContractId ¶
func (_JobsManager *JobsManagerSession) TargetContractId() ([32]byte, error)
TargetContractId is a free data retrieval call binding the contract method 0x51720b41.
Solidity: function targetContractId() constant returns(bytes32)
func (*JobsManagerSession) VerificationPeriod ¶
func (_JobsManager *JobsManagerSession) VerificationPeriod() (*big.Int, error)
VerificationPeriod is a free data retrieval call binding the contract method 0xb1bb7e0f.
Solidity: function verificationPeriod() constant returns(uint256)
func (*JobsManagerSession) VerificationRate ¶
func (_JobsManager *JobsManagerSession) VerificationRate() (uint64, error)
VerificationRate is a free data retrieval call binding the contract method 0x7af8b87d.
Solidity: function verificationRate() constant returns(uint64)
func (*JobsManagerSession) Verify ¶
func (_JobsManager *JobsManagerSession) Verify(_jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int, _dataStorageHash string, _dataHashes [2][32]byte, _broadcasterSig []byte, _proof []byte) (*types.Transaction, error)
Verify is a paid mutator transaction binding the contract method 0x5a40ec7e.
Solidity: function verify(_jobId uint256, _claimId uint256, _segmentNumber uint256, _dataStorageHash string, _dataHashes bytes32[2], _broadcasterSig bytes, _proof bytes) returns()
func (*JobsManagerSession) Withdraw ¶
func (_JobsManager *JobsManagerSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
type JobsManagerTransactor ¶
type JobsManagerTransactor struct {
// contains filtered or unexported fields
}
JobsManagerTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewJobsManagerTransactor ¶
func NewJobsManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*JobsManagerTransactor, error)
NewJobsManagerTransactor creates a new write-only instance of JobsManager, bound to a specific deployed contract.
func (*JobsManagerTransactor) BatchDistributeFees ¶
func (_JobsManager *JobsManagerTransactor) BatchDistributeFees(opts *bind.TransactOpts, _jobId *big.Int, _claimIds []*big.Int) (*types.Transaction, error)
BatchDistributeFees is a paid mutator transaction binding the contract method 0x8978fc79.
Solidity: function batchDistributeFees(_jobId uint256, _claimIds uint256[]) returns()
func (*JobsManagerTransactor) ClaimWork ¶
func (_JobsManager *JobsManagerTransactor) ClaimWork(opts *bind.TransactOpts, _jobId *big.Int, _segmentRange [2]*big.Int, _claimRoot [32]byte) (*types.Transaction, error)
ClaimWork is a paid mutator transaction binding the contract method 0x3ffe5eb7.
Solidity: function claimWork(_jobId uint256, _segmentRange uint256[2], _claimRoot bytes32) returns()
func (*JobsManagerTransactor) Deposit ¶
func (_JobsManager *JobsManagerTransactor) Deposit(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(_amount uint256) returns()
func (*JobsManagerTransactor) DistributeFees ¶
func (_JobsManager *JobsManagerTransactor) DistributeFees(opts *bind.TransactOpts, _jobId *big.Int, _claimId *big.Int) (*types.Transaction, error)
DistributeFees is a paid mutator transaction binding the contract method 0x7e69671a.
Solidity: function distributeFees(_jobId uint256, _claimId uint256) returns()
func (*JobsManagerTransactor) DoubleClaimSegmentSlash ¶
func (_JobsManager *JobsManagerTransactor) DoubleClaimSegmentSlash(opts *bind.TransactOpts, _jobId *big.Int, _claimId1 *big.Int, _claimId2 *big.Int, _segmentNumber *big.Int) (*types.Transaction, error)
DoubleClaimSegmentSlash is a paid mutator transaction binding the contract method 0x64d563f1.
Solidity: function doubleClaimSegmentSlash(_jobId uint256, _claimId1 uint256, _claimId2 uint256, _segmentNumber uint256) returns()
func (*JobsManagerTransactor) Job ¶
func (_JobsManager *JobsManagerTransactor) Job(opts *bind.TransactOpts, _streamId string, _transcodingOptions string, _maxPricePerSegment *big.Int, _endBlock *big.Int) (*types.Transaction, error)
Job is a paid mutator transaction binding the contract method 0x307c6f8e.
Solidity: function job(_streamId string, _transcodingOptions string, _maxPricePerSegment uint256, _endBlock uint256) returns()
func (*JobsManagerTransactor) MissedVerificationSlash ¶
func (_JobsManager *JobsManagerTransactor) MissedVerificationSlash(opts *bind.TransactOpts, _jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int) (*types.Transaction, error)
MissedVerificationSlash is a paid mutator transaction binding the contract method 0xc8e8f487.
Solidity: function missedVerificationSlash(_jobId uint256, _claimId uint256, _segmentNumber uint256) returns()
func (*JobsManagerTransactor) ReceiveVerification ¶
func (_JobsManager *JobsManagerTransactor) ReceiveVerification(opts *bind.TransactOpts, _jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int, _result bool) (*types.Transaction, error)
ReceiveVerification is a paid mutator transaction binding the contract method 0x1e0976f3.
Solidity: function receiveVerification(_jobId uint256, _claimId uint256, _segmentNumber uint256, _result bool) returns()
func (*JobsManagerTransactor) SetController ¶
func (_JobsManager *JobsManagerTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(_controller address) returns()
func (*JobsManagerTransactor) SetDoubleClaimSegmentSlashAmount ¶
func (_JobsManager *JobsManagerTransactor) SetDoubleClaimSegmentSlashAmount(opts *bind.TransactOpts, _doubleClaimSegmentSlashAmount *big.Int) (*types.Transaction, error)
SetDoubleClaimSegmentSlashAmount is a paid mutator transaction binding the contract method 0x7d6ebe94.
Solidity: function setDoubleClaimSegmentSlashAmount(_doubleClaimSegmentSlashAmount uint256) returns()
func (*JobsManagerTransactor) SetFailedVerificationSlashAmount ¶
func (_JobsManager *JobsManagerTransactor) SetFailedVerificationSlashAmount(opts *bind.TransactOpts, _failedVerificationSlashAmount *big.Int) (*types.Transaction, error)
SetFailedVerificationSlashAmount is a paid mutator transaction binding the contract method 0x71af5d0e.
Solidity: function setFailedVerificationSlashAmount(_failedVerificationSlashAmount uint256) returns()
func (*JobsManagerTransactor) SetFinderFee ¶
func (_JobsManager *JobsManagerTransactor) SetFinderFee(opts *bind.TransactOpts, _finderFee *big.Int) (*types.Transaction, error)
SetFinderFee is a paid mutator transaction binding the contract method 0xbe427b1c.
Solidity: function setFinderFee(_finderFee uint256) returns()
func (*JobsManagerTransactor) SetMissedVerificationSlashAmount ¶
func (_JobsManager *JobsManagerTransactor) SetMissedVerificationSlashAmount(opts *bind.TransactOpts, _missedVerificationSlashAmount *big.Int) (*types.Transaction, error)
SetMissedVerificationSlashAmount is a paid mutator transaction binding the contract method 0x0cb335c4.
Solidity: function setMissedVerificationSlashAmount(_missedVerificationSlashAmount uint256) returns()
func (*JobsManagerTransactor) SetParameters ¶
func (_JobsManager *JobsManagerTransactor) SetParameters(opts *bind.TransactOpts, _verificationRate uint64, _verificationPeriod *big.Int, _slashingPeriod *big.Int, _failedVerificationSlashAmount *big.Int, _missedVerificationSlashAmount *big.Int, _doubleClaimSegmentSlashAmount *big.Int, _finderFee *big.Int) (*types.Transaction, error)
SetParameters is a paid mutator transaction binding the contract method 0x75a32727.
Solidity: function setParameters(_verificationRate uint64, _verificationPeriod uint256, _slashingPeriod uint256, _failedVerificationSlashAmount uint256, _missedVerificationSlashAmount uint256, _doubleClaimSegmentSlashAmount uint256, _finderFee uint256) returns()
func (*JobsManagerTransactor) SetSlashingPeriod ¶
func (_JobsManager *JobsManagerTransactor) SetSlashingPeriod(opts *bind.TransactOpts, _slashingPeriod *big.Int) (*types.Transaction, error)
SetSlashingPeriod is a paid mutator transaction binding the contract method 0xd64f152a.
Solidity: function setSlashingPeriod(_slashingPeriod uint256) returns()
func (*JobsManagerTransactor) SetVerificationPeriod ¶
func (_JobsManager *JobsManagerTransactor) SetVerificationPeriod(opts *bind.TransactOpts, _verificationPeriod *big.Int) (*types.Transaction, error)
SetVerificationPeriod is a paid mutator transaction binding the contract method 0x09bc1812.
Solidity: function setVerificationPeriod(_verificationPeriod uint256) returns()
func (*JobsManagerTransactor) SetVerificationRate ¶
func (_JobsManager *JobsManagerTransactor) SetVerificationRate(opts *bind.TransactOpts, _verificationRate uint64) (*types.Transaction, error)
SetVerificationRate is a paid mutator transaction binding the contract method 0x15fa168a.
Solidity: function setVerificationRate(_verificationRate uint64) returns()
func (*JobsManagerTransactor) Verify ¶
func (_JobsManager *JobsManagerTransactor) Verify(opts *bind.TransactOpts, _jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int, _dataStorageHash string, _dataHashes [2][32]byte, _broadcasterSig []byte, _proof []byte) (*types.Transaction, error)
Verify is a paid mutator transaction binding the contract method 0x5a40ec7e.
Solidity: function verify(_jobId uint256, _claimId uint256, _segmentNumber uint256, _dataStorageHash string, _dataHashes bytes32[2], _broadcasterSig bytes, _proof bytes) returns()
func (*JobsManagerTransactor) Withdraw ¶
func (_JobsManager *JobsManagerTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
type JobsManagerTransactorRaw ¶
type JobsManagerTransactorRaw struct {
Contract *JobsManagerTransactor // Generic write-only contract binding to access the raw methods on
}
JobsManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*JobsManagerTransactorRaw) Transact ¶
func (_JobsManager *JobsManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*JobsManagerTransactorRaw) Transfer ¶
func (_JobsManager *JobsManagerTransactorRaw) 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 JobsManagerTransactorSession ¶
type JobsManagerTransactorSession struct {
Contract *JobsManagerTransactor // Generic contract transactor binding to set the session for
TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}
JobsManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*JobsManagerTransactorSession) BatchDistributeFees ¶
func (_JobsManager *JobsManagerTransactorSession) BatchDistributeFees(_jobId *big.Int, _claimIds []*big.Int) (*types.Transaction, error)
BatchDistributeFees is a paid mutator transaction binding the contract method 0x8978fc79.
Solidity: function batchDistributeFees(_jobId uint256, _claimIds uint256[]) returns()
func (*JobsManagerTransactorSession) ClaimWork ¶
func (_JobsManager *JobsManagerTransactorSession) ClaimWork(_jobId *big.Int, _segmentRange [2]*big.Int, _claimRoot [32]byte) (*types.Transaction, error)
ClaimWork is a paid mutator transaction binding the contract method 0x3ffe5eb7.
Solidity: function claimWork(_jobId uint256, _segmentRange uint256[2], _claimRoot bytes32) returns()
func (*JobsManagerTransactorSession) Deposit ¶
func (_JobsManager *JobsManagerTransactorSession) Deposit(_amount *big.Int) (*types.Transaction, error)
Deposit is a paid mutator transaction binding the contract method 0xb6b55f25.
Solidity: function deposit(_amount uint256) returns()
func (*JobsManagerTransactorSession) DistributeFees ¶
func (_JobsManager *JobsManagerTransactorSession) DistributeFees(_jobId *big.Int, _claimId *big.Int) (*types.Transaction, error)
DistributeFees is a paid mutator transaction binding the contract method 0x7e69671a.
Solidity: function distributeFees(_jobId uint256, _claimId uint256) returns()
func (*JobsManagerTransactorSession) DoubleClaimSegmentSlash ¶
func (_JobsManager *JobsManagerTransactorSession) DoubleClaimSegmentSlash(_jobId *big.Int, _claimId1 *big.Int, _claimId2 *big.Int, _segmentNumber *big.Int) (*types.Transaction, error)
DoubleClaimSegmentSlash is a paid mutator transaction binding the contract method 0x64d563f1.
Solidity: function doubleClaimSegmentSlash(_jobId uint256, _claimId1 uint256, _claimId2 uint256, _segmentNumber uint256) returns()
func (*JobsManagerTransactorSession) Job ¶
func (_JobsManager *JobsManagerTransactorSession) Job(_streamId string, _transcodingOptions string, _maxPricePerSegment *big.Int, _endBlock *big.Int) (*types.Transaction, error)
Job is a paid mutator transaction binding the contract method 0x307c6f8e.
Solidity: function job(_streamId string, _transcodingOptions string, _maxPricePerSegment uint256, _endBlock uint256) returns()
func (*JobsManagerTransactorSession) MissedVerificationSlash ¶
func (_JobsManager *JobsManagerTransactorSession) MissedVerificationSlash(_jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int) (*types.Transaction, error)
MissedVerificationSlash is a paid mutator transaction binding the contract method 0xc8e8f487.
Solidity: function missedVerificationSlash(_jobId uint256, _claimId uint256, _segmentNumber uint256) returns()
func (*JobsManagerTransactorSession) ReceiveVerification ¶
func (_JobsManager *JobsManagerTransactorSession) ReceiveVerification(_jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int, _result bool) (*types.Transaction, error)
ReceiveVerification is a paid mutator transaction binding the contract method 0x1e0976f3.
Solidity: function receiveVerification(_jobId uint256, _claimId uint256, _segmentNumber uint256, _result bool) returns()
func (*JobsManagerTransactorSession) SetController ¶
func (_JobsManager *JobsManagerTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)
SetController is a paid mutator transaction binding the contract method 0x92eefe9b.
Solidity: function setController(_controller address) returns()
func (*JobsManagerTransactorSession) SetDoubleClaimSegmentSlashAmount ¶
func (_JobsManager *JobsManagerTransactorSession) SetDoubleClaimSegmentSlashAmount(_doubleClaimSegmentSlashAmount *big.Int) (*types.Transaction, error)
SetDoubleClaimSegmentSlashAmount is a paid mutator transaction binding the contract method 0x7d6ebe94.
Solidity: function setDoubleClaimSegmentSlashAmount(_doubleClaimSegmentSlashAmount uint256) returns()
func (*JobsManagerTransactorSession) SetFailedVerificationSlashAmount ¶
func (_JobsManager *JobsManagerTransactorSession) SetFailedVerificationSlashAmount(_failedVerificationSlashAmount *big.Int) (*types.Transaction, error)
SetFailedVerificationSlashAmount is a paid mutator transaction binding the contract method 0x71af5d0e.
Solidity: function setFailedVerificationSlashAmount(_failedVerificationSlashAmount uint256) returns()
func (*JobsManagerTransactorSession) SetFinderFee ¶
func (_JobsManager *JobsManagerTransactorSession) SetFinderFee(_finderFee *big.Int) (*types.Transaction, error)
SetFinderFee is a paid mutator transaction binding the contract method 0xbe427b1c.
Solidity: function setFinderFee(_finderFee uint256) returns()
func (*JobsManagerTransactorSession) SetMissedVerificationSlashAmount ¶
func (_JobsManager *JobsManagerTransactorSession) SetMissedVerificationSlashAmount(_missedVerificationSlashAmount *big.Int) (*types.Transaction, error)
SetMissedVerificationSlashAmount is a paid mutator transaction binding the contract method 0x0cb335c4.
Solidity: function setMissedVerificationSlashAmount(_missedVerificationSlashAmount uint256) returns()
func (*JobsManagerTransactorSession) SetParameters ¶
func (_JobsManager *JobsManagerTransactorSession) SetParameters(_verificationRate uint64, _verificationPeriod *big.Int, _slashingPeriod *big.Int, _failedVerificationSlashAmount *big.Int, _missedVerificationSlashAmount *big.Int, _doubleClaimSegmentSlashAmount *big.Int, _finderFee *big.Int) (*types.Transaction, error)
SetParameters is a paid mutator transaction binding the contract method 0x75a32727.
Solidity: function setParameters(_verificationRate uint64, _verificationPeriod uint256, _slashingPeriod uint256, _failedVerificationSlashAmount uint256, _missedVerificationSlashAmount uint256, _doubleClaimSegmentSlashAmount uint256, _finderFee uint256) returns()
func (*JobsManagerTransactorSession) SetSlashingPeriod ¶
func (_JobsManager *JobsManagerTransactorSession) SetSlashingPeriod(_slashingPeriod *big.Int) (*types.Transaction, error)
SetSlashingPeriod is a paid mutator transaction binding the contract method 0xd64f152a.
Solidity: function setSlashingPeriod(_slashingPeriod uint256) returns()
func (*JobsManagerTransactorSession) SetVerificationPeriod ¶
func (_JobsManager *JobsManagerTransactorSession) SetVerificationPeriod(_verificationPeriod *big.Int) (*types.Transaction, error)
SetVerificationPeriod is a paid mutator transaction binding the contract method 0x09bc1812.
Solidity: function setVerificationPeriod(_verificationPeriod uint256) returns()
func (*JobsManagerTransactorSession) SetVerificationRate ¶
func (_JobsManager *JobsManagerTransactorSession) SetVerificationRate(_verificationRate uint64) (*types.Transaction, error)
SetVerificationRate is a paid mutator transaction binding the contract method 0x15fa168a.
Solidity: function setVerificationRate(_verificationRate uint64) returns()
func (*JobsManagerTransactorSession) Verify ¶
func (_JobsManager *JobsManagerTransactorSession) Verify(_jobId *big.Int, _claimId *big.Int, _segmentNumber *big.Int, _dataStorageHash string, _dataHashes [2][32]byte, _broadcasterSig []byte, _proof []byte) (*types.Transaction, error)
Verify is a paid mutator transaction binding the contract method 0x5a40ec7e.
Solidity: function verify(_jobId uint256, _claimId uint256, _segmentNumber uint256, _dataStorageHash string, _dataHashes bytes32[2], _broadcasterSig bytes, _proof bytes) returns()
func (*JobsManagerTransactorSession) Withdraw ¶
func (_JobsManager *JobsManagerTransactorSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
type LivepeerToken ¶
type LivepeerToken struct {
LivepeerTokenCaller // Read-only binding to the contract
LivepeerTokenTransactor // Write-only binding to the contract
}
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 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(_owner address, _spender address) constant returns(remaining uint256)
func (*LivepeerTokenCaller) BalanceOf ¶
func (_LivepeerToken *LivepeerTokenCaller) BalanceOf(opts *bind.CallOpts, _owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(balance 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(_owner address, _spender address) constant returns(remaining uint256)
func (*LivepeerTokenCallerSession) BalanceOf ¶
func (_LivepeerToken *LivepeerTokenCallerSession) BalanceOf(_owner common.Address) (*big.Int, error)
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(balance 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
}
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 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 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(_addr address) 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(_addr address) 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(newOwner address) 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(_addr address) 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(_addr address) 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(newOwner address) 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(_addr address) 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(_addr address) 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(newOwner address) returns()
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(_owner address, _spender address) constant returns(remaining 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(_spender address, _value uint256) returns(bool)
func (*LivepeerTokenSession) BalanceOf ¶
BalanceOf is a free data retrieval call binding the contract method 0x70a08231.
Solidity: function balanceOf(_owner address) constant returns(balance uint256)
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) DecreaseApproval ¶
func (_LivepeerToken *LivepeerTokenSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(success 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) IncreaseApproval ¶
func (_LivepeerToken *LivepeerTokenSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(success 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(_to address, _amount uint256) 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(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*LivepeerTokenSession) TransferFrom ¶
func (_LivepeerToken *LivepeerTokenSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) 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(newOwner address) 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(_spender address, _value uint256) returns(bool)
func (*LivepeerTokenTransactor) DecreaseApproval ¶
func (_LivepeerToken *LivepeerTokenTransactor) DecreaseApproval(opts *bind.TransactOpts, _spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(success 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) IncreaseApproval ¶
func (_LivepeerToken *LivepeerTokenTransactor) IncreaseApproval(opts *bind.TransactOpts, _spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(success 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(_to address, _amount uint256) returns(bool)
func (*LivepeerTokenTransactor) Transfer ¶
func (_LivepeerToken *LivepeerTokenTransactor) Transfer(opts *bind.TransactOpts, _to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*LivepeerTokenTransactor) TransferFrom ¶
func (_LivepeerToken *LivepeerTokenTransactor) TransferFrom(opts *bind.TransactOpts, _from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) 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(newOwner address) 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(_spender address, _value uint256) returns(bool)
func (*LivepeerTokenTransactorSession) DecreaseApproval ¶
func (_LivepeerToken *LivepeerTokenTransactorSession) DecreaseApproval(_spender common.Address, _subtractedValue *big.Int) (*types.Transaction, error)
DecreaseApproval is a paid mutator transaction binding the contract method 0x66188463.
Solidity: function decreaseApproval(_spender address, _subtractedValue uint256) returns(success 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) IncreaseApproval ¶
func (_LivepeerToken *LivepeerTokenTransactorSession) IncreaseApproval(_spender common.Address, _addedValue *big.Int) (*types.Transaction, error)
IncreaseApproval is a paid mutator transaction binding the contract method 0xd73dd623.
Solidity: function increaseApproval(_spender address, _addedValue uint256) returns(success 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(_to address, _amount uint256) returns(bool)
func (*LivepeerTokenTransactorSession) Transfer ¶
func (_LivepeerToken *LivepeerTokenTransactorSession) Transfer(_to common.Address, _value *big.Int) (*types.Transaction, error)
Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.
Solidity: function transfer(_to address, _value uint256) returns(bool)
func (*LivepeerTokenTransactorSession) TransferFrom ¶
func (_LivepeerToken *LivepeerTokenTransactorSession) TransferFrom(_from common.Address, _to common.Address, _value *big.Int) (*types.Transaction, error)
TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.
Solidity: function transferFrom(_from address, _to address, _value uint256) 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(newOwner address) returns()
type RoundsManager ¶
type RoundsManager struct {
RoundsManagerCaller // Read-only binding to the contract
RoundsManagerTransactor // Write-only binding to the contract
}
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) 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) PERC_DIVISOR ¶
PERC_DIVISOR is a free data retrieval call binding the contract method 0xcce2a078.
Solidity: function PERC_DIVISOR() 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) 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) PERC_DIVISOR ¶
func (_RoundsManager *RoundsManagerCallerSession) PERC_DIVISOR() (*big.Int, error)
PERC_DIVISOR is a free data retrieval call binding the contract method 0xcce2a078.
Solidity: function PERC_DIVISOR() 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 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) 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) PERC_DIVISOR ¶
func (_RoundsManager *RoundsManagerSession) PERC_DIVISOR() (*big.Int, error)
PERC_DIVISOR is a free data retrieval call binding the contract method 0xcce2a078.
Solidity: function PERC_DIVISOR() 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(_controller address) returns()
func (*RoundsManagerSession) SetParameters ¶
func (_RoundsManager *RoundsManagerSession) SetParameters(_roundLength *big.Int, _roundLockAmount *big.Int) (*types.Transaction, error)
SetParameters is a paid mutator transaction binding the contract method 0x884870c7.
Solidity: function setParameters(_roundLength uint256, _roundLockAmount uint256) 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(_roundLength uint256) 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 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(_controller address) returns()
func (*RoundsManagerTransactor) SetParameters ¶
func (_RoundsManager *RoundsManagerTransactor) SetParameters(opts *bind.TransactOpts, _roundLength *big.Int, _roundLockAmount *big.Int) (*types.Transaction, error)
SetParameters is a paid mutator transaction binding the contract method 0x884870c7.
Solidity: function setParameters(_roundLength uint256, _roundLockAmount uint256) 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(_roundLength uint256) 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(_controller address) returns()
func (*RoundsManagerTransactorSession) SetParameters ¶
func (_RoundsManager *RoundsManagerTransactorSession) SetParameters(_roundLength *big.Int, _roundLockAmount *big.Int) (*types.Transaction, error)
SetParameters is a paid mutator transaction binding the contract method 0x884870c7.
Solidity: function setParameters(_roundLength uint256, _roundLockAmount uint256) 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(_roundLength uint256) returns()