contracts

package
v0.7.4 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 9 Imported by: 2

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: "[{\"constant\":false,\"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\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"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\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"}],\"name\":\"isActiveTranscoder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_unbondingLockId\",\"type\":\"uint256\"}],\"name\":\"isValidUnbondingLock\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegator\",\"type\":\"address\"}],\"name\":\"delegatorStatus\",\"outputs\":[{\"internalType\":\"enumBondingManager.DelegatorStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"reward\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"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\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"}],\"name\":\"getNextTranscoderInPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"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\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_endRound\",\"type\":\"uint256\"}],\"name\":\"claimEarnings\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_unbondingLockId\",\"type\":\"uint256\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"unbond\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getTranscoderPoolSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"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\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_unbondingLockId\",\"type\":\"uint256\"}],\"name\":\"rebondFromUnbonded\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_fees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_round\",\"type\":\"uint256\"}],\"name\":\"updateTranscoderWithFees\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"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\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"currentRoundTotalActiveStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardCut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_feeShare\",\"type\":\"uint256\"}],\"name\":\"transcoder\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"nextRoundTotalActiveStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"targetContractId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getTranscoderPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getTotalBonded\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"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\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_numActiveTranscoders\",\"type\":\"uint256\"}],\"name\":\"setNumActiveTranscoders\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"}],\"name\":\"isRegisteredTranscoder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"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\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"unbondingPeriod\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"setCurrentRoundTotalActiveStake\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_unbondingLockId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_newPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newPosNext\",\"type\":\"address\"}],\"name\":\"rebondWithHint\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newPosNext\",\"type\":\"address\"}],\"name\":\"rewardWithHint\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getFirstTranscoderInPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"}],\"name\":\"transcoderStatus\",\"outputs\":[{\"internalType\":\"enumBondingManager.TranscoderStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"setController\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_newPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newPosNext\",\"type\":\"address\"}],\"name\":\"unbondWithHint\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_endRound\",\"type\":\"uint256\"}],\"name\":\"pendingStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"}],\"name\":\"transcoderTotalStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"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\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"withdrawFees\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"bond\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_unbondingLockId\",\"type\":\"uint256\"}],\"name\":\"rebond\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"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\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"_unbondingPeriod\",\"type\":\"uint64\"}],\"name\":\"setUnbondingPeriod\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_endRound\",\"type\":\"uint256\"}],\"name\":\"pendingFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"controller\",\"outputs\":[{\"internalType\":\"contractIController\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":\"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\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"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\":\"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\":\"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\":\"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\"},{\"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\":\"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\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"SetController\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"param\",\"type\":\"string\"}],\"name\":\"ParameterUpdate\",\"type\":\"event\"}]",
}

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: "[{\"constant\":false,\"inputs\":[],\"name\":\"unpause\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"paused\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getContractInfo\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"},{\"internalType\":\"bytes20\",\"name\":\"\",\"type\":\"bytes20\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"pause\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_contractAddress\",\"type\":\"address\"},{\"internalType\":\"bytes20\",\"name\":\"_gitCommitHash\",\"type\":\"bytes20\"}],\"name\":\"setContractInfo\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"}],\"name\":\"getContract\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_id\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"updateController\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":\"Pause\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[],\"name\":\"Unpause\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"}]",
}

ControllerMetaData contains all meta data concerning the Controller contract.

View Source
var L1BondingManagerABI = L1BondingManagerMetaData.ABI

L1BondingManagerABI is the input ABI used to generate the binding from. Deprecated: Use L1BondingManagerMetaData.ABI instead.

View Source
var L1BondingManagerMetaData = &bind.MetaData{
	ABI: "[{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"activeTranscoderSetDEPRECATED\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"totalStake\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"maxEarningsClaimsRounds\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"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\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"}],\"name\":\"isActiveTranscoder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_unbondingLockId\",\"type\":\"uint256\"}],\"name\":\"isValidUnbondingLock\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegator\",\"type\":\"address\"}],\"name\":\"delegatorStatus\",\"outputs\":[{\"internalType\":\"enumBondingManager.DelegatorStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"reward\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"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\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"}],\"name\":\"getNextTranscoderInPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_round\",\"type\":\"uint256\"}],\"name\":\"getTranscoderEarningsPoolForRound\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"rewardPool\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"feePool\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"totalStake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"claimableStake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"transcoderRewardCut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"transcoderFeeShare\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"transcoderRewardPool\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"transcoderFeePool\",\"type\":\"uint256\"},{\"internalType\":\"bool\",\"name\":\"hasTranscoderRewardFeePool\",\"type\":\"bool\"},{\"internalType\":\"uint256\",\"name\":\"cumulativeRewardFactor\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"cumulativeFeeFactor\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_endRound\",\"type\":\"uint256\"}],\"name\":\"claimEarnings\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_unbondingLockId\",\"type\":\"uint256\"}],\"name\":\"withdrawStake\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"unbond\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getTranscoderPoolSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_bondedAmount\",\"type\":\"uint256\"}],\"name\":\"executeLIP77\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"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\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_unbondingLockId\",\"type\":\"uint256\"}],\"name\":\"rebondFromUnbonded\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_fees\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_round\",\"type\":\"uint256\"}],\"name\":\"updateTranscoderWithFees\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"numActiveTranscodersDEPRECATED\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"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\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"currentRoundTotalActiveStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_rewardCut\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_feeShare\",\"type\":\"uint256\"}],\"name\":\"transcoder\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"nextRoundTotalActiveStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"withdrawFees\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"targetContractId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getTranscoderPoolMaxSize\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getTotalBonded\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"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\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_numActiveTranscoders\",\"type\":\"uint256\"}],\"name\":\"setNumActiveTranscoders\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"}],\"name\":\"isRegisteredTranscoder\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"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\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"unbondingPeriod\",\"outputs\":[{\"internalType\":\"uint64\",\"name\":\"\",\"type\":\"uint64\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"setCurrentRoundTotalActiveStake\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_maxEarningsClaimsRounds\",\"type\":\"uint256\"}],\"name\":\"setMaxEarningsClaimsRounds\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_unbondingLockId\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_newPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newPosNext\",\"type\":\"address\"}],\"name\":\"rebondWithHint\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newPosNext\",\"type\":\"address\"}],\"name\":\"rewardWithHint\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getFirstTranscoderInPool\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"}],\"name\":\"transcoderStatus\",\"outputs\":[{\"internalType\":\"enumBondingManager.TranscoderStatus\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"setController\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_newPosPrev\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_newPosNext\",\"type\":\"address\"}],\"name\":\"unbondWithHint\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_endRound\",\"type\":\"uint256\"}],\"name\":\"pendingStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_transcoder\",\"type\":\"address\"}],\"name\":\"transcoderTotalStake\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"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\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"}],\"name\":\"bond\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_pendingStake\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_pendingFees\",\"type\":\"uint256\"},{\"internalType\":\"bytes32[]\",\"name\":\"_earningsProof\",\"type\":\"bytes32[]\"},{\"internalType\":\"bytes\",\"name\":\"_data\",\"type\":\"bytes\"}],\"name\":\"claimSnapshotEarnings\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_unbondingLockId\",\"type\":\"uint256\"}],\"name\":\"rebond\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint64\",\"name\":\"_unbondingPeriod\",\"type\":\"uint64\"}],\"name\":\"setUnbondingPeriod\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_delegator\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_endRound\",\"type\":\"uint256\"}],\"name\":\"pendingFees\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"controller\",\"outputs\":[{\"internalType\":\"contractIController\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\":\"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\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Reward\",\"type\":\"event\"},{\"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\":\"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\":\"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\":\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"delegator\",\"type\":\"address\"}],\"name\":\"WithdrawFees\",\"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\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"SetController\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"param\",\"type\":\"string\"}],\"name\":\"ParameterUpdate\",\"type\":\"event\"}]",
}

L1BondingManagerMetaData contains all meta data concerning the L1BondingManager 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 LivepeerTokenFaucetABI = LivepeerTokenFaucetMetaData.ABI

LivepeerTokenFaucetABI is the input ABI used to generate the binding from. Deprecated: Use LivepeerTokenFaucetMetaData.ABI instead.

View Source
var LivepeerTokenFaucetMetaData = &bind.MetaData{
	ABI: "[{\"constant\":true,\"inputs\":[],\"name\":\"requestWait\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"nextValidRequest\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"request\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"name\":\"isWhitelisted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"removeFromWhitelist\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"addToWhitelist\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"requestAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"token\",\"outputs\":[{\"internalType\":\"contractILivepeerToken\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_token\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_requestAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_requestWait\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"to\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"Request\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"previousOwner\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"OwnershipTransferred\",\"type\":\"event\"}]",
}

LivepeerTokenFaucetMetaData contains all meta data concerning the LivepeerTokenFaucet contract.

View Source
var LivepeerTokenMetaData = &bind.MetaData{
	ABI: "[{\"constant\":true,\"inputs\":[],\"name\":\"mintingFinished\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"name\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"approve\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"totalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"sender\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transferFrom\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"decimals\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"addedValue\",\"type\":\"uint256\"}],\"name\":\"increaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"mint\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"burn\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"account\",\"type\":\"address\"}],\"name\":\"balanceOf\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"finishMinting\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"owner\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"symbol\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"subtractedValue\",\"type\":\"uint256\"}],\"name\":\"decreaseAllowance\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"recipient\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"amount\",\"type\":\"uint256\"}],\"name\":\"transfer\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"owner\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"spender\",\"type\":\"address\"}],\"name\":\"allowance\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"newOwner\",\"type\":\"address\"}],\"name\":\"transferOwnership\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"burner\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"value\",\"type\":\"uint256\"}],\"name\":\"Burn\",\"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\":[],\"name\":\"MintFinished\",\"type\":\"event\"},{\"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\":[{\"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\"},{\"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\"}]",
}

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: "[{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_inflationChange\",\"type\":\"uint256\"}],\"name\":\"setInflationChange\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"contractIMinter\",\"name\":\"_newMinter\",\"type\":\"address\"}],\"name\":\"migrateToNewMinter\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"addresspayable\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"trustedWithdrawETH\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"currentMintedTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getController\",\"outputs\":[{\"internalType\":\"contractIController\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"getGlobalTotalSupply\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_targetBondingRate\",\"type\":\"uint256\"}],\"name\":\"setTargetBondingRate\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_fracNum\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_fracDenom\",\"type\":\"uint256\"}],\"name\":\"createReward\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"targetBondingRate\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"setController\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"currentMintableTokens\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"inflationChange\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"inflation\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"trustedBurnTokens\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_amount\",\"type\":\"uint256\"}],\"name\":\"trustedTransferTokens\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"setCurrentRewardTokens\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"depositETH\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"controller\",\"outputs\":[{\"internalType\":\"contractIController\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"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\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"currentMintableTokens\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"currentInflation\",\"type\":\"uint256\"}],\"name\":\"SetCurrentRewardTokens\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"SetController\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"param\",\"type\":\"string\"}],\"name\":\"ParameterUpdate\",\"type\":\"event\"}]",
}

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: "[{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_choiceID\",\"type\":\"uint256\"}],\"name\":\"vote\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"endBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"destroy\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_endBlock\",\"type\":\"uint256\"}],\"payable\":false,\"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\"}]",
}

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: "[{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_roundLockAmount\",\"type\":\"uint256\"}],\"name\":\"setRoundLockAmount\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lastRoundLengthUpdateRound\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_lip\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_round\",\"type\":\"uint256\"}],\"name\":\"setLIPUpgradeRound\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"name\":\"lipUpgradeRound\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"currentRoundInitialized\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_round\",\"type\":\"uint256\"}],\"name\":\"blockHashForRound\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"targetContractId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lastRoundLengthUpdateStartBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_roundLength\",\"type\":\"uint256\"}],\"name\":\"setRoundLength\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"currentRoundLocked\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_block\",\"type\":\"uint256\"}],\"name\":\"blockHash\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"lastInitializedRound\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"currentRound\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"blockNum\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"roundLength\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"currentRoundStartBlock\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"setController\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"initializeRound\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"roundLockAmount\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"controller\",\"outputs\":[{\"internalType\":\"contractIController\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"payable\":false,\"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\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"SetController\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"param\",\"type\":\"string\"}],\"name\":\"ParameterUpdate\",\"type\":\"event\"}]",
}

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: "[{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"}],\"name\":\"getServiceURI\",\"outputs\":[{\"internalType\":\"string\",\"name\":\"\",\"type\":\"string\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"targetContractId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"string\",\"name\":\"_serviceURI\",\"type\":\"string\"}],\"name\":\"setServiceURI\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"setController\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"controller\",\"outputs\":[{\"internalType\":\"contractIController\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"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\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"param\",\"type\":\"string\"}],\"name\":\"ParameterUpdate\",\"type\":\"event\"}]",
}

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: "[{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"}],\"name\":\"isUnlockInProgress\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"unlockPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"withdraw\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_unlockPeriod\",\"type\":\"uint256\"}],\"name\":\"setUnlockPeriod\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reserveHolder\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_claimant\",\"type\":\"address\"}],\"name\":\"claimedReserve\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_depositAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reserveAmount\",\"type\":\"uint256\"}],\"name\":\"fundDepositAndReserve\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"targetContractId\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"usedTickets\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"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\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"fundDeposit\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"fundReserve\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_reserveHolder\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_claimant\",\"type\":\"address\"}],\"name\":\"claimableReserve\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"ticketValidityPeriod\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"name\":\"setController\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"address\",\"name\":\"_addr\",\"type\":\"address\"},{\"internalType\":\"uint256\",\"name\":\"_depositAmount\",\"type\":\"uint256\"},{\"internalType\":\"uint256\",\"name\":\"_reserveAmount\",\"type\":\"uint256\"}],\"name\":\"fundDepositAndReserveFor\",\"outputs\":[],\"payable\":true,\"stateMutability\":\"payable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"unlock\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"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\"}],\"payable\":false,\"stateMutability\":\"pure\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[],\"name\":\"cancelUnlock\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_ticketValidityPeriod\",\"type\":\"uint256\"}],\"name\":\"setTicketValidityPeriod\",\"outputs\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":false,\"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\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"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\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"constant\":false,\"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\":[],\"payable\":false,\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"constant\":true,\"inputs\":[],\"name\":\"controller\",\"outputs\":[{\"internalType\":\"contractIController\",\"name\":\"\",\"type\":\"address\"}],\"payable\":false,\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_controller\",\"type\":\"address\"}],\"payable\":false,\"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\":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\":\"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\":false,\"internalType\":\"uint256\",\"name\":\"deposit\",\"type\":\"uint256\"},{\"indexed\":false,\"internalType\":\"uint256\",\"name\":\"reserve\",\"type\":\"uint256\"}],\"name\":\"Withdrawal\",\"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\":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\":false,\"internalType\":\"address\",\"name\":\"controller\",\"type\":\"address\"}],\"name\":\"SetController\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"string\",\"name\":\"param\",\"type\":\"string\"}],\"name\":\"ParameterUpdate\",\"type\":\"event\"}]",
}

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 added in v0.3.3

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

BondingManagerBond represents a Bond event raised by the BondingManager contract.

type BondingManagerBondIterator added in v0.3.3

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

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

func (*BondingManagerBondIterator) Close added in v0.3.3

func (it *BondingManagerBondIterator) Close() error

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

func (*BondingManagerBondIterator) Error added in v0.3.3

func (it *BondingManagerBondIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerBondIterator) Next added in v0.3.3

func (it *BondingManagerBondIterator) Next() bool

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

type BondingManagerCaller

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

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

func NewBondingManagerCaller

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

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

func (*BondingManagerCaller) 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 added in v0.5.0

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

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

Solidity: function currentRoundTotalActiveStake() 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 added in v0.3.3

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

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

Solidity: function getDelegatorUnbondingLock(address _delegator, uint256 _unbondingLockId) 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 added in v0.3.3

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 added in v0.3.3

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

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

Solidity: function getTranscoderPoolMaxSize() 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 added in v0.3.3

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

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

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

func (*BondingManagerCaller) IsValidUnbondingLock added in v0.3.3

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

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

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

func (*BondingManagerCaller) NextRoundTotalActiveStake added in v0.5.0

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

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

Solidity: function nextRoundTotalActiveStake() view returns(uint256)

func (*BondingManagerCaller) PendingFees added in v0.3.3

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

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

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

func (*BondingManagerCaller) PendingStake added in v0.3.3

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

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

Solidity: function pendingStake(address _delegator, uint256 _endRound) 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) 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) 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 added in v0.5.0

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

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

Solidity: function currentRoundTotalActiveStake() 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 added in v0.3.3

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

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

Solidity: function getDelegatorUnbondingLock(address _delegator, uint256 _unbondingLockId) 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 added in v0.3.3

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 added in v0.3.3

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

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

Solidity: function getTranscoderPoolMaxSize() 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 added in v0.3.3

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

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

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

func (*BondingManagerCallerSession) IsValidUnbondingLock added in v0.3.3

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

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

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

func (*BondingManagerCallerSession) NextRoundTotalActiveStake added in v0.5.0

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

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

Solidity: function nextRoundTotalActiveStake() view returns(uint256)

func (*BondingManagerCallerSession) PendingFees added in v0.3.3

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

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

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

func (*BondingManagerCallerSession) PendingStake added in v0.3.3

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

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

Solidity: function pendingStake(address _delegator, uint256 _endRound) 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) 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) 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 added in v0.5.0

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

BondingManagerEarningsClaimed represents a EarningsClaimed event raised by the BondingManager contract.

type BondingManagerEarningsClaimedIterator added in v0.5.0

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

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

func (*BondingManagerEarningsClaimedIterator) Close added in v0.5.0

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

func (*BondingManagerEarningsClaimedIterator) Error added in v0.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerEarningsClaimedIterator) Next added in v0.5.0

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

type BondingManagerFilterer added in v0.3.3

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

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

func NewBondingManagerFilterer added in v0.3.3

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

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

func (*BondingManagerFilterer) FilterBond added in v0.3.3

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

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

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

func (*BondingManagerFilterer) FilterEarningsClaimed added in v0.5.0

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

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

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

func (*BondingManagerFilterer) FilterParameterUpdate added in v0.3.3

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

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

Solidity: event ParameterUpdate(string param)

func (*BondingManagerFilterer) FilterRebond added in v0.3.3

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

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

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

func (*BondingManagerFilterer) FilterReward added in v0.3.3

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

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

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

func (*BondingManagerFilterer) FilterSetController added in v0.3.3

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

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

Solidity: event SetController(address controller)

func (*BondingManagerFilterer) FilterTranscoderActivated added in v0.5.0

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

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

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

func (*BondingManagerFilterer) FilterTranscoderDeactivated added in v0.5.0

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

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

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

func (*BondingManagerFilterer) FilterTranscoderSlashed added in v0.3.3

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

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

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

func (*BondingManagerFilterer) FilterTranscoderUpdate added in v0.3.3

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

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

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

func (*BondingManagerFilterer) FilterUnbond added in v0.3.3

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

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

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

func (*BondingManagerFilterer) FilterWithdrawFees added in v0.3.3

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

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

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

func (*BondingManagerFilterer) FilterWithdrawStake added in v0.3.3

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

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

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

func (*BondingManagerFilterer) ParseBond added in v0.5.0

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

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

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

func (*BondingManagerFilterer) ParseEarningsClaimed added in v0.5.0

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

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

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

func (*BondingManagerFilterer) ParseParameterUpdate added in v0.5.0

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

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

Solidity: event ParameterUpdate(string param)

func (*BondingManagerFilterer) ParseRebond added in v0.5.0

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

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

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

func (*BondingManagerFilterer) ParseReward added in v0.5.0

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

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

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

func (*BondingManagerFilterer) ParseSetController added in v0.5.0

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

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

Solidity: event SetController(address controller)

func (*BondingManagerFilterer) ParseTranscoderActivated added in v0.5.0

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

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

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

func (*BondingManagerFilterer) ParseTranscoderDeactivated added in v0.5.0

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

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

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

func (*BondingManagerFilterer) ParseTranscoderSlashed added in v0.5.0

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

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

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

func (*BondingManagerFilterer) ParseTranscoderUpdate added in v0.5.0

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

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

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

func (*BondingManagerFilterer) ParseUnbond added in v0.5.0

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

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

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

func (*BondingManagerFilterer) ParseWithdrawFees added in v0.5.0

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

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

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

func (*BondingManagerFilterer) ParseWithdrawStake added in v0.5.0

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

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

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

func (*BondingManagerFilterer) WatchBond added in v0.3.3

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

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

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

func (*BondingManagerFilterer) WatchEarningsClaimed added in v0.5.0

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

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

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

func (*BondingManagerFilterer) WatchParameterUpdate added in v0.3.3

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

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

Solidity: event ParameterUpdate(string param)

func (*BondingManagerFilterer) WatchRebond added in v0.3.3

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

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

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

func (*BondingManagerFilterer) WatchReward added in v0.3.3

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

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

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

func (*BondingManagerFilterer) WatchSetController added in v0.3.3

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

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

Solidity: event SetController(address controller)

func (*BondingManagerFilterer) WatchTranscoderActivated added in v0.5.0

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

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

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

func (*BondingManagerFilterer) WatchTranscoderDeactivated added in v0.5.0

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

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

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

func (*BondingManagerFilterer) WatchTranscoderSlashed added in v0.3.3

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

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

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

func (*BondingManagerFilterer) WatchTranscoderUpdate added in v0.3.3

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

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

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

func (*BondingManagerFilterer) WatchUnbond added in v0.3.3

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

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

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

func (*BondingManagerFilterer) WatchWithdrawFees added in v0.3.3

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

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

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

func (*BondingManagerFilterer) WatchWithdrawStake added in v0.3.3

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

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

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

type BondingManagerParameterUpdate added in v0.3.3

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

BondingManagerParameterUpdate represents a ParameterUpdate event raised by the BondingManager contract.

type BondingManagerParameterUpdateIterator added in v0.3.3

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

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

func (*BondingManagerParameterUpdateIterator) Close added in v0.3.3

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

func (*BondingManagerParameterUpdateIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerParameterUpdateIterator) Next added in v0.3.3

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

type BondingManagerRaw

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

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

func (*BondingManagerRaw) Call

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

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

func (*BondingManagerRaw) Transact

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

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

func (*BondingManagerRaw) Transfer

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

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

type BondingManagerRebond added in v0.3.3

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

BondingManagerRebond represents a Rebond event raised by the BondingManager contract.

type BondingManagerRebondIterator added in v0.3.3

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

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

func (*BondingManagerRebondIterator) Close added in v0.3.3

func (it *BondingManagerRebondIterator) Close() error

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

func (*BondingManagerRebondIterator) Error added in v0.3.3

func (it *BondingManagerRebondIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerRebondIterator) Next added in v0.3.3

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

type BondingManagerReward added in v0.3.3

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

BondingManagerReward represents a Reward event raised by the BondingManager contract.

type BondingManagerRewardIterator added in v0.3.3

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

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

func (*BondingManagerRewardIterator) Close added in v0.3.3

func (it *BondingManagerRewardIterator) Close() error

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

func (*BondingManagerRewardIterator) Error added in v0.3.3

func (it *BondingManagerRewardIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerRewardIterator) Next added in v0.3.3

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 added in v0.5.26

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 added in v0.5.0

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

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

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

func (*BondingManagerSession) ClaimEarnings added in v0.3.3

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

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

Solidity: function claimEarnings(uint256 _endRound) returns()

func (*BondingManagerSession) Controller

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

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

Solidity: function controller() view returns(address)

func (*BondingManagerSession) CurrentRoundTotalActiveStake added in v0.5.0

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

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

Solidity: function currentRoundTotalActiveStake() 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 added in v0.3.3

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

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

Solidity: function getDelegatorUnbondingLock(address _delegator, uint256 _unbondingLockId) 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 added in v0.3.3

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 added in v0.3.3

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

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

Solidity: function getTranscoderPoolMaxSize() 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 added in v0.3.3

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

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

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

func (*BondingManagerSession) IsValidUnbondingLock added in v0.3.3

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

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

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

func (*BondingManagerSession) NextRoundTotalActiveStake added in v0.5.0

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

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

Solidity: function nextRoundTotalActiveStake() view returns(uint256)

func (*BondingManagerSession) PendingFees added in v0.3.3

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

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

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

func (*BondingManagerSession) PendingStake added in v0.3.3

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

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

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

func (*BondingManagerSession) Rebond added in v0.3.3

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

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

Solidity: function rebond(uint256 _unbondingLockId) returns()

func (*BondingManagerSession) RebondFromUnbonded added in v0.3.3

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

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

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

func (*BondingManagerSession) RebondFromUnbondedWithHint added in v0.5.0

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

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

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

func (*BondingManagerSession) RebondWithHint added in v0.5.0

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

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

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

func (*BondingManagerSession) Reward

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

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

Solidity: function reward() returns()

func (*BondingManagerSession) RewardWithHint added in v0.5.0

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

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

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

func (*BondingManagerSession) SetController

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

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

Solidity: function setController(address _controller) returns()

func (*BondingManagerSession) SetCurrentRoundTotalActiveStake added in v0.5.0

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

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

Solidity: function setCurrentRoundTotalActiveStake() returns()

func (*BondingManagerSession) SetNumActiveTranscoders

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

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

Solidity: function setNumActiveTranscoders(uint256 _numActiveTranscoders) returns()

func (*BondingManagerSession) SetUnbondingPeriod

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

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

Solidity: function setUnbondingPeriod(uint64 _unbondingPeriod) returns()

func (*BondingManagerSession) SlashTranscoder

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

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

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

func (*BondingManagerSession) TargetContractId

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

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

Solidity: function targetContractId() 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) 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 added in v0.5.0

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

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

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

func (*BondingManagerSession) TransferBond added in v0.5.26

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) Unbond

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

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

Solidity: function unbond(uint256 _amount) returns()

func (*BondingManagerSession) UnbondWithHint added in v0.5.0

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

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

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

func (*BondingManagerSession) UnbondingPeriod

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

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

Solidity: function unbondingPeriod() 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 added in v0.3.3

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 added in v0.3.3

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

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

Solidity: function withdrawStake(uint256 _unbondingLockId) returns()

type BondingManagerSetController added in v0.3.3

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

BondingManagerSetController represents a SetController event raised by the BondingManager contract.

type BondingManagerSetControllerIterator added in v0.3.3

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

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

func (*BondingManagerSetControllerIterator) Close added in v0.3.3

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

func (*BondingManagerSetControllerIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerSetControllerIterator) Next added in v0.3.3

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 added in v0.5.26

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 added in v0.5.0

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

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

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

func (*BondingManagerTransactor) ClaimEarnings added in v0.3.3

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

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

Solidity: function claimEarnings(uint256 _endRound) returns()

func (*BondingManagerTransactor) Rebond added in v0.3.3

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

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

Solidity: function rebond(uint256 _unbondingLockId) returns()

func (*BondingManagerTransactor) RebondFromUnbonded added in v0.3.3

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

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

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

func (*BondingManagerTransactor) RebondFromUnbondedWithHint added in v0.5.0

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

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

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

func (*BondingManagerTransactor) RebondWithHint added in v0.5.0

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

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

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

func (*BondingManagerTransactor) Reward

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

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

Solidity: function reward() returns()

func (*BondingManagerTransactor) RewardWithHint added in v0.5.0

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

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

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

func (*BondingManagerTransactor) SetController

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

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

Solidity: function setController(address _controller) returns()

func (*BondingManagerTransactor) SetCurrentRoundTotalActiveStake added in v0.5.0

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

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

Solidity: function setCurrentRoundTotalActiveStake() returns()

func (*BondingManagerTransactor) SetNumActiveTranscoders

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

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

Solidity: function setNumActiveTranscoders(uint256 _numActiveTranscoders) returns()

func (*BondingManagerTransactor) SetUnbondingPeriod

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

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

Solidity: function setUnbondingPeriod(uint64 _unbondingPeriod) returns()

func (*BondingManagerTransactor) SlashTranscoder

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

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

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

func (*BondingManagerTransactor) Transcoder

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

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

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

func (*BondingManagerTransactor) TranscoderWithHint added in v0.5.0

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

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

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

func (*BondingManagerTransactor) TransferBond added in v0.5.26

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 added in v0.5.0

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

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

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

func (*BondingManagerTransactor) UpdateTranscoderWithFees

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

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

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

func (*BondingManagerTransactor) WithdrawFees added in v0.3.3

func (_BondingManager *BondingManagerTransactor) WithdrawFees(opts *bind.TransactOpts, _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 added in v0.3.3

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

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

Solidity: function withdrawStake(uint256 _unbondingLockId) returns()

type BondingManagerTransactorRaw

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

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

func (*BondingManagerTransactorRaw) Transact

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

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

func (*BondingManagerTransactorRaw) Transfer

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

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

type BondingManagerTransactorSession

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

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

func (*BondingManagerTransactorSession) Bond

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

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

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

func (*BondingManagerTransactorSession) BondForWithHint added in v0.5.26

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 added in v0.5.0

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

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

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

func (*BondingManagerTransactorSession) ClaimEarnings added in v0.3.3

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

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

Solidity: function claimEarnings(uint256 _endRound) returns()

func (*BondingManagerTransactorSession) Rebond added in v0.3.3

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

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

Solidity: function rebond(uint256 _unbondingLockId) returns()

func (*BondingManagerTransactorSession) RebondFromUnbonded added in v0.3.3

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

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

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

func (*BondingManagerTransactorSession) RebondFromUnbondedWithHint added in v0.5.0

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

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

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

func (*BondingManagerTransactorSession) RebondWithHint added in v0.5.0

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

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

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

func (*BondingManagerTransactorSession) Reward

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

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

Solidity: function reward() returns()

func (*BondingManagerTransactorSession) RewardWithHint added in v0.5.0

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

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

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

func (*BondingManagerTransactorSession) SetController

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

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

Solidity: function setController(address _controller) returns()

func (*BondingManagerTransactorSession) SetCurrentRoundTotalActiveStake added in v0.5.0

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

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

Solidity: function setCurrentRoundTotalActiveStake() returns()

func (*BondingManagerTransactorSession) SetNumActiveTranscoders

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

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

Solidity: function setNumActiveTranscoders(uint256 _numActiveTranscoders) returns()

func (*BondingManagerTransactorSession) SetUnbondingPeriod

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

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

Solidity: function setUnbondingPeriod(uint64 _unbondingPeriod) returns()

func (*BondingManagerTransactorSession) SlashTranscoder

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

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

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

func (*BondingManagerTransactorSession) Transcoder

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

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

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

func (*BondingManagerTransactorSession) TranscoderWithHint added in v0.5.0

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

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

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

func (*BondingManagerTransactorSession) TransferBond added in v0.5.26

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 added in v0.5.0

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

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

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

func (*BondingManagerTransactorSession) UpdateTranscoderWithFees

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

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

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

func (*BondingManagerTransactorSession) WithdrawFees added in v0.3.3

func (_BondingManager *BondingManagerTransactorSession) WithdrawFees(_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 added in v0.3.3

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

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

Solidity: function withdrawStake(uint256 _unbondingLockId) returns()

type BondingManagerTranscoderActivated added in v0.5.0

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

BondingManagerTranscoderActivated represents a TranscoderActivated event raised by the BondingManager contract.

type BondingManagerTranscoderActivatedIterator added in v0.5.0

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

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

func (*BondingManagerTranscoderActivatedIterator) Close added in v0.5.0

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

func (*BondingManagerTranscoderActivatedIterator) Error added in v0.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerTranscoderActivatedIterator) Next added in v0.5.0

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

type BondingManagerTranscoderDeactivated added in v0.5.0

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

BondingManagerTranscoderDeactivated represents a TranscoderDeactivated event raised by the BondingManager contract.

type BondingManagerTranscoderDeactivatedIterator added in v0.5.0

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

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

func (*BondingManagerTranscoderDeactivatedIterator) Close added in v0.5.0

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

func (*BondingManagerTranscoderDeactivatedIterator) Error added in v0.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerTranscoderDeactivatedIterator) Next added in v0.5.0

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

type BondingManagerTranscoderSlashed added in v0.3.3

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

BondingManagerTranscoderSlashed represents a TranscoderSlashed event raised by the BondingManager contract.

type BondingManagerTranscoderSlashedIterator added in v0.3.3

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

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

func (*BondingManagerTranscoderSlashedIterator) Close added in v0.3.3

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

func (*BondingManagerTranscoderSlashedIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerTranscoderSlashedIterator) Next added in v0.3.3

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

type BondingManagerTranscoderUpdate added in v0.3.3

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

BondingManagerTranscoderUpdate represents a TranscoderUpdate event raised by the BondingManager contract.

type BondingManagerTranscoderUpdateIterator added in v0.3.3

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

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

func (*BondingManagerTranscoderUpdateIterator) Close added in v0.3.3

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

func (*BondingManagerTranscoderUpdateIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerTranscoderUpdateIterator) Next added in v0.3.3

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

type BondingManagerUnbond added in v0.3.3

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

BondingManagerUnbond represents a Unbond event raised by the BondingManager contract.

type BondingManagerUnbondIterator added in v0.3.3

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

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

func (*BondingManagerUnbondIterator) Close added in v0.3.3

func (it *BondingManagerUnbondIterator) Close() error

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

func (*BondingManagerUnbondIterator) Error added in v0.3.3

func (it *BondingManagerUnbondIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerUnbondIterator) Next added in v0.3.3

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

type BondingManagerWithdrawFees added in v0.3.3

type BondingManagerWithdrawFees struct {
	Delegator common.Address
	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 added in v0.3.3

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

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

func (*BondingManagerWithdrawFeesIterator) Close added in v0.3.3

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

func (*BondingManagerWithdrawFeesIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerWithdrawFeesIterator) Next added in v0.3.3

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

type BondingManagerWithdrawStake added in v0.3.3

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

BondingManagerWithdrawStake represents a WithdrawStake event raised by the BondingManager contract.

type BondingManagerWithdrawStakeIterator added in v0.3.3

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

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

func (*BondingManagerWithdrawStakeIterator) Close added in v0.3.3

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

func (*BondingManagerWithdrawStakeIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*BondingManagerWithdrawStakeIterator) Next added in v0.3.3

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 added in v0.3.3

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

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

Solidity: function getContractInfo(bytes32 _id) 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 added in v0.3.3

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

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

Solidity: function getContractInfo(bytes32 _id) 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 added in v0.3.3

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

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

func NewControllerFilterer added in v0.3.3

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

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

func (*ControllerFilterer) FilterOwnershipTransferred added in v0.3.3

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

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

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

func (*ControllerFilterer) FilterPause added in v0.3.3

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

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

Solidity: event Pause()

func (*ControllerFilterer) FilterSetContractInfo added in v0.3.3

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

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

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

func (*ControllerFilterer) FilterUnpause added in v0.3.3

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

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

Solidity: event Unpause()

func (*ControllerFilterer) ParseOwnershipTransferred added in v0.5.0

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

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

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

func (*ControllerFilterer) ParsePause added in v0.5.0

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

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

Solidity: event Pause()

func (*ControllerFilterer) ParseSetContractInfo added in v0.5.0

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

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

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

func (*ControllerFilterer) ParseUnpause added in v0.5.0

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

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

Solidity: event Unpause()

func (*ControllerFilterer) WatchOwnershipTransferred added in v0.3.3

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

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

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

func (*ControllerFilterer) WatchPause added in v0.3.3

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

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

Solidity: event Pause()

func (*ControllerFilterer) WatchSetContractInfo added in v0.3.3

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

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

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

func (*ControllerFilterer) WatchUnpause added in v0.3.3

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

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

Solidity: event Unpause()

type ControllerOwnershipTransferred added in v0.3.3

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

ControllerOwnershipTransferred represents a OwnershipTransferred event raised by the Controller contract.

type ControllerOwnershipTransferredIterator added in v0.3.3

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

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

func (*ControllerOwnershipTransferredIterator) Close added in v0.3.3

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

func (*ControllerOwnershipTransferredIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*ControllerOwnershipTransferredIterator) Next added in v0.3.3

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

type ControllerPause added in v0.3.3

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

ControllerPause represents a Pause event raised by the Controller contract.

type ControllerPauseIterator added in v0.3.3

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

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

func (*ControllerPauseIterator) Close added in v0.3.3

func (it *ControllerPauseIterator) Close() error

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

func (*ControllerPauseIterator) Error added in v0.3.3

func (it *ControllerPauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ControllerPauseIterator) Next added in v0.3.3

func (it *ControllerPauseIterator) Next() bool

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

type ControllerRaw

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

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

func (*ControllerRaw) Call

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

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

func (*ControllerRaw) Transact

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

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

func (*ControllerRaw) Transfer

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

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

type ControllerSession

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

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

func (*ControllerSession) GetContract

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

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

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

func (*ControllerSession) GetContractInfo added in v0.3.3

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

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

Solidity: function getContractInfo(bytes32 _id) 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 added in v0.3.3

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

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

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

func (*ControllerSession) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

func (*ControllerSession) Unpause

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

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

Solidity: function unpause() returns()

func (*ControllerSession) UpdateController

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

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

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

type ControllerSetContractInfo added in v0.3.3

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

ControllerSetContractInfo represents a SetContractInfo event raised by the Controller contract.

type ControllerSetContractInfoIterator added in v0.3.3

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

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

func (*ControllerSetContractInfoIterator) Close added in v0.3.3

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

func (*ControllerSetContractInfoIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*ControllerSetContractInfoIterator) Next added in v0.3.3

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

type ControllerTransactor

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

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

func NewControllerTransactor

func NewControllerTransactor(address common.Address, transactor bind.ContractTransactor) (*ControllerTransactor, error)

NewControllerTransactor creates a new write-only instance of Controller, bound to a specific deployed contract.

func (*ControllerTransactor) Pause

func (_Controller *ControllerTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*ControllerTransactor) SetContractInfo added in v0.3.3

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

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

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

func (*ControllerTransactor) TransferOwnership

func (_Controller *ControllerTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*ControllerTransactor) Unpause

func (_Controller *ControllerTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*ControllerTransactor) UpdateController

func (_Controller *ControllerTransactor) UpdateController(opts *bind.TransactOpts, _id [32]byte, _controller common.Address) (*types.Transaction, error)

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

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

type ControllerTransactorRaw

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

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

func (*ControllerTransactorRaw) Transact

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

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

func (*ControllerTransactorRaw) Transfer

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

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

type ControllerTransactorSession

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

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

func (*ControllerTransactorSession) Pause

func (_Controller *ControllerTransactorSession) Pause() (*types.Transaction, error)

Pause is a paid mutator transaction binding the contract method 0x8456cb59.

Solidity: function pause() returns()

func (*ControllerTransactorSession) SetContractInfo added in v0.3.3

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

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

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

func (*ControllerTransactorSession) TransferOwnership

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

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

Solidity: function transferOwnership(address newOwner) returns()

func (*ControllerTransactorSession) Unpause

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

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

Solidity: function unpause() returns()

func (*ControllerTransactorSession) UpdateController

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

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

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

type ControllerUnpause added in v0.3.3

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

ControllerUnpause represents a Unpause event raised by the Controller contract.

type ControllerUnpauseIterator added in v0.3.3

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

ControllerUnpauseIterator is returned from FilterUnpause and is used to iterate over the raw logs and unpacked data for Unpause events raised by the Controller contract.

func (*ControllerUnpauseIterator) Close added in v0.3.3

func (it *ControllerUnpauseIterator) Close() error

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

func (*ControllerUnpauseIterator) Error added in v0.3.3

func (it *ControllerUnpauseIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*ControllerUnpauseIterator) Next added in v0.3.3

func (it *ControllerUnpauseIterator) Next() bool

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

type L1BondingManager added in v0.5.26

type L1BondingManager struct {
	L1BondingManagerCaller     // Read-only binding to the contract
	L1BondingManagerTransactor // Write-only binding to the contract
	L1BondingManagerFilterer   // Log filterer for contract events
}

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

func NewL1BondingManager added in v0.5.26

func NewL1BondingManager(address common.Address, backend bind.ContractBackend) (*L1BondingManager, error)

NewL1BondingManager creates a new instance of L1BondingManager, bound to a specific deployed contract.

type L1BondingManagerBond added in v0.5.26

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

L1BondingManagerBond represents a Bond event raised by the L1BondingManager contract.

type L1BondingManagerBondIterator added in v0.5.26

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

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

func (*L1BondingManagerBondIterator) Close added in v0.5.26

func (it *L1BondingManagerBondIterator) Close() error

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

func (*L1BondingManagerBondIterator) Error added in v0.5.26

func (it *L1BondingManagerBondIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*L1BondingManagerBondIterator) Next added in v0.5.26

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 L1BondingManagerCaller added in v0.5.26

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

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

func NewL1BondingManagerCaller added in v0.5.26

func NewL1BondingManagerCaller(address common.Address, caller bind.ContractCaller) (*L1BondingManagerCaller, error)

NewL1BondingManagerCaller creates a new read-only instance of L1BondingManager, bound to a specific deployed contract.

func (*L1BondingManagerCaller) ActiveTranscoderSetDEPRECATED added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) ActiveTranscoderSetDEPRECATED(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

ActiveTranscoderSetDEPRECATED is a free data retrieval call binding the contract method 0x014ee259.

Solidity: function activeTranscoderSetDEPRECATED(uint256 ) view returns(uint256 totalStake)

func (*L1BondingManagerCaller) Controller added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) CurrentRoundTotalActiveStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) DelegatorStatus added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) GetDelegator added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) GetDelegatorUnbondingLock added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) GetFirstTranscoderInPool added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) GetNextTranscoderInPool added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) GetTotalBonded added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) GetTranscoder added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) GetTranscoderEarningsPoolForRound added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) GetTranscoderEarningsPoolForRound(opts *bind.CallOpts, _transcoder common.Address, _round *big.Int) (struct {
	RewardPool                 *big.Int
	FeePool                    *big.Int
	TotalStake                 *big.Int
	ClaimableStake             *big.Int
	TranscoderRewardCut        *big.Int
	TranscoderFeeShare         *big.Int
	TranscoderRewardPool       *big.Int
	TranscoderFeePool          *big.Int
	HasTranscoderRewardFeePool bool
	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 rewardPool, uint256 feePool, uint256 totalStake, uint256 claimableStake, uint256 transcoderRewardCut, uint256 transcoderFeeShare, uint256 transcoderRewardPool, uint256 transcoderFeePool, bool hasTranscoderRewardFeePool, uint256 cumulativeRewardFactor, uint256 cumulativeFeeFactor)

func (*L1BondingManagerCaller) GetTranscoderPoolMaxSize added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) GetTranscoderPoolSize added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) IsActiveTranscoder added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) IsRegisteredTranscoder added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) IsValidUnbondingLock added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) MaxEarningsClaimsRounds added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) MaxEarningsClaimsRounds(opts *bind.CallOpts) (*big.Int, error)

MaxEarningsClaimsRounds is a free data retrieval call binding the contract method 0x038424c3.

Solidity: function maxEarningsClaimsRounds() view returns(uint256)

func (*L1BondingManagerCaller) NextRoundTotalActiveStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) NumActiveTranscodersDEPRECATED added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) NumActiveTranscodersDEPRECATED(opts *bind.CallOpts) (*big.Int, error)

NumActiveTranscodersDEPRECATED is a free data retrieval call binding the contract method 0x3c725cbb.

Solidity: function numActiveTranscodersDEPRECATED() view returns(uint256)

func (*L1BondingManagerCaller) PendingFees added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) PendingStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) TargetContractId added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) TranscoderStatus added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) TranscoderTotalStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 (*L1BondingManagerCaller) UnbondingPeriod added in v0.5.26

func (_L1BondingManager *L1BondingManagerCaller) 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 L1BondingManagerCallerRaw added in v0.5.26

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

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

func (*L1BondingManagerCallerRaw) Call added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerRaw) 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 L1BondingManagerCallerSession added in v0.5.26

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

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

func (*L1BondingManagerCallerSession) ActiveTranscoderSetDEPRECATED added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) ActiveTranscoderSetDEPRECATED(arg0 *big.Int) (*big.Int, error)

ActiveTranscoderSetDEPRECATED is a free data retrieval call binding the contract method 0x014ee259.

Solidity: function activeTranscoderSetDEPRECATED(uint256 ) view returns(uint256 totalStake)

func (*L1BondingManagerCallerSession) Controller added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) Controller() (common.Address, error)

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

Solidity: function controller() view returns(address)

func (*L1BondingManagerCallerSession) CurrentRoundTotalActiveStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) CurrentRoundTotalActiveStake() (*big.Int, error)

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

Solidity: function currentRoundTotalActiveStake() view returns(uint256)

func (*L1BondingManagerCallerSession) DelegatorStatus added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) 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 (*L1BondingManagerCallerSession) GetDelegator added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) 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 (*L1BondingManagerCallerSession) GetDelegatorUnbondingLock added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) 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 (*L1BondingManagerCallerSession) GetFirstTranscoderInPool added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) GetFirstTranscoderInPool() (common.Address, error)

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

Solidity: function getFirstTranscoderInPool() view returns(address)

func (*L1BondingManagerCallerSession) GetNextTranscoderInPool added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) 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 (*L1BondingManagerCallerSession) GetTotalBonded added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) GetTotalBonded() (*big.Int, error)

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

Solidity: function getTotalBonded() view returns(uint256)

func (*L1BondingManagerCallerSession) GetTranscoder added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) 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 (*L1BondingManagerCallerSession) GetTranscoderEarningsPoolForRound added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) GetTranscoderEarningsPoolForRound(_transcoder common.Address, _round *big.Int) (struct {
	RewardPool                 *big.Int
	FeePool                    *big.Int
	TotalStake                 *big.Int
	ClaimableStake             *big.Int
	TranscoderRewardCut        *big.Int
	TranscoderFeeShare         *big.Int
	TranscoderRewardPool       *big.Int
	TranscoderFeePool          *big.Int
	HasTranscoderRewardFeePool bool
	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 rewardPool, uint256 feePool, uint256 totalStake, uint256 claimableStake, uint256 transcoderRewardCut, uint256 transcoderFeeShare, uint256 transcoderRewardPool, uint256 transcoderFeePool, bool hasTranscoderRewardFeePool, uint256 cumulativeRewardFactor, uint256 cumulativeFeeFactor)

func (*L1BondingManagerCallerSession) GetTranscoderPoolMaxSize added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) GetTranscoderPoolMaxSize() (*big.Int, error)

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

Solidity: function getTranscoderPoolMaxSize() view returns(uint256)

func (*L1BondingManagerCallerSession) GetTranscoderPoolSize added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) GetTranscoderPoolSize() (*big.Int, error)

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

Solidity: function getTranscoderPoolSize() view returns(uint256)

func (*L1BondingManagerCallerSession) IsActiveTranscoder added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) 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 (*L1BondingManagerCallerSession) IsRegisteredTranscoder added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) 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 (*L1BondingManagerCallerSession) IsValidUnbondingLock added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) 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 (*L1BondingManagerCallerSession) MaxEarningsClaimsRounds added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) MaxEarningsClaimsRounds() (*big.Int, error)

MaxEarningsClaimsRounds is a free data retrieval call binding the contract method 0x038424c3.

Solidity: function maxEarningsClaimsRounds() view returns(uint256)

func (*L1BondingManagerCallerSession) NextRoundTotalActiveStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) NextRoundTotalActiveStake() (*big.Int, error)

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

Solidity: function nextRoundTotalActiveStake() view returns(uint256)

func (*L1BondingManagerCallerSession) NumActiveTranscodersDEPRECATED added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) NumActiveTranscodersDEPRECATED() (*big.Int, error)

NumActiveTranscodersDEPRECATED is a free data retrieval call binding the contract method 0x3c725cbb.

Solidity: function numActiveTranscodersDEPRECATED() view returns(uint256)

func (*L1BondingManagerCallerSession) PendingFees added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) 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 (*L1BondingManagerCallerSession) PendingStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) 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 (*L1BondingManagerCallerSession) TargetContractId added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) TargetContractId() ([32]byte, error)

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

Solidity: function targetContractId() view returns(bytes32)

func (*L1BondingManagerCallerSession) TranscoderStatus added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) 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 (*L1BondingManagerCallerSession) TranscoderTotalStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) 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 (*L1BondingManagerCallerSession) UnbondingPeriod added in v0.5.26

func (_L1BondingManager *L1BondingManagerCallerSession) UnbondingPeriod() (uint64, error)

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

Solidity: function unbondingPeriod() view returns(uint64)

type L1BondingManagerEarningsClaimed added in v0.5.26

type L1BondingManagerEarningsClaimed 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
}

L1BondingManagerEarningsClaimed represents a EarningsClaimed event raised by the L1BondingManager contract.

type L1BondingManagerEarningsClaimedIterator added in v0.5.26

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

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

func (*L1BondingManagerEarningsClaimedIterator) Close added in v0.5.26

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

func (*L1BondingManagerEarningsClaimedIterator) Error added in v0.5.26

Error returns any retrieval or parsing error occurred during filtering.

func (*L1BondingManagerEarningsClaimedIterator) Next added in v0.5.26

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 L1BondingManagerFilterer added in v0.5.26

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

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

func NewL1BondingManagerFilterer added in v0.5.26

func NewL1BondingManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*L1BondingManagerFilterer, error)

NewL1BondingManagerFilterer creates a new log filterer instance of L1BondingManager, bound to a specific deployed contract.

func (*L1BondingManagerFilterer) FilterBond added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) FilterBond(opts *bind.FilterOpts, newDelegate []common.Address, oldDelegate []common.Address, delegator []common.Address) (*L1BondingManagerBondIterator, 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 (*L1BondingManagerFilterer) FilterEarningsClaimed added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) FilterEarningsClaimed(opts *bind.FilterOpts, delegate []common.Address, delegator []common.Address) (*L1BondingManagerEarningsClaimedIterator, 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 (*L1BondingManagerFilterer) FilterParameterUpdate added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*L1BondingManagerParameterUpdateIterator, error)

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

Solidity: event ParameterUpdate(string param)

func (*L1BondingManagerFilterer) FilterRebond added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) FilterRebond(opts *bind.FilterOpts, delegate []common.Address, delegator []common.Address) (*L1BondingManagerRebondIterator, 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 (*L1BondingManagerFilterer) FilterReward added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) FilterReward(opts *bind.FilterOpts, transcoder []common.Address) (*L1BondingManagerRewardIterator, error)

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

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

func (*L1BondingManagerFilterer) FilterSetController added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) FilterSetController(opts *bind.FilterOpts) (*L1BondingManagerSetControllerIterator, error)

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

Solidity: event SetController(address controller)

func (*L1BondingManagerFilterer) FilterTranscoderActivated added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) FilterTranscoderActivated(opts *bind.FilterOpts, transcoder []common.Address) (*L1BondingManagerTranscoderActivatedIterator, error)

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

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

func (*L1BondingManagerFilterer) FilterTranscoderDeactivated added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) FilterTranscoderDeactivated(opts *bind.FilterOpts, transcoder []common.Address) (*L1BondingManagerTranscoderDeactivatedIterator, error)

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

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

func (*L1BondingManagerFilterer) FilterTranscoderSlashed added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) FilterTranscoderSlashed(opts *bind.FilterOpts, transcoder []common.Address) (*L1BondingManagerTranscoderSlashedIterator, 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 (*L1BondingManagerFilterer) FilterTranscoderUpdate added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) FilterTranscoderUpdate(opts *bind.FilterOpts, transcoder []common.Address) (*L1BondingManagerTranscoderUpdateIterator, error)

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

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

func (*L1BondingManagerFilterer) FilterUnbond added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) FilterUnbond(opts *bind.FilterOpts, delegate []common.Address, delegator []common.Address) (*L1BondingManagerUnbondIterator, 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 (*L1BondingManagerFilterer) FilterWithdrawFees added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) FilterWithdrawFees(opts *bind.FilterOpts, delegator []common.Address) (*L1BondingManagerWithdrawFeesIterator, error)

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

Solidity: event WithdrawFees(address indexed delegator)

func (*L1BondingManagerFilterer) FilterWithdrawStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) FilterWithdrawStake(opts *bind.FilterOpts, delegator []common.Address) (*L1BondingManagerWithdrawStakeIterator, 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 (*L1BondingManagerFilterer) ParseBond added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) ParseBond(log types.Log) (*L1BondingManagerBond, 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 (*L1BondingManagerFilterer) ParseEarningsClaimed added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) ParseEarningsClaimed(log types.Log) (*L1BondingManagerEarningsClaimed, 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 (*L1BondingManagerFilterer) ParseParameterUpdate added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) ParseParameterUpdate(log types.Log) (*L1BondingManagerParameterUpdate, error)

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

Solidity: event ParameterUpdate(string param)

func (*L1BondingManagerFilterer) ParseRebond added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) ParseRebond(log types.Log) (*L1BondingManagerRebond, 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 (*L1BondingManagerFilterer) ParseReward added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) ParseReward(log types.Log) (*L1BondingManagerReward, error)

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

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

func (*L1BondingManagerFilterer) ParseSetController added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) ParseSetController(log types.Log) (*L1BondingManagerSetController, error)

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

Solidity: event SetController(address controller)

func (*L1BondingManagerFilterer) ParseTranscoderActivated added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) ParseTranscoderActivated(log types.Log) (*L1BondingManagerTranscoderActivated, error)

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

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

func (*L1BondingManagerFilterer) ParseTranscoderDeactivated added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) ParseTranscoderDeactivated(log types.Log) (*L1BondingManagerTranscoderDeactivated, error)

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

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

func (*L1BondingManagerFilterer) ParseTranscoderSlashed added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) ParseTranscoderSlashed(log types.Log) (*L1BondingManagerTranscoderSlashed, 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 (*L1BondingManagerFilterer) ParseTranscoderUpdate added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) ParseTranscoderUpdate(log types.Log) (*L1BondingManagerTranscoderUpdate, error)

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

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

func (*L1BondingManagerFilterer) ParseUnbond added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) ParseUnbond(log types.Log) (*L1BondingManagerUnbond, 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 (*L1BondingManagerFilterer) ParseWithdrawFees added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) ParseWithdrawFees(log types.Log) (*L1BondingManagerWithdrawFees, error)

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

Solidity: event WithdrawFees(address indexed delegator)

func (*L1BondingManagerFilterer) ParseWithdrawStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) ParseWithdrawStake(log types.Log) (*L1BondingManagerWithdrawStake, 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 (*L1BondingManagerFilterer) WatchBond added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) WatchBond(opts *bind.WatchOpts, sink chan<- *L1BondingManagerBond, 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 (*L1BondingManagerFilterer) WatchEarningsClaimed added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) WatchEarningsClaimed(opts *bind.WatchOpts, sink chan<- *L1BondingManagerEarningsClaimed, 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 (*L1BondingManagerFilterer) WatchParameterUpdate added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *L1BondingManagerParameterUpdate) (event.Subscription, error)

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

Solidity: event ParameterUpdate(string param)

func (*L1BondingManagerFilterer) WatchRebond added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) WatchRebond(opts *bind.WatchOpts, sink chan<- *L1BondingManagerRebond, 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 (*L1BondingManagerFilterer) WatchReward added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) WatchReward(opts *bind.WatchOpts, sink chan<- *L1BondingManagerReward, 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 (*L1BondingManagerFilterer) WatchSetController added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *L1BondingManagerSetController) (event.Subscription, error)

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

Solidity: event SetController(address controller)

func (*L1BondingManagerFilterer) WatchTranscoderActivated added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) WatchTranscoderActivated(opts *bind.WatchOpts, sink chan<- *L1BondingManagerTranscoderActivated, 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 (*L1BondingManagerFilterer) WatchTranscoderDeactivated added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) WatchTranscoderDeactivated(opts *bind.WatchOpts, sink chan<- *L1BondingManagerTranscoderDeactivated, 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 (*L1BondingManagerFilterer) WatchTranscoderSlashed added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) WatchTranscoderSlashed(opts *bind.WatchOpts, sink chan<- *L1BondingManagerTranscoderSlashed, 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 (*L1BondingManagerFilterer) WatchTranscoderUpdate added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) WatchTranscoderUpdate(opts *bind.WatchOpts, sink chan<- *L1BondingManagerTranscoderUpdate, 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 (*L1BondingManagerFilterer) WatchUnbond added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) WatchUnbond(opts *bind.WatchOpts, sink chan<- *L1BondingManagerUnbond, 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 (*L1BondingManagerFilterer) WatchWithdrawFees added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) WatchWithdrawFees(opts *bind.WatchOpts, sink chan<- *L1BondingManagerWithdrawFees, delegator []common.Address) (event.Subscription, error)

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

Solidity: event WithdrawFees(address indexed delegator)

func (*L1BondingManagerFilterer) WatchWithdrawStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerFilterer) WatchWithdrawStake(opts *bind.WatchOpts, sink chan<- *L1BondingManagerWithdrawStake, 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 L1BondingManagerParameterUpdate added in v0.5.26

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

L1BondingManagerParameterUpdate represents a ParameterUpdate event raised by the L1BondingManager contract.

type L1BondingManagerParameterUpdateIterator added in v0.5.26

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

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

func (*L1BondingManagerParameterUpdateIterator) Close added in v0.5.26

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

func (*L1BondingManagerParameterUpdateIterator) Error added in v0.5.26

Error returns any retrieval or parsing error occurred during filtering.

func (*L1BondingManagerParameterUpdateIterator) Next added in v0.5.26

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 L1BondingManagerRaw added in v0.5.26

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

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

func (*L1BondingManagerRaw) Call added in v0.5.26

func (_L1BondingManager *L1BondingManagerRaw) 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 (*L1BondingManagerRaw) Transact added in v0.5.26

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

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

func (*L1BondingManagerRaw) Transfer added in v0.5.26

func (_L1BondingManager *L1BondingManagerRaw) 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 L1BondingManagerRebond added in v0.5.26

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

L1BondingManagerRebond represents a Rebond event raised by the L1BondingManager contract.

type L1BondingManagerRebondIterator added in v0.5.26

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

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

func (*L1BondingManagerRebondIterator) Close added in v0.5.26

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

func (*L1BondingManagerRebondIterator) Error added in v0.5.26

Error returns any retrieval or parsing error occurred during filtering.

func (*L1BondingManagerRebondIterator) Next added in v0.5.26

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 L1BondingManagerReward added in v0.5.26

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

L1BondingManagerReward represents a Reward event raised by the L1BondingManager contract.

type L1BondingManagerRewardIterator added in v0.5.26

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

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

func (*L1BondingManagerRewardIterator) Close added in v0.5.26

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

func (*L1BondingManagerRewardIterator) Error added in v0.5.26

Error returns any retrieval or parsing error occurred during filtering.

func (*L1BondingManagerRewardIterator) Next added in v0.5.26

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 L1BondingManagerSession added in v0.5.26

type L1BondingManagerSession struct {
	Contract     *L1BondingManager // 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
}

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

func (*L1BondingManagerSession) ActiveTranscoderSetDEPRECATED added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) ActiveTranscoderSetDEPRECATED(arg0 *big.Int) (*big.Int, error)

ActiveTranscoderSetDEPRECATED is a free data retrieval call binding the contract method 0x014ee259.

Solidity: function activeTranscoderSetDEPRECATED(uint256 ) view returns(uint256 totalStake)

func (*L1BondingManagerSession) Bond added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) BondWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) ClaimEarnings added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) ClaimSnapshotEarnings added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) ClaimSnapshotEarnings(_pendingStake *big.Int, _pendingFees *big.Int, _earningsProof [][32]byte, _data []byte) (*types.Transaction, error)

ClaimSnapshotEarnings is a paid mutator transaction binding the contract method 0xc6d63d8c.

Solidity: function claimSnapshotEarnings(uint256 _pendingStake, uint256 _pendingFees, bytes32[] _earningsProof, bytes _data) returns()

func (*L1BondingManagerSession) Controller added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) Controller() (common.Address, error)

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

Solidity: function controller() view returns(address)

func (*L1BondingManagerSession) CurrentRoundTotalActiveStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) CurrentRoundTotalActiveStake() (*big.Int, error)

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

Solidity: function currentRoundTotalActiveStake() view returns(uint256)

func (*L1BondingManagerSession) DelegatorStatus added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) ExecuteLIP77 added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) ExecuteLIP77(_bondedAmount *big.Int) (*types.Transaction, error)

ExecuteLIP77 is a paid mutator transaction binding the contract method 0x34aba214.

Solidity: function executeLIP77(uint256 _bondedAmount) returns()

func (*L1BondingManagerSession) GetDelegator added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) GetDelegatorUnbondingLock added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) GetFirstTranscoderInPool added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) GetFirstTranscoderInPool() (common.Address, error)

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

Solidity: function getFirstTranscoderInPool() view returns(address)

func (*L1BondingManagerSession) GetNextTranscoderInPool added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) GetTotalBonded added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) GetTotalBonded() (*big.Int, error)

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

Solidity: function getTotalBonded() view returns(uint256)

func (*L1BondingManagerSession) GetTranscoder added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) GetTranscoderEarningsPoolForRound added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) GetTranscoderEarningsPoolForRound(_transcoder common.Address, _round *big.Int) (struct {
	RewardPool                 *big.Int
	FeePool                    *big.Int
	TotalStake                 *big.Int
	ClaimableStake             *big.Int
	TranscoderRewardCut        *big.Int
	TranscoderFeeShare         *big.Int
	TranscoderRewardPool       *big.Int
	TranscoderFeePool          *big.Int
	HasTranscoderRewardFeePool bool
	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 rewardPool, uint256 feePool, uint256 totalStake, uint256 claimableStake, uint256 transcoderRewardCut, uint256 transcoderFeeShare, uint256 transcoderRewardPool, uint256 transcoderFeePool, bool hasTranscoderRewardFeePool, uint256 cumulativeRewardFactor, uint256 cumulativeFeeFactor)

func (*L1BondingManagerSession) GetTranscoderPoolMaxSize added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) GetTranscoderPoolMaxSize() (*big.Int, error)

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

Solidity: function getTranscoderPoolMaxSize() view returns(uint256)

func (*L1BondingManagerSession) GetTranscoderPoolSize added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) GetTranscoderPoolSize() (*big.Int, error)

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

Solidity: function getTranscoderPoolSize() view returns(uint256)

func (*L1BondingManagerSession) IsActiveTranscoder added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) IsRegisteredTranscoder added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) IsValidUnbondingLock added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) MaxEarningsClaimsRounds added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) MaxEarningsClaimsRounds() (*big.Int, error)

MaxEarningsClaimsRounds is a free data retrieval call binding the contract method 0x038424c3.

Solidity: function maxEarningsClaimsRounds() view returns(uint256)

func (*L1BondingManagerSession) NextRoundTotalActiveStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) NextRoundTotalActiveStake() (*big.Int, error)

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

Solidity: function nextRoundTotalActiveStake() view returns(uint256)

func (*L1BondingManagerSession) NumActiveTranscodersDEPRECATED added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) NumActiveTranscodersDEPRECATED() (*big.Int, error)

NumActiveTranscodersDEPRECATED is a free data retrieval call binding the contract method 0x3c725cbb.

Solidity: function numActiveTranscodersDEPRECATED() view returns(uint256)

func (*L1BondingManagerSession) PendingFees added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) PendingStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) Rebond added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) RebondFromUnbonded added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) RebondFromUnbondedWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) RebondWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) Reward added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) Reward() (*types.Transaction, error)

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

Solidity: function reward() returns()

func (*L1BondingManagerSession) RewardWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) SetController added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) SetCurrentRoundTotalActiveStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) SetCurrentRoundTotalActiveStake() (*types.Transaction, error)

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

Solidity: function setCurrentRoundTotalActiveStake() returns()

func (*L1BondingManagerSession) SetMaxEarningsClaimsRounds added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) SetMaxEarningsClaimsRounds(_maxEarningsClaimsRounds *big.Int) (*types.Transaction, error)

SetMaxEarningsClaimsRounds is a paid mutator transaction binding the contract method 0x72d9f13d.

Solidity: function setMaxEarningsClaimsRounds(uint256 _maxEarningsClaimsRounds) returns()

func (*L1BondingManagerSession) SetNumActiveTranscoders added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) SetUnbondingPeriod added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) SetUnbondingPeriod(_unbondingPeriod uint64) (*types.Transaction, error)

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

Solidity: function setUnbondingPeriod(uint64 _unbondingPeriod) returns()

func (*L1BondingManagerSession) SlashTranscoder added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) TargetContractId added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) TargetContractId() ([32]byte, error)

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

Solidity: function targetContractId() view returns(bytes32)

func (*L1BondingManagerSession) Transcoder added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) TranscoderStatus added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) TranscoderTotalStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) TranscoderWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) Unbond added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) UnbondWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) UnbondingPeriod added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) UnbondingPeriod() (uint64, error)

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

Solidity: function unbondingPeriod() view returns(uint64)

func (*L1BondingManagerSession) UpdateTranscoderWithFees added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 (*L1BondingManagerSession) WithdrawFees added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) WithdrawFees() (*types.Transaction, error)

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

Solidity: function withdrawFees() returns()

func (*L1BondingManagerSession) WithdrawStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerSession) 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 L1BondingManagerSetController added in v0.5.26

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

L1BondingManagerSetController represents a SetController event raised by the L1BondingManager contract.

type L1BondingManagerSetControllerIterator added in v0.5.26

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

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

func (*L1BondingManagerSetControllerIterator) Close added in v0.5.26

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

func (*L1BondingManagerSetControllerIterator) Error added in v0.5.26

Error returns any retrieval or parsing error occurred during filtering.

func (*L1BondingManagerSetControllerIterator) Next added in v0.5.26

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 L1BondingManagerTransactor added in v0.5.26

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

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

func NewL1BondingManagerTransactor added in v0.5.26

func NewL1BondingManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*L1BondingManagerTransactor, error)

NewL1BondingManagerTransactor creates a new write-only instance of L1BondingManager, bound to a specific deployed contract.

func (*L1BondingManagerTransactor) Bond added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 (*L1BondingManagerTransactor) BondWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 (*L1BondingManagerTransactor) ClaimEarnings added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 (*L1BondingManagerTransactor) ClaimSnapshotEarnings added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) ClaimSnapshotEarnings(opts *bind.TransactOpts, _pendingStake *big.Int, _pendingFees *big.Int, _earningsProof [][32]byte, _data []byte) (*types.Transaction, error)

ClaimSnapshotEarnings is a paid mutator transaction binding the contract method 0xc6d63d8c.

Solidity: function claimSnapshotEarnings(uint256 _pendingStake, uint256 _pendingFees, bytes32[] _earningsProof, bytes _data) returns()

func (*L1BondingManagerTransactor) ExecuteLIP77 added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) ExecuteLIP77(opts *bind.TransactOpts, _bondedAmount *big.Int) (*types.Transaction, error)

ExecuteLIP77 is a paid mutator transaction binding the contract method 0x34aba214.

Solidity: function executeLIP77(uint256 _bondedAmount) returns()

func (*L1BondingManagerTransactor) Rebond added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 (*L1BondingManagerTransactor) RebondFromUnbonded added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 (*L1BondingManagerTransactor) RebondFromUnbondedWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 (*L1BondingManagerTransactor) RebondWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 (*L1BondingManagerTransactor) Reward added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) Reward(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function reward() returns()

func (*L1BondingManagerTransactor) RewardWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 (*L1BondingManagerTransactor) SetController added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 (*L1BondingManagerTransactor) SetCurrentRoundTotalActiveStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) SetCurrentRoundTotalActiveStake(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function setCurrentRoundTotalActiveStake() returns()

func (*L1BondingManagerTransactor) SetMaxEarningsClaimsRounds added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) SetMaxEarningsClaimsRounds(opts *bind.TransactOpts, _maxEarningsClaimsRounds *big.Int) (*types.Transaction, error)

SetMaxEarningsClaimsRounds is a paid mutator transaction binding the contract method 0x72d9f13d.

Solidity: function setMaxEarningsClaimsRounds(uint256 _maxEarningsClaimsRounds) returns()

func (*L1BondingManagerTransactor) SetNumActiveTranscoders added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 (*L1BondingManagerTransactor) SetUnbondingPeriod added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 (*L1BondingManagerTransactor) SlashTranscoder added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 (*L1BondingManagerTransactor) Transcoder added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 (*L1BondingManagerTransactor) TranscoderWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 (*L1BondingManagerTransactor) Unbond added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 (*L1BondingManagerTransactor) UnbondWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 (*L1BondingManagerTransactor) UpdateTranscoderWithFees added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 (*L1BondingManagerTransactor) WithdrawFees added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) WithdrawFees(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function withdrawFees() returns()

func (*L1BondingManagerTransactor) WithdrawStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactor) 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 L1BondingManagerTransactorRaw added in v0.5.26

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

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

func (*L1BondingManagerTransactorRaw) Transact added in v0.5.26

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

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

func (*L1BondingManagerTransactorRaw) Transfer added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorRaw) 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 L1BondingManagerTransactorSession added in v0.5.26

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

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

func (*L1BondingManagerTransactorSession) Bond added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) 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 (*L1BondingManagerTransactorSession) BondWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) 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 (*L1BondingManagerTransactorSession) ClaimEarnings added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) 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 (*L1BondingManagerTransactorSession) ClaimSnapshotEarnings added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) ClaimSnapshotEarnings(_pendingStake *big.Int, _pendingFees *big.Int, _earningsProof [][32]byte, _data []byte) (*types.Transaction, error)

ClaimSnapshotEarnings is a paid mutator transaction binding the contract method 0xc6d63d8c.

Solidity: function claimSnapshotEarnings(uint256 _pendingStake, uint256 _pendingFees, bytes32[] _earningsProof, bytes _data) returns()

func (*L1BondingManagerTransactorSession) ExecuteLIP77 added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) ExecuteLIP77(_bondedAmount *big.Int) (*types.Transaction, error)

ExecuteLIP77 is a paid mutator transaction binding the contract method 0x34aba214.

Solidity: function executeLIP77(uint256 _bondedAmount) returns()

func (*L1BondingManagerTransactorSession) Rebond added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) 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 (*L1BondingManagerTransactorSession) RebondFromUnbonded added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) 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 (*L1BondingManagerTransactorSession) RebondFromUnbondedWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) 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 (*L1BondingManagerTransactorSession) RebondWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) 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 (*L1BondingManagerTransactorSession) Reward added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) Reward() (*types.Transaction, error)

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

Solidity: function reward() returns()

func (*L1BondingManagerTransactorSession) RewardWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) 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 (*L1BondingManagerTransactorSession) SetController added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) 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 (*L1BondingManagerTransactorSession) SetCurrentRoundTotalActiveStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) SetCurrentRoundTotalActiveStake() (*types.Transaction, error)

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

Solidity: function setCurrentRoundTotalActiveStake() returns()

func (*L1BondingManagerTransactorSession) SetMaxEarningsClaimsRounds added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) SetMaxEarningsClaimsRounds(_maxEarningsClaimsRounds *big.Int) (*types.Transaction, error)

SetMaxEarningsClaimsRounds is a paid mutator transaction binding the contract method 0x72d9f13d.

Solidity: function setMaxEarningsClaimsRounds(uint256 _maxEarningsClaimsRounds) returns()

func (*L1BondingManagerTransactorSession) SetNumActiveTranscoders added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) 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 (*L1BondingManagerTransactorSession) SetUnbondingPeriod added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) SetUnbondingPeriod(_unbondingPeriod uint64) (*types.Transaction, error)

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

Solidity: function setUnbondingPeriod(uint64 _unbondingPeriod) returns()

func (*L1BondingManagerTransactorSession) SlashTranscoder added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) 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 (*L1BondingManagerTransactorSession) Transcoder added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) 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 (*L1BondingManagerTransactorSession) TranscoderWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) 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 (*L1BondingManagerTransactorSession) Unbond added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) 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 (*L1BondingManagerTransactorSession) UnbondWithHint added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) 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 (*L1BondingManagerTransactorSession) UpdateTranscoderWithFees added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) 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 (*L1BondingManagerTransactorSession) WithdrawFees added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) WithdrawFees() (*types.Transaction, error)

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

Solidity: function withdrawFees() returns()

func (*L1BondingManagerTransactorSession) WithdrawStake added in v0.5.26

func (_L1BondingManager *L1BondingManagerTransactorSession) 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 L1BondingManagerTranscoderActivated added in v0.5.26

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

L1BondingManagerTranscoderActivated represents a TranscoderActivated event raised by the L1BondingManager contract.

type L1BondingManagerTranscoderActivatedIterator added in v0.5.26

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

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

func (*L1BondingManagerTranscoderActivatedIterator) Close added in v0.5.26

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

func (*L1BondingManagerTranscoderActivatedIterator) Error added in v0.5.26

Error returns any retrieval or parsing error occurred during filtering.

func (*L1BondingManagerTranscoderActivatedIterator) Next added in v0.5.26

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 L1BondingManagerTranscoderDeactivated added in v0.5.26

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

L1BondingManagerTranscoderDeactivated represents a TranscoderDeactivated event raised by the L1BondingManager contract.

type L1BondingManagerTranscoderDeactivatedIterator added in v0.5.26

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

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

func (*L1BondingManagerTranscoderDeactivatedIterator) Close added in v0.5.26

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

func (*L1BondingManagerTranscoderDeactivatedIterator) Error added in v0.5.26

Error returns any retrieval or parsing error occurred during filtering.

func (*L1BondingManagerTranscoderDeactivatedIterator) Next added in v0.5.26

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 L1BondingManagerTranscoderSlashed added in v0.5.26

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

L1BondingManagerTranscoderSlashed represents a TranscoderSlashed event raised by the L1BondingManager contract.

type L1BondingManagerTranscoderSlashedIterator added in v0.5.26

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

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

func (*L1BondingManagerTranscoderSlashedIterator) Close added in v0.5.26

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

func (*L1BondingManagerTranscoderSlashedIterator) Error added in v0.5.26

Error returns any retrieval or parsing error occurred during filtering.

func (*L1BondingManagerTranscoderSlashedIterator) Next added in v0.5.26

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 L1BondingManagerTranscoderUpdate added in v0.5.26

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

L1BondingManagerTranscoderUpdate represents a TranscoderUpdate event raised by the L1BondingManager contract.

type L1BondingManagerTranscoderUpdateIterator added in v0.5.26

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

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

func (*L1BondingManagerTranscoderUpdateIterator) Close added in v0.5.26

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

func (*L1BondingManagerTranscoderUpdateIterator) Error added in v0.5.26

Error returns any retrieval or parsing error occurred during filtering.

func (*L1BondingManagerTranscoderUpdateIterator) Next added in v0.5.26

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 L1BondingManagerUnbond added in v0.5.26

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

L1BondingManagerUnbond represents a Unbond event raised by the L1BondingManager contract.

type L1BondingManagerUnbondIterator added in v0.5.26

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

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

func (*L1BondingManagerUnbondIterator) Close added in v0.5.26

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

func (*L1BondingManagerUnbondIterator) Error added in v0.5.26

Error returns any retrieval or parsing error occurred during filtering.

func (*L1BondingManagerUnbondIterator) Next added in v0.5.26

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 L1BondingManagerWithdrawFees added in v0.5.26

type L1BondingManagerWithdrawFees struct {
	Delegator common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

L1BondingManagerWithdrawFees represents a WithdrawFees event raised by the L1BondingManager contract.

type L1BondingManagerWithdrawFeesIterator added in v0.5.26

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

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

func (*L1BondingManagerWithdrawFeesIterator) Close added in v0.5.26

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

func (*L1BondingManagerWithdrawFeesIterator) Error added in v0.5.26

Error returns any retrieval or parsing error occurred during filtering.

func (*L1BondingManagerWithdrawFeesIterator) Next added in v0.5.26

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 L1BondingManagerWithdrawStake added in v0.5.26

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

L1BondingManagerWithdrawStake represents a WithdrawStake event raised by the L1BondingManager contract.

type L1BondingManagerWithdrawStakeIterator added in v0.5.26

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

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

func (*L1BondingManagerWithdrawStakeIterator) Close added in v0.5.26

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

func (*L1BondingManagerWithdrawStakeIterator) Error added in v0.5.26

Error returns any retrieval or parsing error occurred during filtering.

func (*L1BondingManagerWithdrawStakeIterator) Next added in v0.5.26

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

type LivepeerToken

type LivepeerToken struct {
	LivepeerTokenCaller     // Read-only binding to the contract
	LivepeerTokenTransactor // Write-only binding to the contract
	LivepeerTokenFilterer   // Log filterer for contract events
}

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

func NewLivepeerToken

func NewLivepeerToken(address common.Address, backend bind.ContractBackend) (*LivepeerToken, error)

NewLivepeerToken creates a new instance of LivepeerToken, bound to a specific deployed contract.

type LivepeerTokenApproval added in v0.3.3

type LivepeerTokenApproval struct {
	Owner   common.Address
	Spender common.Address
	Value   *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

LivepeerTokenApproval represents a Approval event raised by the LivepeerToken contract.

type LivepeerTokenApprovalIterator added in v0.3.3

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

LivepeerTokenApprovalIterator is returned from FilterApproval and is used to iterate over the raw logs and unpacked data for Approval events raised by the LivepeerToken contract.

func (*LivepeerTokenApprovalIterator) Close added in v0.3.3

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

func (*LivepeerTokenApprovalIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*LivepeerTokenApprovalIterator) Next added in v0.3.3

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

type LivepeerTokenBurn added in v0.3.3

type LivepeerTokenBurn struct {
	Burner common.Address
	Value  *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

LivepeerTokenBurn represents a Burn event raised by the LivepeerToken contract.

type LivepeerTokenBurnIterator added in v0.3.3

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

LivepeerTokenBurnIterator is returned from FilterBurn and is used to iterate over the raw logs and unpacked data for Burn events raised by the LivepeerToken contract.

func (*LivepeerTokenBurnIterator) Close added in v0.3.3

func (it *LivepeerTokenBurnIterator) Close() error

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

func (*LivepeerTokenBurnIterator) Error added in v0.3.3

func (it *LivepeerTokenBurnIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LivepeerTokenBurnIterator) Next added in v0.3.3

func (it *LivepeerTokenBurnIterator) Next() bool

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

type LivepeerTokenCaller

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

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

func NewLivepeerTokenCaller

func NewLivepeerTokenCaller(address common.Address, caller bind.ContractCaller) (*LivepeerTokenCaller, error)

NewLivepeerTokenCaller creates a new read-only instance of LivepeerToken, bound to a specific deployed contract.

func (*LivepeerTokenCaller) Allowance

func (_LivepeerToken *LivepeerTokenCaller) Allowance(opts *bind.CallOpts, owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) 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) 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) MintingFinished

func (_LivepeerToken *LivepeerTokenCaller) MintingFinished(opts *bind.CallOpts) (bool, error)

MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.

Solidity: function mintingFinished() 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) Owner

func (_LivepeerToken *LivepeerTokenCaller) 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 (*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)

func (*LivepeerTokenCaller) Version

func (_LivepeerToken *LivepeerTokenCaller) Version(opts *bind.CallOpts) (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

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) 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) MintingFinished

func (_LivepeerToken *LivepeerTokenCallerSession) MintingFinished() (bool, error)

MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.

Solidity: function mintingFinished() 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) Owner

func (_LivepeerToken *LivepeerTokenCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*LivepeerTokenCallerSession) Symbol

func (_LivepeerToken *LivepeerTokenCallerSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() 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)

func (*LivepeerTokenCallerSession) Version

func (_LivepeerToken *LivepeerTokenCallerSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type LivepeerTokenFaucet

type LivepeerTokenFaucet struct {
	LivepeerTokenFaucetCaller     // Read-only binding to the contract
	LivepeerTokenFaucetTransactor // Write-only binding to the contract
	LivepeerTokenFaucetFilterer   // Log filterer for contract events
}

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

func NewLivepeerTokenFaucet

func NewLivepeerTokenFaucet(address common.Address, backend bind.ContractBackend) (*LivepeerTokenFaucet, error)

NewLivepeerTokenFaucet creates a new instance of LivepeerTokenFaucet, bound to a specific deployed contract.

type LivepeerTokenFaucetCaller

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

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

func NewLivepeerTokenFaucetCaller

func NewLivepeerTokenFaucetCaller(address common.Address, caller bind.ContractCaller) (*LivepeerTokenFaucetCaller, error)

NewLivepeerTokenFaucetCaller creates a new read-only instance of LivepeerTokenFaucet, bound to a specific deployed contract.

func (*LivepeerTokenFaucetCaller) IsWhitelisted

func (_LivepeerTokenFaucet *LivepeerTokenFaucetCaller) IsWhitelisted(opts *bind.CallOpts, arg0 common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address ) view returns(bool)

func (*LivepeerTokenFaucetCaller) NextValidRequest

func (_LivepeerTokenFaucet *LivepeerTokenFaucetCaller) NextValidRequest(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

NextValidRequest is a free data retrieval call binding the contract method 0x207f5ce6.

Solidity: function nextValidRequest(address ) view returns(uint256)

func (*LivepeerTokenFaucetCaller) Owner

func (_LivepeerTokenFaucet *LivepeerTokenFaucetCaller) Owner(opts *bind.CallOpts) (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*LivepeerTokenFaucetCaller) RequestAmount

func (_LivepeerTokenFaucet *LivepeerTokenFaucetCaller) RequestAmount(opts *bind.CallOpts) (*big.Int, error)

RequestAmount is a free data retrieval call binding the contract method 0xf52ec46c.

Solidity: function requestAmount() view returns(uint256)

func (*LivepeerTokenFaucetCaller) RequestWait

func (_LivepeerTokenFaucet *LivepeerTokenFaucetCaller) RequestWait(opts *bind.CallOpts) (*big.Int, error)

RequestWait is a free data retrieval call binding the contract method 0x0d6c51b3.

Solidity: function requestWait() view returns(uint256)

func (*LivepeerTokenFaucetCaller) Token

func (_LivepeerTokenFaucet *LivepeerTokenFaucetCaller) 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)

type LivepeerTokenFaucetCallerRaw

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

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

func (*LivepeerTokenFaucetCallerRaw) Call

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

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

type LivepeerTokenFaucetCallerSession

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

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

func (*LivepeerTokenFaucetCallerSession) IsWhitelisted

func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerSession) IsWhitelisted(arg0 common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address ) view returns(bool)

func (*LivepeerTokenFaucetCallerSession) NextValidRequest

func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerSession) NextValidRequest(arg0 common.Address) (*big.Int, error)

NextValidRequest is a free data retrieval call binding the contract method 0x207f5ce6.

Solidity: function nextValidRequest(address ) view returns(uint256)

func (*LivepeerTokenFaucetCallerSession) Owner

func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*LivepeerTokenFaucetCallerSession) RequestAmount

func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerSession) RequestAmount() (*big.Int, error)

RequestAmount is a free data retrieval call binding the contract method 0xf52ec46c.

Solidity: function requestAmount() view returns(uint256)

func (*LivepeerTokenFaucetCallerSession) RequestWait

func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerSession) RequestWait() (*big.Int, error)

RequestWait is a free data retrieval call binding the contract method 0x0d6c51b3.

Solidity: function requestWait() view returns(uint256)

func (*LivepeerTokenFaucetCallerSession) Token

func (_LivepeerTokenFaucet *LivepeerTokenFaucetCallerSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

type LivepeerTokenFaucetFilterer added in v0.3.3

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

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

func NewLivepeerTokenFaucetFilterer added in v0.3.3

func NewLivepeerTokenFaucetFilterer(address common.Address, filterer bind.ContractFilterer) (*LivepeerTokenFaucetFilterer, error)

NewLivepeerTokenFaucetFilterer creates a new log filterer instance of LivepeerTokenFaucet, bound to a specific deployed contract.

func (*LivepeerTokenFaucetFilterer) FilterOwnershipTransferred added in v0.3.3

func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*LivepeerTokenFaucetOwnershipTransferredIterator, error)

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

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

func (*LivepeerTokenFaucetFilterer) FilterRequest added in v0.3.3

func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) FilterRequest(opts *bind.FilterOpts, to []common.Address) (*LivepeerTokenFaucetRequestIterator, error)

FilterRequest is a free log retrieval operation binding the contract event 0xe31c60e37ab1301f69f01b436a1d13486e6c16cc22c888a08c0e64a39230b6ac.

Solidity: event Request(address indexed to, uint256 amount)

func (*LivepeerTokenFaucetFilterer) ParseOwnershipTransferred added in v0.5.0

func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) ParseOwnershipTransferred(log types.Log) (*LivepeerTokenFaucetOwnershipTransferred, error)

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

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

func (*LivepeerTokenFaucetFilterer) ParseRequest added in v0.5.0

func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) ParseRequest(log types.Log) (*LivepeerTokenFaucetRequest, error)

ParseRequest is a log parse operation binding the contract event 0xe31c60e37ab1301f69f01b436a1d13486e6c16cc22c888a08c0e64a39230b6ac.

Solidity: event Request(address indexed to, uint256 amount)

func (*LivepeerTokenFaucetFilterer) WatchOwnershipTransferred added in v0.3.3

func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LivepeerTokenFaucetOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*LivepeerTokenFaucetFilterer) WatchRequest added in v0.3.3

func (_LivepeerTokenFaucet *LivepeerTokenFaucetFilterer) WatchRequest(opts *bind.WatchOpts, sink chan<- *LivepeerTokenFaucetRequest, to []common.Address) (event.Subscription, error)

WatchRequest is a free log subscription operation binding the contract event 0xe31c60e37ab1301f69f01b436a1d13486e6c16cc22c888a08c0e64a39230b6ac.

Solidity: event Request(address indexed to, uint256 amount)

type LivepeerTokenFaucetOwnershipTransferred added in v0.3.3

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

LivepeerTokenFaucetOwnershipTransferred represents a OwnershipTransferred event raised by the LivepeerTokenFaucet contract.

type LivepeerTokenFaucetOwnershipTransferredIterator added in v0.3.3

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

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

func (*LivepeerTokenFaucetOwnershipTransferredIterator) Close added in v0.3.3

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

func (*LivepeerTokenFaucetOwnershipTransferredIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*LivepeerTokenFaucetOwnershipTransferredIterator) Next added in v0.3.3

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

type LivepeerTokenFaucetRaw

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

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

func (*LivepeerTokenFaucetRaw) Call

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

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

func (*LivepeerTokenFaucetRaw) Transact

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

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

func (*LivepeerTokenFaucetRaw) Transfer

func (_LivepeerTokenFaucet *LivepeerTokenFaucetRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type LivepeerTokenFaucetRequest added in v0.3.3

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

LivepeerTokenFaucetRequest represents a Request event raised by the LivepeerTokenFaucet contract.

type LivepeerTokenFaucetRequestIterator added in v0.3.3

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

LivepeerTokenFaucetRequestIterator is returned from FilterRequest and is used to iterate over the raw logs and unpacked data for Request events raised by the LivepeerTokenFaucet contract.

func (*LivepeerTokenFaucetRequestIterator) Close added in v0.3.3

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

func (*LivepeerTokenFaucetRequestIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*LivepeerTokenFaucetRequestIterator) Next added in v0.3.3

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

type LivepeerTokenFaucetSession

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

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

func (*LivepeerTokenFaucetSession) AddToWhitelist

func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) AddToWhitelist(_addr common.Address) (*types.Transaction, error)

AddToWhitelist is a paid mutator transaction binding the contract method 0xe43252d7.

Solidity: function addToWhitelist(address _addr) returns()

func (*LivepeerTokenFaucetSession) IsWhitelisted

func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) IsWhitelisted(arg0 common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address ) view returns(bool)

func (*LivepeerTokenFaucetSession) NextValidRequest

func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) NextValidRequest(arg0 common.Address) (*big.Int, error)

NextValidRequest is a free data retrieval call binding the contract method 0x207f5ce6.

Solidity: function nextValidRequest(address ) view returns(uint256)

func (*LivepeerTokenFaucetSession) Owner

func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*LivepeerTokenFaucetSession) RemoveFromWhitelist

func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) RemoveFromWhitelist(_addr common.Address) (*types.Transaction, error)

RemoveFromWhitelist is a paid mutator transaction binding the contract method 0x8ab1d681.

Solidity: function removeFromWhitelist(address _addr) returns()

func (*LivepeerTokenFaucetSession) Request

func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) Request() (*types.Transaction, error)

Request is a paid mutator transaction binding the contract method 0x338cdca1.

Solidity: function request() returns()

func (*LivepeerTokenFaucetSession) RequestAmount

func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) RequestAmount() (*big.Int, error)

RequestAmount is a free data retrieval call binding the contract method 0xf52ec46c.

Solidity: function requestAmount() view returns(uint256)

func (*LivepeerTokenFaucetSession) RequestWait

func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) RequestWait() (*big.Int, error)

RequestWait is a free data retrieval call binding the contract method 0x0d6c51b3.

Solidity: function requestWait() view returns(uint256)

func (*LivepeerTokenFaucetSession) Token

func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) Token() (common.Address, error)

Token is a free data retrieval call binding the contract method 0xfc0c546a.

Solidity: function token() view returns(address)

func (*LivepeerTokenFaucetSession) TransferOwnership

func (_LivepeerTokenFaucet *LivepeerTokenFaucetSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type LivepeerTokenFaucetTransactor

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

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

func NewLivepeerTokenFaucetTransactor

func NewLivepeerTokenFaucetTransactor(address common.Address, transactor bind.ContractTransactor) (*LivepeerTokenFaucetTransactor, error)

NewLivepeerTokenFaucetTransactor creates a new write-only instance of LivepeerTokenFaucet, bound to a specific deployed contract.

func (*LivepeerTokenFaucetTransactor) AddToWhitelist

func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactor) AddToWhitelist(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

AddToWhitelist is a paid mutator transaction binding the contract method 0xe43252d7.

Solidity: function addToWhitelist(address _addr) returns()

func (*LivepeerTokenFaucetTransactor) RemoveFromWhitelist

func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactor) RemoveFromWhitelist(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

RemoveFromWhitelist is a paid mutator transaction binding the contract method 0x8ab1d681.

Solidity: function removeFromWhitelist(address _addr) returns()

func (*LivepeerTokenFaucetTransactor) Request

func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactor) Request(opts *bind.TransactOpts) (*types.Transaction, error)

Request is a paid mutator transaction binding the contract method 0x338cdca1.

Solidity: function request() returns()

func (*LivepeerTokenFaucetTransactor) TransferOwnership

func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type LivepeerTokenFaucetTransactorRaw

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

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

func (*LivepeerTokenFaucetTransactorRaw) Transact

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

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

func (*LivepeerTokenFaucetTransactorRaw) Transfer

func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type LivepeerTokenFaucetTransactorSession

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

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

func (*LivepeerTokenFaucetTransactorSession) AddToWhitelist

func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactorSession) AddToWhitelist(_addr common.Address) (*types.Transaction, error)

AddToWhitelist is a paid mutator transaction binding the contract method 0xe43252d7.

Solidity: function addToWhitelist(address _addr) returns()

func (*LivepeerTokenFaucetTransactorSession) RemoveFromWhitelist

func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactorSession) RemoveFromWhitelist(_addr common.Address) (*types.Transaction, error)

RemoveFromWhitelist is a paid mutator transaction binding the contract method 0x8ab1d681.

Solidity: function removeFromWhitelist(address _addr) returns()

func (*LivepeerTokenFaucetTransactorSession) Request

func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactorSession) Request() (*types.Transaction, error)

Request is a paid mutator transaction binding the contract method 0x338cdca1.

Solidity: function request() returns()

func (*LivepeerTokenFaucetTransactorSession) TransferOwnership

func (_LivepeerTokenFaucet *LivepeerTokenFaucetTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type LivepeerTokenFilterer added in v0.3.3

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

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

func NewLivepeerTokenFilterer added in v0.3.3

func NewLivepeerTokenFilterer(address common.Address, filterer bind.ContractFilterer) (*LivepeerTokenFilterer, error)

NewLivepeerTokenFilterer creates a new log filterer instance of LivepeerToken, bound to a specific deployed contract.

func (*LivepeerTokenFilterer) FilterApproval added in v0.3.3

func (_LivepeerToken *LivepeerTokenFilterer) FilterApproval(opts *bind.FilterOpts, owner []common.Address, spender []common.Address) (*LivepeerTokenApprovalIterator, error)

FilterApproval is a free log retrieval operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*LivepeerTokenFilterer) FilterBurn added in v0.3.3

func (_LivepeerToken *LivepeerTokenFilterer) FilterBurn(opts *bind.FilterOpts, burner []common.Address) (*LivepeerTokenBurnIterator, error)

FilterBurn is a free log retrieval operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address indexed burner, uint256 value)

func (*LivepeerTokenFilterer) FilterMint added in v0.3.3

func (_LivepeerToken *LivepeerTokenFilterer) FilterMint(opts *bind.FilterOpts, to []common.Address) (*LivepeerTokenMintIterator, error)

FilterMint is a free log retrieval operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

Solidity: event Mint(address indexed to, uint256 amount)

func (*LivepeerTokenFilterer) FilterMintFinished added in v0.3.3

func (_LivepeerToken *LivepeerTokenFilterer) FilterMintFinished(opts *bind.FilterOpts) (*LivepeerTokenMintFinishedIterator, error)

FilterMintFinished is a free log retrieval operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.

Solidity: event MintFinished()

func (*LivepeerTokenFilterer) FilterOwnershipTransferred added in v0.3.3

func (_LivepeerToken *LivepeerTokenFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*LivepeerTokenOwnershipTransferredIterator, error)

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

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

func (*LivepeerTokenFilterer) FilterTransfer added in v0.3.3

func (_LivepeerToken *LivepeerTokenFilterer) FilterTransfer(opts *bind.FilterOpts, from []common.Address, to []common.Address) (*LivepeerTokenTransferIterator, error)

FilterTransfer is a free log retrieval operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*LivepeerTokenFilterer) ParseApproval added in v0.5.0

func (_LivepeerToken *LivepeerTokenFilterer) ParseApproval(log types.Log) (*LivepeerTokenApproval, error)

ParseApproval is a log parse operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*LivepeerTokenFilterer) ParseBurn added in v0.5.0

func (_LivepeerToken *LivepeerTokenFilterer) ParseBurn(log types.Log) (*LivepeerTokenBurn, error)

ParseBurn is a log parse operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address indexed burner, uint256 value)

func (*LivepeerTokenFilterer) ParseMint added in v0.5.0

func (_LivepeerToken *LivepeerTokenFilterer) ParseMint(log types.Log) (*LivepeerTokenMint, error)

ParseMint is a log parse operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

Solidity: event Mint(address indexed to, uint256 amount)

func (*LivepeerTokenFilterer) ParseMintFinished added in v0.5.0

func (_LivepeerToken *LivepeerTokenFilterer) ParseMintFinished(log types.Log) (*LivepeerTokenMintFinished, error)

ParseMintFinished is a log parse operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.

Solidity: event MintFinished()

func (*LivepeerTokenFilterer) ParseOwnershipTransferred added in v0.5.0

func (_LivepeerToken *LivepeerTokenFilterer) ParseOwnershipTransferred(log types.Log) (*LivepeerTokenOwnershipTransferred, error)

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

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

func (*LivepeerTokenFilterer) ParseTransfer added in v0.5.0

func (_LivepeerToken *LivepeerTokenFilterer) ParseTransfer(log types.Log) (*LivepeerTokenTransfer, error)

ParseTransfer is a log parse operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

func (*LivepeerTokenFilterer) WatchApproval added in v0.3.3

func (_LivepeerToken *LivepeerTokenFilterer) WatchApproval(opts *bind.WatchOpts, sink chan<- *LivepeerTokenApproval, owner []common.Address, spender []common.Address) (event.Subscription, error)

WatchApproval is a free log subscription operation binding the contract event 0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925.

Solidity: event Approval(address indexed owner, address indexed spender, uint256 value)

func (*LivepeerTokenFilterer) WatchBurn added in v0.3.3

func (_LivepeerToken *LivepeerTokenFilterer) WatchBurn(opts *bind.WatchOpts, sink chan<- *LivepeerTokenBurn, burner []common.Address) (event.Subscription, error)

WatchBurn is a free log subscription operation binding the contract event 0xcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5.

Solidity: event Burn(address indexed burner, uint256 value)

func (*LivepeerTokenFilterer) WatchMint added in v0.3.3

func (_LivepeerToken *LivepeerTokenFilterer) WatchMint(opts *bind.WatchOpts, sink chan<- *LivepeerTokenMint, to []common.Address) (event.Subscription, error)

WatchMint is a free log subscription operation binding the contract event 0x0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885.

Solidity: event Mint(address indexed to, uint256 amount)

func (*LivepeerTokenFilterer) WatchMintFinished added in v0.3.3

func (_LivepeerToken *LivepeerTokenFilterer) WatchMintFinished(opts *bind.WatchOpts, sink chan<- *LivepeerTokenMintFinished) (event.Subscription, error)

WatchMintFinished is a free log subscription operation binding the contract event 0xae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa08.

Solidity: event MintFinished()

func (*LivepeerTokenFilterer) WatchOwnershipTransferred added in v0.3.3

func (_LivepeerToken *LivepeerTokenFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *LivepeerTokenOwnershipTransferred, previousOwner []common.Address, newOwner []common.Address) (event.Subscription, error)

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

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

func (*LivepeerTokenFilterer) WatchTransfer added in v0.3.3

func (_LivepeerToken *LivepeerTokenFilterer) WatchTransfer(opts *bind.WatchOpts, sink chan<- *LivepeerTokenTransfer, from []common.Address, to []common.Address) (event.Subscription, error)

WatchTransfer is a free log subscription operation binding the contract event 0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef.

Solidity: event Transfer(address indexed from, address indexed to, uint256 value)

type LivepeerTokenMint added in v0.3.3

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

LivepeerTokenMint represents a Mint event raised by the LivepeerToken contract.

type LivepeerTokenMintFinished added in v0.3.3

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

LivepeerTokenMintFinished represents a MintFinished event raised by the LivepeerToken contract.

type LivepeerTokenMintFinishedIterator added in v0.3.3

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

LivepeerTokenMintFinishedIterator is returned from FilterMintFinished and is used to iterate over the raw logs and unpacked data for MintFinished events raised by the LivepeerToken contract.

func (*LivepeerTokenMintFinishedIterator) Close added in v0.3.3

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

func (*LivepeerTokenMintFinishedIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*LivepeerTokenMintFinishedIterator) Next added in v0.3.3

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

type LivepeerTokenMintIterator added in v0.3.3

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

LivepeerTokenMintIterator is returned from FilterMint and is used to iterate over the raw logs and unpacked data for Mint events raised by the LivepeerToken contract.

func (*LivepeerTokenMintIterator) Close added in v0.3.3

func (it *LivepeerTokenMintIterator) Close() error

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

func (*LivepeerTokenMintIterator) Error added in v0.3.3

func (it *LivepeerTokenMintIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*LivepeerTokenMintIterator) Next added in v0.3.3

func (it *LivepeerTokenMintIterator) Next() bool

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

type LivepeerTokenOwnershipTransferred added in v0.3.3

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

LivepeerTokenOwnershipTransferred represents a OwnershipTransferred event raised by the LivepeerToken contract.

type LivepeerTokenOwnershipTransferredIterator added in v0.3.3

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

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

func (*LivepeerTokenOwnershipTransferredIterator) Close added in v0.3.3

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

func (*LivepeerTokenOwnershipTransferredIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*LivepeerTokenOwnershipTransferredIterator) Next added in v0.3.3

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

type LivepeerTokenRaw

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

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

func (*LivepeerTokenRaw) Call

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

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

func (*LivepeerTokenRaw) Transact

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

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

func (*LivepeerTokenRaw) Transfer

func (_LivepeerToken *LivepeerTokenRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type LivepeerTokenSession

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

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

func (*LivepeerTokenSession) Allowance

func (_LivepeerToken *LivepeerTokenSession) Allowance(owner common.Address, spender common.Address) (*big.Int, error)

Allowance is a free data retrieval call binding the contract method 0xdd62ed3e.

Solidity: function allowance(address owner, address spender) view returns(uint256)

func (*LivepeerTokenSession) Approve

func (_LivepeerToken *LivepeerTokenSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*LivepeerTokenSession) BalanceOf

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 added in v0.3.3

func (_LivepeerToken *LivepeerTokenSession) Burn(_amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 _amount) returns()

func (*LivepeerTokenSession) Decimals

func (_LivepeerToken *LivepeerTokenSession) Decimals() (uint8, error)

Decimals is a free data retrieval call binding the contract method 0x313ce567.

Solidity: function decimals() view returns(uint8)

func (*LivepeerTokenSession) DecreaseAllowance added in v0.5.0

func (_LivepeerToken *LivepeerTokenSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*LivepeerTokenSession) FinishMinting

func (_LivepeerToken *LivepeerTokenSession) FinishMinting() (*types.Transaction, error)

FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.

Solidity: function finishMinting() returns(bool)

func (*LivepeerTokenSession) IncreaseAllowance added in v0.5.0

func (_LivepeerToken *LivepeerTokenSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*LivepeerTokenSession) Mint

func (_LivepeerToken *LivepeerTokenSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _to, uint256 _amount) returns(bool)

func (*LivepeerTokenSession) MintingFinished

func (_LivepeerToken *LivepeerTokenSession) MintingFinished() (bool, error)

MintingFinished is a free data retrieval call binding the contract method 0x05d2035b.

Solidity: function mintingFinished() view returns(bool)

func (*LivepeerTokenSession) Name

func (_LivepeerToken *LivepeerTokenSession) Name() (string, error)

Name is a free data retrieval call binding the contract method 0x06fdde03.

Solidity: function name() view returns(string)

func (*LivepeerTokenSession) Owner

func (_LivepeerToken *LivepeerTokenSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*LivepeerTokenSession) Symbol

func (_LivepeerToken *LivepeerTokenSession) Symbol() (string, error)

Symbol is a free data retrieval call binding the contract method 0x95d89b41.

Solidity: function symbol() 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(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*LivepeerTokenSession) TransferFrom

func (_LivepeerToken *LivepeerTokenSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*LivepeerTokenSession) TransferOwnership

func (_LivepeerToken *LivepeerTokenSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

func (*LivepeerTokenSession) Version

func (_LivepeerToken *LivepeerTokenSession) Version() (string, error)

Version is a free data retrieval call binding the contract method 0x54fd4d50.

Solidity: function version() view returns(string)

type LivepeerTokenTransactor

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

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

func NewLivepeerTokenTransactor

func NewLivepeerTokenTransactor(address common.Address, transactor bind.ContractTransactor) (*LivepeerTokenTransactor, error)

NewLivepeerTokenTransactor creates a new write-only instance of LivepeerToken, bound to a specific deployed contract.

func (*LivepeerTokenTransactor) Approve

func (_LivepeerToken *LivepeerTokenTransactor) Approve(opts *bind.TransactOpts, spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*LivepeerTokenTransactor) Burn added in v0.3.3

func (_LivepeerToken *LivepeerTokenTransactor) Burn(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 _amount) returns()

func (*LivepeerTokenTransactor) DecreaseAllowance added in v0.5.0

func (_LivepeerToken *LivepeerTokenTransactor) DecreaseAllowance(opts *bind.TransactOpts, spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*LivepeerTokenTransactor) FinishMinting

func (_LivepeerToken *LivepeerTokenTransactor) FinishMinting(opts *bind.TransactOpts) (*types.Transaction, error)

FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.

Solidity: function finishMinting() returns(bool)

func (*LivepeerTokenTransactor) IncreaseAllowance added in v0.5.0

func (_LivepeerToken *LivepeerTokenTransactor) IncreaseAllowance(opts *bind.TransactOpts, spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*LivepeerTokenTransactor) Mint

func (_LivepeerToken *LivepeerTokenTransactor) Mint(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _to, uint256 _amount) returns(bool)

func (*LivepeerTokenTransactor) Transfer

func (_LivepeerToken *LivepeerTokenTransactor) Transfer(opts *bind.TransactOpts, recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*LivepeerTokenTransactor) TransferFrom

func (_LivepeerToken *LivepeerTokenTransactor) TransferFrom(opts *bind.TransactOpts, sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*LivepeerTokenTransactor) TransferOwnership

func (_LivepeerToken *LivepeerTokenTransactor) TransferOwnership(opts *bind.TransactOpts, newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type LivepeerTokenTransactorRaw

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

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

func (*LivepeerTokenTransactorRaw) Transact

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

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

func (*LivepeerTokenTransactorRaw) Transfer

func (_LivepeerToken *LivepeerTokenTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type LivepeerTokenTransactorSession

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

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

func (*LivepeerTokenTransactorSession) Approve

func (_LivepeerToken *LivepeerTokenTransactorSession) Approve(spender common.Address, value *big.Int) (*types.Transaction, error)

Approve is a paid mutator transaction binding the contract method 0x095ea7b3.

Solidity: function approve(address spender, uint256 value) returns(bool)

func (*LivepeerTokenTransactorSession) Burn added in v0.3.3

func (_LivepeerToken *LivepeerTokenTransactorSession) Burn(_amount *big.Int) (*types.Transaction, error)

Burn is a paid mutator transaction binding the contract method 0x42966c68.

Solidity: function burn(uint256 _amount) returns()

func (*LivepeerTokenTransactorSession) DecreaseAllowance added in v0.5.0

func (_LivepeerToken *LivepeerTokenTransactorSession) DecreaseAllowance(spender common.Address, subtractedValue *big.Int) (*types.Transaction, error)

DecreaseAllowance is a paid mutator transaction binding the contract method 0xa457c2d7.

Solidity: function decreaseAllowance(address spender, uint256 subtractedValue) returns(bool)

func (*LivepeerTokenTransactorSession) FinishMinting

func (_LivepeerToken *LivepeerTokenTransactorSession) FinishMinting() (*types.Transaction, error)

FinishMinting is a paid mutator transaction binding the contract method 0x7d64bcb4.

Solidity: function finishMinting() returns(bool)

func (*LivepeerTokenTransactorSession) IncreaseAllowance added in v0.5.0

func (_LivepeerToken *LivepeerTokenTransactorSession) IncreaseAllowance(spender common.Address, addedValue *big.Int) (*types.Transaction, error)

IncreaseAllowance is a paid mutator transaction binding the contract method 0x39509351.

Solidity: function increaseAllowance(address spender, uint256 addedValue) returns(bool)

func (*LivepeerTokenTransactorSession) Mint

func (_LivepeerToken *LivepeerTokenTransactorSession) Mint(_to common.Address, _amount *big.Int) (*types.Transaction, error)

Mint is a paid mutator transaction binding the contract method 0x40c10f19.

Solidity: function mint(address _to, uint256 _amount) returns(bool)

func (*LivepeerTokenTransactorSession) Transfer

func (_LivepeerToken *LivepeerTokenTransactorSession) Transfer(recipient common.Address, amount *big.Int) (*types.Transaction, error)

Transfer is a paid mutator transaction binding the contract method 0xa9059cbb.

Solidity: function transfer(address recipient, uint256 amount) returns(bool)

func (*LivepeerTokenTransactorSession) TransferFrom

func (_LivepeerToken *LivepeerTokenTransactorSession) TransferFrom(sender common.Address, recipient common.Address, amount *big.Int) (*types.Transaction, error)

TransferFrom is a paid mutator transaction binding the contract method 0x23b872dd.

Solidity: function transferFrom(address sender, address recipient, uint256 amount) returns(bool)

func (*LivepeerTokenTransactorSession) TransferOwnership

func (_LivepeerToken *LivepeerTokenTransactorSession) TransferOwnership(newOwner common.Address) (*types.Transaction, error)

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

Solidity: function transferOwnership(address newOwner) returns()

type LivepeerTokenTransfer added in v0.3.3

type LivepeerTokenTransfer struct {
	From  common.Address
	To    common.Address
	Value *big.Int
	Raw   types.Log // Blockchain specific contextual infos
}

LivepeerTokenTransfer represents a Transfer event raised by the LivepeerToken contract.

type LivepeerTokenTransferIterator added in v0.3.3

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

LivepeerTokenTransferIterator is returned from FilterTransfer and is used to iterate over the raw logs and unpacked data for Transfer events raised by the LivepeerToken contract.

func (*LivepeerTokenTransferIterator) Close added in v0.3.3

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

func (*LivepeerTokenTransferIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*LivepeerTokenTransferIterator) Next added in v0.3.3

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 added in v0.5.22

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 added in v0.5.22

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 added in v0.3.3

type Minter struct {
	MinterCaller     // Read-only binding to the contract
	MinterTransactor // Write-only binding to the contract
	MinterFilterer   // Log filterer for contract events
}

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

func NewMinter added in v0.3.3

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 added in v0.3.3

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

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

func NewMinterCaller added in v0.3.3

func NewMinterCaller(address common.Address, caller bind.ContractCaller) (*MinterCaller, error)

NewMinterCaller creates a new read-only instance of Minter, bound to a specific deployed contract.

func (*MinterCaller) Controller added in v0.3.3

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 added in v0.3.3

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 added in v0.3.3

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 added in v0.3.3

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 added in v0.5.26

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 added in v0.3.3

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 added in v0.3.3

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 added in v0.3.3

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 added in v0.3.3

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

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

func (*MinterCallerRaw) Call added in v0.3.3

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

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

type MinterCallerSession added in v0.3.3

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

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

func (*MinterCallerSession) Controller added in v0.3.3

func (_Minter *MinterCallerSession) Controller() (common.Address, error)

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

Solidity: function controller() view returns(address)

func (*MinterCallerSession) CurrentMintableTokens added in v0.3.3

func (_Minter *MinterCallerSession) CurrentMintableTokens() (*big.Int, error)

CurrentMintableTokens is a free data retrieval call binding the contract method 0x9ae6309a.

Solidity: function currentMintableTokens() view returns(uint256)

func (*MinterCallerSession) CurrentMintedTokens added in v0.3.3

func (_Minter *MinterCallerSession) CurrentMintedTokens() (*big.Int, error)

CurrentMintedTokens is a free data retrieval call binding the contract method 0x2de22cdb.

Solidity: function currentMintedTokens() view returns(uint256)

func (*MinterCallerSession) GetController added in v0.3.3

func (_Minter *MinterCallerSession) GetController() (common.Address, error)

GetController is a free data retrieval call binding the contract method 0x3018205f.

Solidity: function getController() view returns(address)

func (*MinterCallerSession) GetGlobalTotalSupply added in v0.5.26

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 added in v0.3.3

func (_Minter *MinterCallerSession) Inflation() (*big.Int, error)

Inflation is a free data retrieval call binding the contract method 0xbe0522e0.

Solidity: function inflation() view returns(uint256)

func (*MinterCallerSession) InflationChange added in v0.3.3

func (_Minter *MinterCallerSession) InflationChange() (*big.Int, error)

InflationChange is a free data retrieval call binding the contract method 0xa7c83514.

Solidity: function inflationChange() view returns(uint256)

func (*MinterCallerSession) TargetBondingRate added in v0.3.3

func (_Minter *MinterCallerSession) TargetBondingRate() (*big.Int, error)

TargetBondingRate is a free data retrieval call binding the contract method 0x821b771f.

Solidity: function targetBondingRate() view returns(uint256)

type MinterFilterer added in v0.3.3

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

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

func NewMinterFilterer added in v0.3.3

func NewMinterFilterer(address common.Address, filterer bind.ContractFilterer) (*MinterFilterer, error)

NewMinterFilterer creates a new log filterer instance of Minter, bound to a specific deployed contract.

func (*MinterFilterer) FilterParameterUpdate added in v0.3.3

func (_Minter *MinterFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*MinterParameterUpdateIterator, error)

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

Solidity: event ParameterUpdate(string param)

func (*MinterFilterer) FilterSetController added in v0.3.3

func (_Minter *MinterFilterer) FilterSetController(opts *bind.FilterOpts) (*MinterSetControllerIterator, error)

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

Solidity: event SetController(address controller)

func (*MinterFilterer) FilterSetCurrentRewardTokens added in v0.3.3

func (_Minter *MinterFilterer) FilterSetCurrentRewardTokens(opts *bind.FilterOpts) (*MinterSetCurrentRewardTokensIterator, error)

FilterSetCurrentRewardTokens is a free log retrieval operation binding the contract event 0x39567a366345edf17f50c1967a31b597745186c4632f34c4f8ebe06b6890784d.

Solidity: event SetCurrentRewardTokens(uint256 currentMintableTokens, uint256 currentInflation)

func (*MinterFilterer) ParseParameterUpdate added in v0.5.0

func (_Minter *MinterFilterer) ParseParameterUpdate(log types.Log) (*MinterParameterUpdate, error)

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

Solidity: event ParameterUpdate(string param)

func (*MinterFilterer) ParseSetController added in v0.5.0

func (_Minter *MinterFilterer) ParseSetController(log types.Log) (*MinterSetController, error)

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

Solidity: event SetController(address controller)

func (*MinterFilterer) ParseSetCurrentRewardTokens added in v0.5.0

func (_Minter *MinterFilterer) ParseSetCurrentRewardTokens(log types.Log) (*MinterSetCurrentRewardTokens, error)

ParseSetCurrentRewardTokens is a log parse operation binding the contract event 0x39567a366345edf17f50c1967a31b597745186c4632f34c4f8ebe06b6890784d.

Solidity: event SetCurrentRewardTokens(uint256 currentMintableTokens, uint256 currentInflation)

func (*MinterFilterer) WatchParameterUpdate added in v0.3.3

func (_Minter *MinterFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *MinterParameterUpdate) (event.Subscription, error)

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

Solidity: event ParameterUpdate(string param)

func (*MinterFilterer) WatchSetController added in v0.3.3

func (_Minter *MinterFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *MinterSetController) (event.Subscription, error)

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

Solidity: event SetController(address controller)

func (*MinterFilterer) WatchSetCurrentRewardTokens added in v0.3.3

func (_Minter *MinterFilterer) WatchSetCurrentRewardTokens(opts *bind.WatchOpts, sink chan<- *MinterSetCurrentRewardTokens) (event.Subscription, error)

WatchSetCurrentRewardTokens is a free log subscription operation binding the contract event 0x39567a366345edf17f50c1967a31b597745186c4632f34c4f8ebe06b6890784d.

Solidity: event SetCurrentRewardTokens(uint256 currentMintableTokens, uint256 currentInflation)

type MinterParameterUpdate added in v0.3.3

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

MinterParameterUpdate represents a ParameterUpdate event raised by the Minter contract.

type MinterParameterUpdateIterator added in v0.3.3

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

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

func (*MinterParameterUpdateIterator) Close added in v0.3.3

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

func (*MinterParameterUpdateIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*MinterParameterUpdateIterator) Next added in v0.3.3

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

type MinterRaw added in v0.3.3

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

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

func (*MinterRaw) Call added in v0.3.3

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

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

func (*MinterRaw) Transact added in v0.3.3

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

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

func (*MinterRaw) Transfer added in v0.3.3

func (_Minter *MinterRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type MinterSession added in v0.3.3

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

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

func (*MinterSession) Controller added in v0.3.3

func (_Minter *MinterSession) Controller() (common.Address, error)

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

Solidity: function controller() view returns(address)

func (*MinterSession) CreateReward added in v0.3.3

func (_Minter *MinterSession) CreateReward(_fracNum *big.Int, _fracDenom *big.Int) (*types.Transaction, error)

CreateReward is a paid mutator transaction binding the contract method 0x7dbedad5.

Solidity: function createReward(uint256 _fracNum, uint256 _fracDenom) returns(uint256)

func (*MinterSession) CurrentMintableTokens added in v0.3.3

func (_Minter *MinterSession) CurrentMintableTokens() (*big.Int, error)

CurrentMintableTokens is a free data retrieval call binding the contract method 0x9ae6309a.

Solidity: function currentMintableTokens() view returns(uint256)

func (*MinterSession) CurrentMintedTokens added in v0.3.3

func (_Minter *MinterSession) CurrentMintedTokens() (*big.Int, error)

CurrentMintedTokens is a free data retrieval call binding the contract method 0x2de22cdb.

Solidity: function currentMintedTokens() view returns(uint256)

func (*MinterSession) DepositETH added in v0.3.3

func (_Minter *MinterSession) DepositETH() (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0xf6326fb3.

Solidity: function depositETH() payable returns(bool)

func (*MinterSession) GetController added in v0.3.3

func (_Minter *MinterSession) GetController() (common.Address, error)

GetController is a free data retrieval call binding the contract method 0x3018205f.

Solidity: function getController() view returns(address)

func (*MinterSession) GetGlobalTotalSupply added in v0.5.26

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 added in v0.3.3

func (_Minter *MinterSession) Inflation() (*big.Int, error)

Inflation is a free data retrieval call binding the contract method 0xbe0522e0.

Solidity: function inflation() view returns(uint256)

func (*MinterSession) InflationChange added in v0.3.3

func (_Minter *MinterSession) InflationChange() (*big.Int, error)

InflationChange is a free data retrieval call binding the contract method 0xa7c83514.

Solidity: function inflationChange() view returns(uint256)

func (*MinterSession) MigrateToNewMinter added in v0.3.3

func (_Minter *MinterSession) MigrateToNewMinter(_newMinter common.Address) (*types.Transaction, error)

MigrateToNewMinter is a paid mutator transaction binding the contract method 0x18d217ad.

Solidity: function migrateToNewMinter(address _newMinter) returns()

func (*MinterSession) SetController added in v0.3.3

func (_Minter *MinterSession) SetController(_controller common.Address) (*types.Transaction, error)

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

Solidity: function setController(address _controller) returns()

func (*MinterSession) SetCurrentRewardTokens added in v0.3.3

func (_Minter *MinterSession) SetCurrentRewardTokens() (*types.Transaction, error)

SetCurrentRewardTokens is a paid mutator transaction binding the contract method 0xece2064c.

Solidity: function setCurrentRewardTokens() returns()

func (*MinterSession) SetInflationChange added in v0.3.3

func (_Minter *MinterSession) SetInflationChange(_inflationChange *big.Int) (*types.Transaction, error)

SetInflationChange is a paid mutator transaction binding the contract method 0x010e3c1c.

Solidity: function setInflationChange(uint256 _inflationChange) returns()

func (*MinterSession) SetTargetBondingRate added in v0.3.3

func (_Minter *MinterSession) SetTargetBondingRate(_targetBondingRate *big.Int) (*types.Transaction, error)

SetTargetBondingRate is a paid mutator transaction binding the contract method 0x77bde142.

Solidity: function setTargetBondingRate(uint256 _targetBondingRate) returns()

func (*MinterSession) TargetBondingRate added in v0.3.3

func (_Minter *MinterSession) TargetBondingRate() (*big.Int, error)

TargetBondingRate is a free data retrieval call binding the contract method 0x821b771f.

Solidity: function targetBondingRate() view returns(uint256)

func (*MinterSession) TrustedBurnTokens added in v0.3.3

func (_Minter *MinterSession) TrustedBurnTokens(_amount *big.Int) (*types.Transaction, error)

TrustedBurnTokens is a paid mutator transaction binding the contract method 0xc7ee98c2.

Solidity: function trustedBurnTokens(uint256 _amount) returns()

func (*MinterSession) TrustedTransferTokens added in v0.3.3

func (_Minter *MinterSession) TrustedTransferTokens(_to common.Address, _amount *big.Int) (*types.Transaction, error)

TrustedTransferTokens is a paid mutator transaction binding the contract method 0xe7a49c2b.

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

func (*MinterSession) TrustedWithdrawETH added in v0.3.3

func (_Minter *MinterSession) TrustedWithdrawETH(_to common.Address, _amount *big.Int) (*types.Transaction, error)

TrustedWithdrawETH is a paid mutator transaction binding the contract method 0x20283da9.

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

type MinterSetController added in v0.3.3

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

MinterSetController represents a SetController event raised by the Minter contract.

type MinterSetControllerIterator added in v0.3.3

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

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

func (*MinterSetControllerIterator) Close added in v0.3.3

func (it *MinterSetControllerIterator) Close() error

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

func (*MinterSetControllerIterator) Error added in v0.3.3

func (it *MinterSetControllerIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*MinterSetControllerIterator) Next added in v0.3.3

func (it *MinterSetControllerIterator) Next() bool

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

type MinterSetCurrentRewardTokens added in v0.3.3

type MinterSetCurrentRewardTokens struct {
	CurrentMintableTokens *big.Int
	CurrentInflation      *big.Int
	Raw                   types.Log // Blockchain specific contextual infos
}

MinterSetCurrentRewardTokens represents a SetCurrentRewardTokens event raised by the Minter contract.

type MinterSetCurrentRewardTokensIterator added in v0.3.3

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

MinterSetCurrentRewardTokensIterator is returned from FilterSetCurrentRewardTokens and is used to iterate over the raw logs and unpacked data for SetCurrentRewardTokens events raised by the Minter contract.

func (*MinterSetCurrentRewardTokensIterator) Close added in v0.3.3

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

func (*MinterSetCurrentRewardTokensIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*MinterSetCurrentRewardTokensIterator) Next added in v0.3.3

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

type MinterTransactor added in v0.3.3

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

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

func NewMinterTransactor added in v0.3.3

func NewMinterTransactor(address common.Address, transactor bind.ContractTransactor) (*MinterTransactor, error)

NewMinterTransactor creates a new write-only instance of Minter, bound to a specific deployed contract.

func (*MinterTransactor) CreateReward added in v0.3.3

func (_Minter *MinterTransactor) CreateReward(opts *bind.TransactOpts, _fracNum *big.Int, _fracDenom *big.Int) (*types.Transaction, error)

CreateReward is a paid mutator transaction binding the contract method 0x7dbedad5.

Solidity: function createReward(uint256 _fracNum, uint256 _fracDenom) returns(uint256)

func (*MinterTransactor) DepositETH added in v0.3.3

func (_Minter *MinterTransactor) DepositETH(opts *bind.TransactOpts) (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0xf6326fb3.

Solidity: function depositETH() payable returns(bool)

func (*MinterTransactor) MigrateToNewMinter added in v0.3.3

func (_Minter *MinterTransactor) MigrateToNewMinter(opts *bind.TransactOpts, _newMinter common.Address) (*types.Transaction, error)

MigrateToNewMinter is a paid mutator transaction binding the contract method 0x18d217ad.

Solidity: function migrateToNewMinter(address _newMinter) returns()

func (*MinterTransactor) SetController added in v0.3.3

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

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

Solidity: function setController(address _controller) returns()

func (*MinterTransactor) SetCurrentRewardTokens added in v0.3.3

func (_Minter *MinterTransactor) SetCurrentRewardTokens(opts *bind.TransactOpts) (*types.Transaction, error)

SetCurrentRewardTokens is a paid mutator transaction binding the contract method 0xece2064c.

Solidity: function setCurrentRewardTokens() returns()

func (*MinterTransactor) SetInflationChange added in v0.3.3

func (_Minter *MinterTransactor) SetInflationChange(opts *bind.TransactOpts, _inflationChange *big.Int) (*types.Transaction, error)

SetInflationChange is a paid mutator transaction binding the contract method 0x010e3c1c.

Solidity: function setInflationChange(uint256 _inflationChange) returns()

func (*MinterTransactor) SetTargetBondingRate added in v0.3.3

func (_Minter *MinterTransactor) SetTargetBondingRate(opts *bind.TransactOpts, _targetBondingRate *big.Int) (*types.Transaction, error)

SetTargetBondingRate is a paid mutator transaction binding the contract method 0x77bde142.

Solidity: function setTargetBondingRate(uint256 _targetBondingRate) returns()

func (*MinterTransactor) TrustedBurnTokens added in v0.3.3

func (_Minter *MinterTransactor) TrustedBurnTokens(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

TrustedBurnTokens is a paid mutator transaction binding the contract method 0xc7ee98c2.

Solidity: function trustedBurnTokens(uint256 _amount) returns()

func (*MinterTransactor) TrustedTransferTokens added in v0.3.3

func (_Minter *MinterTransactor) TrustedTransferTokens(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

TrustedTransferTokens is a paid mutator transaction binding the contract method 0xe7a49c2b.

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

func (*MinterTransactor) TrustedWithdrawETH added in v0.3.3

func (_Minter *MinterTransactor) TrustedWithdrawETH(opts *bind.TransactOpts, _to common.Address, _amount *big.Int) (*types.Transaction, error)

TrustedWithdrawETH is a paid mutator transaction binding the contract method 0x20283da9.

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

type MinterTransactorRaw added in v0.3.3

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

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

func (*MinterTransactorRaw) Transact added in v0.3.3

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

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

func (*MinterTransactorRaw) Transfer added in v0.3.3

func (_Minter *MinterTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

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

type MinterTransactorSession added in v0.3.3

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

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

func (*MinterTransactorSession) CreateReward added in v0.3.3

func (_Minter *MinterTransactorSession) CreateReward(_fracNum *big.Int, _fracDenom *big.Int) (*types.Transaction, error)

CreateReward is a paid mutator transaction binding the contract method 0x7dbedad5.

Solidity: function createReward(uint256 _fracNum, uint256 _fracDenom) returns(uint256)

func (*MinterTransactorSession) DepositETH added in v0.3.3

func (_Minter *MinterTransactorSession) DepositETH() (*types.Transaction, error)

DepositETH is a paid mutator transaction binding the contract method 0xf6326fb3.

Solidity: function depositETH() payable returns(bool)

func (*MinterTransactorSession) MigrateToNewMinter added in v0.3.3

func (_Minter *MinterTransactorSession) MigrateToNewMinter(_newMinter common.Address) (*types.Transaction, error)

MigrateToNewMinter is a paid mutator transaction binding the contract method 0x18d217ad.

Solidity: function migrateToNewMinter(address _newMinter) returns()

func (*MinterTransactorSession) SetController added in v0.3.3

func (_Minter *MinterTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)

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

Solidity: function setController(address _controller) returns()

func (*MinterTransactorSession) SetCurrentRewardTokens added in v0.3.3

func (_Minter *MinterTransactorSession) SetCurrentRewardTokens() (*types.Transaction, error)

SetCurrentRewardTokens is a paid mutator transaction binding the contract method 0xece2064c.

Solidity: function setCurrentRewardTokens() returns()

func (*MinterTransactorSession) SetInflationChange added in v0.3.3

func (_Minter *MinterTransactorSession) SetInflationChange(_inflationChange *big.Int) (*types.Transaction, error)

SetInflationChange is a paid mutator transaction binding the contract method 0x010e3c1c.

Solidity: function setInflationChange(uint256 _inflationChange) returns()

func (*MinterTransactorSession) SetTargetBondingRate added in v0.3.3

func (_Minter *MinterTransactorSession) SetTargetBondingRate(_targetBondingRate *big.Int) (*types.Transaction, error)

SetTargetBondingRate is a paid mutator transaction binding the contract method 0x77bde142.

Solidity: function setTargetBondingRate(uint256 _targetBondingRate) returns()

func (*MinterTransactorSession) TrustedBurnTokens added in v0.3.3

func (_Minter *MinterTransactorSession) TrustedBurnTokens(_amount *big.Int) (*types.Transaction, error)

TrustedBurnTokens is a paid mutator transaction binding the contract method 0xc7ee98c2.

Solidity: function trustedBurnTokens(uint256 _amount) returns()

func (*MinterTransactorSession) TrustedTransferTokens added in v0.3.3

func (_Minter *MinterTransactorSession) TrustedTransferTokens(_to common.Address, _amount *big.Int) (*types.Transaction, error)

TrustedTransferTokens is a paid mutator transaction binding the contract method 0xe7a49c2b.

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

func (*MinterTransactorSession) TrustedWithdrawETH added in v0.3.3

func (_Minter *MinterTransactorSession) TrustedWithdrawETH(_to common.Address, _amount *big.Int) (*types.Transaction, error)

TrustedWithdrawETH is a paid mutator transaction binding the contract method 0x20283da9.

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

type MixinTicketBrokerCoreSender added in v0.5.22

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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

PollCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewPollCaller added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

type PollFilterer struct {
	// contains filtered or unexported fields
}

PollFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewPollFilterer added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

type PollTransactor struct {
	// contains filtered or unexported fields
}

PollTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewPollTransactor added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

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 added in v0.5.8

func (it *PollVoteIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*PollVoteIterator) Error added in v0.5.8

func (it *PollVoteIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*PollVoteIterator) Next added in v0.5.8

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 added in v0.3.3

func (_RoundsManager *RoundsManagerCaller) BlockHash(opts *bind.CallOpts, _block *big.Int) ([32]byte, error)

BlockHash is a free data retrieval call binding the contract method 0x85df51fd.

Solidity: function blockHash(uint256 _block) view returns(bytes32)

func (*RoundsManagerCaller) BlockHashForRound added in v0.5.0

func (_RoundsManager *RoundsManagerCaller) BlockHashForRound(opts *bind.CallOpts, _round *big.Int) ([32]byte, error)

BlockHashForRound is a free data retrieval call binding the contract method 0x3aa4add4.

Solidity: function blockHashForRound(uint256 _round) 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 added in v0.3.3

func (_RoundsManager *RoundsManagerCaller) LastRoundLengthUpdateRound(opts *bind.CallOpts) (*big.Int, error)

LastRoundLengthUpdateRound is a free data retrieval call binding the contract method 0x0fe1dfa8.

Solidity: function lastRoundLengthUpdateRound() view returns(uint256)

func (*RoundsManagerCaller) LastRoundLengthUpdateStartBlock added in v0.3.3

func (_RoundsManager *RoundsManagerCaller) LastRoundLengthUpdateStartBlock(opts *bind.CallOpts) (*big.Int, error)

LastRoundLengthUpdateStartBlock is a free data retrieval call binding the contract method 0x668abff7.

Solidity: function lastRoundLengthUpdateStartBlock() view returns(uint256)

func (*RoundsManagerCaller) LipUpgradeRound added in v0.5.22

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 added in v0.3.3

func (_RoundsManager *RoundsManagerCallerSession) BlockHash(_block *big.Int) ([32]byte, error)

BlockHash is a free data retrieval call binding the contract method 0x85df51fd.

Solidity: function blockHash(uint256 _block) view returns(bytes32)

func (*RoundsManagerCallerSession) BlockHashForRound added in v0.5.0

func (_RoundsManager *RoundsManagerCallerSession) BlockHashForRound(_round *big.Int) ([32]byte, error)

BlockHashForRound is a free data retrieval call binding the contract method 0x3aa4add4.

Solidity: function blockHashForRound(uint256 _round) 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 added in v0.3.3

func (_RoundsManager *RoundsManagerCallerSession) LastRoundLengthUpdateRound() (*big.Int, error)

LastRoundLengthUpdateRound is a free data retrieval call binding the contract method 0x0fe1dfa8.

Solidity: function lastRoundLengthUpdateRound() view returns(uint256)

func (*RoundsManagerCallerSession) LastRoundLengthUpdateStartBlock added in v0.3.3

func (_RoundsManager *RoundsManagerCallerSession) LastRoundLengthUpdateStartBlock() (*big.Int, error)

LastRoundLengthUpdateStartBlock is a free data retrieval call binding the contract method 0x668abff7.

Solidity: function lastRoundLengthUpdateStartBlock() view returns(uint256)

func (*RoundsManagerCallerSession) LipUpgradeRound added in v0.5.22

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 added in v0.3.3

type RoundsManagerFilterer struct {
	// contains filtered or unexported fields
}

RoundsManagerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewRoundsManagerFilterer added in v0.3.3

func NewRoundsManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*RoundsManagerFilterer, error)

NewRoundsManagerFilterer creates a new log filterer instance of RoundsManager, bound to a specific deployed contract.

func (*RoundsManagerFilterer) FilterNewRound added in v0.3.3

func (_RoundsManager *RoundsManagerFilterer) FilterNewRound(opts *bind.FilterOpts, round []*big.Int) (*RoundsManagerNewRoundIterator, error)

FilterNewRound is a free log retrieval operation binding the contract event 0x22f2fc17c5daf07db2379b3a03a8ef20a183f761097a58fce219c8a14619e786.

Solidity: event NewRound(uint256 indexed round, bytes32 blockHash)

func (*RoundsManagerFilterer) FilterParameterUpdate added in v0.3.3

func (_RoundsManager *RoundsManagerFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*RoundsManagerParameterUpdateIterator, error)

FilterParameterUpdate is a free log retrieval operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*RoundsManagerFilterer) FilterSetController added in v0.3.3

func (_RoundsManager *RoundsManagerFilterer) FilterSetController(opts *bind.FilterOpts) (*RoundsManagerSetControllerIterator, error)

FilterSetController is a free log retrieval operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*RoundsManagerFilterer) ParseNewRound added in v0.5.0

func (_RoundsManager *RoundsManagerFilterer) ParseNewRound(log types.Log) (*RoundsManagerNewRound, error)

ParseNewRound is a log parse operation binding the contract event 0x22f2fc17c5daf07db2379b3a03a8ef20a183f761097a58fce219c8a14619e786.

Solidity: event NewRound(uint256 indexed round, bytes32 blockHash)

func (*RoundsManagerFilterer) ParseParameterUpdate added in v0.5.0

func (_RoundsManager *RoundsManagerFilterer) ParseParameterUpdate(log types.Log) (*RoundsManagerParameterUpdate, error)

ParseParameterUpdate is a log parse operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*RoundsManagerFilterer) ParseSetController added in v0.5.0

func (_RoundsManager *RoundsManagerFilterer) ParseSetController(log types.Log) (*RoundsManagerSetController, error)

ParseSetController is a log parse operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*RoundsManagerFilterer) WatchNewRound added in v0.3.3

func (_RoundsManager *RoundsManagerFilterer) WatchNewRound(opts *bind.WatchOpts, sink chan<- *RoundsManagerNewRound, round []*big.Int) (event.Subscription, error)

WatchNewRound is a free log subscription operation binding the contract event 0x22f2fc17c5daf07db2379b3a03a8ef20a183f761097a58fce219c8a14619e786.

Solidity: event NewRound(uint256 indexed round, bytes32 blockHash)

func (*RoundsManagerFilterer) WatchParameterUpdate added in v0.3.3

func (_RoundsManager *RoundsManagerFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *RoundsManagerParameterUpdate) (event.Subscription, error)

WatchParameterUpdate is a free log subscription operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*RoundsManagerFilterer) WatchSetController added in v0.3.3

func (_RoundsManager *RoundsManagerFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *RoundsManagerSetController) (event.Subscription, error)

WatchSetController is a free log subscription operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

type RoundsManagerNewRound added in v0.3.3

type RoundsManagerNewRound struct {
	Round     *big.Int
	BlockHash [32]byte
	Raw       types.Log // Blockchain specific contextual infos
}

RoundsManagerNewRound represents a NewRound event raised by the RoundsManager contract.

type RoundsManagerNewRoundIterator added in v0.3.3

type RoundsManagerNewRoundIterator struct {
	Event *RoundsManagerNewRound // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RoundsManagerNewRoundIterator is returned from FilterNewRound and is used to iterate over the raw logs and unpacked data for NewRound events raised by the RoundsManager contract.

func (*RoundsManagerNewRoundIterator) Close added in v0.3.3

Close terminates the iteration process, releasing any pending underlying resources.

func (*RoundsManagerNewRoundIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*RoundsManagerNewRoundIterator) Next added in v0.3.3

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type RoundsManagerParameterUpdate added in v0.3.3

type RoundsManagerParameterUpdate struct {
	Param string
	Raw   types.Log // Blockchain specific contextual infos
}

RoundsManagerParameterUpdate represents a ParameterUpdate event raised by the RoundsManager contract.

type RoundsManagerParameterUpdateIterator added in v0.3.3

type RoundsManagerParameterUpdateIterator struct {
	Event *RoundsManagerParameterUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RoundsManagerParameterUpdateIterator is returned from FilterParameterUpdate and is used to iterate over the raw logs and unpacked data for ParameterUpdate events raised by the RoundsManager contract.

func (*RoundsManagerParameterUpdateIterator) Close added in v0.3.3

Close terminates the iteration process, releasing any pending underlying resources.

func (*RoundsManagerParameterUpdateIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*RoundsManagerParameterUpdateIterator) Next added in v0.3.3

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type RoundsManagerRaw

type RoundsManagerRaw struct {
	Contract *RoundsManager // Generic contract binding to access the raw methods on
}

RoundsManagerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*RoundsManagerRaw) Call

func (_RoundsManager *RoundsManagerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*RoundsManagerRaw) Transact

func (_RoundsManager *RoundsManagerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RoundsManagerRaw) Transfer

func (_RoundsManager *RoundsManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type RoundsManagerSession

type RoundsManagerSession struct {
	Contract     *RoundsManager    // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

RoundsManagerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*RoundsManagerSession) BlockHash added in v0.3.3

func (_RoundsManager *RoundsManagerSession) BlockHash(_block *big.Int) ([32]byte, error)

BlockHash is a free data retrieval call binding the contract method 0x85df51fd.

Solidity: function blockHash(uint256 _block) view returns(bytes32)

func (*RoundsManagerSession) BlockHashForRound added in v0.5.0

func (_RoundsManager *RoundsManagerSession) BlockHashForRound(_round *big.Int) ([32]byte, error)

BlockHashForRound is a free data retrieval call binding the contract method 0x3aa4add4.

Solidity: function blockHashForRound(uint256 _round) 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 added in v0.3.3

func (_RoundsManager *RoundsManagerSession) LastRoundLengthUpdateRound() (*big.Int, error)

LastRoundLengthUpdateRound is a free data retrieval call binding the contract method 0x0fe1dfa8.

Solidity: function lastRoundLengthUpdateRound() view returns(uint256)

func (*RoundsManagerSession) LastRoundLengthUpdateStartBlock added in v0.3.3

func (_RoundsManager *RoundsManagerSession) LastRoundLengthUpdateStartBlock() (*big.Int, error)

LastRoundLengthUpdateStartBlock is a free data retrieval call binding the contract method 0x668abff7.

Solidity: function lastRoundLengthUpdateStartBlock() view returns(uint256)

func (*RoundsManagerSession) LipUpgradeRound added in v0.5.22

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 added in v0.5.22

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 added in v0.3.3

func (_RoundsManager *RoundsManagerSession) SetRoundLockAmount(_roundLockAmount *big.Int) (*types.Transaction, error)

SetRoundLockAmount is a paid mutator transaction binding the contract method 0x0b1573b8.

Solidity: function setRoundLockAmount(uint256 _roundLockAmount) returns()

func (*RoundsManagerSession) TargetContractId

func (_RoundsManager *RoundsManagerSession) TargetContractId() ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

type RoundsManagerSetController added in v0.3.3

type RoundsManagerSetController struct {
	Controller common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

RoundsManagerSetController represents a SetController event raised by the RoundsManager contract.

type RoundsManagerSetControllerIterator added in v0.3.3

type RoundsManagerSetControllerIterator struct {
	Event *RoundsManagerSetController // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

RoundsManagerSetControllerIterator is returned from FilterSetController and is used to iterate over the raw logs and unpacked data for SetController events raised by the RoundsManager contract.

func (*RoundsManagerSetControllerIterator) Close added in v0.3.3

Close terminates the iteration process, releasing any pending underlying resources.

func (*RoundsManagerSetControllerIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*RoundsManagerSetControllerIterator) Next added in v0.3.3

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 added in v0.5.22

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 added in v0.3.3

func (_RoundsManager *RoundsManagerTransactor) SetRoundLockAmount(opts *bind.TransactOpts, _roundLockAmount *big.Int) (*types.Transaction, error)

SetRoundLockAmount is a paid mutator transaction binding the contract method 0x0b1573b8.

Solidity: function setRoundLockAmount(uint256 _roundLockAmount) returns()

type RoundsManagerTransactorRaw

type RoundsManagerTransactorRaw struct {
	Contract *RoundsManagerTransactor // Generic write-only contract binding to access the raw methods on
}

RoundsManagerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*RoundsManagerTransactorRaw) Transact

func (_RoundsManager *RoundsManagerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*RoundsManagerTransactorRaw) Transfer

func (_RoundsManager *RoundsManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type RoundsManagerTransactorSession

type RoundsManagerTransactorSession struct {
	Contract     *RoundsManagerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts        // Transaction auth options to use throughout this session
}

RoundsManagerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*RoundsManagerTransactorSession) InitializeRound

func (_RoundsManager *RoundsManagerTransactorSession) InitializeRound() (*types.Transaction, error)

InitializeRound is a paid mutator transaction binding the contract method 0xd4807fb2.

Solidity: function initializeRound() returns()

func (*RoundsManagerTransactorSession) SetController

func (_RoundsManager *RoundsManagerTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*RoundsManagerTransactorSession) SetLIPUpgradeRound added in v0.5.22

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 added in v0.3.3

func (_RoundsManager *RoundsManagerTransactorSession) SetRoundLockAmount(_roundLockAmount *big.Int) (*types.Transaction, error)

SetRoundLockAmount is a paid mutator transaction binding the contract method 0x0b1573b8.

Solidity: function setRoundLockAmount(uint256 _roundLockAmount) returns()

type ServiceRegistry added in v0.3.3

type ServiceRegistry struct {
	ServiceRegistryCaller     // Read-only binding to the contract
	ServiceRegistryTransactor // Write-only binding to the contract
	ServiceRegistryFilterer   // Log filterer for contract events
}

ServiceRegistry is an auto generated Go binding around an Ethereum contract.

func NewServiceRegistry added in v0.3.3

func NewServiceRegistry(address common.Address, backend bind.ContractBackend) (*ServiceRegistry, error)

NewServiceRegistry creates a new instance of ServiceRegistry, bound to a specific deployed contract.

type ServiceRegistryCaller added in v0.3.3

type ServiceRegistryCaller struct {
	// contains filtered or unexported fields
}

ServiceRegistryCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewServiceRegistryCaller added in v0.3.3

func NewServiceRegistryCaller(address common.Address, caller bind.ContractCaller) (*ServiceRegistryCaller, error)

NewServiceRegistryCaller creates a new read-only instance of ServiceRegistry, bound to a specific deployed contract.

func (*ServiceRegistryCaller) Controller added in v0.3.3

func (_ServiceRegistry *ServiceRegistryCaller) Controller(opts *bind.CallOpts) (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*ServiceRegistryCaller) GetServiceURI added in v0.3.3

func (_ServiceRegistry *ServiceRegistryCaller) GetServiceURI(opts *bind.CallOpts, _addr common.Address) (string, error)

GetServiceURI is a free data retrieval call binding the contract method 0x214c2a4b.

Solidity: function getServiceURI(address _addr) view returns(string)

func (*ServiceRegistryCaller) TargetContractId added in v0.3.3

func (_ServiceRegistry *ServiceRegistryCaller) TargetContractId(opts *bind.CallOpts) ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

type ServiceRegistryCallerRaw added in v0.3.3

type ServiceRegistryCallerRaw struct {
	Contract *ServiceRegistryCaller // Generic read-only contract binding to access the raw methods on
}

ServiceRegistryCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*ServiceRegistryCallerRaw) Call added in v0.3.3

func (_ServiceRegistry *ServiceRegistryCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type ServiceRegistryCallerSession added in v0.3.3

type ServiceRegistryCallerSession struct {
	Contract *ServiceRegistryCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts          // Call options to use throughout this session
}

ServiceRegistryCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*ServiceRegistryCallerSession) Controller added in v0.3.3

func (_ServiceRegistry *ServiceRegistryCallerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*ServiceRegistryCallerSession) GetServiceURI added in v0.3.3

func (_ServiceRegistry *ServiceRegistryCallerSession) GetServiceURI(_addr common.Address) (string, error)

GetServiceURI is a free data retrieval call binding the contract method 0x214c2a4b.

Solidity: function getServiceURI(address _addr) view returns(string)

func (*ServiceRegistryCallerSession) TargetContractId added in v0.3.3

func (_ServiceRegistry *ServiceRegistryCallerSession) TargetContractId() ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

type ServiceRegistryFilterer added in v0.3.3

type ServiceRegistryFilterer struct {
	// contains filtered or unexported fields
}

ServiceRegistryFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewServiceRegistryFilterer added in v0.3.3

func NewServiceRegistryFilterer(address common.Address, filterer bind.ContractFilterer) (*ServiceRegistryFilterer, error)

NewServiceRegistryFilterer creates a new log filterer instance of ServiceRegistry, bound to a specific deployed contract.

func (*ServiceRegistryFilterer) FilterParameterUpdate added in v0.3.3

func (_ServiceRegistry *ServiceRegistryFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*ServiceRegistryParameterUpdateIterator, error)

FilterParameterUpdate is a free log retrieval operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*ServiceRegistryFilterer) FilterServiceURIUpdate added in v0.3.3

func (_ServiceRegistry *ServiceRegistryFilterer) FilterServiceURIUpdate(opts *bind.FilterOpts, addr []common.Address) (*ServiceRegistryServiceURIUpdateIterator, error)

FilterServiceURIUpdate is a free log retrieval operation binding the contract event 0xfbb63068732c85741c9f8e61caffaabe038d577bfafd2d2dcc0e352a4f653a4c.

Solidity: event ServiceURIUpdate(address indexed addr, string serviceURI)

func (*ServiceRegistryFilterer) FilterSetController added in v0.3.3

func (_ServiceRegistry *ServiceRegistryFilterer) FilterSetController(opts *bind.FilterOpts) (*ServiceRegistrySetControllerIterator, error)

FilterSetController is a free log retrieval operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*ServiceRegistryFilterer) ParseParameterUpdate added in v0.5.0

func (_ServiceRegistry *ServiceRegistryFilterer) ParseParameterUpdate(log types.Log) (*ServiceRegistryParameterUpdate, error)

ParseParameterUpdate is a log parse operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*ServiceRegistryFilterer) ParseServiceURIUpdate added in v0.5.0

func (_ServiceRegistry *ServiceRegistryFilterer) ParseServiceURIUpdate(log types.Log) (*ServiceRegistryServiceURIUpdate, error)

ParseServiceURIUpdate is a log parse operation binding the contract event 0xfbb63068732c85741c9f8e61caffaabe038d577bfafd2d2dcc0e352a4f653a4c.

Solidity: event ServiceURIUpdate(address indexed addr, string serviceURI)

func (*ServiceRegistryFilterer) ParseSetController added in v0.5.0

func (_ServiceRegistry *ServiceRegistryFilterer) ParseSetController(log types.Log) (*ServiceRegistrySetController, error)

ParseSetController is a log parse operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*ServiceRegistryFilterer) WatchParameterUpdate added in v0.3.3

func (_ServiceRegistry *ServiceRegistryFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *ServiceRegistryParameterUpdate) (event.Subscription, error)

WatchParameterUpdate is a free log subscription operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*ServiceRegistryFilterer) WatchServiceURIUpdate added in v0.3.3

func (_ServiceRegistry *ServiceRegistryFilterer) WatchServiceURIUpdate(opts *bind.WatchOpts, sink chan<- *ServiceRegistryServiceURIUpdate, addr []common.Address) (event.Subscription, error)

WatchServiceURIUpdate is a free log subscription operation binding the contract event 0xfbb63068732c85741c9f8e61caffaabe038d577bfafd2d2dcc0e352a4f653a4c.

Solidity: event ServiceURIUpdate(address indexed addr, string serviceURI)

func (*ServiceRegistryFilterer) WatchSetController added in v0.3.3

func (_ServiceRegistry *ServiceRegistryFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *ServiceRegistrySetController) (event.Subscription, error)

WatchSetController is a free log subscription operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

type ServiceRegistryParameterUpdate added in v0.3.3

type ServiceRegistryParameterUpdate struct {
	Param string
	Raw   types.Log // Blockchain specific contextual infos
}

ServiceRegistryParameterUpdate represents a ParameterUpdate event raised by the ServiceRegistry contract.

type ServiceRegistryParameterUpdateIterator added in v0.3.3

type ServiceRegistryParameterUpdateIterator struct {
	Event *ServiceRegistryParameterUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ServiceRegistryParameterUpdateIterator is returned from FilterParameterUpdate and is used to iterate over the raw logs and unpacked data for ParameterUpdate events raised by the ServiceRegistry contract.

func (*ServiceRegistryParameterUpdateIterator) Close added in v0.3.3

Close terminates the iteration process, releasing any pending underlying resources.

func (*ServiceRegistryParameterUpdateIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*ServiceRegistryParameterUpdateIterator) Next added in v0.3.3

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ServiceRegistryRaw added in v0.3.3

type ServiceRegistryRaw struct {
	Contract *ServiceRegistry // Generic contract binding to access the raw methods on
}

ServiceRegistryRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*ServiceRegistryRaw) Call added in v0.3.3

func (_ServiceRegistry *ServiceRegistryRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*ServiceRegistryRaw) Transact added in v0.3.3

func (_ServiceRegistry *ServiceRegistryRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ServiceRegistryRaw) Transfer added in v0.3.3

func (_ServiceRegistry *ServiceRegistryRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ServiceRegistryServiceURIUpdate added in v0.3.3

type ServiceRegistryServiceURIUpdate struct {
	Addr       common.Address
	ServiceURI string
	Raw        types.Log // Blockchain specific contextual infos
}

ServiceRegistryServiceURIUpdate represents a ServiceURIUpdate event raised by the ServiceRegistry contract.

type ServiceRegistryServiceURIUpdateIterator added in v0.3.3

type ServiceRegistryServiceURIUpdateIterator struct {
	Event *ServiceRegistryServiceURIUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ServiceRegistryServiceURIUpdateIterator is returned from FilterServiceURIUpdate and is used to iterate over the raw logs and unpacked data for ServiceURIUpdate events raised by the ServiceRegistry contract.

func (*ServiceRegistryServiceURIUpdateIterator) Close added in v0.3.3

Close terminates the iteration process, releasing any pending underlying resources.

func (*ServiceRegistryServiceURIUpdateIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*ServiceRegistryServiceURIUpdateIterator) Next added in v0.3.3

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ServiceRegistrySession added in v0.3.3

type ServiceRegistrySession struct {
	Contract     *ServiceRegistry  // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

ServiceRegistrySession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*ServiceRegistrySession) Controller added in v0.3.3

func (_ServiceRegistry *ServiceRegistrySession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*ServiceRegistrySession) GetServiceURI added in v0.3.3

func (_ServiceRegistry *ServiceRegistrySession) GetServiceURI(_addr common.Address) (string, error)

GetServiceURI is a free data retrieval call binding the contract method 0x214c2a4b.

Solidity: function getServiceURI(address _addr) view returns(string)

func (*ServiceRegistrySession) SetController added in v0.3.3

func (_ServiceRegistry *ServiceRegistrySession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*ServiceRegistrySession) SetServiceURI added in v0.3.3

func (_ServiceRegistry *ServiceRegistrySession) SetServiceURI(_serviceURI string) (*types.Transaction, error)

SetServiceURI is a paid mutator transaction binding the contract method 0x5f11301b.

Solidity: function setServiceURI(string _serviceURI) returns()

func (*ServiceRegistrySession) TargetContractId added in v0.3.3

func (_ServiceRegistry *ServiceRegistrySession) TargetContractId() ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

type ServiceRegistrySetController added in v0.3.3

type ServiceRegistrySetController struct {
	Controller common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

ServiceRegistrySetController represents a SetController event raised by the ServiceRegistry contract.

type ServiceRegistrySetControllerIterator added in v0.3.3

type ServiceRegistrySetControllerIterator struct {
	Event *ServiceRegistrySetController // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

ServiceRegistrySetControllerIterator is returned from FilterSetController and is used to iterate over the raw logs and unpacked data for SetController events raised by the ServiceRegistry contract.

func (*ServiceRegistrySetControllerIterator) Close added in v0.3.3

Close terminates the iteration process, releasing any pending underlying resources.

func (*ServiceRegistrySetControllerIterator) Error added in v0.3.3

Error returns any retrieval or parsing error occurred during filtering.

func (*ServiceRegistrySetControllerIterator) Next added in v0.3.3

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type ServiceRegistryTransactor added in v0.3.3

type ServiceRegistryTransactor struct {
	// contains filtered or unexported fields
}

ServiceRegistryTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewServiceRegistryTransactor added in v0.3.3

func NewServiceRegistryTransactor(address common.Address, transactor bind.ContractTransactor) (*ServiceRegistryTransactor, error)

NewServiceRegistryTransactor creates a new write-only instance of ServiceRegistry, bound to a specific deployed contract.

func (*ServiceRegistryTransactor) SetController added in v0.3.3

func (_ServiceRegistry *ServiceRegistryTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*ServiceRegistryTransactor) SetServiceURI added in v0.3.3

func (_ServiceRegistry *ServiceRegistryTransactor) SetServiceURI(opts *bind.TransactOpts, _serviceURI string) (*types.Transaction, error)

SetServiceURI is a paid mutator transaction binding the contract method 0x5f11301b.

Solidity: function setServiceURI(string _serviceURI) returns()

type ServiceRegistryTransactorRaw added in v0.3.3

type ServiceRegistryTransactorRaw struct {
	Contract *ServiceRegistryTransactor // Generic write-only contract binding to access the raw methods on
}

ServiceRegistryTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*ServiceRegistryTransactorRaw) Transact added in v0.3.3

func (_ServiceRegistry *ServiceRegistryTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*ServiceRegistryTransactorRaw) Transfer added in v0.3.3

func (_ServiceRegistry *ServiceRegistryTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type ServiceRegistryTransactorSession added in v0.3.3

type ServiceRegistryTransactorSession struct {
	Contract     *ServiceRegistryTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts          // Transaction auth options to use throughout this session
}

ServiceRegistryTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*ServiceRegistryTransactorSession) SetController added in v0.3.3

func (_ServiceRegistry *ServiceRegistryTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*ServiceRegistryTransactorSession) SetServiceURI added in v0.3.3

func (_ServiceRegistry *ServiceRegistryTransactorSession) SetServiceURI(_serviceURI string) (*types.Transaction, error)

SetServiceURI is a paid mutator transaction binding the contract method 0x5f11301b.

Solidity: function setServiceURI(string _serviceURI) returns()

type TicketBroker added in v0.5.0

type TicketBroker struct {
	TicketBrokerCaller     // Read-only binding to the contract
	TicketBrokerTransactor // Write-only binding to the contract
	TicketBrokerFilterer   // Log filterer for contract events
}

TicketBroker is an auto generated Go binding around an Ethereum contract.

func NewTicketBroker added in v0.5.0

func NewTicketBroker(address common.Address, backend bind.ContractBackend) (*TicketBroker, error)

NewTicketBroker creates a new instance of TicketBroker, bound to a specific deployed contract.

type TicketBrokerCaller added in v0.5.0

type TicketBrokerCaller struct {
	// contains filtered or unexported fields
}

TicketBrokerCaller is an auto generated read-only Go binding around an Ethereum contract.

func NewTicketBrokerCaller added in v0.5.0

func NewTicketBrokerCaller(address common.Address, caller bind.ContractCaller) (*TicketBrokerCaller, error)

NewTicketBrokerCaller creates a new read-only instance of TicketBroker, bound to a specific deployed contract.

func (*TicketBrokerCaller) ClaimableReserve added in v0.5.0

func (_TicketBroker *TicketBrokerCaller) ClaimableReserve(opts *bind.CallOpts, _reserveHolder common.Address, _claimant common.Address) (*big.Int, error)

ClaimableReserve is a free data retrieval call binding the contract method 0x81779f38.

Solidity: function claimableReserve(address _reserveHolder, address _claimant) view returns(uint256)

func (*TicketBrokerCaller) ClaimedReserve added in v0.5.0

func (_TicketBroker *TicketBrokerCaller) ClaimedReserve(opts *bind.CallOpts, _reserveHolder common.Address, _claimant common.Address) (*big.Int, error)

ClaimedReserve is a free data retrieval call binding the contract method 0x4ac826da.

Solidity: function claimedReserve(address _reserveHolder, address _claimant) view returns(uint256)

func (*TicketBrokerCaller) Controller added in v0.5.0

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 added in v0.5.0

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 added in v0.5.0

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 added in v0.5.22

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 added in v0.5.0

func (_TicketBroker *TicketBrokerCaller) IsUnlockInProgress(opts *bind.CallOpts, _sender common.Address) (bool, error)

IsUnlockInProgress is a free data retrieval call binding the contract method 0x121cdcc2.

Solidity: function isUnlockInProgress(address _sender) view returns(bool)

func (*TicketBrokerCaller) TargetContractId added in v0.5.0

func (_TicketBroker *TicketBrokerCaller) TargetContractId(opts *bind.CallOpts) ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

func (*TicketBrokerCaller) TicketValidityPeriod added in v0.5.0

func (_TicketBroker *TicketBrokerCaller) TicketValidityPeriod(opts *bind.CallOpts) (*big.Int, error)

TicketValidityPeriod is a free data retrieval call binding the contract method 0x856a2cf8.

Solidity: function ticketValidityPeriod() view returns(uint256)

func (*TicketBrokerCaller) UnlockPeriod added in v0.5.0

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 added in v0.5.0

func (_TicketBroker *TicketBrokerCaller) UsedTickets(opts *bind.CallOpts, arg0 [32]byte) (bool, error)

UsedTickets is a free data retrieval call binding the contract method 0x59a515ba.

Solidity: function usedTickets(bytes32 ) view returns(bool)

type TicketBrokerCallerRaw added in v0.5.0

type TicketBrokerCallerRaw struct {
	Contract *TicketBrokerCaller // Generic read-only contract binding to access the raw methods on
}

TicketBrokerCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.

func (*TicketBrokerCallerRaw) Call added in v0.5.0

func (_TicketBroker *TicketBrokerCallerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

type TicketBrokerCallerSession added in v0.5.0

type TicketBrokerCallerSession struct {
	Contract *TicketBrokerCaller // Generic contract caller binding to set the session for
	CallOpts bind.CallOpts       // Call options to use throughout this session
}

TicketBrokerCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.

func (*TicketBrokerCallerSession) ClaimableReserve added in v0.5.0

func (_TicketBroker *TicketBrokerCallerSession) ClaimableReserve(_reserveHolder common.Address, _claimant common.Address) (*big.Int, error)

ClaimableReserve is a free data retrieval call binding the contract method 0x81779f38.

Solidity: function claimableReserve(address _reserveHolder, address _claimant) view returns(uint256)

func (*TicketBrokerCallerSession) ClaimedReserve added in v0.5.0

func (_TicketBroker *TicketBrokerCallerSession) ClaimedReserve(_reserveHolder common.Address, _claimant common.Address) (*big.Int, error)

ClaimedReserve is a free data retrieval call binding the contract method 0x4ac826da.

Solidity: function claimedReserve(address _reserveHolder, address _claimant) view returns(uint256)

func (*TicketBrokerCallerSession) Controller added in v0.5.0

func (_TicketBroker *TicketBrokerCallerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*TicketBrokerCallerSession) GetReserveInfo added in v0.5.0

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 added in v0.5.0

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 added in v0.5.22

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 added in v0.5.0

func (_TicketBroker *TicketBrokerCallerSession) IsUnlockInProgress(_sender common.Address) (bool, error)

IsUnlockInProgress is a free data retrieval call binding the contract method 0x121cdcc2.

Solidity: function isUnlockInProgress(address _sender) view returns(bool)

func (*TicketBrokerCallerSession) TargetContractId added in v0.5.0

func (_TicketBroker *TicketBrokerCallerSession) TargetContractId() ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

func (*TicketBrokerCallerSession) TicketValidityPeriod added in v0.5.0

func (_TicketBroker *TicketBrokerCallerSession) TicketValidityPeriod() (*big.Int, error)

TicketValidityPeriod is a free data retrieval call binding the contract method 0x856a2cf8.

Solidity: function ticketValidityPeriod() view returns(uint256)

func (*TicketBrokerCallerSession) UnlockPeriod added in v0.5.0

func (_TicketBroker *TicketBrokerCallerSession) UnlockPeriod() (*big.Int, error)

UnlockPeriod is a free data retrieval call binding the contract method 0x20d3a0b4.

Solidity: function unlockPeriod() view returns(uint256)

func (*TicketBrokerCallerSession) UsedTickets added in v0.5.0

func (_TicketBroker *TicketBrokerCallerSession) UsedTickets(arg0 [32]byte) (bool, error)

UsedTickets is a free data retrieval call binding the contract method 0x59a515ba.

Solidity: function usedTickets(bytes32 ) view returns(bool)

type TicketBrokerDepositFunded added in v0.5.0

type TicketBrokerDepositFunded struct {
	Sender common.Address
	Amount *big.Int
	Raw    types.Log // Blockchain specific contextual infos
}

TicketBrokerDepositFunded represents a DepositFunded event raised by the TicketBroker contract.

type TicketBrokerDepositFundedIterator added in v0.5.0

type TicketBrokerDepositFundedIterator struct {
	Event *TicketBrokerDepositFunded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerDepositFundedIterator is returned from FilterDepositFunded and is used to iterate over the raw logs and unpacked data for DepositFunded events raised by the TicketBroker contract.

func (*TicketBrokerDepositFundedIterator) Close added in v0.5.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerDepositFundedIterator) Error added in v0.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerDepositFundedIterator) Next added in v0.5.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerFilterer added in v0.5.0

type TicketBrokerFilterer struct {
	// contains filtered or unexported fields
}

TicketBrokerFilterer is an auto generated log filtering Go binding around an Ethereum contract events.

func NewTicketBrokerFilterer added in v0.5.0

func NewTicketBrokerFilterer(address common.Address, filterer bind.ContractFilterer) (*TicketBrokerFilterer, error)

NewTicketBrokerFilterer creates a new log filterer instance of TicketBroker, bound to a specific deployed contract.

func (*TicketBrokerFilterer) FilterDepositFunded added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) FilterDepositFunded(opts *bind.FilterOpts, sender []common.Address) (*TicketBrokerDepositFundedIterator, error)

FilterDepositFunded is a free log retrieval operation binding the contract event 0x5159e237d952190e68d5215430f305831be7c9c8776d1377c76679ae4773413f.

Solidity: event DepositFunded(address indexed sender, uint256 amount)

func (*TicketBrokerFilterer) FilterParameterUpdate added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) FilterParameterUpdate(opts *bind.FilterOpts) (*TicketBrokerParameterUpdateIterator, error)

FilterParameterUpdate is a free log retrieval operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*TicketBrokerFilterer) FilterReserveClaimed added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) FilterReserveClaimed(opts *bind.FilterOpts, reserveHolder []common.Address) (*TicketBrokerReserveClaimedIterator, error)

FilterReserveClaimed is a free log retrieval operation binding the contract event 0x5c2b394723f408a40a60335e24b71829642e35f350cebe2036a96a66e895ea98.

Solidity: event ReserveClaimed(address indexed reserveHolder, address claimant, uint256 amount)

func (*TicketBrokerFilterer) FilterReserveFunded added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) FilterReserveFunded(opts *bind.FilterOpts, reserveHolder []common.Address) (*TicketBrokerReserveFundedIterator, error)

FilterReserveFunded is a free log retrieval operation binding the contract event 0xb52b99b9e83551fcbd069b559cc3e823e2a1a3bad8ece46561ea77524394c850.

Solidity: event ReserveFunded(address indexed reserveHolder, uint256 amount)

func (*TicketBrokerFilterer) FilterSetController added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) FilterSetController(opts *bind.FilterOpts) (*TicketBrokerSetControllerIterator, error)

FilterSetController is a free log retrieval operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*TicketBrokerFilterer) FilterUnlock added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) FilterUnlock(opts *bind.FilterOpts, sender []common.Address) (*TicketBrokerUnlockIterator, error)

FilterUnlock is a free log retrieval operation binding the contract event 0xf7870c5b224cbc19873599e46ccfc7103934650509b1af0c3ce90138377c2004.

Solidity: event Unlock(address indexed sender, uint256 startRound, uint256 endRound)

func (*TicketBrokerFilterer) FilterUnlockCancelled added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) FilterUnlockCancelled(opts *bind.FilterOpts, sender []common.Address) (*TicketBrokerUnlockCancelledIterator, error)

FilterUnlockCancelled is a free log retrieval operation binding the contract event 0xfa044b7b93a40365dc68049797c2eb06918523d694e5d56e406cac3eb35578e5.

Solidity: event UnlockCancelled(address indexed sender)

func (*TicketBrokerFilterer) FilterWinningTicketRedeemed added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) FilterWinningTicketRedeemed(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*TicketBrokerWinningTicketRedeemedIterator, error)

FilterWinningTicketRedeemed is a free log retrieval operation binding the contract event 0xc389eb51ed006dbf2528507f010efdf5225ea596e1e1741d74f550dab1925ee7.

Solidity: event WinningTicketRedeemed(address indexed sender, address indexed recipient, uint256 faceValue, uint256 winProb, uint256 senderNonce, uint256 recipientRand, bytes auxData)

func (*TicketBrokerFilterer) FilterWinningTicketTransfer added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) FilterWinningTicketTransfer(opts *bind.FilterOpts, sender []common.Address, recipient []common.Address) (*TicketBrokerWinningTicketTransferIterator, error)

FilterWinningTicketTransfer is a free log retrieval operation binding the contract event 0x8b87351a208c06e3ceee59d80725fd77a23b4129e1b51ca231fc89b40712649c.

Solidity: event WinningTicketTransfer(address indexed sender, address indexed recipient, uint256 amount)

func (*TicketBrokerFilterer) FilterWithdrawal added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) FilterWithdrawal(opts *bind.FilterOpts, sender []common.Address) (*TicketBrokerWithdrawalIterator, error)

FilterWithdrawal is a free log retrieval operation binding the contract event 0xdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb.

Solidity: event Withdrawal(address indexed sender, uint256 deposit, uint256 reserve)

func (*TicketBrokerFilterer) ParseDepositFunded added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) ParseDepositFunded(log types.Log) (*TicketBrokerDepositFunded, error)

ParseDepositFunded is a log parse operation binding the contract event 0x5159e237d952190e68d5215430f305831be7c9c8776d1377c76679ae4773413f.

Solidity: event DepositFunded(address indexed sender, uint256 amount)

func (*TicketBrokerFilterer) ParseParameterUpdate added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) ParseParameterUpdate(log types.Log) (*TicketBrokerParameterUpdate, error)

ParseParameterUpdate is a log parse operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*TicketBrokerFilterer) ParseReserveClaimed added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) ParseReserveClaimed(log types.Log) (*TicketBrokerReserveClaimed, error)

ParseReserveClaimed is a log parse operation binding the contract event 0x5c2b394723f408a40a60335e24b71829642e35f350cebe2036a96a66e895ea98.

Solidity: event ReserveClaimed(address indexed reserveHolder, address claimant, uint256 amount)

func (*TicketBrokerFilterer) ParseReserveFunded added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) ParseReserveFunded(log types.Log) (*TicketBrokerReserveFunded, error)

ParseReserveFunded is a log parse operation binding the contract event 0xb52b99b9e83551fcbd069b559cc3e823e2a1a3bad8ece46561ea77524394c850.

Solidity: event ReserveFunded(address indexed reserveHolder, uint256 amount)

func (*TicketBrokerFilterer) ParseSetController added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) ParseSetController(log types.Log) (*TicketBrokerSetController, error)

ParseSetController is a log parse operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*TicketBrokerFilterer) ParseUnlock added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) ParseUnlock(log types.Log) (*TicketBrokerUnlock, error)

ParseUnlock is a log parse operation binding the contract event 0xf7870c5b224cbc19873599e46ccfc7103934650509b1af0c3ce90138377c2004.

Solidity: event Unlock(address indexed sender, uint256 startRound, uint256 endRound)

func (*TicketBrokerFilterer) ParseUnlockCancelled added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) ParseUnlockCancelled(log types.Log) (*TicketBrokerUnlockCancelled, error)

ParseUnlockCancelled is a log parse operation binding the contract event 0xfa044b7b93a40365dc68049797c2eb06918523d694e5d56e406cac3eb35578e5.

Solidity: event UnlockCancelled(address indexed sender)

func (*TicketBrokerFilterer) ParseWinningTicketRedeemed added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) ParseWinningTicketRedeemed(log types.Log) (*TicketBrokerWinningTicketRedeemed, error)

ParseWinningTicketRedeemed is a log parse operation binding the contract event 0xc389eb51ed006dbf2528507f010efdf5225ea596e1e1741d74f550dab1925ee7.

Solidity: event WinningTicketRedeemed(address indexed sender, address indexed recipient, uint256 faceValue, uint256 winProb, uint256 senderNonce, uint256 recipientRand, bytes auxData)

func (*TicketBrokerFilterer) ParseWinningTicketTransfer added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) ParseWinningTicketTransfer(log types.Log) (*TicketBrokerWinningTicketTransfer, error)

ParseWinningTicketTransfer is a log parse operation binding the contract event 0x8b87351a208c06e3ceee59d80725fd77a23b4129e1b51ca231fc89b40712649c.

Solidity: event WinningTicketTransfer(address indexed sender, address indexed recipient, uint256 amount)

func (*TicketBrokerFilterer) ParseWithdrawal added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) ParseWithdrawal(log types.Log) (*TicketBrokerWithdrawal, error)

ParseWithdrawal is a log parse operation binding the contract event 0xdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb.

Solidity: event Withdrawal(address indexed sender, uint256 deposit, uint256 reserve)

func (*TicketBrokerFilterer) WatchDepositFunded added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) WatchDepositFunded(opts *bind.WatchOpts, sink chan<- *TicketBrokerDepositFunded, sender []common.Address) (event.Subscription, error)

WatchDepositFunded is a free log subscription operation binding the contract event 0x5159e237d952190e68d5215430f305831be7c9c8776d1377c76679ae4773413f.

Solidity: event DepositFunded(address indexed sender, uint256 amount)

func (*TicketBrokerFilterer) WatchParameterUpdate added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) WatchParameterUpdate(opts *bind.WatchOpts, sink chan<- *TicketBrokerParameterUpdate) (event.Subscription, error)

WatchParameterUpdate is a free log subscription operation binding the contract event 0x9f5033568d78ae30f29f01e944f97b2216493bd19d1b46d429673acff3dcd674.

Solidity: event ParameterUpdate(string param)

func (*TicketBrokerFilterer) WatchReserveClaimed added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) WatchReserveClaimed(opts *bind.WatchOpts, sink chan<- *TicketBrokerReserveClaimed, reserveHolder []common.Address) (event.Subscription, error)

WatchReserveClaimed is a free log subscription operation binding the contract event 0x5c2b394723f408a40a60335e24b71829642e35f350cebe2036a96a66e895ea98.

Solidity: event ReserveClaimed(address indexed reserveHolder, address claimant, uint256 amount)

func (*TicketBrokerFilterer) WatchReserveFunded added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) WatchReserveFunded(opts *bind.WatchOpts, sink chan<- *TicketBrokerReserveFunded, reserveHolder []common.Address) (event.Subscription, error)

WatchReserveFunded is a free log subscription operation binding the contract event 0xb52b99b9e83551fcbd069b559cc3e823e2a1a3bad8ece46561ea77524394c850.

Solidity: event ReserveFunded(address indexed reserveHolder, uint256 amount)

func (*TicketBrokerFilterer) WatchSetController added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) WatchSetController(opts *bind.WatchOpts, sink chan<- *TicketBrokerSetController) (event.Subscription, error)

WatchSetController is a free log subscription operation binding the contract event 0x4ff638452bbf33c012645d18ae6f05515ff5f2d1dfb0cece8cbf018c60903f70.

Solidity: event SetController(address controller)

func (*TicketBrokerFilterer) WatchUnlock added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) WatchUnlock(opts *bind.WatchOpts, sink chan<- *TicketBrokerUnlock, sender []common.Address) (event.Subscription, error)

WatchUnlock is a free log subscription operation binding the contract event 0xf7870c5b224cbc19873599e46ccfc7103934650509b1af0c3ce90138377c2004.

Solidity: event Unlock(address indexed sender, uint256 startRound, uint256 endRound)

func (*TicketBrokerFilterer) WatchUnlockCancelled added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) WatchUnlockCancelled(opts *bind.WatchOpts, sink chan<- *TicketBrokerUnlockCancelled, sender []common.Address) (event.Subscription, error)

WatchUnlockCancelled is a free log subscription operation binding the contract event 0xfa044b7b93a40365dc68049797c2eb06918523d694e5d56e406cac3eb35578e5.

Solidity: event UnlockCancelled(address indexed sender)

func (*TicketBrokerFilterer) WatchWinningTicketRedeemed added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) WatchWinningTicketRedeemed(opts *bind.WatchOpts, sink chan<- *TicketBrokerWinningTicketRedeemed, sender []common.Address, recipient []common.Address) (event.Subscription, error)

WatchWinningTicketRedeemed is a free log subscription operation binding the contract event 0xc389eb51ed006dbf2528507f010efdf5225ea596e1e1741d74f550dab1925ee7.

Solidity: event WinningTicketRedeemed(address indexed sender, address indexed recipient, uint256 faceValue, uint256 winProb, uint256 senderNonce, uint256 recipientRand, bytes auxData)

func (*TicketBrokerFilterer) WatchWinningTicketTransfer added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) WatchWinningTicketTransfer(opts *bind.WatchOpts, sink chan<- *TicketBrokerWinningTicketTransfer, sender []common.Address, recipient []common.Address) (event.Subscription, error)

WatchWinningTicketTransfer is a free log subscription operation binding the contract event 0x8b87351a208c06e3ceee59d80725fd77a23b4129e1b51ca231fc89b40712649c.

Solidity: event WinningTicketTransfer(address indexed sender, address indexed recipient, uint256 amount)

func (*TicketBrokerFilterer) WatchWithdrawal added in v0.5.0

func (_TicketBroker *TicketBrokerFilterer) WatchWithdrawal(opts *bind.WatchOpts, sink chan<- *TicketBrokerWithdrawal, sender []common.Address) (event.Subscription, error)

WatchWithdrawal is a free log subscription operation binding the contract event 0xdf273cb619d95419a9cd0ec88123a0538c85064229baa6363788f743fff90deb.

Solidity: event Withdrawal(address indexed sender, uint256 deposit, uint256 reserve)

type TicketBrokerParameterUpdate added in v0.5.0

type TicketBrokerParameterUpdate struct {
	Param string
	Raw   types.Log // Blockchain specific contextual infos
}

TicketBrokerParameterUpdate represents a ParameterUpdate event raised by the TicketBroker contract.

type TicketBrokerParameterUpdateIterator added in v0.5.0

type TicketBrokerParameterUpdateIterator struct {
	Event *TicketBrokerParameterUpdate // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerParameterUpdateIterator is returned from FilterParameterUpdate and is used to iterate over the raw logs and unpacked data for ParameterUpdate events raised by the TicketBroker contract.

func (*TicketBrokerParameterUpdateIterator) Close added in v0.5.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerParameterUpdateIterator) Error added in v0.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerParameterUpdateIterator) Next added in v0.5.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerRaw added in v0.5.0

type TicketBrokerRaw struct {
	Contract *TicketBroker // Generic contract binding to access the raw methods on
}

TicketBrokerRaw is an auto generated low-level Go binding around an Ethereum contract.

func (*TicketBrokerRaw) Call added in v0.5.0

func (_TicketBroker *TicketBrokerRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, params ...interface{}) error

Call invokes the (constant) contract method with params as input values and sets the output to result. The result type might be a single field for simple returns, a slice of interfaces for anonymous returns and a struct for named returns.

func (*TicketBrokerRaw) Transact added in v0.5.0

func (_TicketBroker *TicketBrokerRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TicketBrokerRaw) Transfer added in v0.5.0

func (_TicketBroker *TicketBrokerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type TicketBrokerReserveClaimed added in v0.5.0

type TicketBrokerReserveClaimed struct {
	ReserveHolder common.Address
	Claimant      common.Address
	Amount        *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

TicketBrokerReserveClaimed represents a ReserveClaimed event raised by the TicketBroker contract.

type TicketBrokerReserveClaimedIterator added in v0.5.0

type TicketBrokerReserveClaimedIterator struct {
	Event *TicketBrokerReserveClaimed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerReserveClaimedIterator is returned from FilterReserveClaimed and is used to iterate over the raw logs and unpacked data for ReserveClaimed events raised by the TicketBroker contract.

func (*TicketBrokerReserveClaimedIterator) Close added in v0.5.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerReserveClaimedIterator) Error added in v0.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerReserveClaimedIterator) Next added in v0.5.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerReserveFunded added in v0.5.0

type TicketBrokerReserveFunded struct {
	ReserveHolder common.Address
	Amount        *big.Int
	Raw           types.Log // Blockchain specific contextual infos
}

TicketBrokerReserveFunded represents a ReserveFunded event raised by the TicketBroker contract.

type TicketBrokerReserveFundedIterator added in v0.5.0

type TicketBrokerReserveFundedIterator struct {
	Event *TicketBrokerReserveFunded // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerReserveFundedIterator is returned from FilterReserveFunded and is used to iterate over the raw logs and unpacked data for ReserveFunded events raised by the TicketBroker contract.

func (*TicketBrokerReserveFundedIterator) Close added in v0.5.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerReserveFundedIterator) Error added in v0.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerReserveFundedIterator) Next added in v0.5.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerSession added in v0.5.0

type TicketBrokerSession struct {
	Contract     *TicketBroker     // Generic contract binding to set the session for
	CallOpts     bind.CallOpts     // Call options to use throughout this session
	TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
}

TicketBrokerSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.

func (*TicketBrokerSession) BatchRedeemWinningTickets added in v0.5.0

func (_TicketBroker *TicketBrokerSession) BatchRedeemWinningTickets(_tickets []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 added in v0.5.0

func (_TicketBroker *TicketBrokerSession) CancelUnlock() (*types.Transaction, error)

CancelUnlock is a paid mutator transaction binding the contract method 0xc2c4c2c8.

Solidity: function cancelUnlock() returns()

func (*TicketBrokerSession) ClaimableReserve added in v0.5.0

func (_TicketBroker *TicketBrokerSession) ClaimableReserve(_reserveHolder common.Address, _claimant common.Address) (*big.Int, error)

ClaimableReserve is a free data retrieval call binding the contract method 0x81779f38.

Solidity: function claimableReserve(address _reserveHolder, address _claimant) view returns(uint256)

func (*TicketBrokerSession) ClaimedReserve added in v0.5.0

func (_TicketBroker *TicketBrokerSession) ClaimedReserve(_reserveHolder common.Address, _claimant common.Address) (*big.Int, error)

ClaimedReserve is a free data retrieval call binding the contract method 0x4ac826da.

Solidity: function claimedReserve(address _reserveHolder, address _claimant) view returns(uint256)

func (*TicketBrokerSession) Controller added in v0.5.0

func (_TicketBroker *TicketBrokerSession) Controller() (common.Address, error)

Controller is a free data retrieval call binding the contract method 0xf77c4791.

Solidity: function controller() view returns(address)

func (*TicketBrokerSession) FundDeposit added in v0.5.0

func (_TicketBroker *TicketBrokerSession) FundDeposit() (*types.Transaction, error)

FundDeposit is a paid mutator transaction binding the contract method 0x6caa736b.

Solidity: function fundDeposit() payable returns()

func (*TicketBrokerSession) FundDepositAndReserve added in v0.5.0

func (_TicketBroker *TicketBrokerSession) FundDepositAndReserve(_depositAmount *big.Int, _reserveAmount *big.Int) (*types.Transaction, error)

FundDepositAndReserve is a paid mutator transaction binding the contract method 0x511f4073.

Solidity: function fundDepositAndReserve(uint256 _depositAmount, uint256 _reserveAmount) payable returns()

func (*TicketBrokerSession) FundDepositAndReserveFor added in v0.5.26

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 added in v0.5.0

func (_TicketBroker *TicketBrokerSession) FundReserve() (*types.Transaction, error)

FundReserve is a paid mutator transaction binding the contract method 0x6f9c3c8f.

Solidity: function fundReserve() payable returns()

func (*TicketBrokerSession) GetReserveInfo added in v0.5.0

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 added in v0.5.0

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 added in v0.5.22

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 added in v0.5.0

func (_TicketBroker *TicketBrokerSession) IsUnlockInProgress(_sender common.Address) (bool, error)

IsUnlockInProgress is a free data retrieval call binding the contract method 0x121cdcc2.

Solidity: function isUnlockInProgress(address _sender) view returns(bool)

func (*TicketBrokerSession) RedeemWinningTicket added in v0.5.0

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 added in v0.5.0

func (_TicketBroker *TicketBrokerSession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*TicketBrokerSession) SetTicketValidityPeriod added in v0.5.0

func (_TicketBroker *TicketBrokerSession) SetTicketValidityPeriod(_ticketValidityPeriod *big.Int) (*types.Transaction, error)

SetTicketValidityPeriod is a paid mutator transaction binding the contract method 0xc9297808.

Solidity: function setTicketValidityPeriod(uint256 _ticketValidityPeriod) returns()

func (*TicketBrokerSession) SetUnlockPeriod added in v0.5.0

func (_TicketBroker *TicketBrokerSession) SetUnlockPeriod(_unlockPeriod *big.Int) (*types.Transaction, error)

SetUnlockPeriod is a paid mutator transaction binding the contract method 0x3d0ddf84.

Solidity: function setUnlockPeriod(uint256 _unlockPeriod) returns()

func (*TicketBrokerSession) TargetContractId added in v0.5.0

func (_TicketBroker *TicketBrokerSession) TargetContractId() ([32]byte, error)

TargetContractId is a free data retrieval call binding the contract method 0x51720b41.

Solidity: function targetContractId() view returns(bytes32)

func (*TicketBrokerSession) TicketValidityPeriod added in v0.5.0

func (_TicketBroker *TicketBrokerSession) TicketValidityPeriod() (*big.Int, error)

TicketValidityPeriod is a free data retrieval call binding the contract method 0x856a2cf8.

Solidity: function ticketValidityPeriod() view returns(uint256)

func (*TicketBrokerSession) Unlock added in v0.5.0

func (_TicketBroker *TicketBrokerSession) Unlock() (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.

Solidity: function unlock() returns()

func (*TicketBrokerSession) UnlockPeriod added in v0.5.0

func (_TicketBroker *TicketBrokerSession) UnlockPeriod() (*big.Int, error)

UnlockPeriod is a free data retrieval call binding the contract method 0x20d3a0b4.

Solidity: function unlockPeriod() view returns(uint256)

func (*TicketBrokerSession) UsedTickets added in v0.5.0

func (_TicketBroker *TicketBrokerSession) UsedTickets(arg0 [32]byte) (bool, error)

UsedTickets is a free data retrieval call binding the contract method 0x59a515ba.

Solidity: function usedTickets(bytes32 ) view returns(bool)

func (*TicketBrokerSession) Withdraw added in v0.5.0

func (_TicketBroker *TicketBrokerSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type TicketBrokerSetController added in v0.5.0

type TicketBrokerSetController struct {
	Controller common.Address
	Raw        types.Log // Blockchain specific contextual infos
}

TicketBrokerSetController represents a SetController event raised by the TicketBroker contract.

type TicketBrokerSetControllerIterator added in v0.5.0

type TicketBrokerSetControllerIterator struct {
	Event *TicketBrokerSetController // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerSetControllerIterator is returned from FilterSetController and is used to iterate over the raw logs and unpacked data for SetController events raised by the TicketBroker contract.

func (*TicketBrokerSetControllerIterator) Close added in v0.5.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerSetControllerIterator) Error added in v0.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerSetControllerIterator) Next added in v0.5.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerTransactor added in v0.5.0

type TicketBrokerTransactor struct {
	// contains filtered or unexported fields
}

TicketBrokerTransactor is an auto generated write-only Go binding around an Ethereum contract.

func NewTicketBrokerTransactor added in v0.5.0

func NewTicketBrokerTransactor(address common.Address, transactor bind.ContractTransactor) (*TicketBrokerTransactor, error)

NewTicketBrokerTransactor creates a new write-only instance of TicketBroker, bound to a specific deployed contract.

func (*TicketBrokerTransactor) BatchRedeemWinningTickets added in v0.5.0

func (_TicketBroker *TicketBrokerTransactor) BatchRedeemWinningTickets(opts *bind.TransactOpts, _tickets []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 added in v0.5.0

func (_TicketBroker *TicketBrokerTransactor) CancelUnlock(opts *bind.TransactOpts) (*types.Transaction, error)

CancelUnlock is a paid mutator transaction binding the contract method 0xc2c4c2c8.

Solidity: function cancelUnlock() returns()

func (*TicketBrokerTransactor) FundDeposit added in v0.5.0

func (_TicketBroker *TicketBrokerTransactor) FundDeposit(opts *bind.TransactOpts) (*types.Transaction, error)

FundDeposit is a paid mutator transaction binding the contract method 0x6caa736b.

Solidity: function fundDeposit() payable returns()

func (*TicketBrokerTransactor) FundDepositAndReserve added in v0.5.0

func (_TicketBroker *TicketBrokerTransactor) FundDepositAndReserve(opts *bind.TransactOpts, _depositAmount *big.Int, _reserveAmount *big.Int) (*types.Transaction, error)

FundDepositAndReserve is a paid mutator transaction binding the contract method 0x511f4073.

Solidity: function fundDepositAndReserve(uint256 _depositAmount, uint256 _reserveAmount) payable returns()

func (*TicketBrokerTransactor) FundDepositAndReserveFor added in v0.5.26

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 added in v0.5.0

func (_TicketBroker *TicketBrokerTransactor) FundReserve(opts *bind.TransactOpts) (*types.Transaction, error)

FundReserve is a paid mutator transaction binding the contract method 0x6f9c3c8f.

Solidity: function fundReserve() payable returns()

func (*TicketBrokerTransactor) RedeemWinningTicket added in v0.5.0

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 added in v0.5.0

func (_TicketBroker *TicketBrokerTransactor) SetController(opts *bind.TransactOpts, _controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*TicketBrokerTransactor) SetTicketValidityPeriod added in v0.5.0

func (_TicketBroker *TicketBrokerTransactor) SetTicketValidityPeriod(opts *bind.TransactOpts, _ticketValidityPeriod *big.Int) (*types.Transaction, error)

SetTicketValidityPeriod is a paid mutator transaction binding the contract method 0xc9297808.

Solidity: function setTicketValidityPeriod(uint256 _ticketValidityPeriod) returns()

func (*TicketBrokerTransactor) SetUnlockPeriod added in v0.5.0

func (_TicketBroker *TicketBrokerTransactor) SetUnlockPeriod(opts *bind.TransactOpts, _unlockPeriod *big.Int) (*types.Transaction, error)

SetUnlockPeriod is a paid mutator transaction binding the contract method 0x3d0ddf84.

Solidity: function setUnlockPeriod(uint256 _unlockPeriod) returns()

func (*TicketBrokerTransactor) Unlock added in v0.5.0

func (_TicketBroker *TicketBrokerTransactor) Unlock(opts *bind.TransactOpts) (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.

Solidity: function unlock() returns()

func (*TicketBrokerTransactor) Withdraw added in v0.5.0

func (_TicketBroker *TicketBrokerTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type TicketBrokerTransactorRaw added in v0.5.0

type TicketBrokerTransactorRaw struct {
	Contract *TicketBrokerTransactor // Generic write-only contract binding to access the raw methods on
}

TicketBrokerTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.

func (*TicketBrokerTransactorRaw) Transact added in v0.5.0

func (_TicketBroker *TicketBrokerTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)

Transact invokes the (paid) contract method with params as input values.

func (*TicketBrokerTransactorRaw) Transfer added in v0.5.0

func (_TicketBroker *TicketBrokerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)

Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.

type TicketBrokerTransactorSession added in v0.5.0

type TicketBrokerTransactorSession struct {
	Contract     *TicketBrokerTransactor // Generic contract transactor binding to set the session for
	TransactOpts bind.TransactOpts       // Transaction auth options to use throughout this session
}

TicketBrokerTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.

func (*TicketBrokerTransactorSession) BatchRedeemWinningTickets added in v0.5.0

func (_TicketBroker *TicketBrokerTransactorSession) BatchRedeemWinningTickets(_tickets []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 added in v0.5.0

func (_TicketBroker *TicketBrokerTransactorSession) CancelUnlock() (*types.Transaction, error)

CancelUnlock is a paid mutator transaction binding the contract method 0xc2c4c2c8.

Solidity: function cancelUnlock() returns()

func (*TicketBrokerTransactorSession) FundDeposit added in v0.5.0

func (_TicketBroker *TicketBrokerTransactorSession) FundDeposit() (*types.Transaction, error)

FundDeposit is a paid mutator transaction binding the contract method 0x6caa736b.

Solidity: function fundDeposit() payable returns()

func (*TicketBrokerTransactorSession) FundDepositAndReserve added in v0.5.0

func (_TicketBroker *TicketBrokerTransactorSession) FundDepositAndReserve(_depositAmount *big.Int, _reserveAmount *big.Int) (*types.Transaction, error)

FundDepositAndReserve is a paid mutator transaction binding the contract method 0x511f4073.

Solidity: function fundDepositAndReserve(uint256 _depositAmount, uint256 _reserveAmount) payable returns()

func (*TicketBrokerTransactorSession) FundDepositAndReserveFor added in v0.5.26

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 added in v0.5.0

func (_TicketBroker *TicketBrokerTransactorSession) FundReserve() (*types.Transaction, error)

FundReserve is a paid mutator transaction binding the contract method 0x6f9c3c8f.

Solidity: function fundReserve() payable returns()

func (*TicketBrokerTransactorSession) RedeemWinningTicket added in v0.5.0

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 added in v0.5.0

func (_TicketBroker *TicketBrokerTransactorSession) SetController(_controller common.Address) (*types.Transaction, error)

SetController is a paid mutator transaction binding the contract method 0x92eefe9b.

Solidity: function setController(address _controller) returns()

func (*TicketBrokerTransactorSession) SetTicketValidityPeriod added in v0.5.0

func (_TicketBroker *TicketBrokerTransactorSession) SetTicketValidityPeriod(_ticketValidityPeriod *big.Int) (*types.Transaction, error)

SetTicketValidityPeriod is a paid mutator transaction binding the contract method 0xc9297808.

Solidity: function setTicketValidityPeriod(uint256 _ticketValidityPeriod) returns()

func (*TicketBrokerTransactorSession) SetUnlockPeriod added in v0.5.0

func (_TicketBroker *TicketBrokerTransactorSession) SetUnlockPeriod(_unlockPeriod *big.Int) (*types.Transaction, error)

SetUnlockPeriod is a paid mutator transaction binding the contract method 0x3d0ddf84.

Solidity: function setUnlockPeriod(uint256 _unlockPeriod) returns()

func (*TicketBrokerTransactorSession) Unlock added in v0.5.0

func (_TicketBroker *TicketBrokerTransactorSession) Unlock() (*types.Transaction, error)

Unlock is a paid mutator transaction binding the contract method 0xa69df4b5.

Solidity: function unlock() returns()

func (*TicketBrokerTransactorSession) Withdraw added in v0.5.0

func (_TicketBroker *TicketBrokerTransactorSession) Withdraw() (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.

Solidity: function withdraw() returns()

type TicketBrokerUnlock added in v0.5.0

type TicketBrokerUnlock struct {
	Sender     common.Address
	StartRound *big.Int
	EndRound   *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

TicketBrokerUnlock represents a Unlock event raised by the TicketBroker contract.

type TicketBrokerUnlockCancelled added in v0.5.0

type TicketBrokerUnlockCancelled struct {
	Sender common.Address
	Raw    types.Log // Blockchain specific contextual infos
}

TicketBrokerUnlockCancelled represents a UnlockCancelled event raised by the TicketBroker contract.

type TicketBrokerUnlockCancelledIterator added in v0.5.0

type TicketBrokerUnlockCancelledIterator struct {
	Event *TicketBrokerUnlockCancelled // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerUnlockCancelledIterator is returned from FilterUnlockCancelled and is used to iterate over the raw logs and unpacked data for UnlockCancelled events raised by the TicketBroker contract.

func (*TicketBrokerUnlockCancelledIterator) Close added in v0.5.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerUnlockCancelledIterator) Error added in v0.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerUnlockCancelledIterator) Next added in v0.5.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerUnlockIterator added in v0.5.0

type TicketBrokerUnlockIterator struct {
	Event *TicketBrokerUnlock // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerUnlockIterator is returned from FilterUnlock and is used to iterate over the raw logs and unpacked data for Unlock events raised by the TicketBroker contract.

func (*TicketBrokerUnlockIterator) Close added in v0.5.0

func (it *TicketBrokerUnlockIterator) Close() error

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerUnlockIterator) Error added in v0.5.0

func (it *TicketBrokerUnlockIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerUnlockIterator) Next added in v0.5.0

func (it *TicketBrokerUnlockIterator) Next() bool

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerWinningTicketRedeemed added in v0.5.0

type TicketBrokerWinningTicketRedeemed struct {
	Sender        common.Address
	Recipient     common.Address
	FaceValue     *big.Int
	WinProb       *big.Int
	SenderNonce   *big.Int
	RecipientRand *big.Int
	AuxData       []byte
	Raw           types.Log // Blockchain specific contextual infos
}

TicketBrokerWinningTicketRedeemed represents a WinningTicketRedeemed event raised by the TicketBroker contract.

type TicketBrokerWinningTicketRedeemedIterator added in v0.5.0

type TicketBrokerWinningTicketRedeemedIterator struct {
	Event *TicketBrokerWinningTicketRedeemed // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerWinningTicketRedeemedIterator is returned from FilterWinningTicketRedeemed and is used to iterate over the raw logs and unpacked data for WinningTicketRedeemed events raised by the TicketBroker contract.

func (*TicketBrokerWinningTicketRedeemedIterator) Close added in v0.5.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerWinningTicketRedeemedIterator) Error added in v0.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerWinningTicketRedeemedIterator) Next added in v0.5.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerWinningTicketTransfer added in v0.5.0

type TicketBrokerWinningTicketTransfer struct {
	Sender    common.Address
	Recipient common.Address
	Amount    *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

TicketBrokerWinningTicketTransfer represents a WinningTicketTransfer event raised by the TicketBroker contract.

type TicketBrokerWinningTicketTransferIterator added in v0.5.0

type TicketBrokerWinningTicketTransferIterator struct {
	Event *TicketBrokerWinningTicketTransfer // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerWinningTicketTransferIterator is returned from FilterWinningTicketTransfer and is used to iterate over the raw logs and unpacked data for WinningTicketTransfer events raised by the TicketBroker contract.

func (*TicketBrokerWinningTicketTransferIterator) Close added in v0.5.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerWinningTicketTransferIterator) Error added in v0.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerWinningTicketTransferIterator) Next added in v0.5.0

Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.

type TicketBrokerWithdrawal added in v0.5.0

type TicketBrokerWithdrawal struct {
	Sender  common.Address
	Deposit *big.Int
	Reserve *big.Int
	Raw     types.Log // Blockchain specific contextual infos
}

TicketBrokerWithdrawal represents a Withdrawal event raised by the TicketBroker contract.

type TicketBrokerWithdrawalIterator added in v0.5.0

type TicketBrokerWithdrawalIterator struct {
	Event *TicketBrokerWithdrawal // Event containing the contract specifics and raw log
	// contains filtered or unexported fields
}

TicketBrokerWithdrawalIterator is returned from FilterWithdrawal and is used to iterate over the raw logs and unpacked data for Withdrawal events raised by the TicketBroker contract.

func (*TicketBrokerWithdrawalIterator) Close added in v0.5.0

Close terminates the iteration process, releasing any pending underlying resources.

func (*TicketBrokerWithdrawalIterator) Error added in v0.5.0

Error returns any retrieval or parsing error occurred during filtering.

func (*TicketBrokerWithdrawalIterator) Next added in v0.5.0

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