contracts

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 9 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Contract bindings

The ten generated Go files in this directory and chainlink/ are copied unchanged from livepeer/go-livepeer commit bd645a09266833fb859053445d9ac85846330756:

  • controller.go
  • bondingManager.go
  • ticketBroker.go
  • roundsManager.go
  • serviceRegistry.go
  • livepeerToken.go
  • minter.go
  • poll.go
  • LivepeerGovernor.go
  • chainlink/AggregatorV3Interface.go

Their filtered source history is a parent of the binding import commit. It preserves the authors, committers, dates, and messages, with Original-Commit trailers linking each retained commit to livepeer/go-livepeer. Contributors include Eric Tang, Yondon Fu, Nico Vergauwen, Rafał Leszko, Rick Staa, and Victor Elias. The original MIT notice is in LICENSE.

Keep generated schemas and methods unchanged. On a deliberate upstream update, copy these files from the selected committed revision, review its contract/API changes, and update this provenance. For example, from a checkout of this repo:

git -C /path/to/go-livepeer show REVISION:eth/contracts/bondingManager.go > eth/contracts/bondingManager.go

Application policy lives in the parent eth package: canonical snapshots, transaction planning, hints, fee limits, and saved transaction identities. Generated files include unused upstream methods. The supported CLI operations are listed in chain commands.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BondingManagerABI = BondingManagerMetaData.ABI

BondingManagerABI is the input ABI used to generate the binding from. Deprecated: Use BondingManagerMetaData.ABI instead.

View Source
var BondingManagerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldDelegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"additionalAmount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"bondedAmount\",\"type\":\"uint256\"}],\"name\":\"Bond\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rewards\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"fees\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"startRound\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"endRound\",\"type\":\"uint256\"}],\"name\":\"EarningsClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"param\",\"type\":\"string\"}],\"name\":\"ParameterUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"unbondingLockId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Rebond\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"transcoder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"transcoder\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"rewardCaller\",\"type\":\"address\"}],\"name\":\"RewardCallerSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"SetController\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"transcoder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"activationRound\",\"type\":\"uint256\"}],\"name\":\"TranscoderActivated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"transcoder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deactivationRound\",\"type\":\"uint256\"}],\"name\":\"TranscoderDeactivated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"transcoder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"finder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"penalty\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"finderReward\",\"type\":\"uint256\"}],\"name\":\"TranscoderSlashed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"transcoder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"rewardCut\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"feeShare\",\"type\":\"uint256\"}],\"name\":\"TranscoderUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"oldDelegator\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newDelegator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldUnbondingLockId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newUnbondingLockId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"TransferBond\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"transcoder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"treasury\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"TreasuryReward\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegate\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"unbondingLockId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawRound\",\"type\":\"uint256\"}],\"name\":\"Unbond\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WithdrawFees\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"unbondingLockId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"withdrawRound\",\"type\":\"uint256\"}],\"name\":\"WithdrawStake\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"bond\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_oldDelegateNewPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_oldDelegateNewPosNext\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_currDelegateNewPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_currDelegateNewPosNext\",\"type\":\"address\"}],\"name\":\"bondForWithHint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_oldDelegateNewPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_oldDelegateNewPosNext\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_currDelegateNewPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_currDelegateNewPosNext\",\"type\":\"address\"}],\"name\":\"bondWithHint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"checkpointBondingState\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_endRound\",\"type\":\"uint256\"}],\"name\":\"claimEarnings\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"controller\",\"outputs\":[{\"internalType\":\"contractIController\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentRoundTotalActiveStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegator\",\"type\":\"address\"}],\"name\":\"delegatorStatus\",\"outputs\":[{\"internalType\":\"enumBondingManager.DelegatorStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegator\",\"type\":\"address\"}],\"name\":\"getDelegator\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"bondedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"fees\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"delegateAddress\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"delegatedAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"startRound\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastClaimRound\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"nextUnbondingLockId\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_unbondingLockId\",\"type\":\"uint256\"}],\"name\":\"getDelegatorUnbondingLock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdrawRound\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getFirstTranscoderInPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"}],\"name\":\"getNextTranscoderInPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTotalBonded\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"}],\"name\":\"getTranscoder\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"lastRewardRound\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"rewardCut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feeShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastActiveStakeUpdateRound\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"activationRound\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deactivationRound\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"activeCumulativeRewards\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cumulativeRewards\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cumulativeFees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"lastFeeRound\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_round\",\"type\":\"uint256\"}],\"name\":\"getTranscoderEarningsPoolForRound\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalStake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"transcoderRewardCut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"transcoderFeeShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cumulativeRewardFactor\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cumulativeFeeFactor\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTranscoderPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getTranscoderPoolSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"}],\"name\":\"isActiveTranscoder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"}],\"name\":\"isRegisteredTranscoder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_unbondingLockId\",\"type\":\"uint256\"}],\"name\":\"isValidUnbondingLock\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextRoundTotalActiveStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"nextRoundTreasuryRewardCutRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_endRound\",\"type\":\"uint256\"}],\"name\":\"pendingFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_endRound\",\"type\":\"uint256\"}],\"name\":\"pendingStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_unbondingLockId\",\"type\":\"uint256\"}],\"name\":\"rebond\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_unbondingLockId\",\"type\":\"uint256\"}],\"name\":\"rebondFromUnbonded\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_unbondingLockId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_newPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newPosNext\",\"type\":\"address\"}],\"name\":\"rebondFromUnbondedWithHint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_unbondingLockId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_newPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newPosNext\",\"type\":\"address\"}],\"name\":\"rebondWithHint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reward\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"}],\"name\":\"rewardForTranscoder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newPosNext\",\"type\":\"address\"}],\"name\":\"rewardForTranscoderWithHint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newPosNext\",\"type\":\"address\"}],\"name\":\"rewardWithHint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"setController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setCurrentRoundTotalActiveStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_numActiveTranscoders\",\"type\":\"uint256\"}],\"name\":\"setNumActiveTranscoders\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_rewardCaller\",\"type\":\"address\"}],\"name\":\"setRewardCaller\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_ceiling\",\"type\":\"uint256\"}],\"name\":\"setTreasuryBalanceCeiling\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_cutRate\",\"type\":\"uint256\"}],\"name\":\"setTreasuryRewardCutRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"_unbondingPeriod\",\"type\":\"uint64\"}],\"name\":\"setUnbondingPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_finder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_slashAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_finderFee\",\"type\":\"uint256\"}],\"name\":\"slashTranscoder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"targetContractId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardCut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_feeShare\",\"type\":\"uint256\"}],\"name\":\"transcoder\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"}],\"name\":\"transcoderStatus\",\"outputs\":[{\"internalType\":\"enumBondingManager.TranscoderStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"transcoderToRewardCaller\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"}],\"name\":\"transcoderTotalStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardCut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_feeShare\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_newPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newPosNext\",\"type\":\"address\"}],\"name\":\"transcoderWithHint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_oldDelegateNewPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_oldDelegateNewPosNext\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newDelegateNewPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newDelegateNewPosNext\",\"type\":\"address\"}],\"name\":\"transferBond\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treasuryBalanceCeiling\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"treasuryRewardCutRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"unbond\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_newPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newPosNext\",\"type\":\"address\"}],\"name\":\"unbondWithHint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unbondingPeriod\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_fees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_round\",\"type\":\"uint256\"}],\"name\":\"updateTranscoderWithFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawFees\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_unbondingLockId\",\"type\":\"uint256\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

BondingManagerMetaData contains all meta data concerning the BondingManager contract.

View Source
var ControllerABI = ControllerMetaData.ABI

ControllerABI is the input ABI used to generate the binding from. Deprecated: Use ControllerMetaData.ABI instead.

View Source
var ControllerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Pause\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"id\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"contractAddress\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"bytes20\",\"name\":\"gitCommitHash\",\"type\":\"bytes20\"}],\"name\":\"SetContractInfo\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Unpause\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getContractInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes20\",\"name\":\"\",\"type\":\"bytes20\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_contractAddress\",\"type\":\"address\"},{\"internalType\":\"bytes20\",\"name\":\"_gitCommitHash\",\"type\":\"bytes20\"}],\"name\":\"setContractInfo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"updateController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

ControllerMetaData contains all meta data concerning the Controller contract.

View Source
var GovernorABI = GovernorMetaData.ABI

GovernorABI is the input ABI used to generate the binding from. Deprecated: Use GovernorMetaData.ABI instead.

View Source
var GovernorMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"Empty\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint8\",\"name\":\"voteType\",\"type\":\"uint8\"}],\"name\":\"InvalidVoteType\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VoteAlreadyCast\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"param\",\"type\":\"string\"}],\"name\":\"ParameterUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"}],\"name\":\"ProposalCanceled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"proposer\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"},{\"indexed\":false,\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"indexed\":false,\"internalType\":\"string[]\",\"name\":\"signatures\",\"type\":\"string[]\"},{\"indexed\":false,\"internalType\":\"bytes[]\",\"name\":\"calldatas\",\"type\":\"bytes[]\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"voteStart\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"voteEnd\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"}],\"name\":\"ProposalCreated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"}],\"name\":\"ProposalExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"eta\",\"type\":\"uint256\"}],\"name\":\"ProposalQueued\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldProposalThreshold\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newProposalThreshold\",\"type\":\"uint256\"}],\"name\":\"ProposalThresholdSet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldQuorumNumerator\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newQuorumNumerator\",\"type\":\"uint256\"}],\"name\":\"QuorumNumeratorUpdated\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"SetController\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"oldTimelock\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newTimelock\",\"type\":\"address\"}],\"name\":\"TimelockChange\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"support\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"}],\"name\":\"VoteCast\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"support\",\"type\":\"uint8\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"weight\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"}],\"name\":\"VoteCastWithParams\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldVotingDelay\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newVotingDelay\",\"type\":\"uint256\"}],\"name\":\"VotingDelaySet\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"oldVotingPeriod\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"newVotingPeriod\",\"type\":\"uint256\"}],\"name\":\"VotingPeriodSet\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"BALLOT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"CLOCK_MODE\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"COUNTING_MODE\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"EXTENDED_BALLOT_TYPEHASH\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"bumpGovernorVotesTokenAddress\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes[]\",\"name\":\"calldatas\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes32\",\"name\":\"descriptionHash\",\"type\":\"bytes32\"}],\"name\":\"cancel\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"support\",\"type\":\"uint8\"}],\"name\":\"castVote\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"support\",\"type\":\"uint8\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"castVoteBySig\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"support\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"}],\"name\":\"castVoteWithReason\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"support\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"}],\"name\":\"castVoteWithReasonAndParams\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"support\",\"type\":\"uint8\"},{\"internalType\":\"string\",\"name\":\"reason\",\"type\":\"string\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"castVoteWithReasonAndParamsBySig\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"clock\",\"outputs\":[{\"internalType\":\"uint48\",\"name\":\"\",\"type\":\"uint48\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"controller\",\"outputs\":[{\"internalType\":\"contractIController\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes[]\",\"name\":\"calldatas\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes32\",\"name\":\"descriptionHash\",\"type\":\"bytes32\"}],\"name\":\"execute\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"timepoint\",\"type\":\"uint256\"}],\"name\":\"getVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"timepoint\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"params\",\"type\":\"bytes\"}],\"name\":\"getVotesWithParams\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_proposalId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_account\",\"type\":\"address\"}],\"name\":\"hasVoted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes[]\",\"name\":\"calldatas\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes32\",\"name\":\"descriptionHash\",\"type\":\"bytes32\"}],\"name\":\"hashProposal\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"initialVotingDelay\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"initialVotingPeriod\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"initialProposalThreshold\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"initialQuorum\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"quota\",\"type\":\"uint256\"}],\"name\":\"initialize\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"uint256[]\",\"name\":\"\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155BatchReceived\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC1155Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"\",\"type\":\"bytes\"}],\"name\":\"onERC721Received\",\"outputs\":[{\"internalType\":\"bytes4\",\"name\":\"\",\"type\":\"bytes4\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"}],\"name\":\"proposalDeadline\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"}],\"name\":\"proposalEta\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"}],\"name\":\"proposalProposer\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"}],\"name\":\"proposalSnapshot\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proposalThreshold\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_proposalId\",\"type\":\"uint256\"}],\"name\":\"proposalVotes\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"againstVotes\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"forVotes\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"abstainVotes\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes[]\",\"name\":\"calldatas\",\"type\":\"bytes[]\"},{\"internalType\":\"string\",\"name\":\"description\",\"type\":\"string\"}],\"name\":\"propose\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"targets\",\"type\":\"address[]\"},{\"internalType\":\"uint256[]\",\"name\":\"values\",\"type\":\"uint256[]\"},{\"internalType\":\"bytes[]\",\"name\":\"calldatas\",\"type\":\"bytes[]\"},{\"internalType\":\"bytes32\",\"name\":\"descriptionHash\",\"type\":\"bytes32\"}],\"name\":\"queue\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timepoint\",\"type\":\"uint256\"}],\"name\":\"quorum\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"quorumDenominator\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"timepoint\",\"type\":\"uint256\"}],\"name\":\"quorumNumerator\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"quorumNumerator\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"quota\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"target\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"relay\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"setController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newProposalThreshold\",\"type\":\"uint256\"}],\"name\":\"setProposalThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newVotingDelay\",\"type\":\"uint256\"}],\"name\":\"setVotingDelay\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newVotingPeriod\",\"type\":\"uint256\"}],\"name\":\"setVotingPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"proposalId\",\"type\":\"uint256\"}],\"name\":\"state\",\"outputs\":[{\"internalType\":\"enumIGovernorUpgradeable.ProposalState\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"targetContractId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"timelock\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"contractIERC5805Upgradeable\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"newQuorumNumerator\",\"type\":\"uint256\"}],\"name\":\"updateQuorumNumerator\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractTimelockControllerUpgradeable\",\"name\":\"newTimelock\",\"type\":\"address\"}],\"name\":\"updateTimelock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"votes\",\"outputs\":[{\"internalType\":\"contractIVotes\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"votingDelay\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"votingPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"stateMutability\":\"payable\",\"type\":\"receive\"}]",
}

GovernorMetaData contains all meta data concerning the Governor contract.

View Source
var LivepeerTokenABI = LivepeerTokenMetaData.ABI

LivepeerTokenABI is the input ABI used to generate the binding from. Deprecated: Use LivepeerTokenMetaData.ABI instead.

View Source
var LivepeerTokenMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"InvalidShortString\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"str\",\"type\":\"string\"}],\"name\":\"StringTooLong\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Approval\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"burner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Burn\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"EIP712DomainChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Mint\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"previousAdminRole\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"newAdminRole\",\"type\":\"bytes32\"}],\"name\":\"RoleAdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleGranted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"RoleRevoked\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Transfer\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"DEFAULT_ADMIN_ROLE\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"DOMAIN_SEPARATOR\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_from\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"burnFrom\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"eip712Domain\",\"outputs\":[{\"internalType\":\"bytes1\",\"name\":\"fields\",\"type\":\"bytes1\"},{\"internalType\":\"string\",\"name\":\"name\",\"type\":\"string\"},{\"internalType\":\"string\",\"name\":\"version\",\"type\":\"string\"},{\"internalType\":\"uint256\",\"name\":\"chainId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"verifyingContract\",\"type\":\"address\"},{\"internalType\":\"bytes32\",\"name\":\"salt\",\"type\":\"bytes32\"},{\"internalType\":\"uint256[]\",\"name\":\"extensions\",\"type\":\"uint256[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"}],\"name\":\"getRoleAdmin\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"grantRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"hasRole\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"}],\"name\":\"nonces\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"deadline\",\"type\":\"uint256\"},{\"internalType\":\"uint8\",\"name\":\"v\",\"type\":\"uint8\"},{\"internalType\":\"bytes32\",\"name\":\"r\",\"type\":\"bytes32\"},{\"internalType\":\"bytes32\",\"name\":\"s\",\"type\":\"bytes32\"}],\"name\":\"permit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"renounceRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"role\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"revokeRole\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes4\",\"name\":\"interfaceId\",\"type\":\"bytes4\"}],\"name\":\"supportsInterface\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"from\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

LivepeerTokenMetaData contains all meta data concerning the LivepeerToken contract.

View Source
var MinterABI = MinterMetaData.ABI

MinterABI is the input ABI used to generate the binding from. Deprecated: Use MinterMetaData.ABI instead.

View Source
var MinterMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_inflation\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_inflationChange\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_targetBondingRate\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"param\",\"type\":\"string\"}],\"name\":\"ParameterUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"SetController\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"currentMintableTokens\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"currentInflation\",\"type\":\"uint256\"}],\"name\":\"SetCurrentRewardTokens\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"controller\",\"outputs\":[{\"internalType\":\"contractIController\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_fracNum\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_fracDenom\",\"type\":\"uint256\"}],\"name\":\"createReward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentMintableTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentMintedTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"depositETH\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getController\",\"outputs\":[{\"internalType\":\"contractIController\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getGlobalTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inflation\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"inflationChange\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"contractIMinter\",\"name\":\"_newMinter\",\"type\":\"address\"}],\"name\":\"migrateToNewMinter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"setController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"setCurrentRewardTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_inflationChange\",\"type\":\"uint256\"}],\"name\":\"setInflationChange\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_targetBondingRate\",\"type\":\"uint256\"}],\"name\":\"setTargetBondingRate\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"targetBondingRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"trustedBurnTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"trustedTransferTokens\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"trustedWithdrawETH\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

MinterMetaData contains all meta data concerning the Minter contract.

View Source
var PollABI = PollMetaData.ABI

PollABI is the input ABI used to generate the binding from. Deprecated: Use PollMetaData.ABI instead.

View Source
var PollMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_endBlock\",\"type\":\"uint256\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"voter\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"choiceID\",\"type\":\"uint256\"}],\"name\":\"Vote\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"destroy\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"endBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_choiceID\",\"type\":\"uint256\"}],\"name\":\"vote\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

PollMetaData contains all meta data concerning the Poll contract.

View Source
var RoundsManagerABI = RoundsManagerMetaData.ABI

RoundsManagerABI is the input ABI used to generate the binding from. Deprecated: Use RoundsManagerMetaData.ABI instead.

View Source
var RoundsManagerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"uint256\",\"name\":\"round\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes32\",\"name\":\"blockHash\",\"type\":\"bytes32\"}],\"name\":\"NewRound\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"param\",\"type\":\"string\"}],\"name\":\"ParameterUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"SetController\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_block\",\"type\":\"uint256\"}],\"name\":\"blockHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_round\",\"type\":\"uint256\"}],\"name\":\"blockHashForRound\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"blockNum\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"controller\",\"outputs\":[{\"internalType\":\"contractIController\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentRound\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentRoundInitialized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentRoundLocked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"currentRoundStartBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"initializeRound\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastInitializedRound\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastRoundLengthUpdateRound\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"lastRoundLengthUpdateStartBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"lipUpgradeRound\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"roundLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"roundLockAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"setController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lip\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_round\",\"type\":\"uint256\"}],\"name\":\"setLIPUpgradeRound\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_roundLength\",\"type\":\"uint256\"}],\"name\":\"setRoundLength\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_roundLockAmount\",\"type\":\"uint256\"}],\"name\":\"setRoundLockAmount\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"targetContractId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

RoundsManagerMetaData contains all meta data concerning the RoundsManager contract.

View Source
var ServiceRegistryABI = ServiceRegistryMetaData.ABI

ServiceRegistryABI is the input ABI used to generate the binding from. Deprecated: Use ServiceRegistryMetaData.ABI instead.

View Source
var ServiceRegistryMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"param\",\"type\":\"string\"}],\"name\":\"ParameterUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"addr\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"string\",\"name\":\"serviceURI\",\"type\":\"string\"}],\"name\":\"ServiceURIUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"SetController\",\"type\":\"event\"},{\"inputs\":[],\"name\":\"controller\",\"outputs\":[{\"internalType\":\"contractIController\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"getServiceURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"setController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"string\",\"name\":\"_serviceURI\",\"type\":\"string\"}],\"name\":\"setServiceURI\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"targetContractId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}

ServiceRegistryMetaData contains all meta data concerning the ServiceRegistry contract.

View Source
var TicketBrokerABI = TicketBrokerMetaData.ABI

TicketBrokerABI is the input ABI used to generate the binding from. Deprecated: Use TicketBrokerMetaData.ABI instead.

View Source
var TicketBrokerMetaData = &bind.MetaData{
	ABI: "[{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"DepositFunded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"param\",\"type\":\"string\"}],\"name\":\"ParameterUpdate\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserveHolder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"claimant\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ReserveClaimed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"reserveHolder\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"ReserveFunded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"SetController\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"startRound\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"endRound\",\"type\":\"uint256\"}],\"name\":\"Unlock\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"}],\"name\":\"UnlockCancelled\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"faceValue\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"winProb\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"senderNonce\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"recipientRand\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"bytes\",\"name\":\"auxData\",\"type\":\"bytes\"}],\"name\":\"WinningTicketRedeemed\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"WinningTicketTransfer\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"deposit\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reserve\",\"type\":\"uint256\"}],\"name\":\"Withdrawal\",\"type\":\"event\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"faceValue\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"winProb\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"senderNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"recipientRandHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"auxData\",\"type\":\"bytes\"}],\"internalType\":\"structMTicketBrokerCore.Ticket[]\",\"name\":\"_tickets\",\"type\":\"tuple[]\"},{\"internalType\":\"bytes[]\",\"name\":\"_sigs\",\"type\":\"bytes[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_recipientRands\",\"type\":\"uint256[]\"}],\"name\":\"batchRedeemWinningTickets\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"cancelUnlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reserveHolder\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_claimant\",\"type\":\"address\"}],\"name\":\"claimableReserve\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reserveHolder\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_claimant\",\"type\":\"address\"}],\"name\":\"claimedReserve\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"controller\",\"outputs\":[{\"internalType\":\"contractIController\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fundDeposit\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_depositAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reserveAmount\",\"type\":\"uint256\"}],\"name\":\"fundDepositAndReserve\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_depositAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reserveAmount\",\"type\":\"uint256\"}],\"name\":\"fundDepositAndReserveFor\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"fundReserve\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reserveHolder\",\"type\":\"address\"}],\"name\":\"getReserveInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fundsRemaining\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"claimedInCurrentRound\",\"type\":\"uint256\"}],\"internalType\":\"structMReserve.ReserveInfo\",\"name\":\"info\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"}],\"name\":\"getSenderInfo\",\"outputs\":[{\"components\":[{\"internalType\":\"uint256\",\"name\":\"deposit\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"withdrawRound\",\"type\":\"uint256\"}],\"internalType\":\"structMixinTicketBrokerCore.Sender\",\"name\":\"sender\",\"type\":\"tuple\"},{\"components\":[{\"internalType\":\"uint256\",\"name\":\"fundsRemaining\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"claimedInCurrentRound\",\"type\":\"uint256\"}],\"internalType\":\"structMReserve.ReserveInfo\",\"name\":\"reserve\",\"type\":\"tuple\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"faceValue\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"winProb\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"senderNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"recipientRandHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"auxData\",\"type\":\"bytes\"}],\"internalType\":\"structMTicketBrokerCore.Ticket\",\"name\":\"_ticket\",\"type\":\"tuple\"}],\"name\":\"getTicketHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"pure\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"}],\"name\":\"isUnlockInProgress\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"components\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"faceValue\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"winProb\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"senderNonce\",\"type\":\"uint256\"},{\"internalType\":\"bytes32\",\"name\":\"recipientRandHash\",\"type\":\"bytes32\"},{\"internalType\":\"bytes\",\"name\":\"auxData\",\"type\":\"bytes\"}],\"internalType\":\"structMTicketBrokerCore.Ticket\",\"name\":\"_ticket\",\"type\":\"tuple\"},{\"internalType\":\"bytes\",\"name\":\"_sig\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_recipientRand\",\"type\":\"uint256\"}],\"name\":\"redeemWinningTicket\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"setController\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_ticketValidityPeriod\",\"type\":\"uint256\"}],\"name\":\"setTicketValidityPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_unlockPeriod\",\"type\":\"uint256\"}],\"name\":\"setUnlockPeriod\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"targetContractId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"ticketValidityPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlock\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"unlockPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"usedTickets\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"}]",
}

TicketBrokerMetaData contains all meta data concerning the TicketBroker contract.

Functions

This section is empty.

Types

type BondingManager

type BondingManager struct {
	BondingManagerCaller     // Read-only binding to the contract
	BondingManagerTransactor // Write-only binding to the contract
	BondingManagerFilterer   // Log filterer for contract events
}

BondingManager is an auto generated Go binding around an Ethereum contract.

func NewBondingManager

func NewBondingManager(address common.Address, backend bind.ContractBackend) (*BondingManager, error)

NewBondingManager creates a new instance of BondingManager, bound to a specific deployed contract.

type BondingManagerBond

type BondingManagerBond struct {
	NewDelegate      common.Address
	OldDelegate      common.Address
	Delegator        common.Address
	AdditionalAmount *big.Int
	BondedAmount     *big.Int
	Raw              types.Log // Blockchain specific contextual infos
}

BondingManagerBond represents a Bond event raised by the BondingManager contract.

type BondingManagerBondIterator

type BondingManagerBondIterator struct {
	Event *BondingManagerBond // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BondingManagerBondIterator is returned from FilterBond and is used to iterate over the raw logs and unpacked data for Bond events raised by the BondingManager contract.

func (*BondingManagerBondIterator) Close

func (it *BondingManagerBondIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BondingManagerBondIterator) Error

func (it *BondingManagerBondIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerBondIterator) Next

func (it *BondingManagerBondIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BondingManagerCaller

type BondingManagerCaller struct {
	// contains filtered or unexported fields
}

BondingManagerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewBondingManagerCaller

func NewBondingManagerCaller(address common.Address, caller bind.ContractCaller) (*BondingManagerCaller, error)

NewBondingManagerCaller creates a new read-only instance of BondingManager, bound to a specific deployed contract.

func (*BondingManagerCaller) 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() view returns(address)

func (*BondingManagerCaller) CurrentRoundTotalActiveStake

func (_BondingManager *BondingManagerCaller) CurrentRoundTotalActiveStake(opts *bind.CallOpts) (*big.Int, error)

CurrentRoundTotalActiveStake is a free data retrieval call binding the contract method 0x4196ee75.

Solidity: function currentRoundTotalActiveStake() view returns(uint256)

func (*BondingManagerCaller) DelegatorStatus

func (_BondingManager *BondingManagerCaller) DelegatorStatus(opts *bind.CallOpts, _delegator common.Address) (uint8, error)

DelegatorStatus is a free data retrieval call binding the contract method 0x1544fc67.

Solidity: function delegatorStatus(address _delegator) view returns(uint8)

func (*BondingManagerCaller) GetDelegator

func (_BondingManager *BondingManagerCaller) GetDelegator(opts *bind.CallOpts, _delegator common.Address) (struct {
	BondedAmount        *big.Int
	Fees                *big.Int
	DelegateAddress     common.Address
	DelegatedAmount     *big.Int
	StartRound          *big.Int
	LastClaimRound      *big.Int
	NextUnbondingLockId *big.Int
}, error)

GetDelegator is a free data retrieval call binding the contract method 0xa64ad595.

Solidity: function getDelegator(address _delegator) view returns(uint256 bondedAmount, uint256 fees, address delegateAddress, uint256 delegatedAmount, uint256 startRound, uint256 lastClaimRound, uint256 nextUnbondingLockId)

func (*BondingManagerCaller) GetDelegatorUnbondingLock

func (_BondingManager *BondingManagerCaller) GetDelegatorUnbondingLock(opts *bind.CallOpts, _delegator common.Address, _unbondingLockId *big.Int) (struct {
	Amount        *big.Int
	WithdrawRound *big.Int
}, error)

GetDelegatorUnbondingLock is a free data retrieval call binding the contract method 0x412f83b6.

Solidity: function getDelegatorUnbondingLock(address _delegator, uint256 _unbondingLockId) view returns(uint256 amount, uint256 withdrawRound)

func (*BondingManagerCaller) GetFirstTranscoderInPool

func (_BondingManager *BondingManagerCaller) GetFirstTranscoderInPool(opts *bind.CallOpts) (common.Address, error)

GetFirstTranscoderInPool is a free data retrieval call binding the contract method 0x88a6c749.

Solidity: function getFirstTranscoderInPool() view returns(address)

func (*BondingManagerCaller) GetNextTranscoderInPool

func (_BondingManager *BondingManagerCaller) GetNextTranscoderInPool(opts *bind.CallOpts, _transcoder common.Address) (common.Address, error)

GetNextTranscoderInPool is a free data retrieval call binding the contract method 0x235c9603.

Solidity: function getNextTranscoderInPool(address _transcoder) view returns(address)

func (*BondingManagerCaller) GetTotalBonded

func (_BondingManager *BondingManagerCaller) GetTotalBonded(opts *bind.CallOpts) (*big.Int, error)

GetTotalBonded is a free data retrieval call binding the contract method 0x5c50c356.

Solidity: function getTotalBonded() view returns(uint256)

func (*BondingManagerCaller) GetTranscoder

func (_BondingManager *BondingManagerCaller) GetTranscoder(opts *bind.CallOpts, _transcoder common.Address) (struct {
	LastRewardRound            *big.Int
	RewardCut                  *big.Int
	FeeShare                   *big.Int
	LastActiveStakeUpdateRound *big.Int
	ActivationRound            *big.Int
	DeactivationRound          *big.Int
	ActiveCumulativeRewards    *big.Int
	CumulativeRewards          *big.Int
	CumulativeFees             *big.Int
	LastFeeRound               *big.Int
}, error)

GetTranscoder is a free data retrieval call binding the contract method 0x5dce9948.

Solidity: function getTranscoder(address _transcoder) view returns(uint256 lastRewardRound, uint256 rewardCut, uint256 feeShare, uint256 lastActiveStakeUpdateRound, uint256 activationRound, uint256 deactivationRound, uint256 activeCumulativeRewards, uint256 cumulativeRewards, uint256 cumulativeFees, uint256 lastFeeRound)

func (*BondingManagerCaller) GetTranscoderEarningsPoolForRound

func (_BondingManager *BondingManagerCaller) GetTranscoderEarningsPoolForRound(opts *bind.CallOpts, _transcoder common.Address, _round *big.Int) (struct {
	TotalStake             *big.Int
	TranscoderRewardCut    *big.Int
	TranscoderFeeShare     *big.Int
	CumulativeRewardFactor *big.Int
	CumulativeFeeFactor    *big.Int
}, error)

GetTranscoderEarningsPoolForRound is a free data retrieval call binding the contract method 0x24454fc4.

Solidity: function getTranscoderEarningsPoolForRound(address _transcoder, uint256 _round) view returns(uint256 totalStake, uint256 transcoderRewardCut, uint256 transcoderFeeShare, uint256 cumulativeRewardFactor, uint256 cumulativeFeeFactor)

func (*BondingManagerCaller) GetTranscoderPoolMaxSize

func (_BondingManager *BondingManagerCaller) GetTranscoderPoolMaxSize(opts *bind.CallOpts) (*big.Int, error)

GetTranscoderPoolMaxSize is a free data retrieval call binding the contract method 0x5a2a75a9.

Solidity: function getTranscoderPoolMaxSize() view returns(uint256)

func (*BondingManagerCaller) GetTranscoderPoolSize

func (_BondingManager *BondingManagerCaller) GetTranscoderPoolSize(opts *bind.CallOpts) (*big.Int, error)

GetTranscoderPoolSize is a free data retrieval call binding the contract method 0x2a4e0d55.

Solidity: function getTranscoderPoolSize() view returns(uint256)

func (*BondingManagerCaller) IsActiveTranscoder

func (_BondingManager *BondingManagerCaller) IsActiveTranscoder(opts *bind.CallOpts, _transcoder common.Address) (bool, error)

IsActiveTranscoder is a free data retrieval call binding the contract method 0x08802374.

Solidity: function isActiveTranscoder(address _transcoder) view returns(bool)

func (*BondingManagerCaller) IsRegisteredTranscoder

func (_BondingManager *BondingManagerCaller) IsRegisteredTranscoder(opts *bind.CallOpts, _transcoder common.Address) (bool, error)

IsRegisteredTranscoder is a free data retrieval call binding the contract method 0x68ba170c.

Solidity: function isRegisteredTranscoder(address _transcoder) view returns(bool)

func (*BondingManagerCaller) IsValidUnbondingLock

func (_BondingManager *BondingManagerCaller) IsValidUnbondingLock(opts *bind.CallOpts, _delegator common.Address, _unbondingLockId *big.Int) (bool, error)

IsValidUnbondingLock is a free data retrieval call binding the contract method 0x0fd02fc1.

Solidity: function isValidUnbondingLock(address _delegator, uint256 _unbondingLockId) view returns(bool)

func (*BondingManagerCaller) NextRoundTotalActiveStake

func (_BondingManager *BondingManagerCaller) NextRoundTotalActiveStake(opts *bind.CallOpts) (*big.Int, error)

NextRoundTotalActiveStake is a free data retrieval call binding the contract method 0x465501d3.

Solidity: function nextRoundTotalActiveStake() view returns(uint256)

func (*BondingManagerCaller) NextRoundTreasuryRewardCutRate

func (_BondingManager *BondingManagerCaller) NextRoundTreasuryRewardCutRate(opts *bind.CallOpts) (*big.Int, error)

NextRoundTreasuryRewardCutRate is a free data retrieval call binding the contract method 0xa5766231.

Solidity: function nextRoundTreasuryRewardCutRate() view returns(uint256)

func (*BondingManagerCaller) PendingFees

func (_BondingManager *BondingManagerCaller) PendingFees(opts *bind.CallOpts, _delegator common.Address, _endRound *big.Int) (*big.Int, error)

PendingFees is a free data retrieval call binding the contract method 0xf595f1cc.

Solidity: function pendingFees(address _delegator, uint256 _endRound) view returns(uint256)

func (*BondingManagerCaller) PendingStake

func (_BondingManager *BondingManagerCaller) PendingStake(opts *bind.CallOpts, _delegator common.Address, _endRound *big.Int) (*big.Int, error)

PendingStake is a free data retrieval call binding the contract method 0x9d0b2c7a.

Solidity: function pendingStake(address _delegator, uint256 _endRound) view 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() view returns(bytes32)

func (*BondingManagerCaller) TranscoderStatus

func (_BondingManager *BondingManagerCaller) TranscoderStatus(opts *bind.CallOpts, _transcoder common.Address) (uint8, error)

TranscoderStatus is a free data retrieval call binding the contract method 0x8b2f1652.

Solidity: function transcoderStatus(address _transcoder) view returns(uint8)

func (*BondingManagerCaller) TranscoderToRewardCaller

func (_BondingManager *BondingManagerCaller) TranscoderToRewardCaller(opts *bind.CallOpts, arg0 common.Address) (common.Address, error)

TranscoderToRewardCaller is a free data retrieval call binding the contract method 0x47621410.

Solidity: function transcoderToRewardCaller(address ) view returns(address)

func (*BondingManagerCaller) TranscoderTotalStake

func (_BondingManager *BondingManagerCaller) TranscoderTotalStake(opts *bind.CallOpts, _transcoder common.Address) (*big.Int, error)

TranscoderTotalStake is a free data retrieval call binding the contract method 0x9ef9df94.

Solidity: function transcoderTotalStake(address _transcoder) view returns(uint256)

func (*BondingManagerCaller) TreasuryBalanceCeiling

func (_BondingManager *BondingManagerCaller) TreasuryBalanceCeiling(opts *bind.CallOpts) (*big.Int, error)

TreasuryBalanceCeiling is a free data retrieval call binding the contract method 0x84a16bbc.

Solidity: function treasuryBalanceCeiling() view returns(uint256)

func (*BondingManagerCaller) TreasuryRewardCutRate

func (_BondingManager *BondingManagerCaller) TreasuryRewardCutRate(opts *bind.CallOpts) (*big.Int, error)

TreasuryRewardCutRate is a free data retrieval call binding the contract method 0x558f8f44.

Solidity: function treasuryRewardCutRate() view 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() view 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) Controller

func (_BondingManager *BondingManagerCallerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*BondingManagerCallerSession) CurrentRoundTotalActiveStake

func (_BondingManager *BondingManagerCallerSession) CurrentRoundTotalActiveStake() (*big.Int, error)

CurrentRoundTotalActiveStake is a free data retrieval call binding the contract method 0x4196ee75.

Solidity: function currentRoundTotalActiveStake() view returns(uint256)

func (*BondingManagerCallerSession) DelegatorStatus

func (_BondingManager *BondingManagerCallerSession) DelegatorStatus(_delegator common.Address) (uint8, error)

DelegatorStatus is a free data retrieval call binding the contract method 0x1544fc67.

Solidity: function delegatorStatus(address _delegator) view returns(uint8)

func (*BondingManagerCallerSession) GetDelegator

func (_BondingManager *BondingManagerCallerSession) GetDelegator(_delegator common.Address) (struct {
	BondedAmount        *big.Int
	Fees                *big.Int
	DelegateAddress     common.Address
	DelegatedAmount     *big.Int
	StartRound          *big.Int
	LastClaimRound      *big.Int
	NextUnbondingLockId *big.Int
}, error)

GetDelegator is a free data retrieval call binding the contract method 0xa64ad595.

Solidity: function getDelegator(address _delegator) view returns(uint256 bondedAmount, uint256 fees, address delegateAddress, uint256 delegatedAmount, uint256 startRound, uint256 lastClaimRound, uint256 nextUnbondingLockId)

func (*BondingManagerCallerSession) GetDelegatorUnbondingLock

func (_BondingManager *BondingManagerCallerSession) GetDelegatorUnbondingLock(_delegator common.Address, _unbondingLockId *big.Int) (struct {
	Amount        *big.Int
	WithdrawRound *big.Int
}, error)

GetDelegatorUnbondingLock is a free data retrieval call binding the contract method 0x412f83b6.

Solidity: function getDelegatorUnbondingLock(address _delegator, uint256 _unbondingLockId) view returns(uint256 amount, uint256 withdrawRound)

func (*BondingManagerCallerSession) GetFirstTranscoderInPool

func (_BondingManager *BondingManagerCallerSession) GetFirstTranscoderInPool() (common.Address, error)

GetFirstTranscoderInPool is a free data retrieval call binding the contract method 0x88a6c749.

Solidity: function getFirstTranscoderInPool() view returns(address)

func (*BondingManagerCallerSession) GetNextTranscoderInPool

func (_BondingManager *BondingManagerCallerSession) GetNextTranscoderInPool(_transcoder common.Address) (common.Address, error)

GetNextTranscoderInPool is a free data retrieval call binding the contract method 0x235c9603.

Solidity: function getNextTranscoderInPool(address _transcoder) view returns(address)

func (*BondingManagerCallerSession) GetTotalBonded

func (_BondingManager *BondingManagerCallerSession) GetTotalBonded() (*big.Int, error)

GetTotalBonded is a free data retrieval call binding the contract method 0x5c50c356.

Solidity: function getTotalBonded() view returns(uint256)

func (*BondingManagerCallerSession) GetTranscoder

func (_BondingManager *BondingManagerCallerSession) GetTranscoder(_transcoder common.Address) (struct {
	LastRewardRound            *big.Int
	RewardCut                  *big.Int
	FeeShare                   *big.Int
	LastActiveStakeUpdateRound *big.Int
	ActivationRound            *big.Int
	DeactivationRound          *big.Int
	ActiveCumulativeRewards    *big.Int
	CumulativeRewards          *big.Int
	CumulativeFees             *big.Int
	LastFeeRound               *big.Int
}, error)

GetTranscoder is a free data retrieval call binding the contract method 0x5dce9948.

Solidity: function getTranscoder(address _transcoder) view returns(uint256 lastRewardRound, uint256 rewardCut, uint256 feeShare, uint256 lastActiveStakeUpdateRound, uint256 activationRound, uint256 deactivationRound, uint256 activeCumulativeRewards, uint256 cumulativeRewards, uint256 cumulativeFees, uint256 lastFeeRound)

func (*BondingManagerCallerSession) GetTranscoderEarningsPoolForRound

func (_BondingManager *BondingManagerCallerSession) GetTranscoderEarningsPoolForRound(_transcoder common.Address, _round *big.Int) (struct {
	TotalStake             *big.Int
	TranscoderRewardCut    *big.Int
	TranscoderFeeShare     *big.Int
	CumulativeRewardFactor *big.Int
	CumulativeFeeFactor    *big.Int
}, error)

GetTranscoderEarningsPoolForRound is a free data retrieval call binding the contract method 0x24454fc4.

Solidity: function getTranscoderEarningsPoolForRound(address _transcoder, uint256 _round) view returns(uint256 totalStake, uint256 transcoderRewardCut, uint256 transcoderFeeShare, uint256 cumulativeRewardFactor, uint256 cumulativeFeeFactor)

func (*BondingManagerCallerSession) GetTranscoderPoolMaxSize

func (_BondingManager *BondingManagerCallerSession) GetTranscoderPoolMaxSize() (*big.Int, error)

GetTranscoderPoolMaxSize is a free data retrieval call binding the contract method 0x5a2a75a9.

Solidity: function getTranscoderPoolMaxSize() view returns(uint256)

func (*BondingManagerCallerSession) GetTranscoderPoolSize

func (_BondingManager *BondingManagerCallerSession) GetTranscoderPoolSize() (*big.Int, error)

GetTranscoderPoolSize is a free data retrieval call binding the contract method 0x2a4e0d55.

Solidity: function getTranscoderPoolSize() view returns(uint256)

func (*BondingManagerCallerSession) IsActiveTranscoder

func (_BondingManager *BondingManagerCallerSession) IsActiveTranscoder(_transcoder common.Address) (bool, error)

IsActiveTranscoder is a free data retrieval call binding the contract method 0x08802374.

Solidity: function isActiveTranscoder(address _transcoder) view returns(bool)

func (*BondingManagerCallerSession) IsRegisteredTranscoder

func (_BondingManager *BondingManagerCallerSession) IsRegisteredTranscoder(_transcoder common.Address) (bool, error)

IsRegisteredTranscoder is a free data retrieval call binding the contract method 0x68ba170c.

Solidity: function isRegisteredTranscoder(address _transcoder) view returns(bool)

func (*BondingManagerCallerSession) IsValidUnbondingLock

func (_BondingManager *BondingManagerCallerSession) IsValidUnbondingLock(_delegator common.Address, _unbondingLockId *big.Int) (bool, error)

IsValidUnbondingLock is a free data retrieval call binding the contract method 0x0fd02fc1.

Solidity: function isValidUnbondingLock(address _delegator, uint256 _unbondingLockId) view returns(bool)

func (*BondingManagerCallerSession) NextRoundTotalActiveStake

func (_BondingManager *BondingManagerCallerSession) NextRoundTotalActiveStake() (*big.Int, error)

NextRoundTotalActiveStake is a free data retrieval call binding the contract method 0x465501d3.

Solidity: function nextRoundTotalActiveStake() view returns(uint256)

func (*BondingManagerCallerSession) NextRoundTreasuryRewardCutRate

func (_BondingManager *BondingManagerCallerSession) NextRoundTreasuryRewardCutRate() (*big.Int, error)

NextRoundTreasuryRewardCutRate is a free data retrieval call binding the contract method 0xa5766231.

Solidity: function nextRoundTreasuryRewardCutRate() view returns(uint256)

func (*BondingManagerCallerSession) PendingFees

func (_BondingManager *BondingManagerCallerSession) PendingFees(_delegator common.Address, _endRound *big.Int) (*big.Int, error)

PendingFees is a free data retrieval call binding the contract method 0xf595f1cc.

Solidity: function pendingFees(address _delegator, uint256 _endRound) view returns(uint256)

func (*BondingManagerCallerSession) PendingStake

func (_BondingManager *BondingManagerCallerSession) PendingStake(_delegator common.Address, _endRound *big.Int) (*big.Int, error)

PendingStake is a free data retrieval call binding the contract method 0x9d0b2c7a.

Solidity: function pendingStake(address _delegator, uint256 _endRound) view 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() view returns(bytes32)

func (*BondingManagerCallerSession) TranscoderStatus

func (_BondingManager *BondingManagerCallerSession) TranscoderStatus(_transcoder common.Address) (uint8, error)

TranscoderStatus is a free data retrieval call binding the contract method 0x8b2f1652.

Solidity: function transcoderStatus(address _transcoder) view returns(uint8)

func (*BondingManagerCallerSession) TranscoderToRewardCaller

func (_BondingManager *BondingManagerCallerSession) TranscoderToRewardCaller(arg0 common.Address) (common.Address, error)

TranscoderToRewardCaller is a free data retrieval call binding the contract method 0x47621410.

Solidity: function transcoderToRewardCaller(address ) view returns(address)

func (*BondingManagerCallerSession) TranscoderTotalStake

func (_BondingManager *BondingManagerCallerSession) TranscoderTotalStake(_transcoder common.Address) (*big.Int, error)

TranscoderTotalStake is a free data retrieval call binding the contract method 0x9ef9df94.

Solidity: function transcoderTotalStake(address _transcoder) view returns(uint256)

func (*BondingManagerCallerSession) TreasuryBalanceCeiling

func (_BondingManager *BondingManagerCallerSession) TreasuryBalanceCeiling() (*big.Int, error)

TreasuryBalanceCeiling is a free data retrieval call binding the contract method 0x84a16bbc.

Solidity: function treasuryBalanceCeiling() view returns(uint256)

func (*BondingManagerCallerSession) TreasuryRewardCutRate

func (_BondingManager *BondingManagerCallerSession) TreasuryRewardCutRate() (*big.Int, error)

TreasuryRewardCutRate is a free data retrieval call binding the contract method 0x558f8f44.

Solidity: function treasuryRewardCutRate() view 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() view returns(uint64)

type BondingManagerEarningsClaimed

type BondingManagerEarningsClaimed struct {
	Delegate   common.Address
	Delegator  common.Address
	Rewards    *big.Int
	Fees       *big.Int
	StartRound *big.Int
	EndRound   *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

BondingManagerEarningsClaimed represents a EarningsClaimed event raised by the BondingManager contract.

type BondingManagerEarningsClaimedIterator

type BondingManagerEarningsClaimedIterator struct {
	Event *BondingManagerEarningsClaimed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BondingManagerEarningsClaimedIterator is returned from FilterEarningsClaimed and is used to iterate over the raw logs and unpacked data for EarningsClaimed events raised by the BondingManager contract.

func (*BondingManagerEarningsClaimedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BondingManagerEarningsClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerEarningsClaimedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BondingManagerFilterer

type BondingManagerFilterer struct {
	// contains filtered or unexported fields
}

BondingManagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewBondingManagerFilterer

func NewBondingManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*BondingManagerFilterer, error)

NewBondingManagerFilterer creates a new log filterer instance of BondingManager, bound to a specific deployed contract.

func (*BondingManagerFilterer) FilterBond

func (_BondingManager *BondingManagerFilterer) FilterBond(opts *bind.FilterOpts, newDelegate []common.Address, oldDelegate []common.Address, delegator []common.Address) (*BondingManagerBondIterator, error)

FilterBond is a free log retrieval operation binding the contract event 0xe5917769f276ddca9f2ee7c6b0b33e1d1e1b61008010ce622c632dd20d168a23.

Solidity: event Bond(address indexed newDelegate, address indexed oldDelegate, address indexed delegator, uint256 additionalAmount, uint256 bondedAmount)

func (*BondingManagerFilterer) FilterEarningsClaimed

func (_BondingManager *BondingManagerFilterer) FilterEarningsClaimed(opts *bind.FilterOpts, delegate []common.Address, delegator []common.Address) (*BondingManagerEarningsClaimedIterator, error)

FilterEarningsClaimed is a free log retrieval operation binding the contract event 0xd7eab0765b772ea6ea859d5633baf737502198012e930f257f90013d9b211094.

Solidity: event EarningsClaimed(address indexed delegate, address indexed delegator, uint256 rewards, uint256 fees, uint256 startRound, uint256 endRound)

func (*BondingManagerFilterer) FilterParameterUpdate

func (_BondingManager *BondingManagerFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*BondingManagerParameterUpdateIterator, error)

FilterParameterUpdate is a free log retrieval operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*BondingManagerFilterer) FilterRebond

func (_BondingManager *BondingManagerFilterer) FilterRebond(opts *bind.FilterOpts, delegate []common.Address, delegator []common.Address) (*BondingManagerRebondIterator, error)

FilterRebond is a free log retrieval operation binding the contract event 0x9f5b64cc71e1e26ff178caaa7877a04d8ce66fde989251870e80e6fbee690c17.

Solidity: event Rebond(address indexed delegate, address indexed delegator, uint256 unbondingLockId, uint256 amount)

func (*BondingManagerFilterer) FilterReward

func (_BondingManager *BondingManagerFilterer) FilterReward(opts *bind.FilterOpts, transcoder []common.Address) (*BondingManagerRewardIterator, error)

FilterReward is a free log retrieval operation binding the contract event 0x619caafabdd75649b302ba8419e48cccf64f37f1983ac4727cfb38b57703ffc9.

Solidity: event Reward(address indexed transcoder, uint256 amount)

func (*BondingManagerFilterer) FilterRewardCallerSet

func (_BondingManager *BondingManagerFilterer) FilterRewardCallerSet(opts *bind.FilterOpts, transcoder []common.Address, rewardCaller []common.Address) (*BondingManagerRewardCallerSetIterator, error)

FilterRewardCallerSet is a free log retrieval operation binding the contract event 0x15932b87747cac36d3c505e86a946c6d3a79d9d7bdb79d81584d32bbe54516c2.

Solidity: event RewardCallerSet(address indexed transcoder, address indexed rewardCaller)

func (*BondingManagerFilterer) FilterSetController

func (_BondingManager *BondingManagerFilterer) FilterSetController(opts *bind.FilterOpts) (*BondingManagerSetControllerIterator, error)

FilterSetController is a free log retrieval operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*BondingManagerFilterer) FilterTranscoderActivated

func (_BondingManager *BondingManagerFilterer) FilterTranscoderActivated(opts *bind.FilterOpts, transcoder []common.Address) (*BondingManagerTranscoderActivatedIterator, error)

FilterTranscoderActivated is a free log retrieval operation binding the contract event 0x65d72d782835d64c3287844a829608d5abdc7e864cc9affe96d910ab3db665e9.

Solidity: event TranscoderActivated(address indexed transcoder, uint256 activationRound)

func (*BondingManagerFilterer) FilterTranscoderDeactivated

func (_BondingManager *BondingManagerFilterer) FilterTranscoderDeactivated(opts *bind.FilterOpts, transcoder []common.Address) (*BondingManagerTranscoderDeactivatedIterator, error)

FilterTranscoderDeactivated is a free log retrieval operation binding the contract event 0xfee3e693fc72d0a0a673805f3e606c551f4c677b9072444b90dd2d0406bc995c.

Solidity: event TranscoderDeactivated(address indexed transcoder, uint256 deactivationRound)

func (*BondingManagerFilterer) FilterTranscoderSlashed

func (_BondingManager *BondingManagerFilterer) FilterTranscoderSlashed(opts *bind.FilterOpts, transcoder []common.Address) (*BondingManagerTranscoderSlashedIterator, error)

FilterTranscoderSlashed is a free log retrieval operation binding the contract event 0xf4b71fed8e2c9a8c67c388bc6d35ad20b9368a24eed6d565459f2b277b6c0c22.

Solidity: event TranscoderSlashed(address indexed transcoder, address finder, uint256 penalty, uint256 finderReward)

func (*BondingManagerFilterer) FilterTranscoderUpdate

func (_BondingManager *BondingManagerFilterer) FilterTranscoderUpdate(opts *bind.FilterOpts, transcoder []common.Address) (*BondingManagerTranscoderUpdateIterator, error)

FilterTranscoderUpdate is a free log retrieval operation binding the contract event 0x7346854431dbb3eb8e373c604abf89e90f4865b8447e1e2834d7b3e4677bf544.

Solidity: event TranscoderUpdate(address indexed transcoder, uint256 rewardCut, uint256 feeShare)

func (*BondingManagerFilterer) FilterTransferBond

func (_BondingManager *BondingManagerFilterer) FilterTransferBond(opts *bind.FilterOpts, oldDelegator []common.Address, newDelegator []common.Address) (*BondingManagerTransferBondIterator, error)

FilterTransferBond is a free log retrieval operation binding the contract event 0xf136b986590e86cf1abd7b6600186a7a1178ad3cbbdf0f3312e79f6214a2a567.

Solidity: event TransferBond(address indexed oldDelegator, address indexed newDelegator, uint256 oldUnbondingLockId, uint256 newUnbondingLockId, uint256 amount)

func (*BondingManagerFilterer) FilterTreasuryReward

func (_BondingManager *BondingManagerFilterer) FilterTreasuryReward(opts *bind.FilterOpts, transcoder []common.Address) (*BondingManagerTreasuryRewardIterator, error)

FilterTreasuryReward is a free log retrieval operation binding the contract event 0x40e200718fe552021167687e5491d09f5931275b6f88f14a462650f0effb5237.

Solidity: event TreasuryReward(address indexed transcoder, address treasury, uint256 amount)

func (*BondingManagerFilterer) FilterUnbond

func (_BondingManager *BondingManagerFilterer) FilterUnbond(opts *bind.FilterOpts, delegate []common.Address, delegator []common.Address) (*BondingManagerUnbondIterator, error)

FilterUnbond is a free log retrieval operation binding the contract event 0x2d5d98d189bee5496a08db2a5948cb7e5e786f09d17d0c3f228eb41776c24a06.

Solidity: event Unbond(address indexed delegate, address indexed delegator, uint256 unbondingLockId, uint256 amount, uint256 withdrawRound)

func (*BondingManagerFilterer) FilterWithdrawFees

func (_BondingManager *BondingManagerFilterer) FilterWithdrawFees(opts *bind.FilterOpts, delegator []common.Address) (*BondingManagerWithdrawFeesIterator, error)

FilterWithdrawFees is a free log retrieval operation binding the contract event 0x4f1b51dd7a2fcb861aa2670f668be66835c4ee12b4bbbf037e4d0018f39819e4.

Solidity: event WithdrawFees(address indexed delegator, address recipient, uint256 amount)

func (*BondingManagerFilterer) FilterWithdrawStake

func (_BondingManager *BondingManagerFilterer) FilterWithdrawStake(opts *bind.FilterOpts, delegator []common.Address) (*BondingManagerWithdrawStakeIterator, error)

FilterWithdrawStake is a free log retrieval operation binding the contract event 0x1340f1a8f3d456a649e1a12071dfa15655e3d09252131d0f980c3b405cc8dd2e.

Solidity: event WithdrawStake(address indexed delegator, uint256 unbondingLockId, uint256 amount, uint256 withdrawRound)

func (*BondingManagerFilterer) ParseBond

func (_BondingManager *BondingManagerFilterer) ParseBond(log types.Log) (*BondingManagerBond, error)

ParseBond is a log parse operation binding the contract event 0xe5917769f276ddca9f2ee7c6b0b33e1d1e1b61008010ce622c632dd20d168a23.

Solidity: event Bond(address indexed newDelegate, address indexed oldDelegate, address indexed delegator, uint256 additionalAmount, uint256 bondedAmount)

func (*BondingManagerFilterer) ParseEarningsClaimed

func (_BondingManager *BondingManagerFilterer) ParseEarningsClaimed(log types.Log) (*BondingManagerEarningsClaimed, error)

ParseEarningsClaimed is a log parse operation binding the contract event 0xd7eab0765b772ea6ea859d5633baf737502198012e930f257f90013d9b211094.

Solidity: event EarningsClaimed(address indexed delegate, address indexed delegator, uint256 rewards, uint256 fees, uint256 startRound, uint256 endRound)

func (*BondingManagerFilterer) ParseParameterUpdate

func (_BondingManager *BondingManagerFilterer) ParseParameterUpdate(log types.Log) (*BondingManagerParameterUpdate, error)

ParseParameterUpdate is a log parse operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*BondingManagerFilterer) ParseRebond

func (_BondingManager *BondingManagerFilterer) ParseRebond(log types.Log) (*BondingManagerRebond, error)

ParseRebond is a log parse operation binding the contract event 0x9f5b64cc71e1e26ff178caaa7877a04d8ce66fde989251870e80e6fbee690c17.

Solidity: event Rebond(address indexed delegate, address indexed delegator, uint256 unbondingLockId, uint256 amount)

func (*BondingManagerFilterer) ParseReward

func (_BondingManager *BondingManagerFilterer) ParseReward(log types.Log) (*BondingManagerReward, error)

ParseReward is a log parse operation binding the contract event 0x619caafabdd75649b302ba8419e48cccf64f37f1983ac4727cfb38b57703ffc9.

Solidity: event Reward(address indexed transcoder, uint256 amount)

func (*BondingManagerFilterer) ParseRewardCallerSet

func (_BondingManager *BondingManagerFilterer) ParseRewardCallerSet(log types.Log) (*BondingManagerRewardCallerSet, error)

ParseRewardCallerSet is a log parse operation binding the contract event 0x15932b87747cac36d3c505e86a946c6d3a79d9d7bdb79d81584d32bbe54516c2.

Solidity: event RewardCallerSet(address indexed transcoder, address indexed rewardCaller)

func (*BondingManagerFilterer) ParseSetController

func (_BondingManager *BondingManagerFilterer) ParseSetController(log types.Log) (*BondingManagerSetController, error)

ParseSetController is a log parse operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*BondingManagerFilterer) ParseTranscoderActivated

func (_BondingManager *BondingManagerFilterer) ParseTranscoderActivated(log types.Log) (*BondingManagerTranscoderActivated, error)

ParseTranscoderActivated is a log parse operation binding the contract event 0x65d72d782835d64c3287844a829608d5abdc7e864cc9affe96d910ab3db665e9.

Solidity: event TranscoderActivated(address indexed transcoder, uint256 activationRound)

func (*BondingManagerFilterer) ParseTranscoderDeactivated

func (_BondingManager *BondingManagerFilterer) ParseTranscoderDeactivated(log types.Log) (*BondingManagerTranscoderDeactivated, error)

ParseTranscoderDeactivated is a log parse operation binding the contract event 0xfee3e693fc72d0a0a673805f3e606c551f4c677b9072444b90dd2d0406bc995c.

Solidity: event TranscoderDeactivated(address indexed transcoder, uint256 deactivationRound)

func (*BondingManagerFilterer) ParseTranscoderSlashed

func (_BondingManager *BondingManagerFilterer) ParseTranscoderSlashed(log types.Log) (*BondingManagerTranscoderSlashed, error)

ParseTranscoderSlashed is a log parse operation binding the contract event 0xf4b71fed8e2c9a8c67c388bc6d35ad20b9368a24eed6d565459f2b277b6c0c22.

Solidity: event TranscoderSlashed(address indexed transcoder, address finder, uint256 penalty, uint256 finderReward)

func (*BondingManagerFilterer) ParseTranscoderUpdate

func (_BondingManager *BondingManagerFilterer) ParseTranscoderUpdate(log types.Log) (*BondingManagerTranscoderUpdate, error)

ParseTranscoderUpdate is a log parse operation binding the contract event 0x7346854431dbb3eb8e373c604abf89e90f4865b8447e1e2834d7b3e4677bf544.

Solidity: event TranscoderUpdate(address indexed transcoder, uint256 rewardCut, uint256 feeShare)

func (*BondingManagerFilterer) ParseTransferBond

func (_BondingManager *BondingManagerFilterer) ParseTransferBond(log types.Log) (*BondingManagerTransferBond, error)

ParseTransferBond is a log parse operation binding the contract event 0xf136b986590e86cf1abd7b6600186a7a1178ad3cbbdf0f3312e79f6214a2a567.

Solidity: event TransferBond(address indexed oldDelegator, address indexed newDelegator, uint256 oldUnbondingLockId, uint256 newUnbondingLockId, uint256 amount)

func (*BondingManagerFilterer) ParseTreasuryReward

func (_BondingManager *BondingManagerFilterer) ParseTreasuryReward(log types.Log) (*BondingManagerTreasuryReward, error)

ParseTreasuryReward is a log parse operation binding the contract event 0x40e200718fe552021167687e5491d09f5931275b6f88f14a462650f0effb5237.

Solidity: event TreasuryReward(address indexed transcoder, address treasury, uint256 amount)

func (*BondingManagerFilterer) ParseUnbond

func (_BondingManager *BondingManagerFilterer) ParseUnbond(log types.Log) (*BondingManagerUnbond, error)

ParseUnbond is a log parse operation binding the contract event 0x2d5d98d189bee5496a08db2a5948cb7e5e786f09d17d0c3f228eb41776c24a06.

Solidity: event Unbond(address indexed delegate, address indexed delegator, uint256 unbondingLockId, uint256 amount, uint256 withdrawRound)

func (*BondingManagerFilterer) ParseWithdrawFees

func (_BondingManager *BondingManagerFilterer) ParseWithdrawFees(log types.Log) (*BondingManagerWithdrawFees, error)

ParseWithdrawFees is a log parse operation binding the contract event 0x4f1b51dd7a2fcb861aa2670f668be66835c4ee12b4bbbf037e4d0018f39819e4.

Solidity: event WithdrawFees(address indexed delegator, address recipient, uint256 amount)

func (*BondingManagerFilterer) ParseWithdrawStake

func (_BondingManager *BondingManagerFilterer) ParseWithdrawStake(log types.Log) (*BondingManagerWithdrawStake, error)

ParseWithdrawStake is a log parse operation binding the contract event 0x1340f1a8f3d456a649e1a12071dfa15655e3d09252131d0f980c3b405cc8dd2e.

Solidity: event WithdrawStake(address indexed delegator, uint256 unbondingLockId, uint256 amount, uint256 withdrawRound)

func (*BondingManagerFilterer) WatchBond

func (_BondingManager *BondingManagerFilterer) WatchBond(opts *bind.WatchOpts, sink chan<- *BondingManagerBond, newDelegate []common.Address, oldDelegate []common.Address, delegator []common.Address) (event.Subscription, error)

WatchBond is a free log subscription operation binding the contract event 0xe5917769f276ddca9f2ee7c6b0b33e1d1e1b61008010ce622c632dd20d168a23.

Solidity: event Bond(address indexed newDelegate, address indexed oldDelegate, address indexed delegator, uint256 additionalAmount, uint256 bondedAmount)

func (*BondingManagerFilterer) WatchEarningsClaimed

func (_BondingManager *BondingManagerFilterer) WatchEarningsClaimed(opts *bind.WatchOpts, sink chan<- *BondingManagerEarningsClaimed, delegate []common.Address, delegator []common.Address) (event.Subscription, error)

WatchEarningsClaimed is a free log subscription operation binding the contract event 0xd7eab0765b772ea6ea859d5633baf737502198012e930f257f90013d9b211094.

Solidity: event EarningsClaimed(address indexed delegate, address indexed delegator, uint256 rewards, uint256 fees, uint256 startRound, uint256 endRound)

func (*BondingManagerFilterer) WatchParameterUpdate

func (_BondingManager *BondingManagerFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *BondingManagerParameterUpdate) (event.Subscription, error)

WatchParameterUpdate is a free log subscription operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*BondingManagerFilterer) WatchRebond

func (_BondingManager *BondingManagerFilterer) WatchRebond(opts *bind.WatchOpts, sink chan<- *BondingManagerRebond, delegate []common.Address, delegator []common.Address) (event.Subscription, error)

WatchRebond is a free log subscription operation binding the contract event 0x9f5b64cc71e1e26ff178caaa7877a04d8ce66fde989251870e80e6fbee690c17.

Solidity: event Rebond(address indexed delegate, address indexed delegator, uint256 unbondingLockId, uint256 amount)

func (*BondingManagerFilterer) WatchReward

func (_BondingManager *BondingManagerFilterer) WatchReward(opts *bind.WatchOpts, sink chan<- *BondingManagerReward, transcoder []common.Address) (event.Subscription, error)

WatchReward is a free log subscription operation binding the contract event 0x619caafabdd75649b302ba8419e48cccf64f37f1983ac4727cfb38b57703ffc9.

Solidity: event Reward(address indexed transcoder, uint256 amount)

func (*BondingManagerFilterer) WatchRewardCallerSet

func (_BondingManager *BondingManagerFilterer) WatchRewardCallerSet(opts *bind.WatchOpts, sink chan<- *BondingManagerRewardCallerSet, transcoder []common.Address, rewardCaller []common.Address) (event.Subscription, error)

WatchRewardCallerSet is a free log subscription operation binding the contract event 0x15932b87747cac36d3c505e86a946c6d3a79d9d7bdb79d81584d32bbe54516c2.

Solidity: event RewardCallerSet(address indexed transcoder, address indexed rewardCaller)

func (*BondingManagerFilterer) WatchSetController

func (_BondingManager *BondingManagerFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *BondingManagerSetController) (event.Subscription, error)

WatchSetController is a free log subscription operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*BondingManagerFilterer) WatchTranscoderActivated

func (_BondingManager *BondingManagerFilterer) WatchTranscoderActivated(opts *bind.WatchOpts, sink chan<- *BondingManagerTranscoderActivated, transcoder []common.Address) (event.Subscription, error)

WatchTranscoderActivated is a free log subscription operation binding the contract event 0x65d72d782835d64c3287844a829608d5abdc7e864cc9affe96d910ab3db665e9.

Solidity: event TranscoderActivated(address indexed transcoder, uint256 activationRound)

func (*BondingManagerFilterer) WatchTranscoderDeactivated

func (_BondingManager *BondingManagerFilterer) WatchTranscoderDeactivated(opts *bind.WatchOpts, sink chan<- *BondingManagerTranscoderDeactivated, transcoder []common.Address) (event.Subscription, error)

WatchTranscoderDeactivated is a free log subscription operation binding the contract event 0xfee3e693fc72d0a0a673805f3e606c551f4c677b9072444b90dd2d0406bc995c.

Solidity: event TranscoderDeactivated(address indexed transcoder, uint256 deactivationRound)

func (*BondingManagerFilterer) WatchTranscoderSlashed

func (_BondingManager *BondingManagerFilterer) WatchTranscoderSlashed(opts *bind.WatchOpts, sink chan<- *BondingManagerTranscoderSlashed, transcoder []common.Address) (event.Subscription, error)

WatchTranscoderSlashed is a free log subscription operation binding the contract event 0xf4b71fed8e2c9a8c67c388bc6d35ad20b9368a24eed6d565459f2b277b6c0c22.

Solidity: event TranscoderSlashed(address indexed transcoder, address finder, uint256 penalty, uint256 finderReward)

func (*BondingManagerFilterer) WatchTranscoderUpdate

func (_BondingManager *BondingManagerFilterer) WatchTranscoderUpdate(opts *bind.WatchOpts, sink chan<- *BondingManagerTranscoderUpdate, transcoder []common.Address) (event.Subscription, error)

WatchTranscoderUpdate is a free log subscription operation binding the contract event 0x7346854431dbb3eb8e373c604abf89e90f4865b8447e1e2834d7b3e4677bf544.

Solidity: event TranscoderUpdate(address indexed transcoder, uint256 rewardCut, uint256 feeShare)

func (*BondingManagerFilterer) WatchTransferBond

func (_BondingManager *BondingManagerFilterer) WatchTransferBond(opts *bind.WatchOpts, sink chan<- *BondingManagerTransferBond, oldDelegator []common.Address, newDelegator []common.Address) (event.Subscription, error)

WatchTransferBond is a free log subscription operation binding the contract event 0xf136b986590e86cf1abd7b6600186a7a1178ad3cbbdf0f3312e79f6214a2a567.

Solidity: event TransferBond(address indexed oldDelegator, address indexed newDelegator, uint256 oldUnbondingLockId, uint256 newUnbondingLockId, uint256 amount)

func (*BondingManagerFilterer) WatchTreasuryReward

func (_BondingManager *BondingManagerFilterer) WatchTreasuryReward(opts *bind.WatchOpts, sink chan<- *BondingManagerTreasuryReward, transcoder []common.Address) (event.Subscription, error)

WatchTreasuryReward is a free log subscription operation binding the contract event 0x40e200718fe552021167687e5491d09f5931275b6f88f14a462650f0effb5237.

Solidity: event TreasuryReward(address indexed transcoder, address treasury, uint256 amount)

func (*BondingManagerFilterer) WatchUnbond

func (_BondingManager *BondingManagerFilterer) WatchUnbond(opts *bind.WatchOpts, sink chan<- *BondingManagerUnbond, delegate []common.Address, delegator []common.Address) (event.Subscription, error)

WatchUnbond is a free log subscription operation binding the contract event 0x2d5d98d189bee5496a08db2a5948cb7e5e786f09d17d0c3f228eb41776c24a06.

Solidity: event Unbond(address indexed delegate, address indexed delegator, uint256 unbondingLockId, uint256 amount, uint256 withdrawRound)

func (*BondingManagerFilterer) WatchWithdrawFees

func (_BondingManager *BondingManagerFilterer) WatchWithdrawFees(opts *bind.WatchOpts, sink chan<- *BondingManagerWithdrawFees, delegator []common.Address) (event.Subscription, error)

WatchWithdrawFees is a free log subscription operation binding the contract event 0x4f1b51dd7a2fcb861aa2670f668be66835c4ee12b4bbbf037e4d0018f39819e4.

Solidity: event WithdrawFees(address indexed delegator, address recipient, uint256 amount)

func (*BondingManagerFilterer) WatchWithdrawStake

func (_BondingManager *BondingManagerFilterer) WatchWithdrawStake(opts *bind.WatchOpts, sink chan<- *BondingManagerWithdrawStake, delegator []common.Address) (event.Subscription, error)

WatchWithdrawStake is a free log subscription operation binding the contract event 0x1340f1a8f3d456a649e1a12071dfa15655e3d09252131d0f980c3b405cc8dd2e.

Solidity: event WithdrawStake(address indexed delegator, uint256 unbondingLockId, uint256 amount, uint256 withdrawRound)

type BondingManagerParameterUpdate

type BondingManagerParameterUpdate struct {
	Param string
	Raw   types.Log // Blockchain specific contextual infos
}

BondingManagerParameterUpdate represents a ParameterUpdate event raised by the BondingManager contract.

type BondingManagerParameterUpdateIterator

type BondingManagerParameterUpdateIterator struct {
	Event *BondingManagerParameterUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BondingManagerParameterUpdateIterator is returned from FilterParameterUpdate and is used to iterate over the raw logs and unpacked data for ParameterUpdate events raised by the BondingManager contract.

func (*BondingManagerParameterUpdateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BondingManagerParameterUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerParameterUpdateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BondingManagerRaw

type BondingManagerRaw struct {
	Contract *BondingManager // Generic contract binding to access the raw methods on
}

BondingManagerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*BondingManagerRaw) Call

func (_BondingManager *BondingManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*BondingManagerRaw) Transact

func (_BondingManager *BondingManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BondingManagerRaw) Transfer

func (_BondingManager *BondingManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BondingManagerRebond

type BondingManagerRebond struct {
	Delegate        common.Address
	Delegator       common.Address
	UnbondingLockId *big.Int
	Amount          *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

BondingManagerRebond represents a Rebond event raised by the BondingManager contract.

type BondingManagerRebondIterator

type BondingManagerRebondIterator struct {
	Event *BondingManagerRebond // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BondingManagerRebondIterator is returned from FilterRebond and is used to iterate over the raw logs and unpacked data for Rebond events raised by the BondingManager contract.

func (*BondingManagerRebondIterator) Close

func (it *BondingManagerRebondIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BondingManagerRebondIterator) Error

func (it *BondingManagerRebondIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerRebondIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BondingManagerReward

type BondingManagerReward struct {
	Transcoder common.Address
	Amount     *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

BondingManagerReward represents a Reward event raised by the BondingManager contract.

type BondingManagerRewardCallerSet

type BondingManagerRewardCallerSet struct {
	Transcoder   common.Address
	RewardCaller common.Address
	Raw          types.Log // Blockchain specific contextual infos
}

BondingManagerRewardCallerSet represents a RewardCallerSet event raised by the BondingManager contract.

type BondingManagerRewardCallerSetIterator

type BondingManagerRewardCallerSetIterator struct {
	Event *BondingManagerRewardCallerSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BondingManagerRewardCallerSetIterator is returned from FilterRewardCallerSet and is used to iterate over the raw logs and unpacked data for RewardCallerSet events raised by the BondingManager contract.

func (*BondingManagerRewardCallerSetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BondingManagerRewardCallerSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerRewardCallerSetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BondingManagerRewardIterator

type BondingManagerRewardIterator struct {
	Event *BondingManagerReward // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BondingManagerRewardIterator is returned from FilterReward and is used to iterate over the raw logs and unpacked data for Reward events raised by the BondingManager contract.

func (*BondingManagerRewardIterator) Close

func (it *BondingManagerRewardIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BondingManagerRewardIterator) Error

func (it *BondingManagerRewardIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerRewardIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BondingManagerSession

type BondingManagerSession struct {
	Contract     *BondingManager   // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

BondingManagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*BondingManagerSession) Bond

func (_BondingManager *BondingManagerSession) Bond(_amount *big.Int, _to common.Address) (*types.Transaction, error)

Bond is a paid mutator transaction binding the contract method 0xb78d27dc.

Solidity: function bond(uint256 _amount, address _to) returns()

func (*BondingManagerSession) BondForWithHint

func (_BondingManager *BondingManagerSession) BondForWithHint(_amount *big.Int, _owner common.Address, _to common.Address, _oldDelegateNewPosPrev common.Address, _oldDelegateNewPosNext common.Address, _currDelegateNewPosPrev common.Address, _currDelegateNewPosNext common.Address) (*types.Transaction, error)

BondForWithHint is a paid mutator transaction binding the contract method 0xee4e804a.

Solidity: function bondForWithHint(uint256 _amount, address _owner, address _to, address _oldDelegateNewPosPrev, address _oldDelegateNewPosNext, address _currDelegateNewPosPrev, address _currDelegateNewPosNext) returns()

func (*BondingManagerSession) BondWithHint

func (_BondingManager *BondingManagerSession) BondWithHint(_amount *big.Int, _to common.Address, _oldDelegateNewPosPrev common.Address, _oldDelegateNewPosNext common.Address, _currDelegateNewPosPrev common.Address, _currDelegateNewPosNext common.Address) (*types.Transaction, error)

BondWithHint is a paid mutator transaction binding the contract method 0x6bd9add4.

Solidity: function bondWithHint(uint256 _amount, address _to, address _oldDelegateNewPosPrev, address _oldDelegateNewPosNext, address _currDelegateNewPosPrev, address _currDelegateNewPosNext) returns()

func (*BondingManagerSession) CheckpointBondingState

func (_BondingManager *BondingManagerSession) CheckpointBondingState(_account common.Address) (*types.Transaction, error)

CheckpointBondingState is a paid mutator transaction binding the contract method 0xd52bd62b.

Solidity: function checkpointBondingState(address _account) returns()

func (*BondingManagerSession) ClaimEarnings

func (_BondingManager *BondingManagerSession) ClaimEarnings(_endRound *big.Int) (*types.Transaction, error)

ClaimEarnings is a paid mutator transaction binding the contract method 0x24b1babf.

Solidity: function claimEarnings(uint256 _endRound) returns()

func (*BondingManagerSession) Controller

func (_BondingManager *BondingManagerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*BondingManagerSession) CurrentRoundTotalActiveStake

func (_BondingManager *BondingManagerSession) CurrentRoundTotalActiveStake() (*big.Int, error)

CurrentRoundTotalActiveStake is a free data retrieval call binding the contract method 0x4196ee75.

Solidity: function currentRoundTotalActiveStake() view returns(uint256)

func (*BondingManagerSession) DelegatorStatus

func (_BondingManager *BondingManagerSession) DelegatorStatus(_delegator common.Address) (uint8, error)

DelegatorStatus is a free data retrieval call binding the contract method 0x1544fc67.

Solidity: function delegatorStatus(address _delegator) view returns(uint8)

func (*BondingManagerSession) GetDelegator

func (_BondingManager *BondingManagerSession) GetDelegator(_delegator common.Address) (struct {
	BondedAmount        *big.Int
	Fees                *big.Int
	DelegateAddress     common.Address
	DelegatedAmount     *big.Int
	StartRound          *big.Int
	LastClaimRound      *big.Int
	NextUnbondingLockId *big.Int
}, error)

GetDelegator is a free data retrieval call binding the contract method 0xa64ad595.

Solidity: function getDelegator(address _delegator) view returns(uint256 bondedAmount, uint256 fees, address delegateAddress, uint256 delegatedAmount, uint256 startRound, uint256 lastClaimRound, uint256 nextUnbondingLockId)

func (*BondingManagerSession) GetDelegatorUnbondingLock

func (_BondingManager *BondingManagerSession) GetDelegatorUnbondingLock(_delegator common.Address, _unbondingLockId *big.Int) (struct {
	Amount        *big.Int
	WithdrawRound *big.Int
}, error)

GetDelegatorUnbondingLock is a free data retrieval call binding the contract method 0x412f83b6.

Solidity: function getDelegatorUnbondingLock(address _delegator, uint256 _unbondingLockId) view returns(uint256 amount, uint256 withdrawRound)

func (*BondingManagerSession) GetFirstTranscoderInPool

func (_BondingManager *BondingManagerSession) GetFirstTranscoderInPool() (common.Address, error)

GetFirstTranscoderInPool is a free data retrieval call binding the contract method 0x88a6c749.

Solidity: function getFirstTranscoderInPool() view returns(address)

func (*BondingManagerSession) GetNextTranscoderInPool

func (_BondingManager *BondingManagerSession) GetNextTranscoderInPool(_transcoder common.Address) (common.Address, error)

GetNextTranscoderInPool is a free data retrieval call binding the contract method 0x235c9603.

Solidity: function getNextTranscoderInPool(address _transcoder) view returns(address)

func (*BondingManagerSession) GetTotalBonded

func (_BondingManager *BondingManagerSession) GetTotalBonded() (*big.Int, error)

GetTotalBonded is a free data retrieval call binding the contract method 0x5c50c356.

Solidity: function getTotalBonded() view returns(uint256)

func (*BondingManagerSession) GetTranscoder

func (_BondingManager *BondingManagerSession) GetTranscoder(_transcoder common.Address) (struct {
	LastRewardRound            *big.Int
	RewardCut                  *big.Int
	FeeShare                   *big.Int
	LastActiveStakeUpdateRound *big.Int
	ActivationRound            *big.Int
	DeactivationRound          *big.Int
	ActiveCumulativeRewards    *big.Int
	CumulativeRewards          *big.Int
	CumulativeFees             *big.Int
	LastFeeRound               *big.Int
}, error)

GetTranscoder is a free data retrieval call binding the contract method 0x5dce9948.

Solidity: function getTranscoder(address _transcoder) view returns(uint256 lastRewardRound, uint256 rewardCut, uint256 feeShare, uint256 lastActiveStakeUpdateRound, uint256 activationRound, uint256 deactivationRound, uint256 activeCumulativeRewards, uint256 cumulativeRewards, uint256 cumulativeFees, uint256 lastFeeRound)

func (*BondingManagerSession) GetTranscoderEarningsPoolForRound

func (_BondingManager *BondingManagerSession) GetTranscoderEarningsPoolForRound(_transcoder common.Address, _round *big.Int) (struct {
	TotalStake             *big.Int
	TranscoderRewardCut    *big.Int
	TranscoderFeeShare     *big.Int
	CumulativeRewardFactor *big.Int
	CumulativeFeeFactor    *big.Int
}, error)

GetTranscoderEarningsPoolForRound is a free data retrieval call binding the contract method 0x24454fc4.

Solidity: function getTranscoderEarningsPoolForRound(address _transcoder, uint256 _round) view returns(uint256 totalStake, uint256 transcoderRewardCut, uint256 transcoderFeeShare, uint256 cumulativeRewardFactor, uint256 cumulativeFeeFactor)

func (*BondingManagerSession) GetTranscoderPoolMaxSize

func (_BondingManager *BondingManagerSession) GetTranscoderPoolMaxSize() (*big.Int, error)

GetTranscoderPoolMaxSize is a free data retrieval call binding the contract method 0x5a2a75a9.

Solidity: function getTranscoderPoolMaxSize() view returns(uint256)

func (*BondingManagerSession) GetTranscoderPoolSize

func (_BondingManager *BondingManagerSession) GetTranscoderPoolSize() (*big.Int, error)

GetTranscoderPoolSize is a free data retrieval call binding the contract method 0x2a4e0d55.

Solidity: function getTranscoderPoolSize() view returns(uint256)

func (*BondingManagerSession) IsActiveTranscoder

func (_BondingManager *BondingManagerSession) IsActiveTranscoder(_transcoder common.Address) (bool, error)

IsActiveTranscoder is a free data retrieval call binding the contract method 0x08802374.

Solidity: function isActiveTranscoder(address _transcoder) view returns(bool)

func (*BondingManagerSession) IsRegisteredTranscoder

func (_BondingManager *BondingManagerSession) IsRegisteredTranscoder(_transcoder common.Address) (bool, error)

IsRegisteredTranscoder is a free data retrieval call binding the contract method 0x68ba170c.

Solidity: function isRegisteredTranscoder(address _transcoder) view returns(bool)

func (*BondingManagerSession) IsValidUnbondingLock

func (_BondingManager *BondingManagerSession) IsValidUnbondingLock(_delegator common.Address, _unbondingLockId *big.Int) (bool, error)

IsValidUnbondingLock is a free data retrieval call binding the contract method 0x0fd02fc1.

Solidity: function isValidUnbondingLock(address _delegator, uint256 _unbondingLockId) view returns(bool)

func (*BondingManagerSession) NextRoundTotalActiveStake

func (_BondingManager *BondingManagerSession) NextRoundTotalActiveStake() (*big.Int, error)

NextRoundTotalActiveStake is a free data retrieval call binding the contract method 0x465501d3.

Solidity: function nextRoundTotalActiveStake() view returns(uint256)

func (*BondingManagerSession) NextRoundTreasuryRewardCutRate

func (_BondingManager *BondingManagerSession) NextRoundTreasuryRewardCutRate() (*big.Int, error)

NextRoundTreasuryRewardCutRate is a free data retrieval call binding the contract method 0xa5766231.

Solidity: function nextRoundTreasuryRewardCutRate() view returns(uint256)

func (*BondingManagerSession) PendingFees

func (_BondingManager *BondingManagerSession) PendingFees(_delegator common.Address, _endRound *big.Int) (*big.Int, error)

PendingFees is a free data retrieval call binding the contract method 0xf595f1cc.

Solidity: function pendingFees(address _delegator, uint256 _endRound) view returns(uint256)

func (*BondingManagerSession) PendingStake

func (_BondingManager *BondingManagerSession) PendingStake(_delegator common.Address, _endRound *big.Int) (*big.Int, error)

PendingStake is a free data retrieval call binding the contract method 0x9d0b2c7a.

Solidity: function pendingStake(address _delegator, uint256 _endRound) view returns(uint256)

func (*BondingManagerSession) Rebond

func (_BondingManager *BondingManagerSession) Rebond(_unbondingLockId *big.Int) (*types.Transaction, error)

Rebond is a paid mutator transaction binding the contract method 0xeaffb3f9.

Solidity: function rebond(uint256 _unbondingLockId) returns()

func (*BondingManagerSession) RebondFromUnbonded

func (_BondingManager *BondingManagerSession) RebondFromUnbonded(_to common.Address, _unbondingLockId *big.Int) (*types.Transaction, error)

RebondFromUnbonded is a paid mutator transaction binding the contract method 0x3a080e93.

Solidity: function rebondFromUnbonded(address _to, uint256 _unbondingLockId) returns()

func (*BondingManagerSession) RebondFromUnbondedWithHint

func (_BondingManager *BondingManagerSession) RebondFromUnbondedWithHint(_to common.Address, _unbondingLockId *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

RebondFromUnbondedWithHint is a paid mutator transaction binding the contract method 0x0584a373.

Solidity: function rebondFromUnbondedWithHint(address _to, uint256 _unbondingLockId, address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerSession) RebondWithHint

func (_BondingManager *BondingManagerSession) RebondWithHint(_unbondingLockId *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

RebondWithHint is a paid mutator transaction binding the contract method 0x7fc4606f.

Solidity: function rebondWithHint(uint256 _unbondingLockId, address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerSession) Reward

func (_BondingManager *BondingManagerSession) Reward() (*types.Transaction, error)

Reward is a paid mutator transaction binding the contract method 0x228cb733.

Solidity: function reward() returns()

func (*BondingManagerSession) RewardForTranscoder

func (_BondingManager *BondingManagerSession) RewardForTranscoder(_transcoder common.Address) (*types.Transaction, error)

RewardForTranscoder is a paid mutator transaction binding the contract method 0x1a8c41f8.

Solidity: function rewardForTranscoder(address _transcoder) returns()

func (*BondingManagerSession) RewardForTranscoderWithHint

func (_BondingManager *BondingManagerSession) RewardForTranscoderWithHint(_transcoder common.Address, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

RewardForTranscoderWithHint is a paid mutator transaction binding the contract method 0xb556966a.

Solidity: function rewardForTranscoderWithHint(address _transcoder, address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerSession) RewardWithHint

func (_BondingManager *BondingManagerSession) RewardWithHint(_newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

RewardWithHint is a paid mutator transaction binding the contract method 0x81871056.

Solidity: function rewardWithHint(address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerSession) SetController

func (_BondingManager *BondingManagerSession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*BondingManagerSession) SetCurrentRoundTotalActiveStake

func (_BondingManager *BondingManagerSession) SetCurrentRoundTotalActiveStake() (*types.Transaction, error)

SetCurrentRoundTotalActiveStake is a paid mutator transaction binding the contract method 0x713f2216.

Solidity: function setCurrentRoundTotalActiveStake() returns()

func (*BondingManagerSession) SetNumActiveTranscoders

func (_BondingManager *BondingManagerSession) SetNumActiveTranscoders(_numActiveTranscoders *big.Int) (*types.Transaction, error)

SetNumActiveTranscoders is a paid mutator transaction binding the contract method 0x673a456b.

Solidity: function setNumActiveTranscoders(uint256 _numActiveTranscoders) returns()

func (*BondingManagerSession) SetRewardCaller

func (_BondingManager *BondingManagerSession) SetRewardCaller(_rewardCaller common.Address) (*types.Transaction, error)

SetRewardCaller is a paid mutator transaction binding the contract method 0x0103e60e.

Solidity: function setRewardCaller(address _rewardCaller) returns()

func (*BondingManagerSession) SetTreasuryBalanceCeiling

func (_BondingManager *BondingManagerSession) SetTreasuryBalanceCeiling(_ceiling *big.Int) (*types.Transaction, error)

SetTreasuryBalanceCeiling is a paid mutator transaction binding the contract method 0x40e6f271.

Solidity: function setTreasuryBalanceCeiling(uint256 _ceiling) returns()

func (*BondingManagerSession) SetTreasuryRewardCutRate

func (_BondingManager *BondingManagerSession) SetTreasuryRewardCutRate(_cutRate *big.Int) (*types.Transaction, error)

SetTreasuryRewardCutRate is a paid mutator transaction binding the contract method 0xcf33a0d5.

Solidity: function setTreasuryRewardCutRate(uint256 _cutRate) returns()

func (*BondingManagerSession) SetUnbondingPeriod

func (_BondingManager *BondingManagerSession) SetUnbondingPeriod(_unbondingPeriod uint64) (*types.Transaction, error)

SetUnbondingPeriod is a paid mutator transaction binding the contract method 0xf10d1de1.

Solidity: function setUnbondingPeriod(uint64 _unbondingPeriod) returns()

func (*BondingManagerSession) SlashTranscoder

func (_BondingManager *BondingManagerSession) SlashTranscoder(_transcoder common.Address, _finder common.Address, _slashAmount *big.Int, _finderFee *big.Int) (*types.Transaction, error)

SlashTranscoder is a paid mutator transaction binding the contract method 0x22bf9d7c.

Solidity: function slashTranscoder(address _transcoder, address _finder, uint256 _slashAmount, uint256 _finderFee) returns()

func (*BondingManagerSession) TargetContractId

func (_BondingManager *BondingManagerSession) TargetContractId() ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

func (*BondingManagerSession) Transcoder

func (_BondingManager *BondingManagerSession) Transcoder(_rewardCut *big.Int, _feeShare *big.Int) (*types.Transaction, error)

Transcoder is a paid mutator transaction binding the contract method 0x43d3461a.

Solidity: function transcoder(uint256 _rewardCut, uint256 _feeShare) returns()

func (*BondingManagerSession) TranscoderStatus

func (_BondingManager *BondingManagerSession) TranscoderStatus(_transcoder common.Address) (uint8, error)

TranscoderStatus is a free data retrieval call binding the contract method 0x8b2f1652.

Solidity: function transcoderStatus(address _transcoder) view returns(uint8)

func (*BondingManagerSession) TranscoderToRewardCaller

func (_BondingManager *BondingManagerSession) TranscoderToRewardCaller(arg0 common.Address) (common.Address, error)

TranscoderToRewardCaller is a free data retrieval call binding the contract method 0x47621410.

Solidity: function transcoderToRewardCaller(address ) view returns(address)

func (*BondingManagerSession) TranscoderTotalStake

func (_BondingManager *BondingManagerSession) TranscoderTotalStake(_transcoder common.Address) (*big.Int, error)

TranscoderTotalStake is a free data retrieval call binding the contract method 0x9ef9df94.

Solidity: function transcoderTotalStake(address _transcoder) view returns(uint256)

func (*BondingManagerSession) TranscoderWithHint

func (_BondingManager *BondingManagerSession) TranscoderWithHint(_rewardCut *big.Int, _feeShare *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

TranscoderWithHint is a paid mutator transaction binding the contract method 0x3550aa10.

Solidity: function transcoderWithHint(uint256 _rewardCut, uint256 _feeShare, address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerSession) TransferBond

func (_BondingManager *BondingManagerSession) TransferBond(_delegator common.Address, _amount *big.Int, _oldDelegateNewPosPrev common.Address, _oldDelegateNewPosNext common.Address, _newDelegateNewPosPrev common.Address, _newDelegateNewPosNext common.Address) (*types.Transaction, error)

TransferBond is a paid mutator transaction binding the contract method 0x062e98b8.

Solidity: function transferBond(address _delegator, uint256 _amount, address _oldDelegateNewPosPrev, address _oldDelegateNewPosNext, address _newDelegateNewPosPrev, address _newDelegateNewPosNext) returns()

func (*BondingManagerSession) TreasuryBalanceCeiling

func (_BondingManager *BondingManagerSession) TreasuryBalanceCeiling() (*big.Int, error)

TreasuryBalanceCeiling is a free data retrieval call binding the contract method 0x84a16bbc.

Solidity: function treasuryBalanceCeiling() view returns(uint256)

func (*BondingManagerSession) TreasuryRewardCutRate

func (_BondingManager *BondingManagerSession) TreasuryRewardCutRate() (*big.Int, error)

TreasuryRewardCutRate is a free data retrieval call binding the contract method 0x558f8f44.

Solidity: function treasuryRewardCutRate() view returns(uint256)

func (*BondingManagerSession) Unbond

func (_BondingManager *BondingManagerSession) Unbond(_amount *big.Int) (*types.Transaction, error)

Unbond is a paid mutator transaction binding the contract method 0x27de9e32.

Solidity: function unbond(uint256 _amount) returns()

func (*BondingManagerSession) UnbondWithHint

func (_BondingManager *BondingManagerSession) UnbondWithHint(_amount *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

UnbondWithHint is a paid mutator transaction binding the contract method 0x9500ed9b.

Solidity: function unbondWithHint(uint256 _amount, address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerSession) UnbondingPeriod

func (_BondingManager *BondingManagerSession) UnbondingPeriod() (uint64, error)

UnbondingPeriod is a free data retrieval call binding the contract method 0x6cf6d675.

Solidity: function unbondingPeriod() view returns(uint64)

func (*BondingManagerSession) UpdateTranscoderWithFees

func (_BondingManager *BondingManagerSession) UpdateTranscoderWithFees(_transcoder common.Address, _fees *big.Int, _round *big.Int) (*types.Transaction, error)

UpdateTranscoderWithFees is a paid mutator transaction binding the contract method 0x3aeb512c.

Solidity: function updateTranscoderWithFees(address _transcoder, uint256 _fees, uint256 _round) returns()

func (*BondingManagerSession) WithdrawFees

func (_BondingManager *BondingManagerSession) WithdrawFees(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawFees is a paid mutator transaction binding the contract method 0xad3b1b47.

Solidity: function withdrawFees(address _recipient, uint256 _amount) returns()

func (*BondingManagerSession) WithdrawStake

func (_BondingManager *BondingManagerSession) WithdrawStake(_unbondingLockId *big.Int) (*types.Transaction, error)

WithdrawStake is a paid mutator transaction binding the contract method 0x25d5971f.

Solidity: function withdrawStake(uint256 _unbondingLockId) returns()

type BondingManagerSetController

type BondingManagerSetController struct {
	Controller common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

BondingManagerSetController represents a SetController event raised by the BondingManager contract.

type BondingManagerSetControllerIterator

type BondingManagerSetControllerIterator struct {
	Event *BondingManagerSetController // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BondingManagerSetControllerIterator is returned from FilterSetController and is used to iterate over the raw logs and unpacked data for SetController events raised by the BondingManager contract.

func (*BondingManagerSetControllerIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BondingManagerSetControllerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerSetControllerIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BondingManagerTransactor

type BondingManagerTransactor struct {
	// contains filtered or unexported fields
}

BondingManagerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewBondingManagerTransactor

func NewBondingManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*BondingManagerTransactor, error)

NewBondingManagerTransactor creates a new write-only instance of BondingManager, bound to a specific deployed contract.

func (*BondingManagerTransactor) Bond

func (_BondingManager *BondingManagerTransactor) Bond(opts *bind.TransactOpts, _amount *big.Int, _to common.Address) (*types.Transaction, error)

Bond is a paid mutator transaction binding the contract method 0xb78d27dc.

Solidity: function bond(uint256 _amount, address _to) returns()

func (*BondingManagerTransactor) BondForWithHint

func (_BondingManager *BondingManagerTransactor) BondForWithHint(opts *bind.TransactOpts, _amount *big.Int, _owner common.Address, _to common.Address, _oldDelegateNewPosPrev common.Address, _oldDelegateNewPosNext common.Address, _currDelegateNewPosPrev common.Address, _currDelegateNewPosNext common.Address) (*types.Transaction, error)

BondForWithHint is a paid mutator transaction binding the contract method 0xee4e804a.

Solidity: function bondForWithHint(uint256 _amount, address _owner, address _to, address _oldDelegateNewPosPrev, address _oldDelegateNewPosNext, address _currDelegateNewPosPrev, address _currDelegateNewPosNext) returns()

func (*BondingManagerTransactor) BondWithHint

func (_BondingManager *BondingManagerTransactor) BondWithHint(opts *bind.TransactOpts, _amount *big.Int, _to common.Address, _oldDelegateNewPosPrev common.Address, _oldDelegateNewPosNext common.Address, _currDelegateNewPosPrev common.Address, _currDelegateNewPosNext common.Address) (*types.Transaction, error)

BondWithHint is a paid mutator transaction binding the contract method 0x6bd9add4.

Solidity: function bondWithHint(uint256 _amount, address _to, address _oldDelegateNewPosPrev, address _oldDelegateNewPosNext, address _currDelegateNewPosPrev, address _currDelegateNewPosNext) returns()

func (*BondingManagerTransactor) CheckpointBondingState

func (_BondingManager *BondingManagerTransactor) CheckpointBondingState(opts *bind.TransactOpts, _account common.Address) (*types.Transaction, error)

CheckpointBondingState is a paid mutator transaction binding the contract method 0xd52bd62b.

Solidity: function checkpointBondingState(address _account) returns()

func (*BondingManagerTransactor) ClaimEarnings

func (_BondingManager *BondingManagerTransactor) ClaimEarnings(opts *bind.TransactOpts, _endRound *big.Int) (*types.Transaction, error)

ClaimEarnings is a paid mutator transaction binding the contract method 0x24b1babf.

Solidity: function claimEarnings(uint256 _endRound) returns()

func (*BondingManagerTransactor) Rebond

func (_BondingManager *BondingManagerTransactor) Rebond(opts *bind.TransactOpts, _unbondingLockId *big.Int) (*types.Transaction, error)

Rebond is a paid mutator transaction binding the contract method 0xeaffb3f9.

Solidity: function rebond(uint256 _unbondingLockId) returns()

func (*BondingManagerTransactor) RebondFromUnbonded

func (_BondingManager *BondingManagerTransactor) RebondFromUnbonded(opts *bind.TransactOpts, _to common.Address, _unbondingLockId *big.Int) (*types.Transaction, error)

RebondFromUnbonded is a paid mutator transaction binding the contract method 0x3a080e93.

Solidity: function rebondFromUnbonded(address _to, uint256 _unbondingLockId) returns()

func (*BondingManagerTransactor) RebondFromUnbondedWithHint

func (_BondingManager *BondingManagerTransactor) RebondFromUnbondedWithHint(opts *bind.TransactOpts, _to common.Address, _unbondingLockId *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

RebondFromUnbondedWithHint is a paid mutator transaction binding the contract method 0x0584a373.

Solidity: function rebondFromUnbondedWithHint(address _to, uint256 _unbondingLockId, address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerTransactor) RebondWithHint

func (_BondingManager *BondingManagerTransactor) RebondWithHint(opts *bind.TransactOpts, _unbondingLockId *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

RebondWithHint is a paid mutator transaction binding the contract method 0x7fc4606f.

Solidity: function rebondWithHint(uint256 _unbondingLockId, address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerTransactor) Reward

func (_BondingManager *BondingManagerTransactor) Reward(opts *bind.TransactOpts) (*types.Transaction, error)

Reward is a paid mutator transaction binding the contract method 0x228cb733.

Solidity: function reward() returns()

func (*BondingManagerTransactor) RewardForTranscoder

func (_BondingManager *BondingManagerTransactor) RewardForTranscoder(opts *bind.TransactOpts, _transcoder common.Address) (*types.Transaction, error)

RewardForTranscoder is a paid mutator transaction binding the contract method 0x1a8c41f8.

Solidity: function rewardForTranscoder(address _transcoder) returns()

func (*BondingManagerTransactor) RewardForTranscoderWithHint

func (_BondingManager *BondingManagerTransactor) RewardForTranscoderWithHint(opts *bind.TransactOpts, _transcoder common.Address, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

RewardForTranscoderWithHint is a paid mutator transaction binding the contract method 0xb556966a.

Solidity: function rewardForTranscoderWithHint(address _transcoder, address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerTransactor) RewardWithHint

func (_BondingManager *BondingManagerTransactor) RewardWithHint(opts *bind.TransactOpts, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

RewardWithHint is a paid mutator transaction binding the contract method 0x81871056.

Solidity: function rewardWithHint(address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerTransactor) SetController

func (_BondingManager *BondingManagerTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*BondingManagerTransactor) SetCurrentRoundTotalActiveStake

func (_BondingManager *BondingManagerTransactor) SetCurrentRoundTotalActiveStake(opts *bind.TransactOpts) (*types.Transaction, error)

SetCurrentRoundTotalActiveStake is a paid mutator transaction binding the contract method 0x713f2216.

Solidity: function setCurrentRoundTotalActiveStake() returns()

func (*BondingManagerTransactor) SetNumActiveTranscoders

func (_BondingManager *BondingManagerTransactor) SetNumActiveTranscoders(opts *bind.TransactOpts, _numActiveTranscoders *big.Int) (*types.Transaction, error)

SetNumActiveTranscoders is a paid mutator transaction binding the contract method 0x673a456b.

Solidity: function setNumActiveTranscoders(uint256 _numActiveTranscoders) returns()

func (*BondingManagerTransactor) SetRewardCaller

func (_BondingManager *BondingManagerTransactor) SetRewardCaller(opts *bind.TransactOpts, _rewardCaller common.Address) (*types.Transaction, error)

SetRewardCaller is a paid mutator transaction binding the contract method 0x0103e60e.

Solidity: function setRewardCaller(address _rewardCaller) returns()

func (*BondingManagerTransactor) SetTreasuryBalanceCeiling

func (_BondingManager *BondingManagerTransactor) SetTreasuryBalanceCeiling(opts *bind.TransactOpts, _ceiling *big.Int) (*types.Transaction, error)

SetTreasuryBalanceCeiling is a paid mutator transaction binding the contract method 0x40e6f271.

Solidity: function setTreasuryBalanceCeiling(uint256 _ceiling) returns()

func (*BondingManagerTransactor) SetTreasuryRewardCutRate

func (_BondingManager *BondingManagerTransactor) SetTreasuryRewardCutRate(opts *bind.TransactOpts, _cutRate *big.Int) (*types.Transaction, error)

SetTreasuryRewardCutRate is a paid mutator transaction binding the contract method 0xcf33a0d5.

Solidity: function setTreasuryRewardCutRate(uint256 _cutRate) returns()

func (*BondingManagerTransactor) SetUnbondingPeriod

func (_BondingManager *BondingManagerTransactor) SetUnbondingPeriod(opts *bind.TransactOpts, _unbondingPeriod uint64) (*types.Transaction, error)

SetUnbondingPeriod is a paid mutator transaction binding the contract method 0xf10d1de1.

Solidity: function setUnbondingPeriod(uint64 _unbondingPeriod) returns()

func (*BondingManagerTransactor) SlashTranscoder

func (_BondingManager *BondingManagerTransactor) SlashTranscoder(opts *bind.TransactOpts, _transcoder common.Address, _finder common.Address, _slashAmount *big.Int, _finderFee *big.Int) (*types.Transaction, error)

SlashTranscoder is a paid mutator transaction binding the contract method 0x22bf9d7c.

Solidity: function slashTranscoder(address _transcoder, address _finder, uint256 _slashAmount, uint256 _finderFee) returns()

func (*BondingManagerTransactor) Transcoder

func (_BondingManager *BondingManagerTransactor) Transcoder(opts *bind.TransactOpts, _rewardCut *big.Int, _feeShare *big.Int) (*types.Transaction, error)

Transcoder is a paid mutator transaction binding the contract method 0x43d3461a.

Solidity: function transcoder(uint256 _rewardCut, uint256 _feeShare) returns()

func (*BondingManagerTransactor) TranscoderWithHint

func (_BondingManager *BondingManagerTransactor) TranscoderWithHint(opts *bind.TransactOpts, _rewardCut *big.Int, _feeShare *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

TranscoderWithHint is a paid mutator transaction binding the contract method 0x3550aa10.

Solidity: function transcoderWithHint(uint256 _rewardCut, uint256 _feeShare, address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerTransactor) TransferBond

func (_BondingManager *BondingManagerTransactor) TransferBond(opts *bind.TransactOpts, _delegator common.Address, _amount *big.Int, _oldDelegateNewPosPrev common.Address, _oldDelegateNewPosNext common.Address, _newDelegateNewPosPrev common.Address, _newDelegateNewPosNext common.Address) (*types.Transaction, error)

TransferBond is a paid mutator transaction binding the contract method 0x062e98b8.

Solidity: function transferBond(address _delegator, uint256 _amount, address _oldDelegateNewPosPrev, address _oldDelegateNewPosNext, address _newDelegateNewPosPrev, address _newDelegateNewPosNext) returns()

func (*BondingManagerTransactor) Unbond

func (_BondingManager *BondingManagerTransactor) Unbond(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

Unbond is a paid mutator transaction binding the contract method 0x27de9e32.

Solidity: function unbond(uint256 _amount) returns()

func (*BondingManagerTransactor) UnbondWithHint

func (_BondingManager *BondingManagerTransactor) UnbondWithHint(opts *bind.TransactOpts, _amount *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

UnbondWithHint is a paid mutator transaction binding the contract method 0x9500ed9b.

Solidity: function unbondWithHint(uint256 _amount, address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerTransactor) UpdateTranscoderWithFees

func (_BondingManager *BondingManagerTransactor) UpdateTranscoderWithFees(opts *bind.TransactOpts, _transcoder common.Address, _fees *big.Int, _round *big.Int) (*types.Transaction, error)

UpdateTranscoderWithFees is a paid mutator transaction binding the contract method 0x3aeb512c.

Solidity: function updateTranscoderWithFees(address _transcoder, uint256 _fees, uint256 _round) returns()

func (*BondingManagerTransactor) WithdrawFees

func (_BondingManager *BondingManagerTransactor) WithdrawFees(opts *bind.TransactOpts, _recipient common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawFees is a paid mutator transaction binding the contract method 0xad3b1b47.

Solidity: function withdrawFees(address _recipient, uint256 _amount) returns()

func (*BondingManagerTransactor) WithdrawStake

func (_BondingManager *BondingManagerTransactor) WithdrawStake(opts *bind.TransactOpts, _unbondingLockId *big.Int) (*types.Transaction, error)

WithdrawStake is a paid mutator transaction binding the contract method 0x25d5971f.

Solidity: function withdrawStake(uint256 _unbondingLockId) returns()

type BondingManagerTransactorRaw

type BondingManagerTransactorRaw struct {
	Contract *BondingManagerTransactor // Generic write-only contract binding to access the raw methods on
}

BondingManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*BondingManagerTransactorRaw) Transact

func (_BondingManager *BondingManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*BondingManagerTransactorRaw) Transfer

func (_BondingManager *BondingManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type BondingManagerTransactorSession

type BondingManagerTransactorSession struct {
	Contract     *BondingManagerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts         // Transaction auth options to use throughout this session
}

BondingManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*BondingManagerTransactorSession) Bond

func (_BondingManager *BondingManagerTransactorSession) Bond(_amount *big.Int, _to common.Address) (*types.Transaction, error)

Bond is a paid mutator transaction binding the contract method 0xb78d27dc.

Solidity: function bond(uint256 _amount, address _to) returns()

func (*BondingManagerTransactorSession) BondForWithHint

func (_BondingManager *BondingManagerTransactorSession) BondForWithHint(_amount *big.Int, _owner common.Address, _to common.Address, _oldDelegateNewPosPrev common.Address, _oldDelegateNewPosNext common.Address, _currDelegateNewPosPrev common.Address, _currDelegateNewPosNext common.Address) (*types.Transaction, error)

BondForWithHint is a paid mutator transaction binding the contract method 0xee4e804a.

Solidity: function bondForWithHint(uint256 _amount, address _owner, address _to, address _oldDelegateNewPosPrev, address _oldDelegateNewPosNext, address _currDelegateNewPosPrev, address _currDelegateNewPosNext) returns()

func (*BondingManagerTransactorSession) BondWithHint

func (_BondingManager *BondingManagerTransactorSession) BondWithHint(_amount *big.Int, _to common.Address, _oldDelegateNewPosPrev common.Address, _oldDelegateNewPosNext common.Address, _currDelegateNewPosPrev common.Address, _currDelegateNewPosNext common.Address) (*types.Transaction, error)

BondWithHint is a paid mutator transaction binding the contract method 0x6bd9add4.

Solidity: function bondWithHint(uint256 _amount, address _to, address _oldDelegateNewPosPrev, address _oldDelegateNewPosNext, address _currDelegateNewPosPrev, address _currDelegateNewPosNext) returns()

func (*BondingManagerTransactorSession) CheckpointBondingState

func (_BondingManager *BondingManagerTransactorSession) CheckpointBondingState(_account common.Address) (*types.Transaction, error)

CheckpointBondingState is a paid mutator transaction binding the contract method 0xd52bd62b.

Solidity: function checkpointBondingState(address _account) returns()

func (*BondingManagerTransactorSession) ClaimEarnings

func (_BondingManager *BondingManagerTransactorSession) ClaimEarnings(_endRound *big.Int) (*types.Transaction, error)

ClaimEarnings is a paid mutator transaction binding the contract method 0x24b1babf.

Solidity: function claimEarnings(uint256 _endRound) returns()

func (*BondingManagerTransactorSession) Rebond

func (_BondingManager *BondingManagerTransactorSession) Rebond(_unbondingLockId *big.Int) (*types.Transaction, error)

Rebond is a paid mutator transaction binding the contract method 0xeaffb3f9.

Solidity: function rebond(uint256 _unbondingLockId) returns()

func (*BondingManagerTransactorSession) RebondFromUnbonded

func (_BondingManager *BondingManagerTransactorSession) RebondFromUnbonded(_to common.Address, _unbondingLockId *big.Int) (*types.Transaction, error)

RebondFromUnbonded is a paid mutator transaction binding the contract method 0x3a080e93.

Solidity: function rebondFromUnbonded(address _to, uint256 _unbondingLockId) returns()

func (*BondingManagerTransactorSession) RebondFromUnbondedWithHint

func (_BondingManager *BondingManagerTransactorSession) RebondFromUnbondedWithHint(_to common.Address, _unbondingLockId *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

RebondFromUnbondedWithHint is a paid mutator transaction binding the contract method 0x0584a373.

Solidity: function rebondFromUnbondedWithHint(address _to, uint256 _unbondingLockId, address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerTransactorSession) RebondWithHint

func (_BondingManager *BondingManagerTransactorSession) RebondWithHint(_unbondingLockId *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

RebondWithHint is a paid mutator transaction binding the contract method 0x7fc4606f.

Solidity: function rebondWithHint(uint256 _unbondingLockId, address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerTransactorSession) Reward

func (_BondingManager *BondingManagerTransactorSession) Reward() (*types.Transaction, error)

Reward is a paid mutator transaction binding the contract method 0x228cb733.

Solidity: function reward() returns()

func (*BondingManagerTransactorSession) RewardForTranscoder

func (_BondingManager *BondingManagerTransactorSession) RewardForTranscoder(_transcoder common.Address) (*types.Transaction, error)

RewardForTranscoder is a paid mutator transaction binding the contract method 0x1a8c41f8.

Solidity: function rewardForTranscoder(address _transcoder) returns()

func (*BondingManagerTransactorSession) RewardForTranscoderWithHint

func (_BondingManager *BondingManagerTransactorSession) RewardForTranscoderWithHint(_transcoder common.Address, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

RewardForTranscoderWithHint is a paid mutator transaction binding the contract method 0xb556966a.

Solidity: function rewardForTranscoderWithHint(address _transcoder, address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerTransactorSession) RewardWithHint

func (_BondingManager *BondingManagerTransactorSession) RewardWithHint(_newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

RewardWithHint is a paid mutator transaction binding the contract method 0x81871056.

Solidity: function rewardWithHint(address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerTransactorSession) SetController

func (_BondingManager *BondingManagerTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*BondingManagerTransactorSession) SetCurrentRoundTotalActiveStake

func (_BondingManager *BondingManagerTransactorSession) SetCurrentRoundTotalActiveStake() (*types.Transaction, error)

SetCurrentRoundTotalActiveStake is a paid mutator transaction binding the contract method 0x713f2216.

Solidity: function setCurrentRoundTotalActiveStake() returns()

func (*BondingManagerTransactorSession) SetNumActiveTranscoders

func (_BondingManager *BondingManagerTransactorSession) SetNumActiveTranscoders(_numActiveTranscoders *big.Int) (*types.Transaction, error)

SetNumActiveTranscoders is a paid mutator transaction binding the contract method 0x673a456b.

Solidity: function setNumActiveTranscoders(uint256 _numActiveTranscoders) returns()

func (*BondingManagerTransactorSession) SetRewardCaller

func (_BondingManager *BondingManagerTransactorSession) SetRewardCaller(_rewardCaller common.Address) (*types.Transaction, error)

SetRewardCaller is a paid mutator transaction binding the contract method 0x0103e60e.

Solidity: function setRewardCaller(address _rewardCaller) returns()

func (*BondingManagerTransactorSession) SetTreasuryBalanceCeiling

func (_BondingManager *BondingManagerTransactorSession) SetTreasuryBalanceCeiling(_ceiling *big.Int) (*types.Transaction, error)

SetTreasuryBalanceCeiling is a paid mutator transaction binding the contract method 0x40e6f271.

Solidity: function setTreasuryBalanceCeiling(uint256 _ceiling) returns()

func (*BondingManagerTransactorSession) SetTreasuryRewardCutRate

func (_BondingManager *BondingManagerTransactorSession) SetTreasuryRewardCutRate(_cutRate *big.Int) (*types.Transaction, error)

SetTreasuryRewardCutRate is a paid mutator transaction binding the contract method 0xcf33a0d5.

Solidity: function setTreasuryRewardCutRate(uint256 _cutRate) returns()

func (*BondingManagerTransactorSession) SetUnbondingPeriod

func (_BondingManager *BondingManagerTransactorSession) SetUnbondingPeriod(_unbondingPeriod uint64) (*types.Transaction, error)

SetUnbondingPeriod is a paid mutator transaction binding the contract method 0xf10d1de1.

Solidity: function setUnbondingPeriod(uint64 _unbondingPeriod) returns()

func (*BondingManagerTransactorSession) SlashTranscoder

func (_BondingManager *BondingManagerTransactorSession) SlashTranscoder(_transcoder common.Address, _finder common.Address, _slashAmount *big.Int, _finderFee *big.Int) (*types.Transaction, error)

SlashTranscoder is a paid mutator transaction binding the contract method 0x22bf9d7c.

Solidity: function slashTranscoder(address _transcoder, address _finder, uint256 _slashAmount, uint256 _finderFee) returns()

func (*BondingManagerTransactorSession) Transcoder

func (_BondingManager *BondingManagerTransactorSession) Transcoder(_rewardCut *big.Int, _feeShare *big.Int) (*types.Transaction, error)

Transcoder is a paid mutator transaction binding the contract method 0x43d3461a.

Solidity: function transcoder(uint256 _rewardCut, uint256 _feeShare) returns()

func (*BondingManagerTransactorSession) TranscoderWithHint

func (_BondingManager *BondingManagerTransactorSession) TranscoderWithHint(_rewardCut *big.Int, _feeShare *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

TranscoderWithHint is a paid mutator transaction binding the contract method 0x3550aa10.

Solidity: function transcoderWithHint(uint256 _rewardCut, uint256 _feeShare, address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerTransactorSession) TransferBond

func (_BondingManager *BondingManagerTransactorSession) TransferBond(_delegator common.Address, _amount *big.Int, _oldDelegateNewPosPrev common.Address, _oldDelegateNewPosNext common.Address, _newDelegateNewPosPrev common.Address, _newDelegateNewPosNext common.Address) (*types.Transaction, error)

TransferBond is a paid mutator transaction binding the contract method 0x062e98b8.

Solidity: function transferBond(address _delegator, uint256 _amount, address _oldDelegateNewPosPrev, address _oldDelegateNewPosNext, address _newDelegateNewPosPrev, address _newDelegateNewPosNext) returns()

func (*BondingManagerTransactorSession) Unbond

func (_BondingManager *BondingManagerTransactorSession) Unbond(_amount *big.Int) (*types.Transaction, error)

Unbond is a paid mutator transaction binding the contract method 0x27de9e32.

Solidity: function unbond(uint256 _amount) returns()

func (*BondingManagerTransactorSession) UnbondWithHint

func (_BondingManager *BondingManagerTransactorSession) UnbondWithHint(_amount *big.Int, _newPosPrev common.Address, _newPosNext common.Address) (*types.Transaction, error)

UnbondWithHint is a paid mutator transaction binding the contract method 0x9500ed9b.

Solidity: function unbondWithHint(uint256 _amount, address _newPosPrev, address _newPosNext) returns()

func (*BondingManagerTransactorSession) UpdateTranscoderWithFees

func (_BondingManager *BondingManagerTransactorSession) UpdateTranscoderWithFees(_transcoder common.Address, _fees *big.Int, _round *big.Int) (*types.Transaction, error)

UpdateTranscoderWithFees is a paid mutator transaction binding the contract method 0x3aeb512c.

Solidity: function updateTranscoderWithFees(address _transcoder, uint256 _fees, uint256 _round) returns()

func (*BondingManagerTransactorSession) WithdrawFees

func (_BondingManager *BondingManagerTransactorSession) WithdrawFees(_recipient common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawFees is a paid mutator transaction binding the contract method 0xad3b1b47.

Solidity: function withdrawFees(address _recipient, uint256 _amount) returns()

func (*BondingManagerTransactorSession) WithdrawStake

func (_BondingManager *BondingManagerTransactorSession) WithdrawStake(_unbondingLockId *big.Int) (*types.Transaction, error)

WithdrawStake is a paid mutator transaction binding the contract method 0x25d5971f.

Solidity: function withdrawStake(uint256 _unbondingLockId) returns()

type BondingManagerTranscoderActivated

type BondingManagerTranscoderActivated struct {
	Transcoder      common.Address
	ActivationRound *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

BondingManagerTranscoderActivated represents a TranscoderActivated event raised by the BondingManager contract.

type BondingManagerTranscoderActivatedIterator

type BondingManagerTranscoderActivatedIterator struct {
	Event *BondingManagerTranscoderActivated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BondingManagerTranscoderActivatedIterator is returned from FilterTranscoderActivated and is used to iterate over the raw logs and unpacked data for TranscoderActivated events raised by the BondingManager contract.

func (*BondingManagerTranscoderActivatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BondingManagerTranscoderActivatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerTranscoderActivatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BondingManagerTranscoderDeactivated

type BondingManagerTranscoderDeactivated struct {
	Transcoder        common.Address
	DeactivationRound *big.Int
	Raw               types.Log // Blockchain specific contextual infos
}

BondingManagerTranscoderDeactivated represents a TranscoderDeactivated event raised by the BondingManager contract.

type BondingManagerTranscoderDeactivatedIterator

type BondingManagerTranscoderDeactivatedIterator struct {
	Event *BondingManagerTranscoderDeactivated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BondingManagerTranscoderDeactivatedIterator is returned from FilterTranscoderDeactivated and is used to iterate over the raw logs and unpacked data for TranscoderDeactivated events raised by the BondingManager contract.

func (*BondingManagerTranscoderDeactivatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BondingManagerTranscoderDeactivatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerTranscoderDeactivatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BondingManagerTranscoderSlashed

type BondingManagerTranscoderSlashed struct {
	Transcoder   common.Address
	Finder       common.Address
	Penalty      *big.Int
	FinderReward *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

BondingManagerTranscoderSlashed represents a TranscoderSlashed event raised by the BondingManager contract.

type BondingManagerTranscoderSlashedIterator

type BondingManagerTranscoderSlashedIterator struct {
	Event *BondingManagerTranscoderSlashed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BondingManagerTranscoderSlashedIterator is returned from FilterTranscoderSlashed and is used to iterate over the raw logs and unpacked data for TranscoderSlashed events raised by the BondingManager contract.

func (*BondingManagerTranscoderSlashedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BondingManagerTranscoderSlashedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerTranscoderSlashedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BondingManagerTranscoderUpdate

type BondingManagerTranscoderUpdate struct {
	Transcoder common.Address
	RewardCut  *big.Int
	FeeShare   *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

BondingManagerTranscoderUpdate represents a TranscoderUpdate event raised by the BondingManager contract.

type BondingManagerTranscoderUpdateIterator

type BondingManagerTranscoderUpdateIterator struct {
	Event *BondingManagerTranscoderUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BondingManagerTranscoderUpdateIterator is returned from FilterTranscoderUpdate and is used to iterate over the raw logs and unpacked data for TranscoderUpdate events raised by the BondingManager contract.

func (*BondingManagerTranscoderUpdateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BondingManagerTranscoderUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerTranscoderUpdateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BondingManagerTransferBond

type BondingManagerTransferBond struct {
	OldDelegator       common.Address
	NewDelegator       common.Address
	OldUnbondingLockId *big.Int
	NewUnbondingLockId *big.Int
	Amount             *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

BondingManagerTransferBond represents a TransferBond event raised by the BondingManager contract.

type BondingManagerTransferBondIterator

type BondingManagerTransferBondIterator struct {
	Event *BondingManagerTransferBond // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BondingManagerTransferBondIterator is returned from FilterTransferBond and is used to iterate over the raw logs and unpacked data for TransferBond events raised by the BondingManager contract.

func (*BondingManagerTransferBondIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BondingManagerTransferBondIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerTransferBondIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BondingManagerTreasuryReward

type BondingManagerTreasuryReward struct {
	Transcoder common.Address
	Treasury   common.Address
	Amount     *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

BondingManagerTreasuryReward represents a TreasuryReward event raised by the BondingManager contract.

type BondingManagerTreasuryRewardIterator

type BondingManagerTreasuryRewardIterator struct {
	Event *BondingManagerTreasuryReward // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BondingManagerTreasuryRewardIterator is returned from FilterTreasuryReward and is used to iterate over the raw logs and unpacked data for TreasuryReward events raised by the BondingManager contract.

func (*BondingManagerTreasuryRewardIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BondingManagerTreasuryRewardIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerTreasuryRewardIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BondingManagerUnbond

type BondingManagerUnbond struct {
	Delegate        common.Address
	Delegator       common.Address
	UnbondingLockId *big.Int
	Amount          *big.Int
	WithdrawRound   *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

BondingManagerUnbond represents a Unbond event raised by the BondingManager contract.

type BondingManagerUnbondIterator

type BondingManagerUnbondIterator struct {
	Event *BondingManagerUnbond // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BondingManagerUnbondIterator is returned from FilterUnbond and is used to iterate over the raw logs and unpacked data for Unbond events raised by the BondingManager contract.

func (*BondingManagerUnbondIterator) Close

func (it *BondingManagerUnbondIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*BondingManagerUnbondIterator) Error

func (it *BondingManagerUnbondIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerUnbondIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BondingManagerWithdrawFees

type BondingManagerWithdrawFees struct {
	Delegator common.Address
	Recipient common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

BondingManagerWithdrawFees represents a WithdrawFees event raised by the BondingManager contract.

type BondingManagerWithdrawFeesIterator

type BondingManagerWithdrawFeesIterator struct {
	Event *BondingManagerWithdrawFees // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BondingManagerWithdrawFeesIterator is returned from FilterWithdrawFees and is used to iterate over the raw logs and unpacked data for WithdrawFees events raised by the BondingManager contract.

func (*BondingManagerWithdrawFeesIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BondingManagerWithdrawFeesIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerWithdrawFeesIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type BondingManagerWithdrawStake

type BondingManagerWithdrawStake struct {
	Delegator       common.Address
	UnbondingLockId *big.Int
	Amount          *big.Int
	WithdrawRound   *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

BondingManagerWithdrawStake represents a WithdrawStake event raised by the BondingManager contract.

type BondingManagerWithdrawStakeIterator

type BondingManagerWithdrawStakeIterator struct {
	Event *BondingManagerWithdrawStake // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

BondingManagerWithdrawStakeIterator is returned from FilterWithdrawStake and is used to iterate over the raw logs and unpacked data for WithdrawStake events raised by the BondingManager contract.

func (*BondingManagerWithdrawStakeIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*BondingManagerWithdrawStakeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerWithdrawStakeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type Controller

type Controller struct {
	ControllerCaller     // Read-only binding to the contract
	ControllerTransactor // Write-only binding to the contract
	ControllerFilterer   // Log filterer for contract events
}

Controller is an auto generated Go binding around an Ethereum contract.

func NewController

func NewController(address common.Address, backend bind.ContractBackend) (*Controller, error)

NewController creates a new instance of Controller, bound to a specific deployed contract.

type ControllerCaller

type ControllerCaller struct {
	// contains filtered or unexported fields
}

ControllerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewControllerCaller

func NewControllerCaller(address common.Address, caller bind.ContractCaller) (*ControllerCaller, error)

NewControllerCaller creates a new read-only instance of Controller, bound to a specific deployed contract.

func (*ControllerCaller) GetContract

func (_Controller *ControllerCaller) GetContract(opts *bind.CallOpts, _id [32]byte) (common.Address, error)

GetContract is a free data retrieval call binding the contract method 0xe16c7d98.

Solidity: function getContract(bytes32 _id) view returns(address)

func (*ControllerCaller) GetContractInfo

func (_Controller *ControllerCaller) GetContractInfo(opts *bind.CallOpts, _id [32]byte) (common.Address, [20]byte, error)

GetContractInfo is a free data retrieval call binding the contract method 0x613e2de2.

Solidity: function getContractInfo(bytes32 _id) view returns(address, bytes20)

func (*ControllerCaller) Owner

func (_Controller *ControllerCaller) Owner(opts *bind.CallOpts) (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view returns(address)

func (*ControllerCaller) Paused

func (_Controller *ControllerCaller) Paused(opts *bind.CallOpts) (bool, error)

Paused is a free data retrieval call binding the contract method 0x5c975abb.

Solidity: function paused() view returns(bool)

type ControllerCallerRaw

type ControllerCallerRaw struct {
	Contract *ControllerCaller // Generic read-only contract binding to access the raw methods on
}

ControllerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ControllerCallerRaw) Call

func (_Controller *ControllerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ControllerCallerSession

type ControllerCallerSession struct {
	Contract *ControllerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts     // Call options to use throughout this session
}

ControllerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ControllerCallerSession) GetContract

func (_Controller *ControllerCallerSession) GetContract(_id [32]byte) (common.Address, error)

GetContract is a free data retrieval call binding the contract method 0xe16c7d98.

Solidity: function getContract(bytes32 _id) view returns(address)

func (*ControllerCallerSession) GetContractInfo

func (_Controller *ControllerCallerSession) GetContractInfo(_id [32]byte) (common.Address, [20]byte, error)

GetContractInfo is a free data retrieval call binding the contract method 0x613e2de2.

Solidity: function getContractInfo(bytes32 _id) view returns(address, bytes20)

func (*ControllerCallerSession) Owner

func (_Controller *ControllerCallerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view 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() view returns(bool)

type ControllerFilterer

type ControllerFilterer struct {
	// contains filtered or unexported fields
}

ControllerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewControllerFilterer

func NewControllerFilterer(address common.Address, filterer bind.ContractFilterer) (*ControllerFilterer, error)

NewControllerFilterer creates a new log filterer instance of Controller, bound to a specific deployed contract.

func (*ControllerFilterer) FilterOwnershipTransferred

func (_Controller *ControllerFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*ControllerOwnershipTransferredIterator, error)

FilterOwnershipTransferred is a free log retrieval operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ControllerFilterer) FilterPause

func (_Controller *ControllerFilterer) FilterPause(opts *bind.FilterOpts) (*ControllerPauseIterator, error)

FilterPause is a free log retrieval operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*ControllerFilterer) FilterSetContractInfo

func (_Controller *ControllerFilterer) FilterSetContractInfo(opts *bind.FilterOpts) (*ControllerSetContractInfoIterator, error)

FilterSetContractInfo is a free log retrieval operation binding the contract event 0xf9a6cf519167d81bc5cb3d26c60c0c9a19704aa908c148e82a861b570f4cd2d7.

Solidity: event SetContractInfo(bytes32 id, address contractAddress, bytes20 gitCommitHash)

func (*ControllerFilterer) FilterUnpause

func (_Controller *ControllerFilterer) FilterUnpause(opts *bind.FilterOpts) (*ControllerUnpauseIterator, error)

FilterUnpause is a free log retrieval operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*ControllerFilterer) ParseOwnershipTransferred

func (_Controller *ControllerFilterer) ParseOwnershipTransferred(log types.Log) (*ControllerOwnershipTransferred, error)

ParseOwnershipTransferred is a log parse operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ControllerFilterer) ParsePause

func (_Controller *ControllerFilterer) ParsePause(log types.Log) (*ControllerPause, error)

ParsePause is a log parse operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*ControllerFilterer) ParseSetContractInfo

func (_Controller *ControllerFilterer) ParseSetContractInfo(log types.Log) (*ControllerSetContractInfo, error)

ParseSetContractInfo is a log parse operation binding the contract event 0xf9a6cf519167d81bc5cb3d26c60c0c9a19704aa908c148e82a861b570f4cd2d7.

Solidity: event SetContractInfo(bytes32 id, address contractAddress, bytes20 gitCommitHash)

func (*ControllerFilterer) ParseUnpause

func (_Controller *ControllerFilterer) ParseUnpause(log types.Log) (*ControllerUnpause, error)

ParseUnpause is a log parse operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

func (*ControllerFilterer) WatchOwnershipTransferred

func (_Controller *ControllerFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *ControllerOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

WatchOwnershipTransferred is a free log subscription operation binding the contract event 0x8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0.

Solidity: event OwnershipTransferred(address indexed previousOwner, address indexed newOwner)

func (*ControllerFilterer) WatchPause

func (_Controller *ControllerFilterer) WatchPause(opts *bind.WatchOpts, sink chan<- *ControllerPause) (event.Subscription, error)

WatchPause is a free log subscription operation binding the contract event 0x6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff625.

Solidity: event Pause()

func (*ControllerFilterer) WatchSetContractInfo

func (_Controller *ControllerFilterer) WatchSetContractInfo(opts *bind.WatchOpts, sink chan<- *ControllerSetContractInfo) (event.Subscription, error)

WatchSetContractInfo is a free log subscription operation binding the contract event 0xf9a6cf519167d81bc5cb3d26c60c0c9a19704aa908c148e82a861b570f4cd2d7.

Solidity: event SetContractInfo(bytes32 id, address contractAddress, bytes20 gitCommitHash)

func (*ControllerFilterer) WatchUnpause

func (_Controller *ControllerFilterer) WatchUnpause(opts *bind.WatchOpts, sink chan<- *ControllerUnpause) (event.Subscription, error)

WatchUnpause is a free log subscription operation binding the contract event 0x7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b33.

Solidity: event Unpause()

type ControllerOwnershipTransferred

type ControllerOwnershipTransferred struct {
	PreviousOwner common.Address
	NewOwner      common.Address
	Raw           types.Log // Blockchain specific contextual infos
}

ControllerOwnershipTransferred represents a OwnershipTransferred event raised by the Controller contract.

type ControllerOwnershipTransferredIterator

type ControllerOwnershipTransferredIterator struct {
	Event *ControllerOwnershipTransferred // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ControllerOwnershipTransferredIterator is returned from FilterOwnershipTransferred and is used to iterate over the raw logs and unpacked data for OwnershipTransferred events raised by the Controller contract.

func (*ControllerOwnershipTransferredIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ControllerOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ControllerOwnershipTransferredIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ControllerPause

type ControllerPause struct {
	Raw types.Log // Blockchain specific contextual infos
}

ControllerPause represents a Pause event raised by the Controller contract.

type ControllerPauseIterator

type ControllerPauseIterator struct {
	Event *ControllerPause // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ControllerPauseIterator is returned from FilterPause and is used to iterate over the raw logs and unpacked data for Pause events raised by the Controller contract.

func (*ControllerPauseIterator) Close

func (it *ControllerPauseIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ControllerPauseIterator) Error

func (it *ControllerPauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ControllerPauseIterator) Next

func (it *ControllerPauseIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ControllerRaw

type ControllerRaw struct {
	Contract *Controller // Generic contract binding to access the raw methods on
}

ControllerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ControllerRaw) Call

func (_Controller *ControllerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ControllerRaw) Transact

func (_Controller *ControllerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ControllerRaw) Transfer

func (_Controller *ControllerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ControllerSession

type ControllerSession struct {
	Contract     *Controller       // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

ControllerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ControllerSession) GetContract

func (_Controller *ControllerSession) GetContract(_id [32]byte) (common.Address, error)

GetContract is a free data retrieval call binding the contract method 0xe16c7d98.

Solidity: function getContract(bytes32 _id) view returns(address)

func (*ControllerSession) GetContractInfo

func (_Controller *ControllerSession) GetContractInfo(_id [32]byte) (common.Address, [20]byte, error)

GetContractInfo is a free data retrieval call binding the contract method 0x613e2de2.

Solidity: function getContractInfo(bytes32 _id) view returns(address, bytes20)

func (*ControllerSession) Owner

func (_Controller *ControllerSession) Owner() (common.Address, error)

Owner is a free data retrieval call binding the contract method 0x8da5cb5b.

Solidity: function owner() view 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() view returns(bool)

func (*ControllerSession) SetContractInfo

func (_Controller *ControllerSession) SetContractInfo(_id [32]byte, _contractAddress common.Address, _gitCommitHash [20]byte) (*types.Transaction, error)

SetContractInfo is a paid mutator transaction binding the contract method 0xd737c2b0.

Solidity: function setContractInfo(bytes32 _id, address _contractAddress, bytes20 _gitCommitHash) returns()

func (*ControllerSession) TransferOwnership

func (_Controller *ControllerSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*ControllerSession) Unpause

func (_Controller *ControllerSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*ControllerSession) UpdateController

func (_Controller *ControllerSession) UpdateController(_id [32]byte, _controller common.Address) (*types.Transaction, error)

UpdateController is a paid mutator transaction binding the contract method 0xeb5dd94f.

Solidity: function updateController(bytes32 _id, address _controller) returns()

type ControllerSetContractInfo

type ControllerSetContractInfo struct {
	Id              [32]byte
	ContractAddress common.Address
	GitCommitHash   [20]byte
	Raw             types.Log // Blockchain specific contextual infos
}

ControllerSetContractInfo represents a SetContractInfo event raised by the Controller contract.

type ControllerSetContractInfoIterator

type ControllerSetContractInfoIterator struct {
	Event *ControllerSetContractInfo // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ControllerSetContractInfoIterator is returned from FilterSetContractInfo and is used to iterate over the raw logs and unpacked data for SetContractInfo events raised by the Controller contract.

func (*ControllerSetContractInfoIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ControllerSetContractInfoIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ControllerSetContractInfoIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ControllerTransactor

type ControllerTransactor struct {
	// contains filtered or unexported fields
}

ControllerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewControllerTransactor

func NewControllerTransactor(address common.Address, transactor bind.ContractTransactor) (*ControllerTransactor, error)

NewControllerTransactor creates a new write-only instance of Controller, bound to a specific deployed contract.

func (*ControllerTransactor) Pause

func (_Controller *ControllerTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*ControllerTransactor) SetContractInfo

func (_Controller *ControllerTransactor) SetContractInfo(opts *bind.TransactOpts, _id [32]byte, _contractAddress common.Address, _gitCommitHash [20]byte) (*types.Transaction, error)

SetContractInfo is a paid mutator transaction binding the contract method 0xd737c2b0.

Solidity: function setContractInfo(bytes32 _id, address _contractAddress, bytes20 _gitCommitHash) returns()

func (*ControllerTransactor) TransferOwnership

func (_Controller *ControllerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*ControllerTransactor) Unpause

func (_Controller *ControllerTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*ControllerTransactor) UpdateController

func (_Controller *ControllerTransactor) UpdateController(opts *bind.TransactOpts, _id [32]byte, _controller common.Address) (*types.Transaction, error)

UpdateController is a paid mutator transaction binding the contract method 0xeb5dd94f.

Solidity: function updateController(bytes32 _id, address _controller) returns()

type ControllerTransactorRaw

type ControllerTransactorRaw struct {
	Contract *ControllerTransactor // Generic write-only contract binding to access the raw methods on
}

ControllerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ControllerTransactorRaw) Transact

func (_Controller *ControllerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ControllerTransactorRaw) Transfer

func (_Controller *ControllerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ControllerTransactorSession

type ControllerTransactorSession struct {
	Contract     *ControllerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts     // Transaction auth options to use throughout this session
}

ControllerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ControllerTransactorSession) Pause

func (_Controller *ControllerTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*ControllerTransactorSession) SetContractInfo

func (_Controller *ControllerTransactorSession) SetContractInfo(_id [32]byte, _contractAddress common.Address, _gitCommitHash [20]byte) (*types.Transaction, error)

SetContractInfo is a paid mutator transaction binding the contract method 0xd737c2b0.

Solidity: function setContractInfo(bytes32 _id, address _contractAddress, bytes20 _gitCommitHash) returns()

func (*ControllerTransactorSession) TransferOwnership

func (_Controller *ControllerTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.

Solidity: function transferOwnership(address newOwner) returns()

func (*ControllerTransactorSession) Unpause

func (_Controller *ControllerTransactorSession) Unpause() (*types.Transaction, error)

Unpause is a paid mutator transaction binding the contract method 0x3f4ba83a.

Solidity: function unpause() returns()

func (*ControllerTransactorSession) UpdateController

func (_Controller *ControllerTransactorSession) UpdateController(_id [32]byte, _controller common.Address) (*types.Transaction, error)

UpdateController is a paid mutator transaction binding the contract method 0xeb5dd94f.

Solidity: function updateController(bytes32 _id, address _controller) returns()

type ControllerUnpause

type ControllerUnpause struct {
	Raw types.Log // Blockchain specific contextual infos
}

ControllerUnpause represents a Unpause event raised by the Controller contract.

type ControllerUnpauseIterator

type ControllerUnpauseIterator struct {
	Event *ControllerUnpause // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ControllerUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the Controller contract.

func (*ControllerUnpauseIterator) Close

func (it *ControllerUnpauseIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*ControllerUnpauseIterator) Error

func (it *ControllerUnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ControllerUnpauseIterator) Next

func (it *ControllerUnpauseIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type Governor

type Governor struct {
	GovernorCaller     // Read-only binding to the contract
	GovernorTransactor // Write-only binding to the contract
	GovernorFilterer   // Log filterer for contract events
}

Governor is an auto generated Go binding around an Ethereum contract.

func NewGovernor

func NewGovernor(address common.Address, backend bind.ContractBackend) (*Governor, error)

NewGovernor creates a new instance of Governor, bound to a specific deployed contract.

type GovernorCaller

type GovernorCaller struct {
	// contains filtered or unexported fields
}

GovernorCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewGovernorCaller

func NewGovernorCaller(address common.Address, caller bind.ContractCaller) (*GovernorCaller, error)

NewGovernorCaller creates a new read-only instance of Governor, bound to a specific deployed contract.

func (*GovernorCaller) BALLOTTYPEHASH

func (_Governor *GovernorCaller) BALLOTTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

BALLOTTYPEHASH is a free data retrieval call binding the contract method 0xdeaaa7cc.

Solidity: function BALLOT_TYPEHASH() view returns(bytes32)

func (*GovernorCaller) CLOCKMODE

func (_Governor *GovernorCaller) CLOCKMODE(opts *bind.CallOpts) (string, error)

CLOCKMODE is a free data retrieval call binding the contract method 0x4bf5d7e9.

Solidity: function CLOCK_MODE() view returns(string)

func (*GovernorCaller) COUNTINGMODE

func (_Governor *GovernorCaller) COUNTINGMODE(opts *bind.CallOpts) (string, error)

COUNTINGMODE is a free data retrieval call binding the contract method 0xdd4e2ba5.

Solidity: function COUNTING_MODE() pure returns(string)

func (*GovernorCaller) Clock

func (_Governor *GovernorCaller) Clock(opts *bind.CallOpts) (*big.Int, error)

Clock is a free data retrieval call binding the contract method 0x91ddadf4.

Solidity: function clock() view returns(uint48)

func (*GovernorCaller) Controller

func (_Governor *GovernorCaller) Controller(opts *bind.CallOpts) (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*GovernorCaller) EXTENDEDBALLOTTYPEHASH

func (_Governor *GovernorCaller) EXTENDEDBALLOTTYPEHASH(opts *bind.CallOpts) ([32]byte, error)

EXTENDEDBALLOTTYPEHASH is a free data retrieval call binding the contract method 0x2fe3e261.

Solidity: function EXTENDED_BALLOT_TYPEHASH() view returns(bytes32)

func (*GovernorCaller) Eip712Domain

func (_Governor *GovernorCaller) Eip712Domain(opts *bind.CallOpts) (struct {
	Fields            [1]byte
	Name              string
	Version           string
	ChainId           *big.Int
	VerifyingContract common.Address
	Salt              [32]byte
	Extensions        []*big.Int
}, error)

Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.

Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)

func (*GovernorCaller) GetVotes

func (_Governor *GovernorCaller) GetVotes(opts *bind.CallOpts, account common.Address, timepoint *big.Int) (*big.Int, error)

GetVotes is a free data retrieval call binding the contract method 0xeb9019d4.

Solidity: function getVotes(address account, uint256 timepoint) view returns(uint256)

func (*GovernorCaller) GetVotesWithParams

func (_Governor *GovernorCaller) GetVotesWithParams(opts *bind.CallOpts, account common.Address, timepoint *big.Int, params []byte) (*big.Int, error)

GetVotesWithParams is a free data retrieval call binding the contract method 0x9a802a6d.

Solidity: function getVotesWithParams(address account, uint256 timepoint, bytes params) view returns(uint256)

func (*GovernorCaller) HasVoted

func (_Governor *GovernorCaller) HasVoted(opts *bind.CallOpts, _proposalId *big.Int, _account common.Address) (bool, error)

HasVoted is a free data retrieval call binding the contract method 0x43859632.

Solidity: function hasVoted(uint256 _proposalId, address _account) view returns(bool)

func (*GovernorCaller) HashProposal

func (_Governor *GovernorCaller) HashProposal(opts *bind.CallOpts, targets []common.Address, values []*big.Int, calldatas [][]byte, descriptionHash [32]byte) (*big.Int, error)

HashProposal is a free data retrieval call binding the contract method 0xc59057e4.

Solidity: function hashProposal(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash) pure returns(uint256)

func (*GovernorCaller) Name

func (_Governor *GovernorCaller) Name(opts *bind.CallOpts) (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*GovernorCaller) ProposalDeadline

func (_Governor *GovernorCaller) ProposalDeadline(opts *bind.CallOpts, proposalId *big.Int) (*big.Int, error)

ProposalDeadline is a free data retrieval call binding the contract method 0xc01f9e37.

Solidity: function proposalDeadline(uint256 proposalId) view returns(uint256)

func (*GovernorCaller) ProposalEta

func (_Governor *GovernorCaller) ProposalEta(opts *bind.CallOpts, proposalId *big.Int) (*big.Int, error)

ProposalEta is a free data retrieval call binding the contract method 0xab58fb8e.

Solidity: function proposalEta(uint256 proposalId) view returns(uint256)

func (*GovernorCaller) ProposalProposer

func (_Governor *GovernorCaller) ProposalProposer(opts *bind.CallOpts, proposalId *big.Int) (common.Address, error)

ProposalProposer is a free data retrieval call binding the contract method 0x143489d0.

Solidity: function proposalProposer(uint256 proposalId) view returns(address)

func (*GovernorCaller) ProposalSnapshot

func (_Governor *GovernorCaller) ProposalSnapshot(opts *bind.CallOpts, proposalId *big.Int) (*big.Int, error)

ProposalSnapshot is a free data retrieval call binding the contract method 0x2d63f693.

Solidity: function proposalSnapshot(uint256 proposalId) view returns(uint256)

func (*GovernorCaller) ProposalThreshold

func (_Governor *GovernorCaller) ProposalThreshold(opts *bind.CallOpts) (*big.Int, error)

ProposalThreshold is a free data retrieval call binding the contract method 0xb58131b0.

Solidity: function proposalThreshold() view returns(uint256)

func (*GovernorCaller) ProposalVotes

func (_Governor *GovernorCaller) ProposalVotes(opts *bind.CallOpts, _proposalId *big.Int) (struct {
	AgainstVotes *big.Int
	ForVotes     *big.Int
	AbstainVotes *big.Int
}, error)

ProposalVotes is a free data retrieval call binding the contract method 0x544ffc9c.

Solidity: function proposalVotes(uint256 _proposalId) view returns(uint256 againstVotes, uint256 forVotes, uint256 abstainVotes)

func (*GovernorCaller) Quorum

func (_Governor *GovernorCaller) Quorum(opts *bind.CallOpts, timepoint *big.Int) (*big.Int, error)

Quorum is a free data retrieval call binding the contract method 0xf8ce560a.

Solidity: function quorum(uint256 timepoint) view returns(uint256)

func (*GovernorCaller) QuorumDenominator

func (_Governor *GovernorCaller) QuorumDenominator(opts *bind.CallOpts) (*big.Int, error)

QuorumDenominator is a free data retrieval call binding the contract method 0x97c3d334.

Solidity: function quorumDenominator() view returns(uint256)

func (*GovernorCaller) QuorumNumerator

func (_Governor *GovernorCaller) QuorumNumerator(opts *bind.CallOpts, timepoint *big.Int) (*big.Int, error)

QuorumNumerator is a free data retrieval call binding the contract method 0x60c4247f.

Solidity: function quorumNumerator(uint256 timepoint) view returns(uint256)

func (*GovernorCaller) QuorumNumerator0

func (_Governor *GovernorCaller) QuorumNumerator0(opts *bind.CallOpts) (*big.Int, error)

QuorumNumerator0 is a free data retrieval call binding the contract method 0xa7713a70.

Solidity: function quorumNumerator() view returns(uint256)

func (*GovernorCaller) Quota

func (_Governor *GovernorCaller) Quota(opts *bind.CallOpts) (*big.Int, error)

Quota is a free data retrieval call binding the contract method 0xcebe09c9.

Solidity: function quota() view returns(uint256)

func (*GovernorCaller) State

func (_Governor *GovernorCaller) State(opts *bind.CallOpts, proposalId *big.Int) (uint8, error)

State is a free data retrieval call binding the contract method 0x3e4f49e6.

Solidity: function state(uint256 proposalId) view returns(uint8)

func (*GovernorCaller) SupportsInterface

func (_Governor *GovernorCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*GovernorCaller) TargetContractId

func (_Governor *GovernorCaller) TargetContractId(opts *bind.CallOpts) ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

func (*GovernorCaller) Timelock

func (_Governor *GovernorCaller) Timelock(opts *bind.CallOpts) (common.Address, error)

Timelock is a free data retrieval call binding the contract method 0xd33219b4.

Solidity: function timelock() view returns(address)

func (*GovernorCaller) Token

func (_Governor *GovernorCaller) Token(opts *bind.CallOpts) (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*GovernorCaller) Version

func (_Governor *GovernorCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*GovernorCaller) Votes

func (_Governor *GovernorCaller) Votes(opts *bind.CallOpts) (common.Address, error)

Votes is a free data retrieval call binding the contract method 0xe168c3ec.

Solidity: function votes() view returns(address)

func (*GovernorCaller) VotingDelay

func (_Governor *GovernorCaller) VotingDelay(opts *bind.CallOpts) (*big.Int, error)

VotingDelay is a free data retrieval call binding the contract method 0x3932abb1.

Solidity: function votingDelay() view returns(uint256)

func (*GovernorCaller) VotingPeriod

func (_Governor *GovernorCaller) VotingPeriod(opts *bind.CallOpts) (*big.Int, error)

VotingPeriod is a free data retrieval call binding the contract method 0x02a251a3.

Solidity: function votingPeriod() view returns(uint256)

type GovernorCallerRaw

type GovernorCallerRaw struct {
	Contract *GovernorCaller // Generic read-only contract binding to access the raw methods on
}

GovernorCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*GovernorCallerRaw) Call

func (_Governor *GovernorCallerRaw) 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 GovernorCallerSession

type GovernorCallerSession struct {
	Contract *GovernorCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts   // Call options to use throughout this session
}

GovernorCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*GovernorCallerSession) BALLOTTYPEHASH

func (_Governor *GovernorCallerSession) BALLOTTYPEHASH() ([32]byte, error)

BALLOTTYPEHASH is a free data retrieval call binding the contract method 0xdeaaa7cc.

Solidity: function BALLOT_TYPEHASH() view returns(bytes32)

func (*GovernorCallerSession) CLOCKMODE

func (_Governor *GovernorCallerSession) CLOCKMODE() (string, error)

CLOCKMODE is a free data retrieval call binding the contract method 0x4bf5d7e9.

Solidity: function CLOCK_MODE() view returns(string)

func (*GovernorCallerSession) COUNTINGMODE

func (_Governor *GovernorCallerSession) COUNTINGMODE() (string, error)

COUNTINGMODE is a free data retrieval call binding the contract method 0xdd4e2ba5.

Solidity: function COUNTING_MODE() pure returns(string)

func (*GovernorCallerSession) Clock

func (_Governor *GovernorCallerSession) Clock() (*big.Int, error)

Clock is a free data retrieval call binding the contract method 0x91ddadf4.

Solidity: function clock() view returns(uint48)

func (*GovernorCallerSession) Controller

func (_Governor *GovernorCallerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*GovernorCallerSession) EXTENDEDBALLOTTYPEHASH

func (_Governor *GovernorCallerSession) EXTENDEDBALLOTTYPEHASH() ([32]byte, error)

EXTENDEDBALLOTTYPEHASH is a free data retrieval call binding the contract method 0x2fe3e261.

Solidity: function EXTENDED_BALLOT_TYPEHASH() view returns(bytes32)

func (*GovernorCallerSession) Eip712Domain

func (_Governor *GovernorCallerSession) Eip712Domain() (struct {
	Fields            [1]byte
	Name              string
	Version           string
	ChainId           *big.Int
	VerifyingContract common.Address
	Salt              [32]byte
	Extensions        []*big.Int
}, error)

Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.

Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)

func (*GovernorCallerSession) GetVotes

func (_Governor *GovernorCallerSession) GetVotes(account common.Address, timepoint *big.Int) (*big.Int, error)

GetVotes is a free data retrieval call binding the contract method 0xeb9019d4.

Solidity: function getVotes(address account, uint256 timepoint) view returns(uint256)

func (*GovernorCallerSession) GetVotesWithParams

func (_Governor *GovernorCallerSession) GetVotesWithParams(account common.Address, timepoint *big.Int, params []byte) (*big.Int, error)

GetVotesWithParams is a free data retrieval call binding the contract method 0x9a802a6d.

Solidity: function getVotesWithParams(address account, uint256 timepoint, bytes params) view returns(uint256)

func (*GovernorCallerSession) HasVoted

func (_Governor *GovernorCallerSession) HasVoted(_proposalId *big.Int, _account common.Address) (bool, error)

HasVoted is a free data retrieval call binding the contract method 0x43859632.

Solidity: function hasVoted(uint256 _proposalId, address _account) view returns(bool)

func (*GovernorCallerSession) HashProposal

func (_Governor *GovernorCallerSession) HashProposal(targets []common.Address, values []*big.Int, calldatas [][]byte, descriptionHash [32]byte) (*big.Int, error)

HashProposal is a free data retrieval call binding the contract method 0xc59057e4.

Solidity: function hashProposal(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash) pure returns(uint256)

func (*GovernorCallerSession) Name

func (_Governor *GovernorCallerSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*GovernorCallerSession) ProposalDeadline

func (_Governor *GovernorCallerSession) ProposalDeadline(proposalId *big.Int) (*big.Int, error)

ProposalDeadline is a free data retrieval call binding the contract method 0xc01f9e37.

Solidity: function proposalDeadline(uint256 proposalId) view returns(uint256)

func (*GovernorCallerSession) ProposalEta

func (_Governor *GovernorCallerSession) ProposalEta(proposalId *big.Int) (*big.Int, error)

ProposalEta is a free data retrieval call binding the contract method 0xab58fb8e.

Solidity: function proposalEta(uint256 proposalId) view returns(uint256)

func (*GovernorCallerSession) ProposalProposer

func (_Governor *GovernorCallerSession) ProposalProposer(proposalId *big.Int) (common.Address, error)

ProposalProposer is a free data retrieval call binding the contract method 0x143489d0.

Solidity: function proposalProposer(uint256 proposalId) view returns(address)

func (*GovernorCallerSession) ProposalSnapshot

func (_Governor *GovernorCallerSession) ProposalSnapshot(proposalId *big.Int) (*big.Int, error)

ProposalSnapshot is a free data retrieval call binding the contract method 0x2d63f693.

Solidity: function proposalSnapshot(uint256 proposalId) view returns(uint256)

func (*GovernorCallerSession) ProposalThreshold

func (_Governor *GovernorCallerSession) ProposalThreshold() (*big.Int, error)

ProposalThreshold is a free data retrieval call binding the contract method 0xb58131b0.

Solidity: function proposalThreshold() view returns(uint256)

func (*GovernorCallerSession) ProposalVotes

func (_Governor *GovernorCallerSession) ProposalVotes(_proposalId *big.Int) (struct {
	AgainstVotes *big.Int
	ForVotes     *big.Int
	AbstainVotes *big.Int
}, error)

ProposalVotes is a free data retrieval call binding the contract method 0x544ffc9c.

Solidity: function proposalVotes(uint256 _proposalId) view returns(uint256 againstVotes, uint256 forVotes, uint256 abstainVotes)

func (*GovernorCallerSession) Quorum

func (_Governor *GovernorCallerSession) Quorum(timepoint *big.Int) (*big.Int, error)

Quorum is a free data retrieval call binding the contract method 0xf8ce560a.

Solidity: function quorum(uint256 timepoint) view returns(uint256)

func (*GovernorCallerSession) QuorumDenominator

func (_Governor *GovernorCallerSession) QuorumDenominator() (*big.Int, error)

QuorumDenominator is a free data retrieval call binding the contract method 0x97c3d334.

Solidity: function quorumDenominator() view returns(uint256)

func (*GovernorCallerSession) QuorumNumerator

func (_Governor *GovernorCallerSession) QuorumNumerator(timepoint *big.Int) (*big.Int, error)

QuorumNumerator is a free data retrieval call binding the contract method 0x60c4247f.

Solidity: function quorumNumerator(uint256 timepoint) view returns(uint256)

func (*GovernorCallerSession) QuorumNumerator0

func (_Governor *GovernorCallerSession) QuorumNumerator0() (*big.Int, error)

QuorumNumerator0 is a free data retrieval call binding the contract method 0xa7713a70.

Solidity: function quorumNumerator() view returns(uint256)

func (*GovernorCallerSession) Quota

func (_Governor *GovernorCallerSession) Quota() (*big.Int, error)

Quota is a free data retrieval call binding the contract method 0xcebe09c9.

Solidity: function quota() view returns(uint256)

func (*GovernorCallerSession) State

func (_Governor *GovernorCallerSession) State(proposalId *big.Int) (uint8, error)

State is a free data retrieval call binding the contract method 0x3e4f49e6.

Solidity: function state(uint256 proposalId) view returns(uint8)

func (*GovernorCallerSession) SupportsInterface

func (_Governor *GovernorCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*GovernorCallerSession) TargetContractId

func (_Governor *GovernorCallerSession) TargetContractId() ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

func (*GovernorCallerSession) Timelock

func (_Governor *GovernorCallerSession) Timelock() (common.Address, error)

Timelock is a free data retrieval call binding the contract method 0xd33219b4.

Solidity: function timelock() view returns(address)

func (*GovernorCallerSession) Token

func (_Governor *GovernorCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*GovernorCallerSession) Version

func (_Governor *GovernorCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*GovernorCallerSession) Votes

func (_Governor *GovernorCallerSession) Votes() (common.Address, error)

Votes is a free data retrieval call binding the contract method 0xe168c3ec.

Solidity: function votes() view returns(address)

func (*GovernorCallerSession) VotingDelay

func (_Governor *GovernorCallerSession) VotingDelay() (*big.Int, error)

VotingDelay is a free data retrieval call binding the contract method 0x3932abb1.

Solidity: function votingDelay() view returns(uint256)

func (*GovernorCallerSession) VotingPeriod

func (_Governor *GovernorCallerSession) VotingPeriod() (*big.Int, error)

VotingPeriod is a free data retrieval call binding the contract method 0x02a251a3.

Solidity: function votingPeriod() view returns(uint256)

type GovernorEIP712DomainChanged

type GovernorEIP712DomainChanged struct {
	Raw types.Log // Blockchain specific contextual infos
}

GovernorEIP712DomainChanged represents a EIP712DomainChanged event raised by the Governor contract.

type GovernorEIP712DomainChangedIterator

type GovernorEIP712DomainChangedIterator struct {
	Event *GovernorEIP712DomainChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GovernorEIP712DomainChangedIterator is returned from FilterEIP712DomainChanged and is used to iterate over the raw logs and unpacked data for EIP712DomainChanged events raised by the Governor contract.

func (*GovernorEIP712DomainChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GovernorEIP712DomainChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernorEIP712DomainChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type GovernorFilterer

type GovernorFilterer struct {
	// contains filtered or unexported fields
}

GovernorFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewGovernorFilterer

func NewGovernorFilterer(address common.Address, filterer bind.ContractFilterer) (*GovernorFilterer, error)

NewGovernorFilterer creates a new log filterer instance of Governor, bound to a specific deployed contract.

func (*GovernorFilterer) FilterEIP712DomainChanged

func (_Governor *GovernorFilterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*GovernorEIP712DomainChangedIterator, error)

FilterEIP712DomainChanged is a free log retrieval operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.

Solidity: event EIP712DomainChanged()

func (*GovernorFilterer) FilterInitialized

func (_Governor *GovernorFilterer) FilterInitialized(opts *bind.FilterOpts) (*GovernorInitializedIterator, error)

FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*GovernorFilterer) FilterParameterUpdate

func (_Governor *GovernorFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*GovernorParameterUpdateIterator, error)

FilterParameterUpdate is a free log retrieval operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*GovernorFilterer) FilterProposalCanceled

func (_Governor *GovernorFilterer) FilterProposalCanceled(opts *bind.FilterOpts) (*GovernorProposalCanceledIterator, error)

FilterProposalCanceled is a free log retrieval operation binding the contract event 0x789cf55be980739dad1d0699b93b58e806b51c9d96619bfa8fe0a28abaa7b30c.

Solidity: event ProposalCanceled(uint256 proposalId)

func (*GovernorFilterer) FilterProposalCreated

func (_Governor *GovernorFilterer) FilterProposalCreated(opts *bind.FilterOpts) (*GovernorProposalCreatedIterator, error)

FilterProposalCreated is a free log retrieval operation binding the contract event 0x7d84a6263ae0d98d3329bd7b46bb4e8d6f98cd35a7adb45c274c8b7fd5ebd5e0.

Solidity: event ProposalCreated(uint256 proposalId, address proposer, address[] targets, uint256[] values, string[] signatures, bytes[] calldatas, uint256 voteStart, uint256 voteEnd, string description)

func (*GovernorFilterer) FilterProposalExecuted

func (_Governor *GovernorFilterer) FilterProposalExecuted(opts *bind.FilterOpts) (*GovernorProposalExecutedIterator, error)

FilterProposalExecuted is a free log retrieval operation binding the contract event 0x712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f.

Solidity: event ProposalExecuted(uint256 proposalId)

func (*GovernorFilterer) FilterProposalQueued

func (_Governor *GovernorFilterer) FilterProposalQueued(opts *bind.FilterOpts) (*GovernorProposalQueuedIterator, error)

FilterProposalQueued is a free log retrieval operation binding the contract event 0x9a2e42fd6722813d69113e7d0079d3d940171428df7373df9c7f7617cfda2892.

Solidity: event ProposalQueued(uint256 proposalId, uint256 eta)

func (*GovernorFilterer) FilterProposalThresholdSet

func (_Governor *GovernorFilterer) FilterProposalThresholdSet(opts *bind.FilterOpts) (*GovernorProposalThresholdSetIterator, error)

FilterProposalThresholdSet is a free log retrieval operation binding the contract event 0xccb45da8d5717e6c4544694297c4ba5cf151d455c9bb0ed4fc7a38411bc05461.

Solidity: event ProposalThresholdSet(uint256 oldProposalThreshold, uint256 newProposalThreshold)

func (*GovernorFilterer) FilterQuorumNumeratorUpdated

func (_Governor *GovernorFilterer) FilterQuorumNumeratorUpdated(opts *bind.FilterOpts) (*GovernorQuorumNumeratorUpdatedIterator, error)

FilterQuorumNumeratorUpdated is a free log retrieval operation binding the contract event 0x0553476bf02ef2726e8ce5ced78d63e26e602e4a2257b1f559418e24b4633997.

Solidity: event QuorumNumeratorUpdated(uint256 oldQuorumNumerator, uint256 newQuorumNumerator)

func (*GovernorFilterer) FilterSetController

func (_Governor *GovernorFilterer) FilterSetController(opts *bind.FilterOpts) (*GovernorSetControllerIterator, error)

FilterSetController is a free log retrieval operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*GovernorFilterer) FilterTimelockChange

func (_Governor *GovernorFilterer) FilterTimelockChange(opts *bind.FilterOpts) (*GovernorTimelockChangeIterator, error)

FilterTimelockChange is a free log retrieval operation binding the contract event 0x08f74ea46ef7894f65eabfb5e6e695de773a000b47c529ab559178069b226401.

Solidity: event TimelockChange(address oldTimelock, address newTimelock)

func (*GovernorFilterer) FilterVoteCast

func (_Governor *GovernorFilterer) FilterVoteCast(opts *bind.FilterOpts, voter []common.Address) (*GovernorVoteCastIterator, error)

FilterVoteCast is a free log retrieval operation binding the contract event 0xb8e138887d0aa13bab447e82de9d5c1777041ecd21ca36ba824ff1e6c07ddda4.

Solidity: event VoteCast(address indexed voter, uint256 proposalId, uint8 support, uint256 weight, string reason)

func (*GovernorFilterer) FilterVoteCastWithParams

func (_Governor *GovernorFilterer) FilterVoteCastWithParams(opts *bind.FilterOpts, voter []common.Address) (*GovernorVoteCastWithParamsIterator, error)

FilterVoteCastWithParams is a free log retrieval operation binding the contract event 0xe2babfbac5889a709b63bb7f598b324e08bc5a4fb9ec647fb3cbc9ec07eb8712.

Solidity: event VoteCastWithParams(address indexed voter, uint256 proposalId, uint8 support, uint256 weight, string reason, bytes params)

func (*GovernorFilterer) FilterVotingDelaySet

func (_Governor *GovernorFilterer) FilterVotingDelaySet(opts *bind.FilterOpts) (*GovernorVotingDelaySetIterator, error)

FilterVotingDelaySet is a free log retrieval operation binding the contract event 0xc565b045403dc03c2eea82b81a0465edad9e2e7fc4d97e11421c209da93d7a93.

Solidity: event VotingDelaySet(uint256 oldVotingDelay, uint256 newVotingDelay)

func (*GovernorFilterer) FilterVotingPeriodSet

func (_Governor *GovernorFilterer) FilterVotingPeriodSet(opts *bind.FilterOpts) (*GovernorVotingPeriodSetIterator, error)

FilterVotingPeriodSet is a free log retrieval operation binding the contract event 0x7e3f7f0708a84de9203036abaa450dccc85ad5ff52f78c170f3edb55cf5e8828.

Solidity: event VotingPeriodSet(uint256 oldVotingPeriod, uint256 newVotingPeriod)

func (*GovernorFilterer) ParseEIP712DomainChanged

func (_Governor *GovernorFilterer) ParseEIP712DomainChanged(log types.Log) (*GovernorEIP712DomainChanged, error)

ParseEIP712DomainChanged is a log parse operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.

Solidity: event EIP712DomainChanged()

func (*GovernorFilterer) ParseInitialized

func (_Governor *GovernorFilterer) ParseInitialized(log types.Log) (*GovernorInitialized, error)

ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*GovernorFilterer) ParseParameterUpdate

func (_Governor *GovernorFilterer) ParseParameterUpdate(log types.Log) (*GovernorParameterUpdate, error)

ParseParameterUpdate is a log parse operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*GovernorFilterer) ParseProposalCanceled

func (_Governor *GovernorFilterer) ParseProposalCanceled(log types.Log) (*GovernorProposalCanceled, error)

ParseProposalCanceled is a log parse operation binding the contract event 0x789cf55be980739dad1d0699b93b58e806b51c9d96619bfa8fe0a28abaa7b30c.

Solidity: event ProposalCanceled(uint256 proposalId)

func (*GovernorFilterer) ParseProposalCreated

func (_Governor *GovernorFilterer) ParseProposalCreated(log types.Log) (*GovernorProposalCreated, error)

ParseProposalCreated is a log parse operation binding the contract event 0x7d84a6263ae0d98d3329bd7b46bb4e8d6f98cd35a7adb45c274c8b7fd5ebd5e0.

Solidity: event ProposalCreated(uint256 proposalId, address proposer, address[] targets, uint256[] values, string[] signatures, bytes[] calldatas, uint256 voteStart, uint256 voteEnd, string description)

func (*GovernorFilterer) ParseProposalExecuted

func (_Governor *GovernorFilterer) ParseProposalExecuted(log types.Log) (*GovernorProposalExecuted, error)

ParseProposalExecuted is a log parse operation binding the contract event 0x712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f.

Solidity: event ProposalExecuted(uint256 proposalId)

func (*GovernorFilterer) ParseProposalQueued

func (_Governor *GovernorFilterer) ParseProposalQueued(log types.Log) (*GovernorProposalQueued, error)

ParseProposalQueued is a log parse operation binding the contract event 0x9a2e42fd6722813d69113e7d0079d3d940171428df7373df9c7f7617cfda2892.

Solidity: event ProposalQueued(uint256 proposalId, uint256 eta)

func (*GovernorFilterer) ParseProposalThresholdSet

func (_Governor *GovernorFilterer) ParseProposalThresholdSet(log types.Log) (*GovernorProposalThresholdSet, error)

ParseProposalThresholdSet is a log parse operation binding the contract event 0xccb45da8d5717e6c4544694297c4ba5cf151d455c9bb0ed4fc7a38411bc05461.

Solidity: event ProposalThresholdSet(uint256 oldProposalThreshold, uint256 newProposalThreshold)

func (*GovernorFilterer) ParseQuorumNumeratorUpdated

func (_Governor *GovernorFilterer) ParseQuorumNumeratorUpdated(log types.Log) (*GovernorQuorumNumeratorUpdated, error)

ParseQuorumNumeratorUpdated is a log parse operation binding the contract event 0x0553476bf02ef2726e8ce5ced78d63e26e602e4a2257b1f559418e24b4633997.

Solidity: event QuorumNumeratorUpdated(uint256 oldQuorumNumerator, uint256 newQuorumNumerator)

func (*GovernorFilterer) ParseSetController

func (_Governor *GovernorFilterer) ParseSetController(log types.Log) (*GovernorSetController, error)

ParseSetController is a log parse operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*GovernorFilterer) ParseTimelockChange

func (_Governor *GovernorFilterer) ParseTimelockChange(log types.Log) (*GovernorTimelockChange, error)

ParseTimelockChange is a log parse operation binding the contract event 0x08f74ea46ef7894f65eabfb5e6e695de773a000b47c529ab559178069b226401.

Solidity: event TimelockChange(address oldTimelock, address newTimelock)

func (*GovernorFilterer) ParseVoteCast

func (_Governor *GovernorFilterer) ParseVoteCast(log types.Log) (*GovernorVoteCast, error)

ParseVoteCast is a log parse operation binding the contract event 0xb8e138887d0aa13bab447e82de9d5c1777041ecd21ca36ba824ff1e6c07ddda4.

Solidity: event VoteCast(address indexed voter, uint256 proposalId, uint8 support, uint256 weight, string reason)

func (*GovernorFilterer) ParseVoteCastWithParams

func (_Governor *GovernorFilterer) ParseVoteCastWithParams(log types.Log) (*GovernorVoteCastWithParams, error)

ParseVoteCastWithParams is a log parse operation binding the contract event 0xe2babfbac5889a709b63bb7f598b324e08bc5a4fb9ec647fb3cbc9ec07eb8712.

Solidity: event VoteCastWithParams(address indexed voter, uint256 proposalId, uint8 support, uint256 weight, string reason, bytes params)

func (*GovernorFilterer) ParseVotingDelaySet

func (_Governor *GovernorFilterer) ParseVotingDelaySet(log types.Log) (*GovernorVotingDelaySet, error)

ParseVotingDelaySet is a log parse operation binding the contract event 0xc565b045403dc03c2eea82b81a0465edad9e2e7fc4d97e11421c209da93d7a93.

Solidity: event VotingDelaySet(uint256 oldVotingDelay, uint256 newVotingDelay)

func (*GovernorFilterer) ParseVotingPeriodSet

func (_Governor *GovernorFilterer) ParseVotingPeriodSet(log types.Log) (*GovernorVotingPeriodSet, error)

ParseVotingPeriodSet is a log parse operation binding the contract event 0x7e3f7f0708a84de9203036abaa450dccc85ad5ff52f78c170f3edb55cf5e8828.

Solidity: event VotingPeriodSet(uint256 oldVotingPeriod, uint256 newVotingPeriod)

func (*GovernorFilterer) WatchEIP712DomainChanged

func (_Governor *GovernorFilterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *GovernorEIP712DomainChanged) (event.Subscription, error)

WatchEIP712DomainChanged is a free log subscription operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.

Solidity: event EIP712DomainChanged()

func (*GovernorFilterer) WatchInitialized

func (_Governor *GovernorFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *GovernorInitialized) (event.Subscription, error)

WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.

Solidity: event Initialized(uint8 version)

func (*GovernorFilterer) WatchParameterUpdate

func (_Governor *GovernorFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *GovernorParameterUpdate) (event.Subscription, error)

WatchParameterUpdate is a free log subscription operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*GovernorFilterer) WatchProposalCanceled

func (_Governor *GovernorFilterer) WatchProposalCanceled(opts *bind.WatchOpts, sink chan<- *GovernorProposalCanceled) (event.Subscription, error)

WatchProposalCanceled is a free log subscription operation binding the contract event 0x789cf55be980739dad1d0699b93b58e806b51c9d96619bfa8fe0a28abaa7b30c.

Solidity: event ProposalCanceled(uint256 proposalId)

func (*GovernorFilterer) WatchProposalCreated

func (_Governor *GovernorFilterer) WatchProposalCreated(opts *bind.WatchOpts, sink chan<- *GovernorProposalCreated) (event.Subscription, error)

WatchProposalCreated is a free log subscription operation binding the contract event 0x7d84a6263ae0d98d3329bd7b46bb4e8d6f98cd35a7adb45c274c8b7fd5ebd5e0.

Solidity: event ProposalCreated(uint256 proposalId, address proposer, address[] targets, uint256[] values, string[] signatures, bytes[] calldatas, uint256 voteStart, uint256 voteEnd, string description)

func (*GovernorFilterer) WatchProposalExecuted

func (_Governor *GovernorFilterer) WatchProposalExecuted(opts *bind.WatchOpts, sink chan<- *GovernorProposalExecuted) (event.Subscription, error)

WatchProposalExecuted is a free log subscription operation binding the contract event 0x712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f.

Solidity: event ProposalExecuted(uint256 proposalId)

func (*GovernorFilterer) WatchProposalQueued

func (_Governor *GovernorFilterer) WatchProposalQueued(opts *bind.WatchOpts, sink chan<- *GovernorProposalQueued) (event.Subscription, error)

WatchProposalQueued is a free log subscription operation binding the contract event 0x9a2e42fd6722813d69113e7d0079d3d940171428df7373df9c7f7617cfda2892.

Solidity: event ProposalQueued(uint256 proposalId, uint256 eta)

func (*GovernorFilterer) WatchProposalThresholdSet

func (_Governor *GovernorFilterer) WatchProposalThresholdSet(opts *bind.WatchOpts, sink chan<- *GovernorProposalThresholdSet) (event.Subscription, error)

WatchProposalThresholdSet is a free log subscription operation binding the contract event 0xccb45da8d5717e6c4544694297c4ba5cf151d455c9bb0ed4fc7a38411bc05461.

Solidity: event ProposalThresholdSet(uint256 oldProposalThreshold, uint256 newProposalThreshold)

func (*GovernorFilterer) WatchQuorumNumeratorUpdated

func (_Governor *GovernorFilterer) WatchQuorumNumeratorUpdated(opts *bind.WatchOpts, sink chan<- *GovernorQuorumNumeratorUpdated) (event.Subscription, error)

WatchQuorumNumeratorUpdated is a free log subscription operation binding the contract event 0x0553476bf02ef2726e8ce5ced78d63e26e602e4a2257b1f559418e24b4633997.

Solidity: event QuorumNumeratorUpdated(uint256 oldQuorumNumerator, uint256 newQuorumNumerator)

func (*GovernorFilterer) WatchSetController

func (_Governor *GovernorFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *GovernorSetController) (event.Subscription, error)

WatchSetController is a free log subscription operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*GovernorFilterer) WatchTimelockChange

func (_Governor *GovernorFilterer) WatchTimelockChange(opts *bind.WatchOpts, sink chan<- *GovernorTimelockChange) (event.Subscription, error)

WatchTimelockChange is a free log subscription operation binding the contract event 0x08f74ea46ef7894f65eabfb5e6e695de773a000b47c529ab559178069b226401.

Solidity: event TimelockChange(address oldTimelock, address newTimelock)

func (*GovernorFilterer) WatchVoteCast

func (_Governor *GovernorFilterer) WatchVoteCast(opts *bind.WatchOpts, sink chan<- *GovernorVoteCast, voter []common.Address) (event.Subscription, error)

WatchVoteCast is a free log subscription operation binding the contract event 0xb8e138887d0aa13bab447e82de9d5c1777041ecd21ca36ba824ff1e6c07ddda4.

Solidity: event VoteCast(address indexed voter, uint256 proposalId, uint8 support, uint256 weight, string reason)

func (*GovernorFilterer) WatchVoteCastWithParams

func (_Governor *GovernorFilterer) WatchVoteCastWithParams(opts *bind.WatchOpts, sink chan<- *GovernorVoteCastWithParams, voter []common.Address) (event.Subscription, error)

WatchVoteCastWithParams is a free log subscription operation binding the contract event 0xe2babfbac5889a709b63bb7f598b324e08bc5a4fb9ec647fb3cbc9ec07eb8712.

Solidity: event VoteCastWithParams(address indexed voter, uint256 proposalId, uint8 support, uint256 weight, string reason, bytes params)

func (*GovernorFilterer) WatchVotingDelaySet

func (_Governor *GovernorFilterer) WatchVotingDelaySet(opts *bind.WatchOpts, sink chan<- *GovernorVotingDelaySet) (event.Subscription, error)

WatchVotingDelaySet is a free log subscription operation binding the contract event 0xc565b045403dc03c2eea82b81a0465edad9e2e7fc4d97e11421c209da93d7a93.

Solidity: event VotingDelaySet(uint256 oldVotingDelay, uint256 newVotingDelay)

func (*GovernorFilterer) WatchVotingPeriodSet

func (_Governor *GovernorFilterer) WatchVotingPeriodSet(opts *bind.WatchOpts, sink chan<- *GovernorVotingPeriodSet) (event.Subscription, error)

WatchVotingPeriodSet is a free log subscription operation binding the contract event 0x7e3f7f0708a84de9203036abaa450dccc85ad5ff52f78c170f3edb55cf5e8828.

Solidity: event VotingPeriodSet(uint256 oldVotingPeriod, uint256 newVotingPeriod)

type GovernorInitialized

type GovernorInitialized struct {
	Version uint8
	Raw     types.Log // Blockchain specific contextual infos
}

GovernorInitialized represents a Initialized event raised by the Governor contract.

type GovernorInitializedIterator

type GovernorInitializedIterator struct {
	Event *GovernorInitialized // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GovernorInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the Governor contract.

func (*GovernorInitializedIterator) Close

func (it *GovernorInitializedIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*GovernorInitializedIterator) Error

func (it *GovernorInitializedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernorInitializedIterator) Next

func (it *GovernorInitializedIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type GovernorParameterUpdate

type GovernorParameterUpdate struct {
	Param string
	Raw   types.Log // Blockchain specific contextual infos
}

GovernorParameterUpdate represents a ParameterUpdate event raised by the Governor contract.

type GovernorParameterUpdateIterator

type GovernorParameterUpdateIterator struct {
	Event *GovernorParameterUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GovernorParameterUpdateIterator is returned from FilterParameterUpdate and is used to iterate over the raw logs and unpacked data for ParameterUpdate events raised by the Governor contract.

func (*GovernorParameterUpdateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GovernorParameterUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernorParameterUpdateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type GovernorProposalCanceled

type GovernorProposalCanceled struct {
	ProposalId *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

GovernorProposalCanceled represents a ProposalCanceled event raised by the Governor contract.

type GovernorProposalCanceledIterator

type GovernorProposalCanceledIterator struct {
	Event *GovernorProposalCanceled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GovernorProposalCanceledIterator is returned from FilterProposalCanceled and is used to iterate over the raw logs and unpacked data for ProposalCanceled events raised by the Governor contract.

func (*GovernorProposalCanceledIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GovernorProposalCanceledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernorProposalCanceledIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type GovernorProposalCreated

type GovernorProposalCreated struct {
	ProposalId  *big.Int
	Proposer    common.Address
	Targets     []common.Address
	Values      []*big.Int
	Signatures  []string
	Calldatas   [][]byte
	VoteStart   *big.Int
	VoteEnd     *big.Int
	Description string
	Raw         types.Log // Blockchain specific contextual infos
}

GovernorProposalCreated represents a ProposalCreated event raised by the Governor contract.

type GovernorProposalCreatedIterator

type GovernorProposalCreatedIterator struct {
	Event *GovernorProposalCreated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GovernorProposalCreatedIterator is returned from FilterProposalCreated and is used to iterate over the raw logs and unpacked data for ProposalCreated events raised by the Governor contract.

func (*GovernorProposalCreatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GovernorProposalCreatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernorProposalCreatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type GovernorProposalExecuted

type GovernorProposalExecuted struct {
	ProposalId *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

GovernorProposalExecuted represents a ProposalExecuted event raised by the Governor contract.

type GovernorProposalExecutedIterator

type GovernorProposalExecutedIterator struct {
	Event *GovernorProposalExecuted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GovernorProposalExecutedIterator is returned from FilterProposalExecuted and is used to iterate over the raw logs and unpacked data for ProposalExecuted events raised by the Governor contract.

func (*GovernorProposalExecutedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GovernorProposalExecutedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernorProposalExecutedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type GovernorProposalQueued

type GovernorProposalQueued struct {
	ProposalId *big.Int
	Eta        *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

GovernorProposalQueued represents a ProposalQueued event raised by the Governor contract.

type GovernorProposalQueuedIterator

type GovernorProposalQueuedIterator struct {
	Event *GovernorProposalQueued // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GovernorProposalQueuedIterator is returned from FilterProposalQueued and is used to iterate over the raw logs and unpacked data for ProposalQueued events raised by the Governor contract.

func (*GovernorProposalQueuedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GovernorProposalQueuedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernorProposalQueuedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type GovernorProposalThresholdSet

type GovernorProposalThresholdSet struct {
	OldProposalThreshold *big.Int
	NewProposalThreshold *big.Int
	Raw                  types.Log // Blockchain specific contextual infos
}

GovernorProposalThresholdSet represents a ProposalThresholdSet event raised by the Governor contract.

type GovernorProposalThresholdSetIterator

type GovernorProposalThresholdSetIterator struct {
	Event *GovernorProposalThresholdSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GovernorProposalThresholdSetIterator is returned from FilterProposalThresholdSet and is used to iterate over the raw logs and unpacked data for ProposalThresholdSet events raised by the Governor contract.

func (*GovernorProposalThresholdSetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GovernorProposalThresholdSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernorProposalThresholdSetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type GovernorQuorumNumeratorUpdated

type GovernorQuorumNumeratorUpdated struct {
	OldQuorumNumerator *big.Int
	NewQuorumNumerator *big.Int
	Raw                types.Log // Blockchain specific contextual infos
}

GovernorQuorumNumeratorUpdated represents a QuorumNumeratorUpdated event raised by the Governor contract.

type GovernorQuorumNumeratorUpdatedIterator

type GovernorQuorumNumeratorUpdatedIterator struct {
	Event *GovernorQuorumNumeratorUpdated // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GovernorQuorumNumeratorUpdatedIterator is returned from FilterQuorumNumeratorUpdated and is used to iterate over the raw logs and unpacked data for QuorumNumeratorUpdated events raised by the Governor contract.

func (*GovernorQuorumNumeratorUpdatedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GovernorQuorumNumeratorUpdatedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernorQuorumNumeratorUpdatedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type GovernorRaw

type GovernorRaw struct {
	Contract *Governor // Generic contract binding to access the raw methods on
}

GovernorRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*GovernorRaw) Call

func (_Governor *GovernorRaw) 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 (*GovernorRaw) Transact

func (_Governor *GovernorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*GovernorRaw) Transfer

func (_Governor *GovernorRaw) 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 GovernorSession

type GovernorSession struct {
	Contract     *Governor         // 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
}

GovernorSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*GovernorSession) BALLOTTYPEHASH

func (_Governor *GovernorSession) BALLOTTYPEHASH() ([32]byte, error)

BALLOTTYPEHASH is a free data retrieval call binding the contract method 0xdeaaa7cc.

Solidity: function BALLOT_TYPEHASH() view returns(bytes32)

func (*GovernorSession) BumpGovernorVotesTokenAddress

func (_Governor *GovernorSession) BumpGovernorVotesTokenAddress() (*types.Transaction, error)

BumpGovernorVotesTokenAddress is a paid mutator transaction binding the contract method 0xb70f941f.

Solidity: function bumpGovernorVotesTokenAddress() returns()

func (*GovernorSession) CLOCKMODE

func (_Governor *GovernorSession) CLOCKMODE() (string, error)

CLOCKMODE is a free data retrieval call binding the contract method 0x4bf5d7e9.

Solidity: function CLOCK_MODE() view returns(string)

func (*GovernorSession) COUNTINGMODE

func (_Governor *GovernorSession) COUNTINGMODE() (string, error)

COUNTINGMODE is a free data retrieval call binding the contract method 0xdd4e2ba5.

Solidity: function COUNTING_MODE() pure returns(string)

func (*GovernorSession) Cancel

func (_Governor *GovernorSession) Cancel(targets []common.Address, values []*big.Int, calldatas [][]byte, descriptionHash [32]byte) (*types.Transaction, error)

Cancel is a paid mutator transaction binding the contract method 0x452115d6.

Solidity: function cancel(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash) returns(uint256)

func (*GovernorSession) CastVote

func (_Governor *GovernorSession) CastVote(proposalId *big.Int, support uint8) (*types.Transaction, error)

CastVote is a paid mutator transaction binding the contract method 0x56781388.

Solidity: function castVote(uint256 proposalId, uint8 support) returns(uint256)

func (*GovernorSession) CastVoteBySig

func (_Governor *GovernorSession) CastVoteBySig(proposalId *big.Int, support uint8, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

CastVoteBySig is a paid mutator transaction binding the contract method 0x3bccf4fd.

Solidity: function castVoteBySig(uint256 proposalId, uint8 support, uint8 v, bytes32 r, bytes32 s) returns(uint256)

func (*GovernorSession) CastVoteWithReason

func (_Governor *GovernorSession) CastVoteWithReason(proposalId *big.Int, support uint8, reason string) (*types.Transaction, error)

CastVoteWithReason is a paid mutator transaction binding the contract method 0x7b3c71d3.

Solidity: function castVoteWithReason(uint256 proposalId, uint8 support, string reason) returns(uint256)

func (*GovernorSession) CastVoteWithReasonAndParams

func (_Governor *GovernorSession) CastVoteWithReasonAndParams(proposalId *big.Int, support uint8, reason string, params []byte) (*types.Transaction, error)

CastVoteWithReasonAndParams is a paid mutator transaction binding the contract method 0x5f398a14.

Solidity: function castVoteWithReasonAndParams(uint256 proposalId, uint8 support, string reason, bytes params) returns(uint256)

func (*GovernorSession) CastVoteWithReasonAndParamsBySig

func (_Governor *GovernorSession) CastVoteWithReasonAndParamsBySig(proposalId *big.Int, support uint8, reason string, params []byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

CastVoteWithReasonAndParamsBySig is a paid mutator transaction binding the contract method 0x03420181.

Solidity: function castVoteWithReasonAndParamsBySig(uint256 proposalId, uint8 support, string reason, bytes params, uint8 v, bytes32 r, bytes32 s) returns(uint256)

func (*GovernorSession) Clock

func (_Governor *GovernorSession) Clock() (*big.Int, error)

Clock is a free data retrieval call binding the contract method 0x91ddadf4.

Solidity: function clock() view returns(uint48)

func (*GovernorSession) Controller

func (_Governor *GovernorSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*GovernorSession) EXTENDEDBALLOTTYPEHASH

func (_Governor *GovernorSession) EXTENDEDBALLOTTYPEHASH() ([32]byte, error)

EXTENDEDBALLOTTYPEHASH is a free data retrieval call binding the contract method 0x2fe3e261.

Solidity: function EXTENDED_BALLOT_TYPEHASH() view returns(bytes32)

func (*GovernorSession) Eip712Domain

func (_Governor *GovernorSession) Eip712Domain() (struct {
	Fields            [1]byte
	Name              string
	Version           string
	ChainId           *big.Int
	VerifyingContract common.Address
	Salt              [32]byte
	Extensions        []*big.Int
}, error)

Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.

Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)

func (*GovernorSession) Execute

func (_Governor *GovernorSession) Execute(targets []common.Address, values []*big.Int, calldatas [][]byte, descriptionHash [32]byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x2656227d.

Solidity: function execute(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash) payable returns(uint256)

func (*GovernorSession) GetVotes

func (_Governor *GovernorSession) GetVotes(account common.Address, timepoint *big.Int) (*big.Int, error)

GetVotes is a free data retrieval call binding the contract method 0xeb9019d4.

Solidity: function getVotes(address account, uint256 timepoint) view returns(uint256)

func (*GovernorSession) GetVotesWithParams

func (_Governor *GovernorSession) GetVotesWithParams(account common.Address, timepoint *big.Int, params []byte) (*big.Int, error)

GetVotesWithParams is a free data retrieval call binding the contract method 0x9a802a6d.

Solidity: function getVotesWithParams(address account, uint256 timepoint, bytes params) view returns(uint256)

func (*GovernorSession) HasVoted

func (_Governor *GovernorSession) HasVoted(_proposalId *big.Int, _account common.Address) (bool, error)

HasVoted is a free data retrieval call binding the contract method 0x43859632.

Solidity: function hasVoted(uint256 _proposalId, address _account) view returns(bool)

func (*GovernorSession) HashProposal

func (_Governor *GovernorSession) HashProposal(targets []common.Address, values []*big.Int, calldatas [][]byte, descriptionHash [32]byte) (*big.Int, error)

HashProposal is a free data retrieval call binding the contract method 0xc59057e4.

Solidity: function hashProposal(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash) pure returns(uint256)

func (*GovernorSession) Initialize

func (_Governor *GovernorSession) Initialize(initialVotingDelay *big.Int, initialVotingPeriod *big.Int, initialProposalThreshold *big.Int, initialQuorum *big.Int, quota *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xdcbab608.

Solidity: function initialize(uint256 initialVotingDelay, uint256 initialVotingPeriod, uint256 initialProposalThreshold, uint256 initialQuorum, uint256 quota) returns()

func (*GovernorSession) Name

func (_Governor *GovernorSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*GovernorSession) OnERC721Received

func (_Governor *GovernorSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*GovernorSession) OnERC1155BatchReceived

func (_Governor *GovernorSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)

func (*GovernorSession) OnERC1155Received

func (_Governor *GovernorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*GovernorSession) ProposalDeadline

func (_Governor *GovernorSession) ProposalDeadline(proposalId *big.Int) (*big.Int, error)

ProposalDeadline is a free data retrieval call binding the contract method 0xc01f9e37.

Solidity: function proposalDeadline(uint256 proposalId) view returns(uint256)

func (*GovernorSession) ProposalEta

func (_Governor *GovernorSession) ProposalEta(proposalId *big.Int) (*big.Int, error)

ProposalEta is a free data retrieval call binding the contract method 0xab58fb8e.

Solidity: function proposalEta(uint256 proposalId) view returns(uint256)

func (*GovernorSession) ProposalProposer

func (_Governor *GovernorSession) ProposalProposer(proposalId *big.Int) (common.Address, error)

ProposalProposer is a free data retrieval call binding the contract method 0x143489d0.

Solidity: function proposalProposer(uint256 proposalId) view returns(address)

func (*GovernorSession) ProposalSnapshot

func (_Governor *GovernorSession) ProposalSnapshot(proposalId *big.Int) (*big.Int, error)

ProposalSnapshot is a free data retrieval call binding the contract method 0x2d63f693.

Solidity: function proposalSnapshot(uint256 proposalId) view returns(uint256)

func (*GovernorSession) ProposalThreshold

func (_Governor *GovernorSession) ProposalThreshold() (*big.Int, error)

ProposalThreshold is a free data retrieval call binding the contract method 0xb58131b0.

Solidity: function proposalThreshold() view returns(uint256)

func (*GovernorSession) ProposalVotes

func (_Governor *GovernorSession) ProposalVotes(_proposalId *big.Int) (struct {
	AgainstVotes *big.Int
	ForVotes     *big.Int
	AbstainVotes *big.Int
}, error)

ProposalVotes is a free data retrieval call binding the contract method 0x544ffc9c.

Solidity: function proposalVotes(uint256 _proposalId) view returns(uint256 againstVotes, uint256 forVotes, uint256 abstainVotes)

func (*GovernorSession) Propose

func (_Governor *GovernorSession) Propose(targets []common.Address, values []*big.Int, calldatas [][]byte, description string) (*types.Transaction, error)

Propose is a paid mutator transaction binding the contract method 0x7d5e81e2.

Solidity: function propose(address[] targets, uint256[] values, bytes[] calldatas, string description) returns(uint256)

func (*GovernorSession) Queue

func (_Governor *GovernorSession) Queue(targets []common.Address, values []*big.Int, calldatas [][]byte, descriptionHash [32]byte) (*types.Transaction, error)

Queue is a paid mutator transaction binding the contract method 0x160cbed7.

Solidity: function queue(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash) returns(uint256)

func (*GovernorSession) Quorum

func (_Governor *GovernorSession) Quorum(timepoint *big.Int) (*big.Int, error)

Quorum is a free data retrieval call binding the contract method 0xf8ce560a.

Solidity: function quorum(uint256 timepoint) view returns(uint256)

func (*GovernorSession) QuorumDenominator

func (_Governor *GovernorSession) QuorumDenominator() (*big.Int, error)

QuorumDenominator is a free data retrieval call binding the contract method 0x97c3d334.

Solidity: function quorumDenominator() view returns(uint256)

func (*GovernorSession) QuorumNumerator

func (_Governor *GovernorSession) QuorumNumerator(timepoint *big.Int) (*big.Int, error)

QuorumNumerator is a free data retrieval call binding the contract method 0x60c4247f.

Solidity: function quorumNumerator(uint256 timepoint) view returns(uint256)

func (*GovernorSession) QuorumNumerator0

func (_Governor *GovernorSession) QuorumNumerator0() (*big.Int, error)

QuorumNumerator0 is a free data retrieval call binding the contract method 0xa7713a70.

Solidity: function quorumNumerator() view returns(uint256)

func (*GovernorSession) Quota

func (_Governor *GovernorSession) Quota() (*big.Int, error)

Quota is a free data retrieval call binding the contract method 0xcebe09c9.

Solidity: function quota() view returns(uint256)

func (*GovernorSession) Receive

func (_Governor *GovernorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*GovernorSession) Relay

func (_Governor *GovernorSession) Relay(target common.Address, value *big.Int, data []byte) (*types.Transaction, error)

Relay is a paid mutator transaction binding the contract method 0xc28bc2fa.

Solidity: function relay(address target, uint256 value, bytes data) payable returns()

func (*GovernorSession) SetController

func (_Governor *GovernorSession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*GovernorSession) SetProposalThreshold

func (_Governor *GovernorSession) SetProposalThreshold(newProposalThreshold *big.Int) (*types.Transaction, error)

SetProposalThreshold is a paid mutator transaction binding the contract method 0xece40cc1.

Solidity: function setProposalThreshold(uint256 newProposalThreshold) returns()

func (*GovernorSession) SetVotingDelay

func (_Governor *GovernorSession) SetVotingDelay(newVotingDelay *big.Int) (*types.Transaction, error)

SetVotingDelay is a paid mutator transaction binding the contract method 0x70b0f660.

Solidity: function setVotingDelay(uint256 newVotingDelay) returns()

func (*GovernorSession) SetVotingPeriod

func (_Governor *GovernorSession) SetVotingPeriod(newVotingPeriod *big.Int) (*types.Transaction, error)

SetVotingPeriod is a paid mutator transaction binding the contract method 0xea0217cf.

Solidity: function setVotingPeriod(uint256 newVotingPeriod) returns()

func (*GovernorSession) State

func (_Governor *GovernorSession) State(proposalId *big.Int) (uint8, error)

State is a free data retrieval call binding the contract method 0x3e4f49e6.

Solidity: function state(uint256 proposalId) view returns(uint8)

func (*GovernorSession) SupportsInterface

func (_Governor *GovernorSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*GovernorSession) TargetContractId

func (_Governor *GovernorSession) TargetContractId() ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

func (*GovernorSession) Timelock

func (_Governor *GovernorSession) Timelock() (common.Address, error)

Timelock is a free data retrieval call binding the contract method 0xd33219b4.

Solidity: function timelock() view returns(address)

func (*GovernorSession) Token

func (_Governor *GovernorSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*GovernorSession) UpdateQuorumNumerator

func (_Governor *GovernorSession) UpdateQuorumNumerator(newQuorumNumerator *big.Int) (*types.Transaction, error)

UpdateQuorumNumerator is a paid mutator transaction binding the contract method 0x06f3f9e6.

Solidity: function updateQuorumNumerator(uint256 newQuorumNumerator) returns()

func (*GovernorSession) UpdateTimelock

func (_Governor *GovernorSession) UpdateTimelock(newTimelock common.Address) (*types.Transaction, error)

UpdateTimelock is a paid mutator transaction binding the contract method 0xa890c910.

Solidity: function updateTimelock(address newTimelock) returns()

func (*GovernorSession) Version

func (_Governor *GovernorSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

func (*GovernorSession) Votes

func (_Governor *GovernorSession) Votes() (common.Address, error)

Votes is a free data retrieval call binding the contract method 0xe168c3ec.

Solidity: function votes() view returns(address)

func (*GovernorSession) VotingDelay

func (_Governor *GovernorSession) VotingDelay() (*big.Int, error)

VotingDelay is a free data retrieval call binding the contract method 0x3932abb1.

Solidity: function votingDelay() view returns(uint256)

func (*GovernorSession) VotingPeriod

func (_Governor *GovernorSession) VotingPeriod() (*big.Int, error)

VotingPeriod is a free data retrieval call binding the contract method 0x02a251a3.

Solidity: function votingPeriod() view returns(uint256)

type GovernorSetController

type GovernorSetController struct {
	Controller common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

GovernorSetController represents a SetController event raised by the Governor contract.

type GovernorSetControllerIterator

type GovernorSetControllerIterator struct {
	Event *GovernorSetController // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GovernorSetControllerIterator is returned from FilterSetController and is used to iterate over the raw logs and unpacked data for SetController events raised by the Governor contract.

func (*GovernorSetControllerIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GovernorSetControllerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernorSetControllerIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type GovernorTimelockChange

type GovernorTimelockChange struct {
	OldTimelock common.Address
	NewTimelock common.Address
	Raw         types.Log // Blockchain specific contextual infos
}

GovernorTimelockChange represents a TimelockChange event raised by the Governor contract.

type GovernorTimelockChangeIterator

type GovernorTimelockChangeIterator struct {
	Event *GovernorTimelockChange // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GovernorTimelockChangeIterator is returned from FilterTimelockChange and is used to iterate over the raw logs and unpacked data for TimelockChange events raised by the Governor contract.

func (*GovernorTimelockChangeIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GovernorTimelockChangeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernorTimelockChangeIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type GovernorTransactor

type GovernorTransactor struct {
	// contains filtered or unexported fields
}

GovernorTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewGovernorTransactor

func NewGovernorTransactor(address common.Address, transactor bind.ContractTransactor) (*GovernorTransactor, error)

NewGovernorTransactor creates a new write-only instance of Governor, bound to a specific deployed contract.

func (*GovernorTransactor) BumpGovernorVotesTokenAddress

func (_Governor *GovernorTransactor) BumpGovernorVotesTokenAddress(opts *bind.TransactOpts) (*types.Transaction, error)

BumpGovernorVotesTokenAddress is a paid mutator transaction binding the contract method 0xb70f941f.

Solidity: function bumpGovernorVotesTokenAddress() returns()

func (*GovernorTransactor) Cancel

func (_Governor *GovernorTransactor) Cancel(opts *bind.TransactOpts, targets []common.Address, values []*big.Int, calldatas [][]byte, descriptionHash [32]byte) (*types.Transaction, error)

Cancel is a paid mutator transaction binding the contract method 0x452115d6.

Solidity: function cancel(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash) returns(uint256)

func (*GovernorTransactor) CastVote

func (_Governor *GovernorTransactor) CastVote(opts *bind.TransactOpts, proposalId *big.Int, support uint8) (*types.Transaction, error)

CastVote is a paid mutator transaction binding the contract method 0x56781388.

Solidity: function castVote(uint256 proposalId, uint8 support) returns(uint256)

func (*GovernorTransactor) CastVoteBySig

func (_Governor *GovernorTransactor) CastVoteBySig(opts *bind.TransactOpts, proposalId *big.Int, support uint8, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

CastVoteBySig is a paid mutator transaction binding the contract method 0x3bccf4fd.

Solidity: function castVoteBySig(uint256 proposalId, uint8 support, uint8 v, bytes32 r, bytes32 s) returns(uint256)

func (*GovernorTransactor) CastVoteWithReason

func (_Governor *GovernorTransactor) CastVoteWithReason(opts *bind.TransactOpts, proposalId *big.Int, support uint8, reason string) (*types.Transaction, error)

CastVoteWithReason is a paid mutator transaction binding the contract method 0x7b3c71d3.

Solidity: function castVoteWithReason(uint256 proposalId, uint8 support, string reason) returns(uint256)

func (*GovernorTransactor) CastVoteWithReasonAndParams

func (_Governor *GovernorTransactor) CastVoteWithReasonAndParams(opts *bind.TransactOpts, proposalId *big.Int, support uint8, reason string, params []byte) (*types.Transaction, error)

CastVoteWithReasonAndParams is a paid mutator transaction binding the contract method 0x5f398a14.

Solidity: function castVoteWithReasonAndParams(uint256 proposalId, uint8 support, string reason, bytes params) returns(uint256)

func (*GovernorTransactor) CastVoteWithReasonAndParamsBySig

func (_Governor *GovernorTransactor) CastVoteWithReasonAndParamsBySig(opts *bind.TransactOpts, proposalId *big.Int, support uint8, reason string, params []byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

CastVoteWithReasonAndParamsBySig is a paid mutator transaction binding the contract method 0x03420181.

Solidity: function castVoteWithReasonAndParamsBySig(uint256 proposalId, uint8 support, string reason, bytes params, uint8 v, bytes32 r, bytes32 s) returns(uint256)

func (*GovernorTransactor) Execute

func (_Governor *GovernorTransactor) Execute(opts *bind.TransactOpts, targets []common.Address, values []*big.Int, calldatas [][]byte, descriptionHash [32]byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x2656227d.

Solidity: function execute(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash) payable returns(uint256)

func (*GovernorTransactor) Initialize

func (_Governor *GovernorTransactor) Initialize(opts *bind.TransactOpts, initialVotingDelay *big.Int, initialVotingPeriod *big.Int, initialProposalThreshold *big.Int, initialQuorum *big.Int, quota *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xdcbab608.

Solidity: function initialize(uint256 initialVotingDelay, uint256 initialVotingPeriod, uint256 initialProposalThreshold, uint256 initialQuorum, uint256 quota) returns()

func (*GovernorTransactor) OnERC721Received

func (_Governor *GovernorTransactor) OnERC721Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*GovernorTransactor) OnERC1155BatchReceived

func (_Governor *GovernorTransactor) OnERC1155BatchReceived(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)

func (*GovernorTransactor) OnERC1155Received

func (_Governor *GovernorTransactor) OnERC1155Received(opts *bind.TransactOpts, arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*GovernorTransactor) Propose

func (_Governor *GovernorTransactor) Propose(opts *bind.TransactOpts, targets []common.Address, values []*big.Int, calldatas [][]byte, description string) (*types.Transaction, error)

Propose is a paid mutator transaction binding the contract method 0x7d5e81e2.

Solidity: function propose(address[] targets, uint256[] values, bytes[] calldatas, string description) returns(uint256)

func (*GovernorTransactor) Queue

func (_Governor *GovernorTransactor) Queue(opts *bind.TransactOpts, targets []common.Address, values []*big.Int, calldatas [][]byte, descriptionHash [32]byte) (*types.Transaction, error)

Queue is a paid mutator transaction binding the contract method 0x160cbed7.

Solidity: function queue(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash) returns(uint256)

func (*GovernorTransactor) Receive

func (_Governor *GovernorTransactor) Receive(opts *bind.TransactOpts) (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*GovernorTransactor) Relay

func (_Governor *GovernorTransactor) Relay(opts *bind.TransactOpts, target common.Address, value *big.Int, data []byte) (*types.Transaction, error)

Relay is a paid mutator transaction binding the contract method 0xc28bc2fa.

Solidity: function relay(address target, uint256 value, bytes data) payable returns()

func (*GovernorTransactor) SetController

func (_Governor *GovernorTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*GovernorTransactor) SetProposalThreshold

func (_Governor *GovernorTransactor) SetProposalThreshold(opts *bind.TransactOpts, newProposalThreshold *big.Int) (*types.Transaction, error)

SetProposalThreshold is a paid mutator transaction binding the contract method 0xece40cc1.

Solidity: function setProposalThreshold(uint256 newProposalThreshold) returns()

func (*GovernorTransactor) SetVotingDelay

func (_Governor *GovernorTransactor) SetVotingDelay(opts *bind.TransactOpts, newVotingDelay *big.Int) (*types.Transaction, error)

SetVotingDelay is a paid mutator transaction binding the contract method 0x70b0f660.

Solidity: function setVotingDelay(uint256 newVotingDelay) returns()

func (*GovernorTransactor) SetVotingPeriod

func (_Governor *GovernorTransactor) SetVotingPeriod(opts *bind.TransactOpts, newVotingPeriod *big.Int) (*types.Transaction, error)

SetVotingPeriod is a paid mutator transaction binding the contract method 0xea0217cf.

Solidity: function setVotingPeriod(uint256 newVotingPeriod) returns()

func (*GovernorTransactor) UpdateQuorumNumerator

func (_Governor *GovernorTransactor) UpdateQuorumNumerator(opts *bind.TransactOpts, newQuorumNumerator *big.Int) (*types.Transaction, error)

UpdateQuorumNumerator is a paid mutator transaction binding the contract method 0x06f3f9e6.

Solidity: function updateQuorumNumerator(uint256 newQuorumNumerator) returns()

func (*GovernorTransactor) UpdateTimelock

func (_Governor *GovernorTransactor) UpdateTimelock(opts *bind.TransactOpts, newTimelock common.Address) (*types.Transaction, error)

UpdateTimelock is a paid mutator transaction binding the contract method 0xa890c910.

Solidity: function updateTimelock(address newTimelock) returns()

type GovernorTransactorRaw

type GovernorTransactorRaw struct {
	Contract *GovernorTransactor // Generic write-only contract binding to access the raw methods on
}

GovernorTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*GovernorTransactorRaw) Transact

func (_Governor *GovernorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*GovernorTransactorRaw) Transfer

func (_Governor *GovernorTransactorRaw) 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 GovernorTransactorSession

type GovernorTransactorSession struct {
	Contract     *GovernorTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts   // Transaction auth options to use throughout this session
}

GovernorTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*GovernorTransactorSession) BumpGovernorVotesTokenAddress

func (_Governor *GovernorTransactorSession) BumpGovernorVotesTokenAddress() (*types.Transaction, error)

BumpGovernorVotesTokenAddress is a paid mutator transaction binding the contract method 0xb70f941f.

Solidity: function bumpGovernorVotesTokenAddress() returns()

func (*GovernorTransactorSession) Cancel

func (_Governor *GovernorTransactorSession) Cancel(targets []common.Address, values []*big.Int, calldatas [][]byte, descriptionHash [32]byte) (*types.Transaction, error)

Cancel is a paid mutator transaction binding the contract method 0x452115d6.

Solidity: function cancel(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash) returns(uint256)

func (*GovernorTransactorSession) CastVote

func (_Governor *GovernorTransactorSession) CastVote(proposalId *big.Int, support uint8) (*types.Transaction, error)

CastVote is a paid mutator transaction binding the contract method 0x56781388.

Solidity: function castVote(uint256 proposalId, uint8 support) returns(uint256)

func (*GovernorTransactorSession) CastVoteBySig

func (_Governor *GovernorTransactorSession) CastVoteBySig(proposalId *big.Int, support uint8, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

CastVoteBySig is a paid mutator transaction binding the contract method 0x3bccf4fd.

Solidity: function castVoteBySig(uint256 proposalId, uint8 support, uint8 v, bytes32 r, bytes32 s) returns(uint256)

func (*GovernorTransactorSession) CastVoteWithReason

func (_Governor *GovernorTransactorSession) CastVoteWithReason(proposalId *big.Int, support uint8, reason string) (*types.Transaction, error)

CastVoteWithReason is a paid mutator transaction binding the contract method 0x7b3c71d3.

Solidity: function castVoteWithReason(uint256 proposalId, uint8 support, string reason) returns(uint256)

func (*GovernorTransactorSession) CastVoteWithReasonAndParams

func (_Governor *GovernorTransactorSession) CastVoteWithReasonAndParams(proposalId *big.Int, support uint8, reason string, params []byte) (*types.Transaction, error)

CastVoteWithReasonAndParams is a paid mutator transaction binding the contract method 0x5f398a14.

Solidity: function castVoteWithReasonAndParams(uint256 proposalId, uint8 support, string reason, bytes params) returns(uint256)

func (*GovernorTransactorSession) CastVoteWithReasonAndParamsBySig

func (_Governor *GovernorTransactorSession) CastVoteWithReasonAndParamsBySig(proposalId *big.Int, support uint8, reason string, params []byte, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

CastVoteWithReasonAndParamsBySig is a paid mutator transaction binding the contract method 0x03420181.

Solidity: function castVoteWithReasonAndParamsBySig(uint256 proposalId, uint8 support, string reason, bytes params, uint8 v, bytes32 r, bytes32 s) returns(uint256)

func (*GovernorTransactorSession) Execute

func (_Governor *GovernorTransactorSession) Execute(targets []common.Address, values []*big.Int, calldatas [][]byte, descriptionHash [32]byte) (*types.Transaction, error)

Execute is a paid mutator transaction binding the contract method 0x2656227d.

Solidity: function execute(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash) payable returns(uint256)

func (*GovernorTransactorSession) Initialize

func (_Governor *GovernorTransactorSession) Initialize(initialVotingDelay *big.Int, initialVotingPeriod *big.Int, initialProposalThreshold *big.Int, initialQuorum *big.Int, quota *big.Int) (*types.Transaction, error)

Initialize is a paid mutator transaction binding the contract method 0xdcbab608.

Solidity: function initialize(uint256 initialVotingDelay, uint256 initialVotingPeriod, uint256 initialProposalThreshold, uint256 initialQuorum, uint256 quota) returns()

func (*GovernorTransactorSession) OnERC721Received

func (_Governor *GovernorTransactorSession) OnERC721Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 []byte) (*types.Transaction, error)

OnERC721Received is a paid mutator transaction binding the contract method 0x150b7a02.

Solidity: function onERC721Received(address , address , uint256 , bytes ) returns(bytes4)

func (*GovernorTransactorSession) OnERC1155BatchReceived

func (_Governor *GovernorTransactorSession) OnERC1155BatchReceived(arg0 common.Address, arg1 common.Address, arg2 []*big.Int, arg3 []*big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155BatchReceived is a paid mutator transaction binding the contract method 0xbc197c81.

Solidity: function onERC1155BatchReceived(address , address , uint256[] , uint256[] , bytes ) returns(bytes4)

func (*GovernorTransactorSession) OnERC1155Received

func (_Governor *GovernorTransactorSession) OnERC1155Received(arg0 common.Address, arg1 common.Address, arg2 *big.Int, arg3 *big.Int, arg4 []byte) (*types.Transaction, error)

OnERC1155Received is a paid mutator transaction binding the contract method 0xf23a6e61.

Solidity: function onERC1155Received(address , address , uint256 , uint256 , bytes ) returns(bytes4)

func (*GovernorTransactorSession) Propose

func (_Governor *GovernorTransactorSession) Propose(targets []common.Address, values []*big.Int, calldatas [][]byte, description string) (*types.Transaction, error)

Propose is a paid mutator transaction binding the contract method 0x7d5e81e2.

Solidity: function propose(address[] targets, uint256[] values, bytes[] calldatas, string description) returns(uint256)

func (*GovernorTransactorSession) Queue

func (_Governor *GovernorTransactorSession) Queue(targets []common.Address, values []*big.Int, calldatas [][]byte, descriptionHash [32]byte) (*types.Transaction, error)

Queue is a paid mutator transaction binding the contract method 0x160cbed7.

Solidity: function queue(address[] targets, uint256[] values, bytes[] calldatas, bytes32 descriptionHash) returns(uint256)

func (*GovernorTransactorSession) Receive

func (_Governor *GovernorTransactorSession) Receive() (*types.Transaction, error)

Receive is a paid mutator transaction binding the contract receive function.

Solidity: receive() payable returns()

func (*GovernorTransactorSession) Relay

func (_Governor *GovernorTransactorSession) Relay(target common.Address, value *big.Int, data []byte) (*types.Transaction, error)

Relay is a paid mutator transaction binding the contract method 0xc28bc2fa.

Solidity: function relay(address target, uint256 value, bytes data) payable returns()

func (*GovernorTransactorSession) SetController

func (_Governor *GovernorTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*GovernorTransactorSession) SetProposalThreshold

func (_Governor *GovernorTransactorSession) SetProposalThreshold(newProposalThreshold *big.Int) (*types.Transaction, error)

SetProposalThreshold is a paid mutator transaction binding the contract method 0xece40cc1.

Solidity: function setProposalThreshold(uint256 newProposalThreshold) returns()

func (*GovernorTransactorSession) SetVotingDelay

func (_Governor *GovernorTransactorSession) SetVotingDelay(newVotingDelay *big.Int) (*types.Transaction, error)

SetVotingDelay is a paid mutator transaction binding the contract method 0x70b0f660.

Solidity: function setVotingDelay(uint256 newVotingDelay) returns()

func (*GovernorTransactorSession) SetVotingPeriod

func (_Governor *GovernorTransactorSession) SetVotingPeriod(newVotingPeriod *big.Int) (*types.Transaction, error)

SetVotingPeriod is a paid mutator transaction binding the contract method 0xea0217cf.

Solidity: function setVotingPeriod(uint256 newVotingPeriod) returns()

func (*GovernorTransactorSession) UpdateQuorumNumerator

func (_Governor *GovernorTransactorSession) UpdateQuorumNumerator(newQuorumNumerator *big.Int) (*types.Transaction, error)

UpdateQuorumNumerator is a paid mutator transaction binding the contract method 0x06f3f9e6.

Solidity: function updateQuorumNumerator(uint256 newQuorumNumerator) returns()

func (*GovernorTransactorSession) UpdateTimelock

func (_Governor *GovernorTransactorSession) UpdateTimelock(newTimelock common.Address) (*types.Transaction, error)

UpdateTimelock is a paid mutator transaction binding the contract method 0xa890c910.

Solidity: function updateTimelock(address newTimelock) returns()

type GovernorVoteCast

type GovernorVoteCast struct {
	Voter      common.Address
	ProposalId *big.Int
	Support    uint8
	Weight     *big.Int
	Reason     string
	Raw        types.Log // Blockchain specific contextual infos
}

GovernorVoteCast represents a VoteCast event raised by the Governor contract.

type GovernorVoteCastIterator

type GovernorVoteCastIterator struct {
	Event *GovernorVoteCast // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GovernorVoteCastIterator is returned from FilterVoteCast and is used to iterate over the raw logs and unpacked data for VoteCast events raised by the Governor contract.

func (*GovernorVoteCastIterator) Close

func (it *GovernorVoteCastIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*GovernorVoteCastIterator) Error

func (it *GovernorVoteCastIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernorVoteCastIterator) Next

func (it *GovernorVoteCastIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type GovernorVoteCastWithParams

type GovernorVoteCastWithParams struct {
	Voter      common.Address
	ProposalId *big.Int
	Support    uint8
	Weight     *big.Int
	Reason     string
	Params     []byte
	Raw        types.Log // Blockchain specific contextual infos
}

GovernorVoteCastWithParams represents a VoteCastWithParams event raised by the Governor contract.

type GovernorVoteCastWithParamsIterator

type GovernorVoteCastWithParamsIterator struct {
	Event *GovernorVoteCastWithParams // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GovernorVoteCastWithParamsIterator is returned from FilterVoteCastWithParams and is used to iterate over the raw logs and unpacked data for VoteCastWithParams events raised by the Governor contract.

func (*GovernorVoteCastWithParamsIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GovernorVoteCastWithParamsIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernorVoteCastWithParamsIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type GovernorVotingDelaySet

type GovernorVotingDelaySet struct {
	OldVotingDelay *big.Int
	NewVotingDelay *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

GovernorVotingDelaySet represents a VotingDelaySet event raised by the Governor contract.

type GovernorVotingDelaySetIterator

type GovernorVotingDelaySetIterator struct {
	Event *GovernorVotingDelaySet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GovernorVotingDelaySetIterator is returned from FilterVotingDelaySet and is used to iterate over the raw logs and unpacked data for VotingDelaySet events raised by the Governor contract.

func (*GovernorVotingDelaySetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GovernorVotingDelaySetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernorVotingDelaySetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type GovernorVotingPeriodSet

type GovernorVotingPeriodSet struct {
	OldVotingPeriod *big.Int
	NewVotingPeriod *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

GovernorVotingPeriodSet represents a VotingPeriodSet event raised by the Governor contract.

type GovernorVotingPeriodSetIterator

type GovernorVotingPeriodSetIterator struct {
	Event *GovernorVotingPeriodSet // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

GovernorVotingPeriodSetIterator is returned from FilterVotingPeriodSet and is used to iterate over the raw logs and unpacked data for VotingPeriodSet events raised by the Governor contract.

func (*GovernorVotingPeriodSetIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*GovernorVotingPeriodSetIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*GovernorVotingPeriodSetIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LivepeerToken

type LivepeerToken struct {
	LivepeerTokenCaller     // Read-only binding to the contract
	LivepeerTokenTransactor // Write-only binding to the contract
	LivepeerTokenFilterer   // Log filterer for contract events
}

LivepeerToken is an auto generated Go binding around an Ethereum contract.

func NewLivepeerToken

func NewLivepeerToken(address common.Address, backend bind.ContractBackend) (*LivepeerToken, error)

NewLivepeerToken creates a new instance of LivepeerToken, bound to a specific deployed contract.

type LivepeerTokenApproval

type LivepeerTokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

LivepeerTokenApproval represents a Approval event raised by the LivepeerToken contract.

type LivepeerTokenApprovalIterator

type LivepeerTokenApprovalIterator struct {
	Event *LivepeerTokenApproval // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LivepeerTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the LivepeerToken contract.

func (*LivepeerTokenApprovalIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*LivepeerTokenApprovalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LivepeerTokenApprovalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LivepeerTokenBurn

type LivepeerTokenBurn struct {
	Burner common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

LivepeerTokenBurn represents a Burn event raised by the LivepeerToken contract.

type LivepeerTokenBurnIterator

type LivepeerTokenBurnIterator struct {
	Event *LivepeerTokenBurn // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LivepeerTokenBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the LivepeerToken contract.

func (*LivepeerTokenBurnIterator) Close

func (it *LivepeerTokenBurnIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*LivepeerTokenBurnIterator) Error

func (it *LivepeerTokenBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LivepeerTokenBurnIterator) Next

func (it *LivepeerTokenBurnIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LivepeerTokenCaller

type LivepeerTokenCaller struct {
	// contains filtered or unexported fields
}

LivepeerTokenCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewLivepeerTokenCaller

func NewLivepeerTokenCaller(address common.Address, caller bind.ContractCaller) (*LivepeerTokenCaller, error)

NewLivepeerTokenCaller creates a new read-only instance of LivepeerToken, bound to a specific deployed contract.

func (*LivepeerTokenCaller) Allowance

func (_LivepeerToken *LivepeerTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*LivepeerTokenCaller) BalanceOf

func (_LivepeerToken *LivepeerTokenCaller) BalanceOf(opts *bind.CallOpts, account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*LivepeerTokenCaller) DEFAULTADMINROLE

func (_LivepeerToken *LivepeerTokenCaller) DEFAULTADMINROLE(opts *bind.CallOpts) ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*LivepeerTokenCaller) DOMAINSEPARATOR

func (_LivepeerToken *LivepeerTokenCaller) DOMAINSEPARATOR(opts *bind.CallOpts) ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*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() view returns(uint8)

func (*LivepeerTokenCaller) Eip712Domain

func (_LivepeerToken *LivepeerTokenCaller) Eip712Domain(opts *bind.CallOpts) (struct {
	Fields            [1]byte
	Name              string
	Version           string
	ChainId           *big.Int
	VerifyingContract common.Address
	Salt              [32]byte
	Extensions        []*big.Int
}, error)

Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.

Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)

func (*LivepeerTokenCaller) GetRoleAdmin

func (_LivepeerToken *LivepeerTokenCaller) GetRoleAdmin(opts *bind.CallOpts, role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*LivepeerTokenCaller) HasRole

func (_LivepeerToken *LivepeerTokenCaller) HasRole(opts *bind.CallOpts, role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view 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() view returns(string)

func (*LivepeerTokenCaller) Nonces

func (_LivepeerToken *LivepeerTokenCaller) Nonces(opts *bind.CallOpts, owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*LivepeerTokenCaller) SupportsInterface

func (_LivepeerToken *LivepeerTokenCaller) SupportsInterface(opts *bind.CallOpts, interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

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() view returns(string)

func (*LivepeerTokenCaller) TotalSupply

func (_LivepeerToken *LivepeerTokenCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)

TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.

Solidity: function totalSupply() view returns(uint256)

type LivepeerTokenCallerRaw

type LivepeerTokenCallerRaw struct {
	Contract *LivepeerTokenCaller // Generic read-only contract binding to access the raw methods on
}

LivepeerTokenCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*LivepeerTokenCallerRaw) Call

func (_LivepeerToken *LivepeerTokenCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type LivepeerTokenCallerSession

type LivepeerTokenCallerSession struct {
	Contract *LivepeerTokenCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

LivepeerTokenCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*LivepeerTokenCallerSession) Allowance

func (_LivepeerToken *LivepeerTokenCallerSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*LivepeerTokenCallerSession) BalanceOf

func (_LivepeerToken *LivepeerTokenCallerSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*LivepeerTokenCallerSession) DEFAULTADMINROLE

func (_LivepeerToken *LivepeerTokenCallerSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*LivepeerTokenCallerSession) DOMAINSEPARATOR

func (_LivepeerToken *LivepeerTokenCallerSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*LivepeerTokenCallerSession) Decimals

func (_LivepeerToken *LivepeerTokenCallerSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*LivepeerTokenCallerSession) Eip712Domain

func (_LivepeerToken *LivepeerTokenCallerSession) Eip712Domain() (struct {
	Fields            [1]byte
	Name              string
	Version           string
	ChainId           *big.Int
	VerifyingContract common.Address
	Salt              [32]byte
	Extensions        []*big.Int
}, error)

Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.

Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)

func (*LivepeerTokenCallerSession) GetRoleAdmin

func (_LivepeerToken *LivepeerTokenCallerSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*LivepeerTokenCallerSession) HasRole

func (_LivepeerToken *LivepeerTokenCallerSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view 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() view returns(string)

func (*LivepeerTokenCallerSession) Nonces

func (_LivepeerToken *LivepeerTokenCallerSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*LivepeerTokenCallerSession) SupportsInterface

func (_LivepeerToken *LivepeerTokenCallerSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*LivepeerTokenCallerSession) Symbol

func (_LivepeerToken *LivepeerTokenCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view 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() view returns(uint256)

type LivepeerTokenEIP712DomainChanged

type LivepeerTokenEIP712DomainChanged struct {
	Raw types.Log // Blockchain specific contextual infos
}

LivepeerTokenEIP712DomainChanged represents a EIP712DomainChanged event raised by the LivepeerToken contract.

type LivepeerTokenEIP712DomainChangedIterator

type LivepeerTokenEIP712DomainChangedIterator struct {
	Event *LivepeerTokenEIP712DomainChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LivepeerTokenEIP712DomainChangedIterator is returned from FilterEIP712DomainChanged and is used to iterate over the raw logs and unpacked data for EIP712DomainChanged events raised by the LivepeerToken contract.

func (*LivepeerTokenEIP712DomainChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*LivepeerTokenEIP712DomainChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LivepeerTokenEIP712DomainChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LivepeerTokenFilterer

type LivepeerTokenFilterer struct {
	// contains filtered or unexported fields
}

LivepeerTokenFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewLivepeerTokenFilterer

func NewLivepeerTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*LivepeerTokenFilterer, error)

NewLivepeerTokenFilterer creates a new log filterer instance of LivepeerToken, bound to a specific deployed contract.

func (*LivepeerTokenFilterer) FilterApproval

func (_LivepeerToken *LivepeerTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LivepeerTokenApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*LivepeerTokenFilterer) FilterBurn

func (_LivepeerToken *LivepeerTokenFilterer) FilterBurn(opts *bind.FilterOpts, burner []common.Address) (*LivepeerTokenBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address indexed burner, uint256 amount)

func (*LivepeerTokenFilterer) FilterEIP712DomainChanged

func (_LivepeerToken *LivepeerTokenFilterer) FilterEIP712DomainChanged(opts *bind.FilterOpts) (*LivepeerTokenEIP712DomainChangedIterator, error)

FilterEIP712DomainChanged is a free log retrieval operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.

Solidity: event EIP712DomainChanged()

func (*LivepeerTokenFilterer) FilterMint

func (_LivepeerToken *LivepeerTokenFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*LivepeerTokenMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

Solidity: event Mint(address indexed to, uint256 amount)

func (*LivepeerTokenFilterer) FilterRoleAdminChanged

func (_LivepeerToken *LivepeerTokenFilterer) FilterRoleAdminChanged(opts *bind.FilterOpts, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (*LivepeerTokenRoleAdminChangedIterator, error)

FilterRoleAdminChanged is a free log retrieval operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*LivepeerTokenFilterer) FilterRoleGranted

func (_LivepeerToken *LivepeerTokenFilterer) FilterRoleGranted(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*LivepeerTokenRoleGrantedIterator, error)

FilterRoleGranted is a free log retrieval operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*LivepeerTokenFilterer) FilterRoleRevoked

func (_LivepeerToken *LivepeerTokenFilterer) FilterRoleRevoked(opts *bind.FilterOpts, role [][32]byte, account []common.Address, sender []common.Address) (*LivepeerTokenRoleRevokedIterator, error)

FilterRoleRevoked is a free log retrieval operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*LivepeerTokenFilterer) FilterTransfer

func (_LivepeerToken *LivepeerTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*LivepeerTokenTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*LivepeerTokenFilterer) ParseApproval

func (_LivepeerToken *LivepeerTokenFilterer) ParseApproval(log types.Log) (*LivepeerTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*LivepeerTokenFilterer) ParseBurn

func (_LivepeerToken *LivepeerTokenFilterer) ParseBurn(log types.Log) (*LivepeerTokenBurn, error)

ParseBurn is a log parse operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address indexed burner, uint256 amount)

func (*LivepeerTokenFilterer) ParseEIP712DomainChanged

func (_LivepeerToken *LivepeerTokenFilterer) ParseEIP712DomainChanged(log types.Log) (*LivepeerTokenEIP712DomainChanged, error)

ParseEIP712DomainChanged is a log parse operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.

Solidity: event EIP712DomainChanged()

func (*LivepeerTokenFilterer) ParseMint

func (_LivepeerToken *LivepeerTokenFilterer) ParseMint(log types.Log) (*LivepeerTokenMint, error)

ParseMint is a log parse operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

Solidity: event Mint(address indexed to, uint256 amount)

func (*LivepeerTokenFilterer) ParseRoleAdminChanged

func (_LivepeerToken *LivepeerTokenFilterer) ParseRoleAdminChanged(log types.Log) (*LivepeerTokenRoleAdminChanged, error)

ParseRoleAdminChanged is a log parse operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*LivepeerTokenFilterer) ParseRoleGranted

func (_LivepeerToken *LivepeerTokenFilterer) ParseRoleGranted(log types.Log) (*LivepeerTokenRoleGranted, error)

ParseRoleGranted is a log parse operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*LivepeerTokenFilterer) ParseRoleRevoked

func (_LivepeerToken *LivepeerTokenFilterer) ParseRoleRevoked(log types.Log) (*LivepeerTokenRoleRevoked, error)

ParseRoleRevoked is a log parse operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*LivepeerTokenFilterer) ParseTransfer

func (_LivepeerToken *LivepeerTokenFilterer) ParseTransfer(log types.Log) (*LivepeerTokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*LivepeerTokenFilterer) WatchApproval

func (_LivepeerToken *LivepeerTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LivepeerTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*LivepeerTokenFilterer) WatchBurn

func (_LivepeerToken *LivepeerTokenFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *LivepeerTokenBurn, burner []common.Address) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address indexed burner, uint256 amount)

func (*LivepeerTokenFilterer) WatchEIP712DomainChanged

func (_LivepeerToken *LivepeerTokenFilterer) WatchEIP712DomainChanged(opts *bind.WatchOpts, sink chan<- *LivepeerTokenEIP712DomainChanged) (event.Subscription, error)

WatchEIP712DomainChanged is a free log subscription operation binding the contract event 0x0a6387c9ea3628b88a633bb4f3b151770f70085117a15f9bf3787cda53f13d31.

Solidity: event EIP712DomainChanged()

func (*LivepeerTokenFilterer) WatchMint

func (_LivepeerToken *LivepeerTokenFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *LivepeerTokenMint, to []common.Address) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

Solidity: event Mint(address indexed to, uint256 amount)

func (*LivepeerTokenFilterer) WatchRoleAdminChanged

func (_LivepeerToken *LivepeerTokenFilterer) WatchRoleAdminChanged(opts *bind.WatchOpts, sink chan<- *LivepeerTokenRoleAdminChanged, role [][32]byte, previousAdminRole [][32]byte, newAdminRole [][32]byte) (event.Subscription, error)

WatchRoleAdminChanged is a free log subscription operation binding the contract event 0xbd79b86ffe0ab8e8776151514217cd7cacd52c909f66475c3af44e129f0b00ff.

Solidity: event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)

func (*LivepeerTokenFilterer) WatchRoleGranted

func (_LivepeerToken *LivepeerTokenFilterer) WatchRoleGranted(opts *bind.WatchOpts, sink chan<- *LivepeerTokenRoleGranted, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleGranted is a free log subscription operation binding the contract event 0x2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d.

Solidity: event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)

func (*LivepeerTokenFilterer) WatchRoleRevoked

func (_LivepeerToken *LivepeerTokenFilterer) WatchRoleRevoked(opts *bind.WatchOpts, sink chan<- *LivepeerTokenRoleRevoked, role [][32]byte, account []common.Address, sender []common.Address) (event.Subscription, error)

WatchRoleRevoked is a free log subscription operation binding the contract event 0xf6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b.

Solidity: event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)

func (*LivepeerTokenFilterer) WatchTransfer

func (_LivepeerToken *LivepeerTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LivepeerTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type LivepeerTokenMint

type LivepeerTokenMint struct {
	To     common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

LivepeerTokenMint represents a Mint event raised by the LivepeerToken contract.

type LivepeerTokenMintIterator

type LivepeerTokenMintIterator struct {
	Event *LivepeerTokenMint // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LivepeerTokenMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the LivepeerToken contract.

func (*LivepeerTokenMintIterator) Close

func (it *LivepeerTokenMintIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*LivepeerTokenMintIterator) Error

func (it *LivepeerTokenMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LivepeerTokenMintIterator) Next

func (it *LivepeerTokenMintIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type 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 LivepeerTokenRoleAdminChanged

type LivepeerTokenRoleAdminChanged struct {
	Role              [32]byte
	PreviousAdminRole [32]byte
	NewAdminRole      [32]byte
	Raw               types.Log // Blockchain specific contextual infos
}

LivepeerTokenRoleAdminChanged represents a RoleAdminChanged event raised by the LivepeerToken contract.

type LivepeerTokenRoleAdminChangedIterator

type LivepeerTokenRoleAdminChangedIterator struct {
	Event *LivepeerTokenRoleAdminChanged // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LivepeerTokenRoleAdminChangedIterator is returned from FilterRoleAdminChanged and is used to iterate over the raw logs and unpacked data for RoleAdminChanged events raised by the LivepeerToken contract.

func (*LivepeerTokenRoleAdminChangedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*LivepeerTokenRoleAdminChangedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LivepeerTokenRoleAdminChangedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LivepeerTokenRoleGranted

type LivepeerTokenRoleGranted struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

LivepeerTokenRoleGranted represents a RoleGranted event raised by the LivepeerToken contract.

type LivepeerTokenRoleGrantedIterator

type LivepeerTokenRoleGrantedIterator struct {
	Event *LivepeerTokenRoleGranted // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LivepeerTokenRoleGrantedIterator is returned from FilterRoleGranted and is used to iterate over the raw logs and unpacked data for RoleGranted events raised by the LivepeerToken contract.

func (*LivepeerTokenRoleGrantedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*LivepeerTokenRoleGrantedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LivepeerTokenRoleGrantedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LivepeerTokenRoleRevoked

type LivepeerTokenRoleRevoked struct {
	Role    [32]byte
	Account common.Address
	Sender  common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

LivepeerTokenRoleRevoked represents a RoleRevoked event raised by the LivepeerToken contract.

type LivepeerTokenRoleRevokedIterator

type LivepeerTokenRoleRevokedIterator struct {
	Event *LivepeerTokenRoleRevoked // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LivepeerTokenRoleRevokedIterator is returned from FilterRoleRevoked and is used to iterate over the raw logs and unpacked data for RoleRevoked events raised by the LivepeerToken contract.

func (*LivepeerTokenRoleRevokedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*LivepeerTokenRoleRevokedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LivepeerTokenRoleRevokedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type LivepeerTokenSession

type LivepeerTokenSession struct {
	Contract     *LivepeerToken    // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

LivepeerTokenSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*LivepeerTokenSession) Allowance

func (_LivepeerToken *LivepeerTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*LivepeerTokenSession) Approve

func (_LivepeerToken *LivepeerTokenSession) Approve(spender common.Address, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*LivepeerTokenSession) BalanceOf

func (_LivepeerToken *LivepeerTokenSession) BalanceOf(account common.Address) (*big.Int, error)

BalanceOf is a free data retrieval call binding the contract method 0x70a08231.

Solidity: function balanceOf(address account) view returns(uint256)

func (*LivepeerTokenSession) Burn

func (_LivepeerToken *LivepeerTokenSession) Burn(_amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 _amount) returns()

func (*LivepeerTokenSession) BurnFrom

func (_LivepeerToken *LivepeerTokenSession) BurnFrom(_from common.Address, _amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address _from, uint256 _amount) returns()

func (*LivepeerTokenSession) DEFAULTADMINROLE

func (_LivepeerToken *LivepeerTokenSession) DEFAULTADMINROLE() ([32]byte, error)

DEFAULTADMINROLE is a free data retrieval call binding the contract method 0xa217fddf.

Solidity: function DEFAULT_ADMIN_ROLE() view returns(bytes32)

func (*LivepeerTokenSession) DOMAINSEPARATOR

func (_LivepeerToken *LivepeerTokenSession) DOMAINSEPARATOR() ([32]byte, error)

DOMAINSEPARATOR is a free data retrieval call binding the contract method 0x3644e515.

Solidity: function DOMAIN_SEPARATOR() view returns(bytes32)

func (*LivepeerTokenSession) Decimals

func (_LivepeerToken *LivepeerTokenSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*LivepeerTokenSession) DecreaseAllowance

func (_LivepeerToken *LivepeerTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*LivepeerTokenSession) Eip712Domain

func (_LivepeerToken *LivepeerTokenSession) Eip712Domain() (struct {
	Fields            [1]byte
	Name              string
	Version           string
	ChainId           *big.Int
	VerifyingContract common.Address
	Salt              [32]byte
	Extensions        []*big.Int
}, error)

Eip712Domain is a free data retrieval call binding the contract method 0x84b0196e.

Solidity: function eip712Domain() view returns(bytes1 fields, string name, string version, uint256 chainId, address verifyingContract, bytes32 salt, uint256[] extensions)

func (*LivepeerTokenSession) GetRoleAdmin

func (_LivepeerToken *LivepeerTokenSession) GetRoleAdmin(role [32]byte) ([32]byte, error)

GetRoleAdmin is a free data retrieval call binding the contract method 0x248a9ca3.

Solidity: function getRoleAdmin(bytes32 role) view returns(bytes32)

func (*LivepeerTokenSession) GrantRole

func (_LivepeerToken *LivepeerTokenSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*LivepeerTokenSession) HasRole

func (_LivepeerToken *LivepeerTokenSession) HasRole(role [32]byte, account common.Address) (bool, error)

HasRole is a free data retrieval call binding the contract method 0x91d14854.

Solidity: function hasRole(bytes32 role, address account) view returns(bool)

func (*LivepeerTokenSession) IncreaseAllowance

func (_LivepeerToken *LivepeerTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*LivepeerTokenSession) Mint

func (_LivepeerToken *LivepeerTokenSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _to, uint256 _amount) returns()

func (*LivepeerTokenSession) Name

func (_LivepeerToken *LivepeerTokenSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*LivepeerTokenSession) Nonces

func (_LivepeerToken *LivepeerTokenSession) Nonces(owner common.Address) (*big.Int, error)

Nonces is a free data retrieval call binding the contract method 0x7ecebe00.

Solidity: function nonces(address owner) view returns(uint256)

func (*LivepeerTokenSession) Permit

func (_LivepeerToken *LivepeerTokenSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*LivepeerTokenSession) RenounceRole

func (_LivepeerToken *LivepeerTokenSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*LivepeerTokenSession) RevokeRole

func (_LivepeerToken *LivepeerTokenSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*LivepeerTokenSession) SupportsInterface

func (_LivepeerToken *LivepeerTokenSession) SupportsInterface(interfaceId [4]byte) (bool, error)

SupportsInterface is a free data retrieval call binding the contract method 0x01ffc9a7.

Solidity: function supportsInterface(bytes4 interfaceId) view returns(bool)

func (*LivepeerTokenSession) Symbol

func (_LivepeerToken *LivepeerTokenSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() view 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() view returns(uint256)

func (*LivepeerTokenSession) Transfer

func (_LivepeerToken *LivepeerTokenSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*LivepeerTokenSession) TransferFrom

func (_LivepeerToken *LivepeerTokenSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

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, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*LivepeerTokenTransactor) Burn

func (_LivepeerToken *LivepeerTokenTransactor) Burn(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 _amount) returns()

func (*LivepeerTokenTransactor) BurnFrom

func (_LivepeerToken *LivepeerTokenTransactor) BurnFrom(opts *bind.TransactOpts, _from common.Address, _amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address _from, uint256 _amount) returns()

func (*LivepeerTokenTransactor) DecreaseAllowance

func (_LivepeerToken *LivepeerTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*LivepeerTokenTransactor) GrantRole

func (_LivepeerToken *LivepeerTokenTransactor) GrantRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*LivepeerTokenTransactor) IncreaseAllowance

func (_LivepeerToken *LivepeerTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*LivepeerTokenTransactor) Mint

func (_LivepeerToken *LivepeerTokenTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _to, uint256 _amount) returns()

func (*LivepeerTokenTransactor) Permit

func (_LivepeerToken *LivepeerTokenTransactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*LivepeerTokenTransactor) RenounceRole

func (_LivepeerToken *LivepeerTokenTransactor) RenounceRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*LivepeerTokenTransactor) RevokeRole

func (_LivepeerToken *LivepeerTokenTransactor) RevokeRole(opts *bind.TransactOpts, role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*LivepeerTokenTransactor) Transfer

func (_LivepeerToken *LivepeerTokenTransactor) Transfer(opts *bind.TransactOpts, to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*LivepeerTokenTransactor) TransferFrom

func (_LivepeerToken *LivepeerTokenTransactor) TransferFrom(opts *bind.TransactOpts, from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

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, amount *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 amount) returns(bool)

func (*LivepeerTokenTransactorSession) Burn

func (_LivepeerToken *LivepeerTokenTransactorSession) Burn(_amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 _amount) returns()

func (*LivepeerTokenTransactorSession) BurnFrom

func (_LivepeerToken *LivepeerTokenTransactorSession) BurnFrom(_from common.Address, _amount *big.Int) (*types.Transaction, error)

BurnFrom is a paid mutator transaction binding the contract method 0x79cc6790.

Solidity: function burnFrom(address _from, uint256 _amount) returns()

func (*LivepeerTokenTransactorSession) DecreaseAllowance

func (_LivepeerToken *LivepeerTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*LivepeerTokenTransactorSession) GrantRole

func (_LivepeerToken *LivepeerTokenTransactorSession) GrantRole(role [32]byte, account common.Address) (*types.Transaction, error)

GrantRole is a paid mutator transaction binding the contract method 0x2f2ff15d.

Solidity: function grantRole(bytes32 role, address account) returns()

func (*LivepeerTokenTransactorSession) IncreaseAllowance

func (_LivepeerToken *LivepeerTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*LivepeerTokenTransactorSession) Mint

func (_LivepeerToken *LivepeerTokenTransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _to, uint256 _amount) returns()

func (*LivepeerTokenTransactorSession) Permit

func (_LivepeerToken *LivepeerTokenTransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)

Permit is a paid mutator transaction binding the contract method 0xd505accf.

Solidity: function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) returns()

func (*LivepeerTokenTransactorSession) RenounceRole

func (_LivepeerToken *LivepeerTokenTransactorSession) RenounceRole(role [32]byte, account common.Address) (*types.Transaction, error)

RenounceRole is a paid mutator transaction binding the contract method 0x36568abe.

Solidity: function renounceRole(bytes32 role, address account) returns()

func (*LivepeerTokenTransactorSession) RevokeRole

func (_LivepeerToken *LivepeerTokenTransactorSession) RevokeRole(role [32]byte, account common.Address) (*types.Transaction, error)

RevokeRole is a paid mutator transaction binding the contract method 0xd547741f.

Solidity: function revokeRole(bytes32 role, address account) returns()

func (*LivepeerTokenTransactorSession) Transfer

func (_LivepeerToken *LivepeerTokenTransactorSession) Transfer(to common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address to, uint256 amount) returns(bool)

func (*LivepeerTokenTransactorSession) TransferFrom

func (_LivepeerToken *LivepeerTokenTransactorSession) TransferFrom(from common.Address, to common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address from, address to, uint256 amount) returns(bool)

type LivepeerTokenTransfer

type LivepeerTokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

LivepeerTokenTransfer represents a Transfer event raised by the LivepeerToken contract.

type LivepeerTokenTransferIterator

type LivepeerTokenTransferIterator struct {
	Event *LivepeerTokenTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

LivepeerTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the LivepeerToken contract.

func (*LivepeerTokenTransferIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*LivepeerTokenTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*LivepeerTokenTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MReserveReserveInfo

type MReserveReserveInfo struct {
	FundsRemaining        *big.Int
	ClaimedInCurrentRound *big.Int
}

MReserveReserveInfo is an auto generated low-level Go binding around an user-defined struct.

type MTicketBrokerCoreTicket

type MTicketBrokerCoreTicket struct {
	Recipient         common.Address
	Sender            common.Address
	FaceValue         *big.Int
	WinProb           *big.Int
	SenderNonce       *big.Int
	RecipientRandHash [32]byte
	AuxData           []byte
}

MTicketBrokerCoreTicket is an auto generated low-level Go binding around an user-defined struct.

type Minter

type Minter struct {
	MinterCaller     // Read-only binding to the contract
	MinterTransactor // Write-only binding to the contract
	MinterFilterer   // Log filterer for contract events
}

Minter is an auto generated Go binding around an Ethereum contract.

func NewMinter

func NewMinter(address common.Address, backend bind.ContractBackend) (*Minter, error)

NewMinter creates a new instance of Minter, bound to a specific deployed contract.

type MinterCaller

type MinterCaller struct {
	// contains filtered or unexported fields
}

MinterCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewMinterCaller

func NewMinterCaller(address common.Address, caller bind.ContractCaller) (*MinterCaller, error)

NewMinterCaller creates a new read-only instance of Minter, bound to a specific deployed contract.

func (*MinterCaller) Controller

func (_Minter *MinterCaller) Controller(opts *bind.CallOpts) (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*MinterCaller) CurrentMintableTokens

func (_Minter *MinterCaller) CurrentMintableTokens(opts *bind.CallOpts) (*big.Int, error)

CurrentMintableTokens is a free data retrieval call binding the contract method 0x9ae6309a.

Solidity: function currentMintableTokens() view returns(uint256)

func (*MinterCaller) CurrentMintedTokens

func (_Minter *MinterCaller) CurrentMintedTokens(opts *bind.CallOpts) (*big.Int, error)

CurrentMintedTokens is a free data retrieval call binding the contract method 0x2de22cdb.

Solidity: function currentMintedTokens() view returns(uint256)

func (*MinterCaller) GetController

func (_Minter *MinterCaller) GetController(opts *bind.CallOpts) (common.Address, error)

GetController is a free data retrieval call binding the contract method 0x3018205f.

Solidity: function getController() view returns(address)

func (*MinterCaller) GetGlobalTotalSupply

func (_Minter *MinterCaller) GetGlobalTotalSupply(opts *bind.CallOpts) (*big.Int, error)

GetGlobalTotalSupply is a free data retrieval call binding the contract method 0x5507442d.

Solidity: function getGlobalTotalSupply() view returns(uint256)

func (*MinterCaller) Inflation

func (_Minter *MinterCaller) Inflation(opts *bind.CallOpts) (*big.Int, error)

Inflation is a free data retrieval call binding the contract method 0xbe0522e0.

Solidity: function inflation() view returns(uint256)

func (*MinterCaller) InflationChange

func (_Minter *MinterCaller) InflationChange(opts *bind.CallOpts) (*big.Int, error)

InflationChange is a free data retrieval call binding the contract method 0xa7c83514.

Solidity: function inflationChange() view returns(uint256)

func (*MinterCaller) TargetBondingRate

func (_Minter *MinterCaller) TargetBondingRate(opts *bind.CallOpts) (*big.Int, error)

TargetBondingRate is a free data retrieval call binding the contract method 0x821b771f.

Solidity: function targetBondingRate() view returns(uint256)

type MinterCallerRaw

type MinterCallerRaw struct {
	Contract *MinterCaller // Generic read-only contract binding to access the raw methods on
}

MinterCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*MinterCallerRaw) Call

func (_Minter *MinterCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type MinterCallerSession

type MinterCallerSession struct {
	Contract *MinterCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

MinterCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*MinterCallerSession) Controller

func (_Minter *MinterCallerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*MinterCallerSession) CurrentMintableTokens

func (_Minter *MinterCallerSession) CurrentMintableTokens() (*big.Int, error)

CurrentMintableTokens is a free data retrieval call binding the contract method 0x9ae6309a.

Solidity: function currentMintableTokens() view returns(uint256)

func (*MinterCallerSession) CurrentMintedTokens

func (_Minter *MinterCallerSession) CurrentMintedTokens() (*big.Int, error)

CurrentMintedTokens is a free data retrieval call binding the contract method 0x2de22cdb.

Solidity: function currentMintedTokens() view returns(uint256)

func (*MinterCallerSession) GetController

func (_Minter *MinterCallerSession) GetController() (common.Address, error)

GetController is a free data retrieval call binding the contract method 0x3018205f.

Solidity: function getController() view returns(address)

func (*MinterCallerSession) GetGlobalTotalSupply

func (_Minter *MinterCallerSession) GetGlobalTotalSupply() (*big.Int, error)

GetGlobalTotalSupply is a free data retrieval call binding the contract method 0x5507442d.

Solidity: function getGlobalTotalSupply() view returns(uint256)

func (*MinterCallerSession) Inflation

func (_Minter *MinterCallerSession) Inflation() (*big.Int, error)

Inflation is a free data retrieval call binding the contract method 0xbe0522e0.

Solidity: function inflation() view returns(uint256)

func (*MinterCallerSession) InflationChange

func (_Minter *MinterCallerSession) InflationChange() (*big.Int, error)

InflationChange is a free data retrieval call binding the contract method 0xa7c83514.

Solidity: function inflationChange() view returns(uint256)

func (*MinterCallerSession) TargetBondingRate

func (_Minter *MinterCallerSession) TargetBondingRate() (*big.Int, error)

TargetBondingRate is a free data retrieval call binding the contract method 0x821b771f.

Solidity: function targetBondingRate() view returns(uint256)

type MinterFilterer

type MinterFilterer struct {
	// contains filtered or unexported fields
}

MinterFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewMinterFilterer

func NewMinterFilterer(address common.Address, filterer bind.ContractFilterer) (*MinterFilterer, error)

NewMinterFilterer creates a new log filterer instance of Minter, bound to a specific deployed contract.

func (*MinterFilterer) FilterParameterUpdate

func (_Minter *MinterFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*MinterParameterUpdateIterator, error)

FilterParameterUpdate is a free log retrieval operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*MinterFilterer) FilterSetController

func (_Minter *MinterFilterer) FilterSetController(opts *bind.FilterOpts) (*MinterSetControllerIterator, error)

FilterSetController is a free log retrieval operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*MinterFilterer) FilterSetCurrentRewardTokens

func (_Minter *MinterFilterer) FilterSetCurrentRewardTokens(opts *bind.FilterOpts) (*MinterSetCurrentRewardTokensIterator, error)

FilterSetCurrentRewardTokens is a free log retrieval operation binding the contract event 0x39567a366345edf17f50c1967a31b597745186c4632f34c4f8ebe06b6890784d.

Solidity: event SetCurrentRewardTokens(uint256 currentMintableTokens, uint256 currentInflation)

func (*MinterFilterer) ParseParameterUpdate

func (_Minter *MinterFilterer) ParseParameterUpdate(log types.Log) (*MinterParameterUpdate, error)

ParseParameterUpdate is a log parse operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*MinterFilterer) ParseSetController

func (_Minter *MinterFilterer) ParseSetController(log types.Log) (*MinterSetController, error)

ParseSetController is a log parse operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*MinterFilterer) ParseSetCurrentRewardTokens

func (_Minter *MinterFilterer) ParseSetCurrentRewardTokens(log types.Log) (*MinterSetCurrentRewardTokens, error)

ParseSetCurrentRewardTokens is a log parse operation binding the contract event 0x39567a366345edf17f50c1967a31b597745186c4632f34c4f8ebe06b6890784d.

Solidity: event SetCurrentRewardTokens(uint256 currentMintableTokens, uint256 currentInflation)

func (*MinterFilterer) WatchParameterUpdate

func (_Minter *MinterFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *MinterParameterUpdate) (event.Subscription, error)

WatchParameterUpdate is a free log subscription operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*MinterFilterer) WatchSetController

func (_Minter *MinterFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *MinterSetController) (event.Subscription, error)

WatchSetController is a free log subscription operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*MinterFilterer) WatchSetCurrentRewardTokens

func (_Minter *MinterFilterer) WatchSetCurrentRewardTokens(opts *bind.WatchOpts, sink chan<- *MinterSetCurrentRewardTokens) (event.Subscription, error)

WatchSetCurrentRewardTokens is a free log subscription operation binding the contract event 0x39567a366345edf17f50c1967a31b597745186c4632f34c4f8ebe06b6890784d.

Solidity: event SetCurrentRewardTokens(uint256 currentMintableTokens, uint256 currentInflation)

type MinterParameterUpdate

type MinterParameterUpdate struct {
	Param string
	Raw   types.Log // Blockchain specific contextual infos
}

MinterParameterUpdate represents a ParameterUpdate event raised by the Minter contract.

type MinterParameterUpdateIterator

type MinterParameterUpdateIterator struct {
	Event *MinterParameterUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MinterParameterUpdateIterator is returned from FilterParameterUpdate and is used to iterate over the raw logs and unpacked data for ParameterUpdate events raised by the Minter contract.

func (*MinterParameterUpdateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MinterParameterUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MinterParameterUpdateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MinterRaw

type MinterRaw struct {
	Contract *Minter // Generic contract binding to access the raw methods on
}

MinterRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*MinterRaw) Call

func (_Minter *MinterRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*MinterRaw) Transact

func (_Minter *MinterRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MinterRaw) Transfer

func (_Minter *MinterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type MinterSession

type MinterSession struct {
	Contract     *Minter           // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

MinterSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*MinterSession) Controller

func (_Minter *MinterSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*MinterSession) CreateReward

func (_Minter *MinterSession) CreateReward(_fracNum *big.Int, _fracDenom *big.Int) (*types.Transaction, error)

CreateReward is a paid mutator transaction binding the contract method 0x7dbedad5.

Solidity: function createReward(uint256 _fracNum, uint256 _fracDenom) returns(uint256)

func (*MinterSession) CurrentMintableTokens

func (_Minter *MinterSession) CurrentMintableTokens() (*big.Int, error)

CurrentMintableTokens is a free data retrieval call binding the contract method 0x9ae6309a.

Solidity: function currentMintableTokens() view returns(uint256)

func (*MinterSession) CurrentMintedTokens

func (_Minter *MinterSession) CurrentMintedTokens() (*big.Int, error)

CurrentMintedTokens is a free data retrieval call binding the contract method 0x2de22cdb.

Solidity: function currentMintedTokens() view returns(uint256)

func (*MinterSession) DepositETH

func (_Minter *MinterSession) DepositETH() (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0xf6326fb3.

Solidity: function depositETH() payable returns(bool)

func (*MinterSession) GetController

func (_Minter *MinterSession) GetController() (common.Address, error)

GetController is a free data retrieval call binding the contract method 0x3018205f.

Solidity: function getController() view returns(address)

func (*MinterSession) GetGlobalTotalSupply

func (_Minter *MinterSession) GetGlobalTotalSupply() (*big.Int, error)

GetGlobalTotalSupply is a free data retrieval call binding the contract method 0x5507442d.

Solidity: function getGlobalTotalSupply() view returns(uint256)

func (*MinterSession) Inflation

func (_Minter *MinterSession) Inflation() (*big.Int, error)

Inflation is a free data retrieval call binding the contract method 0xbe0522e0.

Solidity: function inflation() view returns(uint256)

func (*MinterSession) InflationChange

func (_Minter *MinterSession) InflationChange() (*big.Int, error)

InflationChange is a free data retrieval call binding the contract method 0xa7c83514.

Solidity: function inflationChange() view returns(uint256)

func (*MinterSession) MigrateToNewMinter

func (_Minter *MinterSession) MigrateToNewMinter(_newMinter common.Address) (*types.Transaction, error)

MigrateToNewMinter is a paid mutator transaction binding the contract method 0x18d217ad.

Solidity: function migrateToNewMinter(address _newMinter) returns()

func (*MinterSession) SetController

func (_Minter *MinterSession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*MinterSession) SetCurrentRewardTokens

func (_Minter *MinterSession) SetCurrentRewardTokens() (*types.Transaction, error)

SetCurrentRewardTokens is a paid mutator transaction binding the contract method 0xece2064c.

Solidity: function setCurrentRewardTokens() returns()

func (*MinterSession) SetInflationChange

func (_Minter *MinterSession) SetInflationChange(_inflationChange *big.Int) (*types.Transaction, error)

SetInflationChange is a paid mutator transaction binding the contract method 0x010e3c1c.

Solidity: function setInflationChange(uint256 _inflationChange) returns()

func (*MinterSession) SetTargetBondingRate

func (_Minter *MinterSession) SetTargetBondingRate(_targetBondingRate *big.Int) (*types.Transaction, error)

SetTargetBondingRate is a paid mutator transaction binding the contract method 0x77bde142.

Solidity: function setTargetBondingRate(uint256 _targetBondingRate) returns()

func (*MinterSession) TargetBondingRate

func (_Minter *MinterSession) TargetBondingRate() (*big.Int, error)

TargetBondingRate is a free data retrieval call binding the contract method 0x821b771f.

Solidity: function targetBondingRate() view returns(uint256)

func (*MinterSession) TrustedBurnTokens

func (_Minter *MinterSession) TrustedBurnTokens(_amount *big.Int) (*types.Transaction, error)

TrustedBurnTokens is a paid mutator transaction binding the contract method 0xc7ee98c2.

Solidity: function trustedBurnTokens(uint256 _amount) returns()

func (*MinterSession) TrustedTransferTokens

func (_Minter *MinterSession) TrustedTransferTokens(_to common.Address, _amount *big.Int) (*types.Transaction, error)

TrustedTransferTokens is a paid mutator transaction binding the contract method 0xe7a49c2b.

Solidity: function trustedTransferTokens(address _to, uint256 _amount) returns()

func (*MinterSession) TrustedWithdrawETH

func (_Minter *MinterSession) TrustedWithdrawETH(_to common.Address, _amount *big.Int) (*types.Transaction, error)

TrustedWithdrawETH is a paid mutator transaction binding the contract method 0x20283da9.

Solidity: function trustedWithdrawETH(address _to, uint256 _amount) returns()

type MinterSetController

type MinterSetController struct {
	Controller common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

MinterSetController represents a SetController event raised by the Minter contract.

type MinterSetControllerIterator

type MinterSetControllerIterator struct {
	Event *MinterSetController // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MinterSetControllerIterator is returned from FilterSetController and is used to iterate over the raw logs and unpacked data for SetController events raised by the Minter contract.

func (*MinterSetControllerIterator) Close

func (it *MinterSetControllerIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*MinterSetControllerIterator) Error

func (it *MinterSetControllerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MinterSetControllerIterator) Next

func (it *MinterSetControllerIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MinterSetCurrentRewardTokens

type MinterSetCurrentRewardTokens struct {
	CurrentMintableTokens *big.Int
	CurrentInflation      *big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

MinterSetCurrentRewardTokens represents a SetCurrentRewardTokens event raised by the Minter contract.

type MinterSetCurrentRewardTokensIterator

type MinterSetCurrentRewardTokensIterator struct {
	Event *MinterSetCurrentRewardTokens // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

MinterSetCurrentRewardTokensIterator is returned from FilterSetCurrentRewardTokens and is used to iterate over the raw logs and unpacked data for SetCurrentRewardTokens events raised by the Minter contract.

func (*MinterSetCurrentRewardTokensIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*MinterSetCurrentRewardTokensIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*MinterSetCurrentRewardTokensIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type MinterTransactor

type MinterTransactor struct {
	// contains filtered or unexported fields
}

MinterTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewMinterTransactor

func NewMinterTransactor(address common.Address, transactor bind.ContractTransactor) (*MinterTransactor, error)

NewMinterTransactor creates a new write-only instance of Minter, bound to a specific deployed contract.

func (*MinterTransactor) CreateReward

func (_Minter *MinterTransactor) CreateReward(opts *bind.TransactOpts, _fracNum *big.Int, _fracDenom *big.Int) (*types.Transaction, error)

CreateReward is a paid mutator transaction binding the contract method 0x7dbedad5.

Solidity: function createReward(uint256 _fracNum, uint256 _fracDenom) returns(uint256)

func (*MinterTransactor) DepositETH

func (_Minter *MinterTransactor) DepositETH(opts *bind.TransactOpts) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0xf6326fb3.

Solidity: function depositETH() payable returns(bool)

func (*MinterTransactor) MigrateToNewMinter

func (_Minter *MinterTransactor) MigrateToNewMinter(opts *bind.TransactOpts, _newMinter common.Address) (*types.Transaction, error)

MigrateToNewMinter is a paid mutator transaction binding the contract method 0x18d217ad.

Solidity: function migrateToNewMinter(address _newMinter) returns()

func (*MinterTransactor) SetController

func (_Minter *MinterTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*MinterTransactor) SetCurrentRewardTokens

func (_Minter *MinterTransactor) SetCurrentRewardTokens(opts *bind.TransactOpts) (*types.Transaction, error)

SetCurrentRewardTokens is a paid mutator transaction binding the contract method 0xece2064c.

Solidity: function setCurrentRewardTokens() returns()

func (*MinterTransactor) SetInflationChange

func (_Minter *MinterTransactor) SetInflationChange(opts *bind.TransactOpts, _inflationChange *big.Int) (*types.Transaction, error)

SetInflationChange is a paid mutator transaction binding the contract method 0x010e3c1c.

Solidity: function setInflationChange(uint256 _inflationChange) returns()

func (*MinterTransactor) SetTargetBondingRate

func (_Minter *MinterTransactor) SetTargetBondingRate(opts *bind.TransactOpts, _targetBondingRate *big.Int) (*types.Transaction, error)

SetTargetBondingRate is a paid mutator transaction binding the contract method 0x77bde142.

Solidity: function setTargetBondingRate(uint256 _targetBondingRate) returns()

func (*MinterTransactor) TrustedBurnTokens

func (_Minter *MinterTransactor) TrustedBurnTokens(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

TrustedBurnTokens is a paid mutator transaction binding the contract method 0xc7ee98c2.

Solidity: function trustedBurnTokens(uint256 _amount) returns()

func (*MinterTransactor) TrustedTransferTokens

func (_Minter *MinterTransactor) TrustedTransferTokens(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

TrustedTransferTokens is a paid mutator transaction binding the contract method 0xe7a49c2b.

Solidity: function trustedTransferTokens(address _to, uint256 _amount) returns()

func (*MinterTransactor) TrustedWithdrawETH

func (_Minter *MinterTransactor) TrustedWithdrawETH(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

TrustedWithdrawETH is a paid mutator transaction binding the contract method 0x20283da9.

Solidity: function trustedWithdrawETH(address _to, uint256 _amount) returns()

type MinterTransactorRaw

type MinterTransactorRaw struct {
	Contract *MinterTransactor // Generic write-only contract binding to access the raw methods on
}

MinterTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*MinterTransactorRaw) Transact

func (_Minter *MinterTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*MinterTransactorRaw) Transfer

func (_Minter *MinterTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type MinterTransactorSession

type MinterTransactorSession struct {
	Contract     *MinterTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

MinterTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*MinterTransactorSession) CreateReward

func (_Minter *MinterTransactorSession) CreateReward(_fracNum *big.Int, _fracDenom *big.Int) (*types.Transaction, error)

CreateReward is a paid mutator transaction binding the contract method 0x7dbedad5.

Solidity: function createReward(uint256 _fracNum, uint256 _fracDenom) returns(uint256)

func (*MinterTransactorSession) DepositETH

func (_Minter *MinterTransactorSession) DepositETH() (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0xf6326fb3.

Solidity: function depositETH() payable returns(bool)

func (*MinterTransactorSession) MigrateToNewMinter

func (_Minter *MinterTransactorSession) MigrateToNewMinter(_newMinter common.Address) (*types.Transaction, error)

MigrateToNewMinter is a paid mutator transaction binding the contract method 0x18d217ad.

Solidity: function migrateToNewMinter(address _newMinter) returns()

func (*MinterTransactorSession) SetController

func (_Minter *MinterTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*MinterTransactorSession) SetCurrentRewardTokens

func (_Minter *MinterTransactorSession) SetCurrentRewardTokens() (*types.Transaction, error)

SetCurrentRewardTokens is a paid mutator transaction binding the contract method 0xece2064c.

Solidity: function setCurrentRewardTokens() returns()

func (*MinterTransactorSession) SetInflationChange

func (_Minter *MinterTransactorSession) SetInflationChange(_inflationChange *big.Int) (*types.Transaction, error)

SetInflationChange is a paid mutator transaction binding the contract method 0x010e3c1c.

Solidity: function setInflationChange(uint256 _inflationChange) returns()

func (*MinterTransactorSession) SetTargetBondingRate

func (_Minter *MinterTransactorSession) SetTargetBondingRate(_targetBondingRate *big.Int) (*types.Transaction, error)

SetTargetBondingRate is a paid mutator transaction binding the contract method 0x77bde142.

Solidity: function setTargetBondingRate(uint256 _targetBondingRate) returns()

func (*MinterTransactorSession) TrustedBurnTokens

func (_Minter *MinterTransactorSession) TrustedBurnTokens(_amount *big.Int) (*types.Transaction, error)

TrustedBurnTokens is a paid mutator transaction binding the contract method 0xc7ee98c2.

Solidity: function trustedBurnTokens(uint256 _amount) returns()

func (*MinterTransactorSession) TrustedTransferTokens

func (_Minter *MinterTransactorSession) TrustedTransferTokens(_to common.Address, _amount *big.Int) (*types.Transaction, error)

TrustedTransferTokens is a paid mutator transaction binding the contract method 0xe7a49c2b.

Solidity: function trustedTransferTokens(address _to, uint256 _amount) returns()

func (*MinterTransactorSession) TrustedWithdrawETH

func (_Minter *MinterTransactorSession) TrustedWithdrawETH(_to common.Address, _amount *big.Int) (*types.Transaction, error)

TrustedWithdrawETH is a paid mutator transaction binding the contract method 0x20283da9.

Solidity: function trustedWithdrawETH(address _to, uint256 _amount) returns()

type MixinTicketBrokerCoreSender

type MixinTicketBrokerCoreSender struct {
	Deposit       *big.Int
	WithdrawRound *big.Int
}

MixinTicketBrokerCoreSender is an auto generated low-level Go binding around an user-defined struct.

type Poll

type Poll struct {
	PollCaller     // Read-only binding to the contract
	PollTransactor // Write-only binding to the contract
	PollFilterer   // Log filterer for contract events
}

Poll is an auto generated Go binding around an Ethereum contract.

func NewPoll

func NewPoll(address common.Address, backend bind.ContractBackend) (*Poll, error)

NewPoll creates a new instance of Poll, bound to a specific deployed contract.

type PollCaller

type PollCaller struct {
	// contains filtered or unexported fields
}

PollCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewPollCaller

func NewPollCaller(address common.Address, caller bind.ContractCaller) (*PollCaller, error)

NewPollCaller creates a new read-only instance of Poll, bound to a specific deployed contract.

func (*PollCaller) EndBlock

func (_Poll *PollCaller) EndBlock(opts *bind.CallOpts) (*big.Int, error)

EndBlock is a free data retrieval call binding the contract method 0x083c6323.

Solidity: function endBlock() view returns(uint256)

type PollCallerRaw

type PollCallerRaw struct {
	Contract *PollCaller // Generic read-only contract binding to access the raw methods on
}

PollCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*PollCallerRaw) Call

func (_Poll *PollCallerRaw) 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 PollCallerSession

type PollCallerSession struct {
	Contract *PollCaller   // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts // Call options to use throughout this session
}

PollCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*PollCallerSession) EndBlock

func (_Poll *PollCallerSession) EndBlock() (*big.Int, error)

EndBlock is a free data retrieval call binding the contract method 0x083c6323.

Solidity: function endBlock() view returns(uint256)

type PollFilterer

type PollFilterer struct {
	// contains filtered or unexported fields
}

PollFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewPollFilterer

func NewPollFilterer(address common.Address, filterer bind.ContractFilterer) (*PollFilterer, error)

NewPollFilterer creates a new log filterer instance of Poll, bound to a specific deployed contract.

func (*PollFilterer) FilterVote

func (_Poll *PollFilterer) FilterVote(opts *bind.FilterOpts, voter []common.Address) (*PollVoteIterator, error)

FilterVote is a free log retrieval operation binding the contract event 0xf668ead05c744b9178e571d2edb452e72baf6529c8d72160e64e59b50d865bd0.

Solidity: event Vote(address indexed voter, uint256 choiceID)

func (*PollFilterer) ParseVote

func (_Poll *PollFilterer) ParseVote(log types.Log) (*PollVote, error)

ParseVote is a log parse operation binding the contract event 0xf668ead05c744b9178e571d2edb452e72baf6529c8d72160e64e59b50d865bd0.

Solidity: event Vote(address indexed voter, uint256 choiceID)

func (*PollFilterer) WatchVote

func (_Poll *PollFilterer) WatchVote(opts *bind.WatchOpts, sink chan<- *PollVote, voter []common.Address) (event.Subscription, error)

WatchVote is a free log subscription operation binding the contract event 0xf668ead05c744b9178e571d2edb452e72baf6529c8d72160e64e59b50d865bd0.

Solidity: event Vote(address indexed voter, uint256 choiceID)

type PollRaw

type PollRaw struct {
	Contract *Poll // Generic contract binding to access the raw methods on
}

PollRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*PollRaw) Call

func (_Poll *PollRaw) 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 (*PollRaw) Transact

func (_Poll *PollRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PollRaw) Transfer

func (_Poll *PollRaw) 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 PollSession

type PollSession struct {
	Contract     *Poll             // 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
}

PollSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*PollSession) Destroy

func (_Poll *PollSession) Destroy() (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x83197ef0.

Solidity: function destroy() returns()

func (*PollSession) EndBlock

func (_Poll *PollSession) EndBlock() (*big.Int, error)

EndBlock is a free data retrieval call binding the contract method 0x083c6323.

Solidity: function endBlock() view returns(uint256)

func (*PollSession) Vote

func (_Poll *PollSession) Vote(_choiceID *big.Int) (*types.Transaction, error)

Vote is a paid mutator transaction binding the contract method 0x0121b93f.

Solidity: function vote(uint256 _choiceID) returns()

type PollTransactor

type PollTransactor struct {
	// contains filtered or unexported fields
}

PollTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewPollTransactor

func NewPollTransactor(address common.Address, transactor bind.ContractTransactor) (*PollTransactor, error)

NewPollTransactor creates a new write-only instance of Poll, bound to a specific deployed contract.

func (*PollTransactor) Destroy

func (_Poll *PollTransactor) Destroy(opts *bind.TransactOpts) (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x83197ef0.

Solidity: function destroy() returns()

func (*PollTransactor) Vote

func (_Poll *PollTransactor) Vote(opts *bind.TransactOpts, _choiceID *big.Int) (*types.Transaction, error)

Vote is a paid mutator transaction binding the contract method 0x0121b93f.

Solidity: function vote(uint256 _choiceID) returns()

type PollTransactorRaw

type PollTransactorRaw struct {
	Contract *PollTransactor // Generic write-only contract binding to access the raw methods on
}

PollTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*PollTransactorRaw) Transact

func (_Poll *PollTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*PollTransactorRaw) Transfer

func (_Poll *PollTransactorRaw) 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 PollTransactorSession

type PollTransactorSession struct {
	Contract     *PollTransactor   // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

PollTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*PollTransactorSession) Destroy

func (_Poll *PollTransactorSession) Destroy() (*types.Transaction, error)

Destroy is a paid mutator transaction binding the contract method 0x83197ef0.

Solidity: function destroy() returns()

func (*PollTransactorSession) Vote

func (_Poll *PollTransactorSession) Vote(_choiceID *big.Int) (*types.Transaction, error)

Vote is a paid mutator transaction binding the contract method 0x0121b93f.

Solidity: function vote(uint256 _choiceID) returns()

type PollVote

type PollVote struct {
	Voter    common.Address
	ChoiceID *big.Int
	Raw      types.Log // Blockchain specific contextual infos
}

PollVote represents a Vote event raised by the Poll contract.

type PollVoteIterator

type PollVoteIterator struct {
	Event *PollVote // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

PollVoteIterator is returned from FilterVote and is used to iterate over the raw logs and unpacked data for Vote events raised by the Poll contract.

func (*PollVoteIterator) Close

func (it *PollVoteIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PollVoteIterator) Error

func (it *PollVoteIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PollVoteIterator) Next

func (it *PollVoteIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type RoundsManager

type RoundsManager struct {
	RoundsManagerCaller     // Read-only binding to the contract
	RoundsManagerTransactor // Write-only binding to the contract
	RoundsManagerFilterer   // Log filterer for contract events
}

RoundsManager is an auto generated Go binding around an Ethereum contract.

func NewRoundsManager

func NewRoundsManager(address common.Address, backend bind.ContractBackend) (*RoundsManager, error)

NewRoundsManager creates a new instance of RoundsManager, bound to a specific deployed contract.

type RoundsManagerCaller

type RoundsManagerCaller struct {
	// contains filtered or unexported fields
}

RoundsManagerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewRoundsManagerCaller

func NewRoundsManagerCaller(address common.Address, caller bind.ContractCaller) (*RoundsManagerCaller, error)

NewRoundsManagerCaller creates a new read-only instance of RoundsManager, bound to a specific deployed contract.

func (*RoundsManagerCaller) BlockHash

func (_RoundsManager *RoundsManagerCaller) BlockHash(opts *bind.CallOpts, _block *big.Int) ([32]byte, error)

BlockHash is a free data retrieval call binding the contract method 0x85df51fd.

Solidity: function blockHash(uint256 _block) view returns(bytes32)

func (*RoundsManagerCaller) BlockHashForRound

func (_RoundsManager *RoundsManagerCaller) BlockHashForRound(opts *bind.CallOpts, _round *big.Int) ([32]byte, error)

BlockHashForRound is a free data retrieval call binding the contract method 0x3aa4add4.

Solidity: function blockHashForRound(uint256 _round) view returns(bytes32)

func (*RoundsManagerCaller) BlockNum

func (_RoundsManager *RoundsManagerCaller) BlockNum(opts *bind.CallOpts) (*big.Int, error)

BlockNum is a free data retrieval call binding the contract method 0x8ae63d6d.

Solidity: function blockNum() view returns(uint256)

func (*RoundsManagerCaller) Controller

func (_RoundsManager *RoundsManagerCaller) Controller(opts *bind.CallOpts) (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*RoundsManagerCaller) CurrentRound

func (_RoundsManager *RoundsManagerCaller) CurrentRound(opts *bind.CallOpts) (*big.Int, error)

CurrentRound is a free data retrieval call binding the contract method 0x8a19c8bc.

Solidity: function currentRound() view 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() view 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() view 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() view 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() view returns(uint256)

func (*RoundsManagerCaller) LastRoundLengthUpdateRound

func (_RoundsManager *RoundsManagerCaller) LastRoundLengthUpdateRound(opts *bind.CallOpts) (*big.Int, error)

LastRoundLengthUpdateRound is a free data retrieval call binding the contract method 0x0fe1dfa8.

Solidity: function lastRoundLengthUpdateRound() view returns(uint256)

func (*RoundsManagerCaller) LastRoundLengthUpdateStartBlock

func (_RoundsManager *RoundsManagerCaller) LastRoundLengthUpdateStartBlock(opts *bind.CallOpts) (*big.Int, error)

LastRoundLengthUpdateStartBlock is a free data retrieval call binding the contract method 0x668abff7.

Solidity: function lastRoundLengthUpdateStartBlock() view returns(uint256)

func (*RoundsManagerCaller) LipUpgradeRound

func (_RoundsManager *RoundsManagerCaller) LipUpgradeRound(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

LipUpgradeRound is a free data retrieval call binding the contract method 0x1e6d4c22.

Solidity: function lipUpgradeRound(uint256 ) view returns(uint256)

func (*RoundsManagerCaller) RoundLength

func (_RoundsManager *RoundsManagerCaller) RoundLength(opts *bind.CallOpts) (*big.Int, error)

RoundLength is a free data retrieval call binding the contract method 0x8b649b94.

Solidity: function roundLength() view returns(uint256)

func (*RoundsManagerCaller) RoundLockAmount

func (_RoundsManager *RoundsManagerCaller) RoundLockAmount(opts *bind.CallOpts) (*big.Int, error)

RoundLockAmount is a free data retrieval call binding the contract method 0xf5b490d5.

Solidity: function roundLockAmount() view 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() view returns(bytes32)

type RoundsManagerCallerRaw

type RoundsManagerCallerRaw struct {
	Contract *RoundsManagerCaller // Generic read-only contract binding to access the raw methods on
}

RoundsManagerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*RoundsManagerCallerRaw) Call

func (_RoundsManager *RoundsManagerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type RoundsManagerCallerSession

type RoundsManagerCallerSession struct {
	Contract *RoundsManagerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts        // Call options to use throughout this session
}

RoundsManagerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*RoundsManagerCallerSession) BlockHash

func (_RoundsManager *RoundsManagerCallerSession) BlockHash(_block *big.Int) ([32]byte, error)

BlockHash is a free data retrieval call binding the contract method 0x85df51fd.

Solidity: function blockHash(uint256 _block) view returns(bytes32)

func (*RoundsManagerCallerSession) BlockHashForRound

func (_RoundsManager *RoundsManagerCallerSession) BlockHashForRound(_round *big.Int) ([32]byte, error)

BlockHashForRound is a free data retrieval call binding the contract method 0x3aa4add4.

Solidity: function blockHashForRound(uint256 _round) view returns(bytes32)

func (*RoundsManagerCallerSession) BlockNum

func (_RoundsManager *RoundsManagerCallerSession) BlockNum() (*big.Int, error)

BlockNum is a free data retrieval call binding the contract method 0x8ae63d6d.

Solidity: function blockNum() view 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() view 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() view 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() view 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() view 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() view 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() view returns(uint256)

func (*RoundsManagerCallerSession) LastRoundLengthUpdateRound

func (_RoundsManager *RoundsManagerCallerSession) LastRoundLengthUpdateRound() (*big.Int, error)

LastRoundLengthUpdateRound is a free data retrieval call binding the contract method 0x0fe1dfa8.

Solidity: function lastRoundLengthUpdateRound() view returns(uint256)

func (*RoundsManagerCallerSession) LastRoundLengthUpdateStartBlock

func (_RoundsManager *RoundsManagerCallerSession) LastRoundLengthUpdateStartBlock() (*big.Int, error)

LastRoundLengthUpdateStartBlock is a free data retrieval call binding the contract method 0x668abff7.

Solidity: function lastRoundLengthUpdateStartBlock() view returns(uint256)

func (*RoundsManagerCallerSession) LipUpgradeRound

func (_RoundsManager *RoundsManagerCallerSession) LipUpgradeRound(arg0 *big.Int) (*big.Int, error)

LipUpgradeRound is a free data retrieval call binding the contract method 0x1e6d4c22.

Solidity: function lipUpgradeRound(uint256 ) view 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() view 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() view 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() view returns(bytes32)

type RoundsManagerFilterer

type RoundsManagerFilterer struct {
	// contains filtered or unexported fields
}

RoundsManagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewRoundsManagerFilterer

func NewRoundsManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*RoundsManagerFilterer, error)

NewRoundsManagerFilterer creates a new log filterer instance of RoundsManager, bound to a specific deployed contract.

func (*RoundsManagerFilterer) FilterNewRound

func (_RoundsManager *RoundsManagerFilterer) FilterNewRound(opts *bind.FilterOpts, round []*big.Int) (*RoundsManagerNewRoundIterator, error)

FilterNewRound is a free log retrieval operation binding the contract event 0x22f2fc17c5daf07db2379b3a03a8ef20a183f761097a58fce219c8a14619e786.

Solidity: event NewRound(uint256 indexed round, bytes32 blockHash)

func (*RoundsManagerFilterer) FilterParameterUpdate

func (_RoundsManager *RoundsManagerFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*RoundsManagerParameterUpdateIterator, error)

FilterParameterUpdate is a free log retrieval operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*RoundsManagerFilterer) FilterSetController

func (_RoundsManager *RoundsManagerFilterer) FilterSetController(opts *bind.FilterOpts) (*RoundsManagerSetControllerIterator, error)

FilterSetController is a free log retrieval operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*RoundsManagerFilterer) ParseNewRound

func (_RoundsManager *RoundsManagerFilterer) ParseNewRound(log types.Log) (*RoundsManagerNewRound, error)

ParseNewRound is a log parse operation binding the contract event 0x22f2fc17c5daf07db2379b3a03a8ef20a183f761097a58fce219c8a14619e786.

Solidity: event NewRound(uint256 indexed round, bytes32 blockHash)

func (*RoundsManagerFilterer) ParseParameterUpdate

func (_RoundsManager *RoundsManagerFilterer) ParseParameterUpdate(log types.Log) (*RoundsManagerParameterUpdate, error)

ParseParameterUpdate is a log parse operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*RoundsManagerFilterer) ParseSetController

func (_RoundsManager *RoundsManagerFilterer) ParseSetController(log types.Log) (*RoundsManagerSetController, error)

ParseSetController is a log parse operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*RoundsManagerFilterer) WatchNewRound

func (_RoundsManager *RoundsManagerFilterer) WatchNewRound(opts *bind.WatchOpts, sink chan<- *RoundsManagerNewRound, round []*big.Int) (event.Subscription, error)

WatchNewRound is a free log subscription operation binding the contract event 0x22f2fc17c5daf07db2379b3a03a8ef20a183f761097a58fce219c8a14619e786.

Solidity: event NewRound(uint256 indexed round, bytes32 blockHash)

func (*RoundsManagerFilterer) WatchParameterUpdate

func (_RoundsManager *RoundsManagerFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *RoundsManagerParameterUpdate) (event.Subscription, error)

WatchParameterUpdate is a free log subscription operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*RoundsManagerFilterer) WatchSetController

func (_RoundsManager *RoundsManagerFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *RoundsManagerSetController) (event.Subscription, error)

WatchSetController is a free log subscription operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

type RoundsManagerNewRound

type RoundsManagerNewRound struct {
	Round     *big.Int
	BlockHash [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

RoundsManagerNewRound represents a NewRound event raised by the RoundsManager contract.

type RoundsManagerNewRoundIterator

type RoundsManagerNewRoundIterator struct {
	Event *RoundsManagerNewRound // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RoundsManagerNewRoundIterator is returned from FilterNewRound and is used to iterate over the raw logs and unpacked data for NewRound events raised by the RoundsManager contract.

func (*RoundsManagerNewRoundIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*RoundsManagerNewRoundIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RoundsManagerNewRoundIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type RoundsManagerParameterUpdate

type RoundsManagerParameterUpdate struct {
	Param string
	Raw   types.Log // Blockchain specific contextual infos
}

RoundsManagerParameterUpdate represents a ParameterUpdate event raised by the RoundsManager contract.

type RoundsManagerParameterUpdateIterator

type RoundsManagerParameterUpdateIterator struct {
	Event *RoundsManagerParameterUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RoundsManagerParameterUpdateIterator is returned from FilterParameterUpdate and is used to iterate over the raw logs and unpacked data for ParameterUpdate events raised by the RoundsManager contract.

func (*RoundsManagerParameterUpdateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*RoundsManagerParameterUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RoundsManagerParameterUpdateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type RoundsManagerRaw

type RoundsManagerRaw struct {
	Contract *RoundsManager // Generic contract binding to access the raw methods on
}

RoundsManagerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*RoundsManagerRaw) Call

func (_RoundsManager *RoundsManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*RoundsManagerRaw) Transact

func (_RoundsManager *RoundsManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RoundsManagerRaw) Transfer

func (_RoundsManager *RoundsManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type RoundsManagerSession

type RoundsManagerSession struct {
	Contract     *RoundsManager    // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

RoundsManagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*RoundsManagerSession) BlockHash

func (_RoundsManager *RoundsManagerSession) BlockHash(_block *big.Int) ([32]byte, error)

BlockHash is a free data retrieval call binding the contract method 0x85df51fd.

Solidity: function blockHash(uint256 _block) view returns(bytes32)

func (*RoundsManagerSession) BlockHashForRound

func (_RoundsManager *RoundsManagerSession) BlockHashForRound(_round *big.Int) ([32]byte, error)

BlockHashForRound is a free data retrieval call binding the contract method 0x3aa4add4.

Solidity: function blockHashForRound(uint256 _round) view returns(bytes32)

func (*RoundsManagerSession) BlockNum

func (_RoundsManager *RoundsManagerSession) BlockNum() (*big.Int, error)

BlockNum is a free data retrieval call binding the contract method 0x8ae63d6d.

Solidity: function blockNum() view 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() view 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() view 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() view 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() view 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() view 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() view returns(uint256)

func (*RoundsManagerSession) LastRoundLengthUpdateRound

func (_RoundsManager *RoundsManagerSession) LastRoundLengthUpdateRound() (*big.Int, error)

LastRoundLengthUpdateRound is a free data retrieval call binding the contract method 0x0fe1dfa8.

Solidity: function lastRoundLengthUpdateRound() view returns(uint256)

func (*RoundsManagerSession) LastRoundLengthUpdateStartBlock

func (_RoundsManager *RoundsManagerSession) LastRoundLengthUpdateStartBlock() (*big.Int, error)

LastRoundLengthUpdateStartBlock is a free data retrieval call binding the contract method 0x668abff7.

Solidity: function lastRoundLengthUpdateStartBlock() view returns(uint256)

func (*RoundsManagerSession) LipUpgradeRound

func (_RoundsManager *RoundsManagerSession) LipUpgradeRound(arg0 *big.Int) (*big.Int, error)

LipUpgradeRound is a free data retrieval call binding the contract method 0x1e6d4c22.

Solidity: function lipUpgradeRound(uint256 ) view 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() view 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() view returns(uint256)

func (*RoundsManagerSession) SetController

func (_RoundsManager *RoundsManagerSession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*RoundsManagerSession) SetLIPUpgradeRound

func (_RoundsManager *RoundsManagerSession) SetLIPUpgradeRound(_lip *big.Int, _round *big.Int) (*types.Transaction, error)

SetLIPUpgradeRound is a paid mutator transaction binding the contract method 0x13013e7a.

Solidity: function setLIPUpgradeRound(uint256 _lip, uint256 _round) returns()

func (*RoundsManagerSession) SetRoundLength

func (_RoundsManager *RoundsManagerSession) SetRoundLength(_roundLength *big.Int) (*types.Transaction, error)

SetRoundLength is a paid mutator transaction binding the contract method 0x681312f5.

Solidity: function setRoundLength(uint256 _roundLength) returns()

func (*RoundsManagerSession) SetRoundLockAmount

func (_RoundsManager *RoundsManagerSession) SetRoundLockAmount(_roundLockAmount *big.Int) (*types.Transaction, error)

SetRoundLockAmount is a paid mutator transaction binding the contract method 0x0b1573b8.

Solidity: function setRoundLockAmount(uint256 _roundLockAmount) returns()

func (*RoundsManagerSession) TargetContractId

func (_RoundsManager *RoundsManagerSession) TargetContractId() ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

type RoundsManagerSetController

type RoundsManagerSetController struct {
	Controller common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

RoundsManagerSetController represents a SetController event raised by the RoundsManager contract.

type RoundsManagerSetControllerIterator

type RoundsManagerSetControllerIterator struct {
	Event *RoundsManagerSetController // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RoundsManagerSetControllerIterator is returned from FilterSetController and is used to iterate over the raw logs and unpacked data for SetController events raised by the RoundsManager contract.

func (*RoundsManagerSetControllerIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*RoundsManagerSetControllerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*RoundsManagerSetControllerIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type RoundsManagerTransactor

type RoundsManagerTransactor struct {
	// contains filtered or unexported fields
}

RoundsManagerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewRoundsManagerTransactor

func NewRoundsManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*RoundsManagerTransactor, error)

NewRoundsManagerTransactor creates a new write-only instance of RoundsManager, bound to a specific deployed contract.

func (*RoundsManagerTransactor) InitializeRound

func (_RoundsManager *RoundsManagerTransactor) InitializeRound(opts *bind.TransactOpts) (*types.Transaction, error)

InitializeRound is a paid mutator transaction binding the contract method 0xd4807fb2.

Solidity: function initializeRound() returns()

func (*RoundsManagerTransactor) SetController

func (_RoundsManager *RoundsManagerTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*RoundsManagerTransactor) SetLIPUpgradeRound

func (_RoundsManager *RoundsManagerTransactor) SetLIPUpgradeRound(opts *bind.TransactOpts, _lip *big.Int, _round *big.Int) (*types.Transaction, error)

SetLIPUpgradeRound is a paid mutator transaction binding the contract method 0x13013e7a.

Solidity: function setLIPUpgradeRound(uint256 _lip, uint256 _round) returns()

func (*RoundsManagerTransactor) SetRoundLength

func (_RoundsManager *RoundsManagerTransactor) SetRoundLength(opts *bind.TransactOpts, _roundLength *big.Int) (*types.Transaction, error)

SetRoundLength is a paid mutator transaction binding the contract method 0x681312f5.

Solidity: function setRoundLength(uint256 _roundLength) returns()

func (*RoundsManagerTransactor) SetRoundLockAmount

func (_RoundsManager *RoundsManagerTransactor) SetRoundLockAmount(opts *bind.TransactOpts, _roundLockAmount *big.Int) (*types.Transaction, error)

SetRoundLockAmount is a paid mutator transaction binding the contract method 0x0b1573b8.

Solidity: function setRoundLockAmount(uint256 _roundLockAmount) returns()

type RoundsManagerTransactorRaw

type RoundsManagerTransactorRaw struct {
	Contract *RoundsManagerTransactor // Generic write-only contract binding to access the raw methods on
}

RoundsManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*RoundsManagerTransactorRaw) Transact

func (_RoundsManager *RoundsManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RoundsManagerTransactorRaw) Transfer

func (_RoundsManager *RoundsManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type RoundsManagerTransactorSession

type RoundsManagerTransactorSession struct {
	Contract     *RoundsManagerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

RoundsManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*RoundsManagerTransactorSession) InitializeRound

func (_RoundsManager *RoundsManagerTransactorSession) InitializeRound() (*types.Transaction, error)

InitializeRound is a paid mutator transaction binding the contract method 0xd4807fb2.

Solidity: function initializeRound() returns()

func (*RoundsManagerTransactorSession) SetController

func (_RoundsManager *RoundsManagerTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*RoundsManagerTransactorSession) SetLIPUpgradeRound

func (_RoundsManager *RoundsManagerTransactorSession) SetLIPUpgradeRound(_lip *big.Int, _round *big.Int) (*types.Transaction, error)

SetLIPUpgradeRound is a paid mutator transaction binding the contract method 0x13013e7a.

Solidity: function setLIPUpgradeRound(uint256 _lip, uint256 _round) returns()

func (*RoundsManagerTransactorSession) SetRoundLength

func (_RoundsManager *RoundsManagerTransactorSession) SetRoundLength(_roundLength *big.Int) (*types.Transaction, error)

SetRoundLength is a paid mutator transaction binding the contract method 0x681312f5.

Solidity: function setRoundLength(uint256 _roundLength) returns()

func (*RoundsManagerTransactorSession) SetRoundLockAmount

func (_RoundsManager *RoundsManagerTransactorSession) SetRoundLockAmount(_roundLockAmount *big.Int) (*types.Transaction, error)

SetRoundLockAmount is a paid mutator transaction binding the contract method 0x0b1573b8.

Solidity: function setRoundLockAmount(uint256 _roundLockAmount) returns()

type ServiceRegistry

type ServiceRegistry struct {
	ServiceRegistryCaller     // Read-only binding to the contract
	ServiceRegistryTransactor // Write-only binding to the contract
	ServiceRegistryFilterer   // Log filterer for contract events
}

ServiceRegistry is an auto generated Go binding around an Ethereum contract.

func NewServiceRegistry

func NewServiceRegistry(address common.Address, backend bind.ContractBackend) (*ServiceRegistry, error)

NewServiceRegistry creates a new instance of ServiceRegistry, bound to a specific deployed contract.

type ServiceRegistryCaller

type ServiceRegistryCaller struct {
	// contains filtered or unexported fields
}

ServiceRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewServiceRegistryCaller

func NewServiceRegistryCaller(address common.Address, caller bind.ContractCaller) (*ServiceRegistryCaller, error)

NewServiceRegistryCaller creates a new read-only instance of ServiceRegistry, bound to a specific deployed contract.

func (*ServiceRegistryCaller) Controller

func (_ServiceRegistry *ServiceRegistryCaller) Controller(opts *bind.CallOpts) (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*ServiceRegistryCaller) GetServiceURI

func (_ServiceRegistry *ServiceRegistryCaller) GetServiceURI(opts *bind.CallOpts, _addr common.Address) (string, error)

GetServiceURI is a free data retrieval call binding the contract method 0x214c2a4b.

Solidity: function getServiceURI(address _addr) view returns(string)

func (*ServiceRegistryCaller) TargetContractId

func (_ServiceRegistry *ServiceRegistryCaller) TargetContractId(opts *bind.CallOpts) ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

type ServiceRegistryCallerRaw

type ServiceRegistryCallerRaw struct {
	Contract *ServiceRegistryCaller // Generic read-only contract binding to access the raw methods on
}

ServiceRegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ServiceRegistryCallerRaw) Call

func (_ServiceRegistry *ServiceRegistryCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ServiceRegistryCallerSession

type ServiceRegistryCallerSession struct {
	Contract *ServiceRegistryCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts          // Call options to use throughout this session
}

ServiceRegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ServiceRegistryCallerSession) Controller

func (_ServiceRegistry *ServiceRegistryCallerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*ServiceRegistryCallerSession) GetServiceURI

func (_ServiceRegistry *ServiceRegistryCallerSession) GetServiceURI(_addr common.Address) (string, error)

GetServiceURI is a free data retrieval call binding the contract method 0x214c2a4b.

Solidity: function getServiceURI(address _addr) view returns(string)

func (*ServiceRegistryCallerSession) TargetContractId

func (_ServiceRegistry *ServiceRegistryCallerSession) TargetContractId() ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

type ServiceRegistryFilterer

type ServiceRegistryFilterer struct {
	// contains filtered or unexported fields
}

ServiceRegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewServiceRegistryFilterer

func NewServiceRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*ServiceRegistryFilterer, error)

NewServiceRegistryFilterer creates a new log filterer instance of ServiceRegistry, bound to a specific deployed contract.

func (*ServiceRegistryFilterer) FilterParameterUpdate

func (_ServiceRegistry *ServiceRegistryFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*ServiceRegistryParameterUpdateIterator, error)

FilterParameterUpdate is a free log retrieval operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*ServiceRegistryFilterer) FilterServiceURIUpdate

func (_ServiceRegistry *ServiceRegistryFilterer) FilterServiceURIUpdate(opts *bind.FilterOpts, addr []common.Address) (*ServiceRegistryServiceURIUpdateIterator, error)

FilterServiceURIUpdate is a free log retrieval operation binding the contract event 0xfbb63068732c85741c9f8e61caffaabe038d577bfafd2d2dcc0e352a4f653a4c.

Solidity: event ServiceURIUpdate(address indexed addr, string serviceURI)

func (*ServiceRegistryFilterer) FilterSetController

func (_ServiceRegistry *ServiceRegistryFilterer) FilterSetController(opts *bind.FilterOpts) (*ServiceRegistrySetControllerIterator, error)

FilterSetController is a free log retrieval operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*ServiceRegistryFilterer) ParseParameterUpdate

func (_ServiceRegistry *ServiceRegistryFilterer) ParseParameterUpdate(log types.Log) (*ServiceRegistryParameterUpdate, error)

ParseParameterUpdate is a log parse operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*ServiceRegistryFilterer) ParseServiceURIUpdate

func (_ServiceRegistry *ServiceRegistryFilterer) ParseServiceURIUpdate(log types.Log) (*ServiceRegistryServiceURIUpdate, error)

ParseServiceURIUpdate is a log parse operation binding the contract event 0xfbb63068732c85741c9f8e61caffaabe038d577bfafd2d2dcc0e352a4f653a4c.

Solidity: event ServiceURIUpdate(address indexed addr, string serviceURI)

func (*ServiceRegistryFilterer) ParseSetController

func (_ServiceRegistry *ServiceRegistryFilterer) ParseSetController(log types.Log) (*ServiceRegistrySetController, error)

ParseSetController is a log parse operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*ServiceRegistryFilterer) WatchParameterUpdate

func (_ServiceRegistry *ServiceRegistryFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *ServiceRegistryParameterUpdate) (event.Subscription, error)

WatchParameterUpdate is a free log subscription operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*ServiceRegistryFilterer) WatchServiceURIUpdate

func (_ServiceRegistry *ServiceRegistryFilterer) WatchServiceURIUpdate(opts *bind.WatchOpts, sink chan<- *ServiceRegistryServiceURIUpdate, addr []common.Address) (event.Subscription, error)

WatchServiceURIUpdate is a free log subscription operation binding the contract event 0xfbb63068732c85741c9f8e61caffaabe038d577bfafd2d2dcc0e352a4f653a4c.

Solidity: event ServiceURIUpdate(address indexed addr, string serviceURI)

func (*ServiceRegistryFilterer) WatchSetController

func (_ServiceRegistry *ServiceRegistryFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *ServiceRegistrySetController) (event.Subscription, error)

WatchSetController is a free log subscription operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

type ServiceRegistryParameterUpdate

type ServiceRegistryParameterUpdate struct {
	Param string
	Raw   types.Log // Blockchain specific contextual infos
}

ServiceRegistryParameterUpdate represents a ParameterUpdate event raised by the ServiceRegistry contract.

type ServiceRegistryParameterUpdateIterator

type ServiceRegistryParameterUpdateIterator struct {
	Event *ServiceRegistryParameterUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ServiceRegistryParameterUpdateIterator is returned from FilterParameterUpdate and is used to iterate over the raw logs and unpacked data for ParameterUpdate events raised by the ServiceRegistry contract.

func (*ServiceRegistryParameterUpdateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ServiceRegistryParameterUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ServiceRegistryParameterUpdateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ServiceRegistryRaw

type ServiceRegistryRaw struct {
	Contract *ServiceRegistry // Generic contract binding to access the raw methods on
}

ServiceRegistryRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ServiceRegistryRaw) Call

func (_ServiceRegistry *ServiceRegistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ServiceRegistryRaw) Transact

func (_ServiceRegistry *ServiceRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ServiceRegistryRaw) Transfer

func (_ServiceRegistry *ServiceRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ServiceRegistryServiceURIUpdate

type ServiceRegistryServiceURIUpdate struct {
	Addr       common.Address
	ServiceURI string
	Raw        types.Log // Blockchain specific contextual infos
}

ServiceRegistryServiceURIUpdate represents a ServiceURIUpdate event raised by the ServiceRegistry contract.

type ServiceRegistryServiceURIUpdateIterator

type ServiceRegistryServiceURIUpdateIterator struct {
	Event *ServiceRegistryServiceURIUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ServiceRegistryServiceURIUpdateIterator is returned from FilterServiceURIUpdate and is used to iterate over the raw logs and unpacked data for ServiceURIUpdate events raised by the ServiceRegistry contract.

func (*ServiceRegistryServiceURIUpdateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ServiceRegistryServiceURIUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ServiceRegistryServiceURIUpdateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ServiceRegistrySession

type ServiceRegistrySession struct {
	Contract     *ServiceRegistry  // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

ServiceRegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ServiceRegistrySession) Controller

func (_ServiceRegistry *ServiceRegistrySession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*ServiceRegistrySession) GetServiceURI

func (_ServiceRegistry *ServiceRegistrySession) GetServiceURI(_addr common.Address) (string, error)

GetServiceURI is a free data retrieval call binding the contract method 0x214c2a4b.

Solidity: function getServiceURI(address _addr) view returns(string)

func (*ServiceRegistrySession) SetController

func (_ServiceRegistry *ServiceRegistrySession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*ServiceRegistrySession) SetServiceURI

func (_ServiceRegistry *ServiceRegistrySession) SetServiceURI(_serviceURI string) (*types.Transaction, error)

SetServiceURI is a paid mutator transaction binding the contract method 0x5f11301b.

Solidity: function setServiceURI(string _serviceURI) returns()

func (*ServiceRegistrySession) TargetContractId

func (_ServiceRegistry *ServiceRegistrySession) TargetContractId() ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

type ServiceRegistrySetController

type ServiceRegistrySetController struct {
	Controller common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

ServiceRegistrySetController represents a SetController event raised by the ServiceRegistry contract.

type ServiceRegistrySetControllerIterator

type ServiceRegistrySetControllerIterator struct {
	Event *ServiceRegistrySetController // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ServiceRegistrySetControllerIterator is returned from FilterSetController and is used to iterate over the raw logs and unpacked data for SetController events raised by the ServiceRegistry contract.

func (*ServiceRegistrySetControllerIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*ServiceRegistrySetControllerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*ServiceRegistrySetControllerIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ServiceRegistryTransactor

type ServiceRegistryTransactor struct {
	// contains filtered or unexported fields
}

ServiceRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewServiceRegistryTransactor

func NewServiceRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*ServiceRegistryTransactor, error)

NewServiceRegistryTransactor creates a new write-only instance of ServiceRegistry, bound to a specific deployed contract.

func (*ServiceRegistryTransactor) SetController

func (_ServiceRegistry *ServiceRegistryTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*ServiceRegistryTransactor) SetServiceURI

func (_ServiceRegistry *ServiceRegistryTransactor) SetServiceURI(opts *bind.TransactOpts, _serviceURI string) (*types.Transaction, error)

SetServiceURI is a paid mutator transaction binding the contract method 0x5f11301b.

Solidity: function setServiceURI(string _serviceURI) returns()

type ServiceRegistryTransactorRaw

type ServiceRegistryTransactorRaw struct {
	Contract *ServiceRegistryTransactor // Generic write-only contract binding to access the raw methods on
}

ServiceRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ServiceRegistryTransactorRaw) Transact

func (_ServiceRegistry *ServiceRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ServiceRegistryTransactorRaw) Transfer

func (_ServiceRegistry *ServiceRegistryTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ServiceRegistryTransactorSession

type ServiceRegistryTransactorSession struct {
	Contract     *ServiceRegistryTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts          // Transaction auth options to use throughout this session
}

ServiceRegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ServiceRegistryTransactorSession) SetController

func (_ServiceRegistry *ServiceRegistryTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*ServiceRegistryTransactorSession) SetServiceURI

func (_ServiceRegistry *ServiceRegistryTransactorSession) SetServiceURI(_serviceURI string) (*types.Transaction, error)

SetServiceURI is a paid mutator transaction binding the contract method 0x5f11301b.

Solidity: function setServiceURI(string _serviceURI) returns()

type TicketBroker

type TicketBroker struct {
	TicketBrokerCaller     // Read-only binding to the contract
	TicketBrokerTransactor // Write-only binding to the contract
	TicketBrokerFilterer   // Log filterer for contract events
}

TicketBroker is an auto generated Go binding around an Ethereum contract.

func NewTicketBroker

func NewTicketBroker(address common.Address, backend bind.ContractBackend) (*TicketBroker, error)

NewTicketBroker creates a new instance of TicketBroker, bound to a specific deployed contract.

type TicketBrokerCaller

type TicketBrokerCaller struct {
	// contains filtered or unexported fields
}

TicketBrokerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewTicketBrokerCaller

func NewTicketBrokerCaller(address common.Address, caller bind.ContractCaller) (*TicketBrokerCaller, error)

NewTicketBrokerCaller creates a new read-only instance of TicketBroker, bound to a specific deployed contract.

func (*TicketBrokerCaller) ClaimableReserve

func (_TicketBroker *TicketBrokerCaller) ClaimableReserve(opts *bind.CallOpts, _reserveHolder common.Address, _claimant common.Address) (*big.Int, error)

ClaimableReserve is a free data retrieval call binding the contract method 0x81779f38.

Solidity: function claimableReserve(address _reserveHolder, address _claimant) view returns(uint256)

func (*TicketBrokerCaller) ClaimedReserve

func (_TicketBroker *TicketBrokerCaller) ClaimedReserve(opts *bind.CallOpts, _reserveHolder common.Address, _claimant common.Address) (*big.Int, error)

ClaimedReserve is a free data retrieval call binding the contract method 0x4ac826da.

Solidity: function claimedReserve(address _reserveHolder, address _claimant) view returns(uint256)

func (*TicketBrokerCaller) Controller

func (_TicketBroker *TicketBrokerCaller) Controller(opts *bind.CallOpts) (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*TicketBrokerCaller) GetReserveInfo

func (_TicketBroker *TicketBrokerCaller) GetReserveInfo(opts *bind.CallOpts, _reserveHolder common.Address) (MReserveReserveInfo, error)

GetReserveInfo is a free data retrieval call binding the contract method 0x5b6333eb.

Solidity: function getReserveInfo(address _reserveHolder) view returns((uint256,uint256) info)

func (*TicketBrokerCaller) GetSenderInfo

func (_TicketBroker *TicketBrokerCaller) GetSenderInfo(opts *bind.CallOpts, _sender common.Address) (struct {
	Sender  MixinTicketBrokerCoreSender
	Reserve MReserveReserveInfo
}, error)

GetSenderInfo is a free data retrieval call binding the contract method 0xe1a589da.

Solidity: function getSenderInfo(address _sender) view returns((uint256,uint256) sender, (uint256,uint256) reserve)

func (*TicketBrokerCaller) GetTicketHash

func (_TicketBroker *TicketBrokerCaller) GetTicketHash(opts *bind.CallOpts, _ticket MTicketBrokerCoreTicket) ([32]byte, error)

GetTicketHash is a free data retrieval call binding the contract method 0xb03fa864.

Solidity: function getTicketHash((address,address,uint256,uint256,uint256,bytes32,bytes) _ticket) pure returns(bytes32)

func (*TicketBrokerCaller) IsUnlockInProgress

func (_TicketBroker *TicketBrokerCaller) IsUnlockInProgress(opts *bind.CallOpts, _sender common.Address) (bool, error)

IsUnlockInProgress is a free data retrieval call binding the contract method 0x121cdcc2.

Solidity: function isUnlockInProgress(address _sender) view returns(bool)

func (*TicketBrokerCaller) TargetContractId

func (_TicketBroker *TicketBrokerCaller) TargetContractId(opts *bind.CallOpts) ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

func (*TicketBrokerCaller) TicketValidityPeriod

func (_TicketBroker *TicketBrokerCaller) TicketValidityPeriod(opts *bind.CallOpts) (*big.Int, error)

TicketValidityPeriod is a free data retrieval call binding the contract method 0x856a2cf8.

Solidity: function ticketValidityPeriod() view returns(uint256)

func (*TicketBrokerCaller) UnlockPeriod

func (_TicketBroker *TicketBrokerCaller) UnlockPeriod(opts *bind.CallOpts) (*big.Int, error)

UnlockPeriod is a free data retrieval call binding the contract method 0x20d3a0b4.

Solidity: function unlockPeriod() view returns(uint256)

func (*TicketBrokerCaller) UsedTickets

func (_TicketBroker *TicketBrokerCaller) UsedTickets(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

UsedTickets is a free data retrieval call binding the contract method 0x59a515ba.

Solidity: function usedTickets(bytes32 ) view returns(bool)

type TicketBrokerCallerRaw

type TicketBrokerCallerRaw struct {
	Contract *TicketBrokerCaller // Generic read-only contract binding to access the raw methods on
}

TicketBrokerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*TicketBrokerCallerRaw) Call

func (_TicketBroker *TicketBrokerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type TicketBrokerCallerSession

type TicketBrokerCallerSession struct {
	Contract *TicketBrokerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

TicketBrokerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*TicketBrokerCallerSession) ClaimableReserve

func (_TicketBroker *TicketBrokerCallerSession) ClaimableReserve(_reserveHolder common.Address, _claimant common.Address) (*big.Int, error)

ClaimableReserve is a free data retrieval call binding the contract method 0x81779f38.

Solidity: function claimableReserve(address _reserveHolder, address _claimant) view returns(uint256)

func (*TicketBrokerCallerSession) ClaimedReserve

func (_TicketBroker *TicketBrokerCallerSession) ClaimedReserve(_reserveHolder common.Address, _claimant common.Address) (*big.Int, error)

ClaimedReserve is a free data retrieval call binding the contract method 0x4ac826da.

Solidity: function claimedReserve(address _reserveHolder, address _claimant) view returns(uint256)

func (*TicketBrokerCallerSession) Controller

func (_TicketBroker *TicketBrokerCallerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*TicketBrokerCallerSession) GetReserveInfo

func (_TicketBroker *TicketBrokerCallerSession) GetReserveInfo(_reserveHolder common.Address) (MReserveReserveInfo, error)

GetReserveInfo is a free data retrieval call binding the contract method 0x5b6333eb.

Solidity: function getReserveInfo(address _reserveHolder) view returns((uint256,uint256) info)

func (*TicketBrokerCallerSession) GetSenderInfo

func (_TicketBroker *TicketBrokerCallerSession) GetSenderInfo(_sender common.Address) (struct {
	Sender  MixinTicketBrokerCoreSender
	Reserve MReserveReserveInfo
}, error)

GetSenderInfo is a free data retrieval call binding the contract method 0xe1a589da.

Solidity: function getSenderInfo(address _sender) view returns((uint256,uint256) sender, (uint256,uint256) reserve)

func (*TicketBrokerCallerSession) GetTicketHash

func (_TicketBroker *TicketBrokerCallerSession) GetTicketHash(_ticket MTicketBrokerCoreTicket) ([32]byte, error)

GetTicketHash is a free data retrieval call binding the contract method 0xb03fa864.

Solidity: function getTicketHash((address,address,uint256,uint256,uint256,bytes32,bytes) _ticket) pure returns(bytes32)

func (*TicketBrokerCallerSession) IsUnlockInProgress

func (_TicketBroker *TicketBrokerCallerSession) IsUnlockInProgress(_sender common.Address) (bool, error)

IsUnlockInProgress is a free data retrieval call binding the contract method 0x121cdcc2.

Solidity: function isUnlockInProgress(address _sender) view returns(bool)

func (*TicketBrokerCallerSession) TargetContractId

func (_TicketBroker *TicketBrokerCallerSession) TargetContractId() ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

func (*TicketBrokerCallerSession) TicketValidityPeriod

func (_TicketBroker *TicketBrokerCallerSession) TicketValidityPeriod() (*big.Int, error)

TicketValidityPeriod is a free data retrieval call binding the contract method 0x856a2cf8.

Solidity: function ticketValidityPeriod() view returns(uint256)

func (*TicketBrokerCallerSession) UnlockPeriod

func (_TicketBroker *TicketBrokerCallerSession) UnlockPeriod() (*big.Int, error)

UnlockPeriod is a free data retrieval call binding the contract method 0x20d3a0b4.

Solidity: function unlockPeriod() view returns(uint256)

func (*TicketBrokerCallerSession) UsedTickets

func (_TicketBroker *TicketBrokerCallerSession) UsedTickets(arg0 [32]byte) (bool, error)

UsedTickets is a free data retrieval call binding the contract method 0x59a515ba.

Solidity: function usedTickets(bytes32 ) view returns(bool)

type TicketBrokerDepositFunded

type TicketBrokerDepositFunded struct {
	Sender common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

TicketBrokerDepositFunded represents a DepositFunded event raised by the TicketBroker contract.

type TicketBrokerDepositFundedIterator

type TicketBrokerDepositFundedIterator struct {
	Event *TicketBrokerDepositFunded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerDepositFundedIterator is returned from FilterDepositFunded and is used to iterate over the raw logs and unpacked data for DepositFunded events raised by the TicketBroker contract.

func (*TicketBrokerDepositFundedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerDepositFundedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerDepositFundedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerFilterer

type TicketBrokerFilterer struct {
	// contains filtered or unexported fields
}

TicketBrokerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewTicketBrokerFilterer

func NewTicketBrokerFilterer(address common.Address, filterer bind.ContractFilterer) (*TicketBrokerFilterer, error)

NewTicketBrokerFilterer creates a new log filterer instance of TicketBroker, bound to a specific deployed contract.

func (*TicketBrokerFilterer) FilterDepositFunded

func (_TicketBroker *TicketBrokerFilterer) FilterDepositFunded(opts *bind.FilterOpts, sender []common.Address) (*TicketBrokerDepositFundedIterator, error)

FilterDepositFunded is a free log retrieval operation binding the contract event 0x5159e237d952190e68d5215430f305831be7c9c8776d1377c76679ae4773413f.

Solidity: event DepositFunded(address indexed sender, uint256 amount)

func (*TicketBrokerFilterer) FilterParameterUpdate

func (_TicketBroker *TicketBrokerFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*TicketBrokerParameterUpdateIterator, error)

FilterParameterUpdate is a free log retrieval operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*TicketBrokerFilterer) FilterReserveClaimed

func (_TicketBroker *TicketBrokerFilterer) FilterReserveClaimed(opts *bind.FilterOpts, reserveHolder []common.Address) (*TicketBrokerReserveClaimedIterator, error)

FilterReserveClaimed is a free log retrieval operation binding the contract event 0x5c2b394723f408a40a60335e24b71829642e35f350cebe2036a96a66e895ea98.

Solidity: event ReserveClaimed(address indexed reserveHolder, address claimant, uint256 amount)

func (*TicketBrokerFilterer) FilterReserveFunded

func (_TicketBroker *TicketBrokerFilterer) FilterReserveFunded(opts *bind.FilterOpts, reserveHolder []common.Address) (*TicketBrokerReserveFundedIterator, error)

FilterReserveFunded is a free log retrieval operation binding the contract event 0xb52b99b9e83551fcbd069b559cc3e823e2a1a3bad8ece46561ea77524394c850.

Solidity: event ReserveFunded(address indexed reserveHolder, uint256 amount)

func (*TicketBrokerFilterer) FilterSetController

func (_TicketBroker *TicketBrokerFilterer) FilterSetController(opts *bind.FilterOpts) (*TicketBrokerSetControllerIterator, error)

FilterSetController is a free log retrieval operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*TicketBrokerFilterer) FilterUnlock

func (_TicketBroker *TicketBrokerFilterer) FilterUnlock(opts *bind.FilterOpts, sender []common.Address) (*TicketBrokerUnlockIterator, error)

FilterUnlock is a free log retrieval operation binding the contract event 0xf7870c5b224cbc19873599e46ccfc7103934650509b1af0c3ce90138377c2004.

Solidity: event Unlock(address indexed sender, uint256 startRound, uint256 endRound)

func (*TicketBrokerFilterer) FilterUnlockCancelled

func (_TicketBroker *TicketBrokerFilterer) FilterUnlockCancelled(opts *bind.FilterOpts, sender []common.Address) (*TicketBrokerUnlockCancelledIterator, error)

FilterUnlockCancelled is a free log retrieval operation binding the contract event 0xfa044b7b93a40365dc68049797c2eb06918523d694e5d56e406cac3eb35578e5.

Solidity: event UnlockCancelled(address indexed sender)

func (*TicketBrokerFilterer) FilterWinningTicketRedeemed

func (_TicketBroker *TicketBrokerFilterer) FilterWinningTicketRedeemed(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*TicketBrokerWinningTicketRedeemedIterator, error)

FilterWinningTicketRedeemed is a free log retrieval operation binding the contract event 0xc389eb51ed006dbf2528507f010efdf5225ea596e1e1741d74f550dab1925ee7.

Solidity: event WinningTicketRedeemed(address indexed sender, address indexed recipient, uint256 faceValue, uint256 winProb, uint256 senderNonce, uint256 recipientRand, bytes auxData)

func (*TicketBrokerFilterer) FilterWinningTicketTransfer

func (_TicketBroker *TicketBrokerFilterer) FilterWinningTicketTransfer(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*TicketBrokerWinningTicketTransferIterator, error)

FilterWinningTicketTransfer is a free log retrieval operation binding the contract event 0x8b87351a208c06e3ceee59d80725fd77a23b4129e1b51ca231fc89b40712649c.

Solidity: event WinningTicketTransfer(address indexed sender, address indexed recipient, uint256 amount)

func (*TicketBrokerFilterer) FilterWithdrawal

func (_TicketBroker *TicketBrokerFilterer) FilterWithdrawal(opts *bind.FilterOpts, sender []common.Address) (*TicketBrokerWithdrawalIterator, error)

FilterWithdrawal is a free log retrieval operation binding the contract event 0xdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb.

Solidity: event Withdrawal(address indexed sender, uint256 deposit, uint256 reserve)

func (*TicketBrokerFilterer) ParseDepositFunded

func (_TicketBroker *TicketBrokerFilterer) ParseDepositFunded(log types.Log) (*TicketBrokerDepositFunded, error)

ParseDepositFunded is a log parse operation binding the contract event 0x5159e237d952190e68d5215430f305831be7c9c8776d1377c76679ae4773413f.

Solidity: event DepositFunded(address indexed sender, uint256 amount)

func (*TicketBrokerFilterer) ParseParameterUpdate

func (_TicketBroker *TicketBrokerFilterer) ParseParameterUpdate(log types.Log) (*TicketBrokerParameterUpdate, error)

ParseParameterUpdate is a log parse operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*TicketBrokerFilterer) ParseReserveClaimed

func (_TicketBroker *TicketBrokerFilterer) ParseReserveClaimed(log types.Log) (*TicketBrokerReserveClaimed, error)

ParseReserveClaimed is a log parse operation binding the contract event 0x5c2b394723f408a40a60335e24b71829642e35f350cebe2036a96a66e895ea98.

Solidity: event ReserveClaimed(address indexed reserveHolder, address claimant, uint256 amount)

func (*TicketBrokerFilterer) ParseReserveFunded

func (_TicketBroker *TicketBrokerFilterer) ParseReserveFunded(log types.Log) (*TicketBrokerReserveFunded, error)

ParseReserveFunded is a log parse operation binding the contract event 0xb52b99b9e83551fcbd069b559cc3e823e2a1a3bad8ece46561ea77524394c850.

Solidity: event ReserveFunded(address indexed reserveHolder, uint256 amount)

func (*TicketBrokerFilterer) ParseSetController

func (_TicketBroker *TicketBrokerFilterer) ParseSetController(log types.Log) (*TicketBrokerSetController, error)

ParseSetController is a log parse operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*TicketBrokerFilterer) ParseUnlock

func (_TicketBroker *TicketBrokerFilterer) ParseUnlock(log types.Log) (*TicketBrokerUnlock, error)

ParseUnlock is a log parse operation binding the contract event 0xf7870c5b224cbc19873599e46ccfc7103934650509b1af0c3ce90138377c2004.

Solidity: event Unlock(address indexed sender, uint256 startRound, uint256 endRound)

func (*TicketBrokerFilterer) ParseUnlockCancelled

func (_TicketBroker *TicketBrokerFilterer) ParseUnlockCancelled(log types.Log) (*TicketBrokerUnlockCancelled, error)

ParseUnlockCancelled is a log parse operation binding the contract event 0xfa044b7b93a40365dc68049797c2eb06918523d694e5d56e406cac3eb35578e5.

Solidity: event UnlockCancelled(address indexed sender)

func (*TicketBrokerFilterer) ParseWinningTicketRedeemed

func (_TicketBroker *TicketBrokerFilterer) ParseWinningTicketRedeemed(log types.Log) (*TicketBrokerWinningTicketRedeemed, error)

ParseWinningTicketRedeemed is a log parse operation binding the contract event 0xc389eb51ed006dbf2528507f010efdf5225ea596e1e1741d74f550dab1925ee7.

Solidity: event WinningTicketRedeemed(address indexed sender, address indexed recipient, uint256 faceValue, uint256 winProb, uint256 senderNonce, uint256 recipientRand, bytes auxData)

func (*TicketBrokerFilterer) ParseWinningTicketTransfer

func (_TicketBroker *TicketBrokerFilterer) ParseWinningTicketTransfer(log types.Log) (*TicketBrokerWinningTicketTransfer, error)

ParseWinningTicketTransfer is a log parse operation binding the contract event 0x8b87351a208c06e3ceee59d80725fd77a23b4129e1b51ca231fc89b40712649c.

Solidity: event WinningTicketTransfer(address indexed sender, address indexed recipient, uint256 amount)

func (*TicketBrokerFilterer) ParseWithdrawal

func (_TicketBroker *TicketBrokerFilterer) ParseWithdrawal(log types.Log) (*TicketBrokerWithdrawal, error)

ParseWithdrawal is a log parse operation binding the contract event 0xdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb.

Solidity: event Withdrawal(address indexed sender, uint256 deposit, uint256 reserve)

func (*TicketBrokerFilterer) WatchDepositFunded

func (_TicketBroker *TicketBrokerFilterer) WatchDepositFunded(opts *bind.WatchOpts, sink chan<- *TicketBrokerDepositFunded, sender []common.Address) (event.Subscription, error)

WatchDepositFunded is a free log subscription operation binding the contract event 0x5159e237d952190e68d5215430f305831be7c9c8776d1377c76679ae4773413f.

Solidity: event DepositFunded(address indexed sender, uint256 amount)

func (*TicketBrokerFilterer) WatchParameterUpdate

func (_TicketBroker *TicketBrokerFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *TicketBrokerParameterUpdate) (event.Subscription, error)

WatchParameterUpdate is a free log subscription operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*TicketBrokerFilterer) WatchReserveClaimed

func (_TicketBroker *TicketBrokerFilterer) WatchReserveClaimed(opts *bind.WatchOpts, sink chan<- *TicketBrokerReserveClaimed, reserveHolder []common.Address) (event.Subscription, error)

WatchReserveClaimed is a free log subscription operation binding the contract event 0x5c2b394723f408a40a60335e24b71829642e35f350cebe2036a96a66e895ea98.

Solidity: event ReserveClaimed(address indexed reserveHolder, address claimant, uint256 amount)

func (*TicketBrokerFilterer) WatchReserveFunded

func (_TicketBroker *TicketBrokerFilterer) WatchReserveFunded(opts *bind.WatchOpts, sink chan<- *TicketBrokerReserveFunded, reserveHolder []common.Address) (event.Subscription, error)

WatchReserveFunded is a free log subscription operation binding the contract event 0xb52b99b9e83551fcbd069b559cc3e823e2a1a3bad8ece46561ea77524394c850.

Solidity: event ReserveFunded(address indexed reserveHolder, uint256 amount)

func (*TicketBrokerFilterer) WatchSetController

func (_TicketBroker *TicketBrokerFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *TicketBrokerSetController) (event.Subscription, error)

WatchSetController is a free log subscription operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*TicketBrokerFilterer) WatchUnlock

func (_TicketBroker *TicketBrokerFilterer) WatchUnlock(opts *bind.WatchOpts, sink chan<- *TicketBrokerUnlock, sender []common.Address) (event.Subscription, error)

WatchUnlock is a free log subscription operation binding the contract event 0xf7870c5b224cbc19873599e46ccfc7103934650509b1af0c3ce90138377c2004.

Solidity: event Unlock(address indexed sender, uint256 startRound, uint256 endRound)

func (*TicketBrokerFilterer) WatchUnlockCancelled

func (_TicketBroker *TicketBrokerFilterer) WatchUnlockCancelled(opts *bind.WatchOpts, sink chan<- *TicketBrokerUnlockCancelled, sender []common.Address) (event.Subscription, error)

WatchUnlockCancelled is a free log subscription operation binding the contract event 0xfa044b7b93a40365dc68049797c2eb06918523d694e5d56e406cac3eb35578e5.

Solidity: event UnlockCancelled(address indexed sender)

func (*TicketBrokerFilterer) WatchWinningTicketRedeemed

func (_TicketBroker *TicketBrokerFilterer) WatchWinningTicketRedeemed(opts *bind.WatchOpts, sink chan<- *TicketBrokerWinningTicketRedeemed, sender []common.Address, recipient []common.Address) (event.Subscription, error)

WatchWinningTicketRedeemed is a free log subscription operation binding the contract event 0xc389eb51ed006dbf2528507f010efdf5225ea596e1e1741d74f550dab1925ee7.

Solidity: event WinningTicketRedeemed(address indexed sender, address indexed recipient, uint256 faceValue, uint256 winProb, uint256 senderNonce, uint256 recipientRand, bytes auxData)

func (*TicketBrokerFilterer) WatchWinningTicketTransfer

func (_TicketBroker *TicketBrokerFilterer) WatchWinningTicketTransfer(opts *bind.WatchOpts, sink chan<- *TicketBrokerWinningTicketTransfer, sender []common.Address, recipient []common.Address) (event.Subscription, error)

WatchWinningTicketTransfer is a free log subscription operation binding the contract event 0x8b87351a208c06e3ceee59d80725fd77a23b4129e1b51ca231fc89b40712649c.

Solidity: event WinningTicketTransfer(address indexed sender, address indexed recipient, uint256 amount)

func (*TicketBrokerFilterer) WatchWithdrawal

func (_TicketBroker *TicketBrokerFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *TicketBrokerWithdrawal, sender []common.Address) (event.Subscription, error)

WatchWithdrawal is a free log subscription operation binding the contract event 0xdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb.

Solidity: event Withdrawal(address indexed sender, uint256 deposit, uint256 reserve)

type TicketBrokerParameterUpdate

type TicketBrokerParameterUpdate struct {
	Param string
	Raw   types.Log // Blockchain specific contextual infos
}

TicketBrokerParameterUpdate represents a ParameterUpdate event raised by the TicketBroker contract.

type TicketBrokerParameterUpdateIterator

type TicketBrokerParameterUpdateIterator struct {
	Event *TicketBrokerParameterUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerParameterUpdateIterator is returned from FilterParameterUpdate and is used to iterate over the raw logs and unpacked data for ParameterUpdate events raised by the TicketBroker contract.

func (*TicketBrokerParameterUpdateIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerParameterUpdateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerParameterUpdateIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerRaw

type TicketBrokerRaw struct {
	Contract *TicketBroker // Generic contract binding to access the raw methods on
}

TicketBrokerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*TicketBrokerRaw) Call

func (_TicketBroker *TicketBrokerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*TicketBrokerRaw) Transact

func (_TicketBroker *TicketBrokerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TicketBrokerRaw) Transfer

func (_TicketBroker *TicketBrokerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type TicketBrokerReserveClaimed

type TicketBrokerReserveClaimed struct {
	ReserveHolder common.Address
	Claimant      common.Address
	Amount        *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

TicketBrokerReserveClaimed represents a ReserveClaimed event raised by the TicketBroker contract.

type TicketBrokerReserveClaimedIterator

type TicketBrokerReserveClaimedIterator struct {
	Event *TicketBrokerReserveClaimed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerReserveClaimedIterator is returned from FilterReserveClaimed and is used to iterate over the raw logs and unpacked data for ReserveClaimed events raised by the TicketBroker contract.

func (*TicketBrokerReserveClaimedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerReserveClaimedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerReserveClaimedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerReserveFunded

type TicketBrokerReserveFunded struct {
	ReserveHolder common.Address
	Amount        *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

TicketBrokerReserveFunded represents a ReserveFunded event raised by the TicketBroker contract.

type TicketBrokerReserveFundedIterator

type TicketBrokerReserveFundedIterator struct {
	Event *TicketBrokerReserveFunded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerReserveFundedIterator is returned from FilterReserveFunded and is used to iterate over the raw logs and unpacked data for ReserveFunded events raised by the TicketBroker contract.

func (*TicketBrokerReserveFundedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerReserveFundedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerReserveFundedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerSession

type TicketBrokerSession struct {
	Contract     *TicketBroker     // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

TicketBrokerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*TicketBrokerSession) BatchRedeemWinningTickets

func (_TicketBroker *TicketBrokerSession) BatchRedeemWinningTickets(_tickets []MTicketBrokerCoreTicket, _sigs [][]byte, _recipientRands []*big.Int) (*types.Transaction, error)

BatchRedeemWinningTickets is a paid mutator transaction binding the contract method 0xd01b808e.

Solidity: function batchRedeemWinningTickets((address,address,uint256,uint256,uint256,bytes32,bytes)[] _tickets, bytes[] _sigs, uint256[] _recipientRands) returns()

func (*TicketBrokerSession) CancelUnlock

func (_TicketBroker *TicketBrokerSession) CancelUnlock() (*types.Transaction, error)

CancelUnlock is a paid mutator transaction binding the contract method 0xc2c4c2c8.

Solidity: function cancelUnlock() returns()

func (*TicketBrokerSession) ClaimableReserve

func (_TicketBroker *TicketBrokerSession) ClaimableReserve(_reserveHolder common.Address, _claimant common.Address) (*big.Int, error)

ClaimableReserve is a free data retrieval call binding the contract method 0x81779f38.

Solidity: function claimableReserve(address _reserveHolder, address _claimant) view returns(uint256)

func (*TicketBrokerSession) ClaimedReserve

func (_TicketBroker *TicketBrokerSession) ClaimedReserve(_reserveHolder common.Address, _claimant common.Address) (*big.Int, error)

ClaimedReserve is a free data retrieval call binding the contract method 0x4ac826da.

Solidity: function claimedReserve(address _reserveHolder, address _claimant) view returns(uint256)

func (*TicketBrokerSession) Controller

func (_TicketBroker *TicketBrokerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*TicketBrokerSession) FundDeposit

func (_TicketBroker *TicketBrokerSession) FundDeposit() (*types.Transaction, error)

FundDeposit is a paid mutator transaction binding the contract method 0x6caa736b.

Solidity: function fundDeposit() payable returns()

func (*TicketBrokerSession) FundDepositAndReserve

func (_TicketBroker *TicketBrokerSession) FundDepositAndReserve(_depositAmount *big.Int, _reserveAmount *big.Int) (*types.Transaction, error)

FundDepositAndReserve is a paid mutator transaction binding the contract method 0x511f4073.

Solidity: function fundDepositAndReserve(uint256 _depositAmount, uint256 _reserveAmount) payable returns()

func (*TicketBrokerSession) FundDepositAndReserveFor

func (_TicketBroker *TicketBrokerSession) FundDepositAndReserveFor(_addr common.Address, _depositAmount *big.Int, _reserveAmount *big.Int) (*types.Transaction, error)

FundDepositAndReserveFor is a paid mutator transaction binding the contract method 0x989f789c.

Solidity: function fundDepositAndReserveFor(address _addr, uint256 _depositAmount, uint256 _reserveAmount) payable returns()

func (*TicketBrokerSession) FundReserve

func (_TicketBroker *TicketBrokerSession) FundReserve() (*types.Transaction, error)

FundReserve is a paid mutator transaction binding the contract method 0x6f9c3c8f.

Solidity: function fundReserve() payable returns()

func (*TicketBrokerSession) GetReserveInfo

func (_TicketBroker *TicketBrokerSession) GetReserveInfo(_reserveHolder common.Address) (MReserveReserveInfo, error)

GetReserveInfo is a free data retrieval call binding the contract method 0x5b6333eb.

Solidity: function getReserveInfo(address _reserveHolder) view returns((uint256,uint256) info)

func (*TicketBrokerSession) GetSenderInfo

func (_TicketBroker *TicketBrokerSession) GetSenderInfo(_sender common.Address) (struct {
	Sender  MixinTicketBrokerCoreSender
	Reserve MReserveReserveInfo
}, error)

GetSenderInfo is a free data retrieval call binding the contract method 0xe1a589da.

Solidity: function getSenderInfo(address _sender) view returns((uint256,uint256) sender, (uint256,uint256) reserve)

func (*TicketBrokerSession) GetTicketHash

func (_TicketBroker *TicketBrokerSession) GetTicketHash(_ticket MTicketBrokerCoreTicket) ([32]byte, error)

GetTicketHash is a free data retrieval call binding the contract method 0xb03fa864.

Solidity: function getTicketHash((address,address,uint256,uint256,uint256,bytes32,bytes) _ticket) pure returns(bytes32)

func (*TicketBrokerSession) IsUnlockInProgress

func (_TicketBroker *TicketBrokerSession) IsUnlockInProgress(_sender common.Address) (bool, error)

IsUnlockInProgress is a free data retrieval call binding the contract method 0x121cdcc2.

Solidity: function isUnlockInProgress(address _sender) view returns(bool)

func (*TicketBrokerSession) RedeemWinningTicket

func (_TicketBroker *TicketBrokerSession) RedeemWinningTicket(_ticket MTicketBrokerCoreTicket, _sig []byte, _recipientRand *big.Int) (*types.Transaction, error)

RedeemWinningTicket is a paid mutator transaction binding the contract method 0xec8b3cb6.

Solidity: function redeemWinningTicket((address,address,uint256,uint256,uint256,bytes32,bytes) _ticket, bytes _sig, uint256 _recipientRand) returns()

func (*TicketBrokerSession) SetController

func (_TicketBroker *TicketBrokerSession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*TicketBrokerSession) SetTicketValidityPeriod

func (_TicketBroker *TicketBrokerSession) SetTicketValidityPeriod(_ticketValidityPeriod *big.Int) (*types.Transaction, error)

SetTicketValidityPeriod is a paid mutator transaction binding the contract method 0xc9297808.

Solidity: function setTicketValidityPeriod(uint256 _ticketValidityPeriod) returns()

func (*TicketBrokerSession) SetUnlockPeriod

func (_TicketBroker *TicketBrokerSession) SetUnlockPeriod(_unlockPeriod *big.Int) (*types.Transaction, error)

SetUnlockPeriod is a paid mutator transaction binding the contract method 0x3d0ddf84.

Solidity: function setUnlockPeriod(uint256 _unlockPeriod) returns()

func (*TicketBrokerSession) TargetContractId

func (_TicketBroker *TicketBrokerSession) TargetContractId() ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

func (*TicketBrokerSession) TicketValidityPeriod

func (_TicketBroker *TicketBrokerSession) TicketValidityPeriod() (*big.Int, error)

TicketValidityPeriod is a free data retrieval call binding the contract method 0x856a2cf8.

Solidity: function ticketValidityPeriod() view returns(uint256)

func (*TicketBrokerSession) Unlock

func (_TicketBroker *TicketBrokerSession) Unlock() (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.

Solidity: function unlock() returns()

func (*TicketBrokerSession) UnlockPeriod

func (_TicketBroker *TicketBrokerSession) UnlockPeriod() (*big.Int, error)

UnlockPeriod is a free data retrieval call binding the contract method 0x20d3a0b4.

Solidity: function unlockPeriod() view returns(uint256)

func (*TicketBrokerSession) UsedTickets

func (_TicketBroker *TicketBrokerSession) UsedTickets(arg0 [32]byte) (bool, error)

UsedTickets is a free data retrieval call binding the contract method 0x59a515ba.

Solidity: function usedTickets(bytes32 ) view returns(bool)

func (*TicketBrokerSession) Withdraw

func (_TicketBroker *TicketBrokerSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type TicketBrokerSetController

type TicketBrokerSetController struct {
	Controller common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

TicketBrokerSetController represents a SetController event raised by the TicketBroker contract.

type TicketBrokerSetControllerIterator

type TicketBrokerSetControllerIterator struct {
	Event *TicketBrokerSetController // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerSetControllerIterator is returned from FilterSetController and is used to iterate over the raw logs and unpacked data for SetController events raised by the TicketBroker contract.

func (*TicketBrokerSetControllerIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerSetControllerIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerSetControllerIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerTransactor

type TicketBrokerTransactor struct {
	// contains filtered or unexported fields
}

TicketBrokerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewTicketBrokerTransactor

func NewTicketBrokerTransactor(address common.Address, transactor bind.ContractTransactor) (*TicketBrokerTransactor, error)

NewTicketBrokerTransactor creates a new write-only instance of TicketBroker, bound to a specific deployed contract.

func (*TicketBrokerTransactor) BatchRedeemWinningTickets

func (_TicketBroker *TicketBrokerTransactor) BatchRedeemWinningTickets(opts *bind.TransactOpts, _tickets []MTicketBrokerCoreTicket, _sigs [][]byte, _recipientRands []*big.Int) (*types.Transaction, error)

BatchRedeemWinningTickets is a paid mutator transaction binding the contract method 0xd01b808e.

Solidity: function batchRedeemWinningTickets((address,address,uint256,uint256,uint256,bytes32,bytes)[] _tickets, bytes[] _sigs, uint256[] _recipientRands) returns()

func (*TicketBrokerTransactor) CancelUnlock

func (_TicketBroker *TicketBrokerTransactor) CancelUnlock(opts *bind.TransactOpts) (*types.Transaction, error)

CancelUnlock is a paid mutator transaction binding the contract method 0xc2c4c2c8.

Solidity: function cancelUnlock() returns()

func (*TicketBrokerTransactor) FundDeposit

func (_TicketBroker *TicketBrokerTransactor) FundDeposit(opts *bind.TransactOpts) (*types.Transaction, error)

FundDeposit is a paid mutator transaction binding the contract method 0x6caa736b.

Solidity: function fundDeposit() payable returns()

func (*TicketBrokerTransactor) FundDepositAndReserve

func (_TicketBroker *TicketBrokerTransactor) FundDepositAndReserve(opts *bind.TransactOpts, _depositAmount *big.Int, _reserveAmount *big.Int) (*types.Transaction, error)

FundDepositAndReserve is a paid mutator transaction binding the contract method 0x511f4073.

Solidity: function fundDepositAndReserve(uint256 _depositAmount, uint256 _reserveAmount) payable returns()

func (*TicketBrokerTransactor) FundDepositAndReserveFor

func (_TicketBroker *TicketBrokerTransactor) FundDepositAndReserveFor(opts *bind.TransactOpts, _addr common.Address, _depositAmount *big.Int, _reserveAmount *big.Int) (*types.Transaction, error)

FundDepositAndReserveFor is a paid mutator transaction binding the contract method 0x989f789c.

Solidity: function fundDepositAndReserveFor(address _addr, uint256 _depositAmount, uint256 _reserveAmount) payable returns()

func (*TicketBrokerTransactor) FundReserve

func (_TicketBroker *TicketBrokerTransactor) FundReserve(opts *bind.TransactOpts) (*types.Transaction, error)

FundReserve is a paid mutator transaction binding the contract method 0x6f9c3c8f.

Solidity: function fundReserve() payable returns()

func (*TicketBrokerTransactor) RedeemWinningTicket

func (_TicketBroker *TicketBrokerTransactor) RedeemWinningTicket(opts *bind.TransactOpts, _ticket MTicketBrokerCoreTicket, _sig []byte, _recipientRand *big.Int) (*types.Transaction, error)

RedeemWinningTicket is a paid mutator transaction binding the contract method 0xec8b3cb6.

Solidity: function redeemWinningTicket((address,address,uint256,uint256,uint256,bytes32,bytes) _ticket, bytes _sig, uint256 _recipientRand) returns()

func (*TicketBrokerTransactor) SetController

func (_TicketBroker *TicketBrokerTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*TicketBrokerTransactor) SetTicketValidityPeriod

func (_TicketBroker *TicketBrokerTransactor) SetTicketValidityPeriod(opts *bind.TransactOpts, _ticketValidityPeriod *big.Int) (*types.Transaction, error)

SetTicketValidityPeriod is a paid mutator transaction binding the contract method 0xc9297808.

Solidity: function setTicketValidityPeriod(uint256 _ticketValidityPeriod) returns()

func (*TicketBrokerTransactor) SetUnlockPeriod

func (_TicketBroker *TicketBrokerTransactor) SetUnlockPeriod(opts *bind.TransactOpts, _unlockPeriod *big.Int) (*types.Transaction, error)

SetUnlockPeriod is a paid mutator transaction binding the contract method 0x3d0ddf84.

Solidity: function setUnlockPeriod(uint256 _unlockPeriod) returns()

func (*TicketBrokerTransactor) Unlock

func (_TicketBroker *TicketBrokerTransactor) Unlock(opts *bind.TransactOpts) (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.

Solidity: function unlock() returns()

func (*TicketBrokerTransactor) Withdraw

func (_TicketBroker *TicketBrokerTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type TicketBrokerTransactorRaw

type TicketBrokerTransactorRaw struct {
	Contract *TicketBrokerTransactor // Generic write-only contract binding to access the raw methods on
}

TicketBrokerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*TicketBrokerTransactorRaw) Transact

func (_TicketBroker *TicketBrokerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TicketBrokerTransactorRaw) Transfer

func (_TicketBroker *TicketBrokerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type TicketBrokerTransactorSession

type TicketBrokerTransactorSession struct {
	Contract     *TicketBrokerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

TicketBrokerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*TicketBrokerTransactorSession) BatchRedeemWinningTickets

func (_TicketBroker *TicketBrokerTransactorSession) BatchRedeemWinningTickets(_tickets []MTicketBrokerCoreTicket, _sigs [][]byte, _recipientRands []*big.Int) (*types.Transaction, error)

BatchRedeemWinningTickets is a paid mutator transaction binding the contract method 0xd01b808e.

Solidity: function batchRedeemWinningTickets((address,address,uint256,uint256,uint256,bytes32,bytes)[] _tickets, bytes[] _sigs, uint256[] _recipientRands) returns()

func (*TicketBrokerTransactorSession) CancelUnlock

func (_TicketBroker *TicketBrokerTransactorSession) CancelUnlock() (*types.Transaction, error)

CancelUnlock is a paid mutator transaction binding the contract method 0xc2c4c2c8.

Solidity: function cancelUnlock() returns()

func (*TicketBrokerTransactorSession) FundDeposit

func (_TicketBroker *TicketBrokerTransactorSession) FundDeposit() (*types.Transaction, error)

FundDeposit is a paid mutator transaction binding the contract method 0x6caa736b.

Solidity: function fundDeposit() payable returns()

func (*TicketBrokerTransactorSession) FundDepositAndReserve

func (_TicketBroker *TicketBrokerTransactorSession) FundDepositAndReserve(_depositAmount *big.Int, _reserveAmount *big.Int) (*types.Transaction, error)

FundDepositAndReserve is a paid mutator transaction binding the contract method 0x511f4073.

Solidity: function fundDepositAndReserve(uint256 _depositAmount, uint256 _reserveAmount) payable returns()

func (*TicketBrokerTransactorSession) FundDepositAndReserveFor

func (_TicketBroker *TicketBrokerTransactorSession) FundDepositAndReserveFor(_addr common.Address, _depositAmount *big.Int, _reserveAmount *big.Int) (*types.Transaction, error)

FundDepositAndReserveFor is a paid mutator transaction binding the contract method 0x989f789c.

Solidity: function fundDepositAndReserveFor(address _addr, uint256 _depositAmount, uint256 _reserveAmount) payable returns()

func (*TicketBrokerTransactorSession) FundReserve

func (_TicketBroker *TicketBrokerTransactorSession) FundReserve() (*types.Transaction, error)

FundReserve is a paid mutator transaction binding the contract method 0x6f9c3c8f.

Solidity: function fundReserve() payable returns()

func (*TicketBrokerTransactorSession) RedeemWinningTicket

func (_TicketBroker *TicketBrokerTransactorSession) RedeemWinningTicket(_ticket MTicketBrokerCoreTicket, _sig []byte, _recipientRand *big.Int) (*types.Transaction, error)

RedeemWinningTicket is a paid mutator transaction binding the contract method 0xec8b3cb6.

Solidity: function redeemWinningTicket((address,address,uint256,uint256,uint256,bytes32,bytes) _ticket, bytes _sig, uint256 _recipientRand) returns()

func (*TicketBrokerTransactorSession) SetController

func (_TicketBroker *TicketBrokerTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*TicketBrokerTransactorSession) SetTicketValidityPeriod

func (_TicketBroker *TicketBrokerTransactorSession) SetTicketValidityPeriod(_ticketValidityPeriod *big.Int) (*types.Transaction, error)

SetTicketValidityPeriod is a paid mutator transaction binding the contract method 0xc9297808.

Solidity: function setTicketValidityPeriod(uint256 _ticketValidityPeriod) returns()

func (*TicketBrokerTransactorSession) SetUnlockPeriod

func (_TicketBroker *TicketBrokerTransactorSession) SetUnlockPeriod(_unlockPeriod *big.Int) (*types.Transaction, error)

SetUnlockPeriod is a paid mutator transaction binding the contract method 0x3d0ddf84.

Solidity: function setUnlockPeriod(uint256 _unlockPeriod) returns()

func (*TicketBrokerTransactorSession) Unlock

func (_TicketBroker *TicketBrokerTransactorSession) Unlock() (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.

Solidity: function unlock() returns()

func (*TicketBrokerTransactorSession) Withdraw

func (_TicketBroker *TicketBrokerTransactorSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type TicketBrokerUnlock

type TicketBrokerUnlock struct {
	Sender     common.Address
	StartRound *big.Int
	EndRound   *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

TicketBrokerUnlock represents a Unlock event raised by the TicketBroker contract.

type TicketBrokerUnlockCancelled

type TicketBrokerUnlockCancelled struct {
	Sender common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

TicketBrokerUnlockCancelled represents a UnlockCancelled event raised by the TicketBroker contract.

type TicketBrokerUnlockCancelledIterator

type TicketBrokerUnlockCancelledIterator struct {
	Event *TicketBrokerUnlockCancelled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerUnlockCancelledIterator is returned from FilterUnlockCancelled and is used to iterate over the raw logs and unpacked data for UnlockCancelled events raised by the TicketBroker contract.

func (*TicketBrokerUnlockCancelledIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerUnlockCancelledIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerUnlockCancelledIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerUnlockIterator

type TicketBrokerUnlockIterator struct {
	Event *TicketBrokerUnlock // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerUnlockIterator is returned from FilterUnlock and is used to iterate over the raw logs and unpacked data for Unlock events raised by the TicketBroker contract.

func (*TicketBrokerUnlockIterator) Close

func (it *TicketBrokerUnlockIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerUnlockIterator) Error

func (it *TicketBrokerUnlockIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerUnlockIterator) Next

func (it *TicketBrokerUnlockIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerWinningTicketRedeemed

type TicketBrokerWinningTicketRedeemed struct {
	Sender        common.Address
	Recipient     common.Address
	FaceValue     *big.Int
	WinProb       *big.Int
	SenderNonce   *big.Int
	RecipientRand *big.Int
	AuxData       []byte
	Raw           types.Log // Blockchain specific contextual infos
}

TicketBrokerWinningTicketRedeemed represents a WinningTicketRedeemed event raised by the TicketBroker contract.

type TicketBrokerWinningTicketRedeemedIterator

type TicketBrokerWinningTicketRedeemedIterator struct {
	Event *TicketBrokerWinningTicketRedeemed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerWinningTicketRedeemedIterator is returned from FilterWinningTicketRedeemed and is used to iterate over the raw logs and unpacked data for WinningTicketRedeemed events raised by the TicketBroker contract.

func (*TicketBrokerWinningTicketRedeemedIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerWinningTicketRedeemedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerWinningTicketRedeemedIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerWinningTicketTransfer

type TicketBrokerWinningTicketTransfer struct {
	Sender    common.Address
	Recipient common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

TicketBrokerWinningTicketTransfer represents a WinningTicketTransfer event raised by the TicketBroker contract.

type TicketBrokerWinningTicketTransferIterator

type TicketBrokerWinningTicketTransferIterator struct {
	Event *TicketBrokerWinningTicketTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerWinningTicketTransferIterator is returned from FilterWinningTicketTransfer and is used to iterate over the raw logs and unpacked data for WinningTicketTransfer events raised by the TicketBroker contract.

func (*TicketBrokerWinningTicketTransferIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerWinningTicketTransferIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerWinningTicketTransferIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerWithdrawal

type TicketBrokerWithdrawal struct {
	Sender  common.Address
	Deposit *big.Int
	Reserve *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

TicketBrokerWithdrawal represents a Withdrawal event raised by the TicketBroker contract.

type TicketBrokerWithdrawalIterator

type TicketBrokerWithdrawalIterator struct {
	Event *TicketBrokerWithdrawal // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the TicketBroker contract.

func (*TicketBrokerWithdrawalIterator) Close

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerWithdrawalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerWithdrawalIterator) Next

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL