sgncontracts

package
v0.2.8 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2020 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const DPoSABI = "" /* 29924-byte string literal not displayed */

DPoSABI is the input ABI used to generate the binding from.

View Source
const SGNABI = "" /* 6604-byte string literal not displayed */

SGNABI is the input ABI used to generate the binding from.

Variables

View Source
var DPoSBin = "" /* 45604-byte string literal not displayed */

DPoSBin is the compiled bytecode used for deploying new contracts.

View Source
var SGNBin = "" /* 13238-byte string literal not displayed */

SGNBin is the compiled bytecode used for deploying new contracts.

Functions

This section is empty.

Types

type DPoS

type DPoS struct {
	DPoSCaller     // Read-only binding to the contract
	DPoSTransactor // Write-only binding to the contract
	DPoSFilterer   // Log filterer for contract events
}

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

func DeployDPoS

func DeployDPoS(auth *bind.TransactOpts, backend bind.ContractBackend, _celerTokenAddress common.Address, _governProposalDeposit *big.Int, _governVoteTimeout *big.Int, _slashTimeout *big.Int, _minValidatorNum *big.Int, _maxValidatorNum *big.Int, _minStakeInPool *big.Int, _advanceNoticePeriod *big.Int, _dposGoLiveTimeout *big.Int) (common.Address, *types.Transaction, *DPoS, error)

DeployDPoS deploys a new Ethereum contract, binding an instance of DPoS to it.

func NewDPoS

func NewDPoS(address common.Address, backend bind.ContractBackend) (*DPoS, error)

NewDPoS creates a new instance of DPoS, bound to a specific deployed contract.

type DPoSCaller

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

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

func NewDPoSCaller

func NewDPoSCaller(address common.Address, caller bind.ContractCaller) (*DPoSCaller, error)

NewDPoSCaller creates a new read-only instance of DPoS, bound to a specific deployed contract.

func (*DPoSCaller) COMMISSIONRATEBASE

func (_DPoS *DPoSCaller) COMMISSIONRATEBASE(opts *bind.CallOpts) (*big.Int, error)

COMMISSIONRATEBASE is a free data retrieval call binding the contract method 0xbee8380e.

Solidity: function COMMISSION_RATE_BASE() view returns(uint256)

func (*DPoSCaller) CelerToken

func (_DPoS *DPoSCaller) CelerToken(opts *bind.CallOpts) (common.Address, error)

CelerToken is a free data retrieval call binding the contract method 0xc6c21e9d.

Solidity: function celerToken() view returns(address)

func (*DPoSCaller) CheckedValidators

func (_DPoS *DPoSCaller) CheckedValidators(opts *bind.CallOpts, arg0 common.Address) (bool, error)

CheckedValidators is a free data retrieval call binding the contract method 0x3702db39.

Solidity: function checkedValidators(address ) view returns(bool)

func (*DPoSCaller) DposGoLiveTime

func (_DPoS *DPoSCaller) DposGoLiveTime(opts *bind.CallOpts) (*big.Int, error)

DposGoLiveTime is a free data retrieval call binding the contract method 0x39c9563e.

Solidity: function dposGoLiveTime() view returns(uint256)

func (*DPoSCaller) EnableSlash

func (_DPoS *DPoSCaller) EnableSlash(opts *bind.CallOpts) (bool, error)

EnableSlash is a free data retrieval call binding the contract method 0x7a3ba4ad.

Solidity: function enableSlash() view returns(bool)

func (*DPoSCaller) EnableWhitelist

func (_DPoS *DPoSCaller) EnableWhitelist(opts *bind.CallOpts) (bool, error)

EnableWhitelist is a free data retrieval call binding the contract method 0xcdfb2b4e.

Solidity: function enableWhitelist() view returns(bool)

func (*DPoSCaller) GetCandidateInfo

func (_DPoS *DPoSCaller) GetCandidateInfo(opts *bind.CallOpts, _candidateAddr common.Address) (struct {
	Initialized     bool
	MinSelfStake    *big.Int
	StakingPool     *big.Int
	Status          *big.Int
	UnbondTime      *big.Int
	CommissionRate  *big.Int
	RateLockEndTime *big.Int
}, error)

GetCandidateInfo is a free data retrieval call binding the contract method 0x28bde1e1.

Solidity: function getCandidateInfo(address _candidateAddr) view returns(bool initialized, uint256 minSelfStake, uint256 stakingPool, uint256 status, uint256 unbondTime, uint256 commissionRate, uint256 rateLockEndTime)

func (*DPoSCaller) GetDelegatorInfo

func (_DPoS *DPoSCaller) GetDelegatorInfo(opts *bind.CallOpts, _candidateAddr common.Address, _delegatorAddr common.Address) (struct {
	DelegatedStake      *big.Int
	UndelegatingStake   *big.Int
	IntentAmounts       []*big.Int
	IntentProposedTimes []*big.Int
}, error)

GetDelegatorInfo is a free data retrieval call binding the contract method 0xeecefef8.

Solidity: function getDelegatorInfo(address _candidateAddr, address _delegatorAddr) view returns(uint256 delegatedStake, uint256 undelegatingStake, uint256[] intentAmounts, uint256[] intentProposedTimes)

func (*DPoSCaller) GetMinQuorumStakingPool

func (_DPoS *DPoSCaller) GetMinQuorumStakingPool(opts *bind.CallOpts) (*big.Int, error)

GetMinQuorumStakingPool is a free data retrieval call binding the contract method 0xa3e814b9.

Solidity: function getMinQuorumStakingPool() view returns(uint256)

func (*DPoSCaller) GetMinStakingPool

func (_DPoS *DPoSCaller) GetMinStakingPool(opts *bind.CallOpts) (*big.Int, error)

GetMinStakingPool is a free data retrieval call binding the contract method 0x8e9472a3.

Solidity: function getMinStakingPool() view returns(uint256)

func (*DPoSCaller) GetParamProposalVote

func (_DPoS *DPoSCaller) GetParamProposalVote(opts *bind.CallOpts, _proposalId *big.Int, _voter common.Address) (uint8, error)

GetParamProposalVote is a free data retrieval call binding the contract method 0x581c53c5.

Solidity: function getParamProposalVote(uint256 _proposalId, address _voter) view returns(uint8)

func (*DPoSCaller) GetSidechainProposalVote

func (_DPoS *DPoSCaller) GetSidechainProposalVote(opts *bind.CallOpts, _proposalId *big.Int, _voter common.Address) (uint8, error)

GetSidechainProposalVote is a free data retrieval call binding the contract method 0x8515b0e2.

Solidity: function getSidechainProposalVote(uint256 _proposalId, address _voter) view returns(uint8)

func (*DPoSCaller) GetTotalValidatorStakingPool

func (_DPoS *DPoSCaller) GetTotalValidatorStakingPool(opts *bind.CallOpts) (*big.Int, error)

GetTotalValidatorStakingPool is a free data retrieval call binding the contract method 0x89ed7939.

Solidity: function getTotalValidatorStakingPool() view returns(uint256)

func (*DPoSCaller) GetUIntValue

func (_DPoS *DPoSCaller) GetUIntValue(opts *bind.CallOpts, _record *big.Int) (*big.Int, error)

GetUIntValue is a free data retrieval call binding the contract method 0x64c66395.

Solidity: function getUIntValue(uint256 _record) view returns(uint256)

func (*DPoSCaller) GetValidatorNum

func (_DPoS *DPoSCaller) GetValidatorNum(opts *bind.CallOpts) (*big.Int, error)

GetValidatorNum is a free data retrieval call binding the contract method 0x1cfe4f0b.

Solidity: function getValidatorNum() view returns(uint256)

func (*DPoSCaller) IsMigrating

func (_DPoS *DPoSCaller) IsMigrating(opts *bind.CallOpts) (bool, error)

IsMigrating is a free data retrieval call binding the contract method 0xf05e777d.

Solidity: function isMigrating() view returns(bool)

func (*DPoSCaller) IsOwner

func (_DPoS *DPoSCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*DPoSCaller) IsPauser

func (_DPoS *DPoSCaller) IsPauser(opts *bind.CallOpts, account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*DPoSCaller) IsSidechainRegistered

func (_DPoS *DPoSCaller) IsSidechainRegistered(opts *bind.CallOpts, _sidechainAddr common.Address) (bool, error)

IsSidechainRegistered is a free data retrieval call binding the contract method 0x325820b3.

Solidity: function isSidechainRegistered(address _sidechainAddr) view returns(bool)

func (*DPoSCaller) IsValidDPoS

func (_DPoS *DPoSCaller) IsValidDPoS(opts *bind.CallOpts) (bool, error)

IsValidDPoS is a free data retrieval call binding the contract method 0xeab2ed8c.

Solidity: function isValidDPoS() view returns(bool)

func (*DPoSCaller) IsValidator

func (_DPoS *DPoSCaller) IsValidator(opts *bind.CallOpts, _addr common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address _addr) view returns(bool)

func (*DPoSCaller) IsWhitelistAdmin

func (_DPoS *DPoSCaller) IsWhitelistAdmin(opts *bind.CallOpts, account common.Address) (bool, error)

IsWhitelistAdmin is a free data retrieval call binding the contract method 0xbb5f747b.

Solidity: function isWhitelistAdmin(address account) view returns(bool)

func (*DPoSCaller) IsWhitelisted

func (_DPoS *DPoSCaller) IsWhitelisted(opts *bind.CallOpts, account common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address account) view returns(bool)

func (*DPoSCaller) MiningPool

func (_DPoS *DPoSCaller) MiningPool(opts *bind.CallOpts) (*big.Int, error)

MiningPool is a free data retrieval call binding the contract method 0x73397597.

Solidity: function miningPool() view returns(uint256)

func (*DPoSCaller) NextParamProposalId

func (_DPoS *DPoSCaller) NextParamProposalId(opts *bind.CallOpts) (*big.Int, error)

NextParamProposalId is a free data retrieval call binding the contract method 0x22da7927.

Solidity: function nextParamProposalId() view returns(uint256)

func (*DPoSCaller) NextSidechainProposalId

func (_DPoS *DPoSCaller) NextSidechainProposalId(opts *bind.CallOpts) (*big.Int, error)

NextSidechainProposalId is a free data retrieval call binding the contract method 0x2bf0fe59.

Solidity: function nextSidechainProposalId() view returns(uint256)

func (*DPoSCaller) Owner

func (_DPoS *DPoSCaller) 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 (*DPoSCaller) ParamProposals

func (_DPoS *DPoSCaller) ParamProposals(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Proposer     common.Address
	Deposit      *big.Int
	VoteDeadline *big.Int
	Record       *big.Int
	NewValue     *big.Int
	Status       uint8
}, error)

ParamProposals is a free data retrieval call binding the contract method 0x7e5fb8f3.

Solidity: function paramProposals(uint256 ) view returns(address proposer, uint256 deposit, uint256 voteDeadline, uint256 record, uint256 newValue, uint8 status)

func (*DPoSCaller) Paused

func (_DPoS *DPoSCaller) Paused(opts *bind.CallOpts) (bool, error)

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

Solidity: function paused() view returns(bool)

func (*DPoSCaller) RedeemedMiningReward

func (_DPoS *DPoSCaller) RedeemedMiningReward(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

RedeemedMiningReward is a free data retrieval call binding the contract method 0x87e53fef.

Solidity: function redeemedMiningReward(address ) view returns(uint256)

func (*DPoSCaller) RegisteredSidechains

func (_DPoS *DPoSCaller) RegisteredSidechains(opts *bind.CallOpts, arg0 common.Address) (bool, error)

RegisteredSidechains is a free data retrieval call binding the contract method 0x49444b71.

Solidity: function registeredSidechains(address ) view returns(bool)

func (*DPoSCaller) SidechainProposals

func (_DPoS *DPoSCaller) SidechainProposals(opts *bind.CallOpts, arg0 *big.Int) (struct {
	Proposer      common.Address
	Deposit       *big.Int
	VoteDeadline  *big.Int
	SidechainAddr common.Address
	Registered    bool
	Status        uint8
}, error)

SidechainProposals is a free data retrieval call binding the contract method 0xe97b7452.

Solidity: function sidechainProposals(uint256 ) view returns(address proposer, uint256 deposit, uint256 voteDeadline, address sidechainAddr, bool registered, uint8 status)

func (*DPoSCaller) UIntStorage

func (_DPoS *DPoSCaller) UIntStorage(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)

UIntStorage is a free data retrieval call binding the contract method 0x64ed600a.

Solidity: function UIntStorage(uint256 ) view returns(uint256)

func (*DPoSCaller) UsedPenaltyNonce

func (_DPoS *DPoSCaller) UsedPenaltyNonce(opts *bind.CallOpts, arg0 *big.Int) (bool, error)

UsedPenaltyNonce is a free data retrieval call binding the contract method 0xfb878749.

Solidity: function usedPenaltyNonce(uint256 ) view returns(bool)

func (*DPoSCaller) ValidatorSet

func (_DPoS *DPoSCaller) ValidatorSet(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

ValidatorSet is a free data retrieval call binding the contract method 0xe64808f3.

Solidity: function validatorSet(uint256 ) view returns(address)

type DPoSCallerRaw

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

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

func (*DPoSCallerRaw) Call

func (_DPoS *DPoSCallerRaw) 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 DPoSCallerSession

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

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

func (*DPoSCallerSession) COMMISSIONRATEBASE

func (_DPoS *DPoSCallerSession) COMMISSIONRATEBASE() (*big.Int, error)

COMMISSIONRATEBASE is a free data retrieval call binding the contract method 0xbee8380e.

Solidity: function COMMISSION_RATE_BASE() view returns(uint256)

func (*DPoSCallerSession) CelerToken

func (_DPoS *DPoSCallerSession) CelerToken() (common.Address, error)

CelerToken is a free data retrieval call binding the contract method 0xc6c21e9d.

Solidity: function celerToken() view returns(address)

func (*DPoSCallerSession) CheckedValidators

func (_DPoS *DPoSCallerSession) CheckedValidators(arg0 common.Address) (bool, error)

CheckedValidators is a free data retrieval call binding the contract method 0x3702db39.

Solidity: function checkedValidators(address ) view returns(bool)

func (*DPoSCallerSession) DposGoLiveTime

func (_DPoS *DPoSCallerSession) DposGoLiveTime() (*big.Int, error)

DposGoLiveTime is a free data retrieval call binding the contract method 0x39c9563e.

Solidity: function dposGoLiveTime() view returns(uint256)

func (*DPoSCallerSession) EnableSlash

func (_DPoS *DPoSCallerSession) EnableSlash() (bool, error)

EnableSlash is a free data retrieval call binding the contract method 0x7a3ba4ad.

Solidity: function enableSlash() view returns(bool)

func (*DPoSCallerSession) EnableWhitelist

func (_DPoS *DPoSCallerSession) EnableWhitelist() (bool, error)

EnableWhitelist is a free data retrieval call binding the contract method 0xcdfb2b4e.

Solidity: function enableWhitelist() view returns(bool)

func (*DPoSCallerSession) GetCandidateInfo

func (_DPoS *DPoSCallerSession) GetCandidateInfo(_candidateAddr common.Address) (struct {
	Initialized     bool
	MinSelfStake    *big.Int
	StakingPool     *big.Int
	Status          *big.Int
	UnbondTime      *big.Int
	CommissionRate  *big.Int
	RateLockEndTime *big.Int
}, error)

GetCandidateInfo is a free data retrieval call binding the contract method 0x28bde1e1.

Solidity: function getCandidateInfo(address _candidateAddr) view returns(bool initialized, uint256 minSelfStake, uint256 stakingPool, uint256 status, uint256 unbondTime, uint256 commissionRate, uint256 rateLockEndTime)

func (*DPoSCallerSession) GetDelegatorInfo

func (_DPoS *DPoSCallerSession) GetDelegatorInfo(_candidateAddr common.Address, _delegatorAddr common.Address) (struct {
	DelegatedStake      *big.Int
	UndelegatingStake   *big.Int
	IntentAmounts       []*big.Int
	IntentProposedTimes []*big.Int
}, error)

GetDelegatorInfo is a free data retrieval call binding the contract method 0xeecefef8.

Solidity: function getDelegatorInfo(address _candidateAddr, address _delegatorAddr) view returns(uint256 delegatedStake, uint256 undelegatingStake, uint256[] intentAmounts, uint256[] intentProposedTimes)

func (*DPoSCallerSession) GetMinQuorumStakingPool

func (_DPoS *DPoSCallerSession) GetMinQuorumStakingPool() (*big.Int, error)

GetMinQuorumStakingPool is a free data retrieval call binding the contract method 0xa3e814b9.

Solidity: function getMinQuorumStakingPool() view returns(uint256)

func (*DPoSCallerSession) GetMinStakingPool

func (_DPoS *DPoSCallerSession) GetMinStakingPool() (*big.Int, error)

GetMinStakingPool is a free data retrieval call binding the contract method 0x8e9472a3.

Solidity: function getMinStakingPool() view returns(uint256)

func (*DPoSCallerSession) GetParamProposalVote

func (_DPoS *DPoSCallerSession) GetParamProposalVote(_proposalId *big.Int, _voter common.Address) (uint8, error)

GetParamProposalVote is a free data retrieval call binding the contract method 0x581c53c5.

Solidity: function getParamProposalVote(uint256 _proposalId, address _voter) view returns(uint8)

func (*DPoSCallerSession) GetSidechainProposalVote

func (_DPoS *DPoSCallerSession) GetSidechainProposalVote(_proposalId *big.Int, _voter common.Address) (uint8, error)

GetSidechainProposalVote is a free data retrieval call binding the contract method 0x8515b0e2.

Solidity: function getSidechainProposalVote(uint256 _proposalId, address _voter) view returns(uint8)

func (*DPoSCallerSession) GetTotalValidatorStakingPool

func (_DPoS *DPoSCallerSession) GetTotalValidatorStakingPool() (*big.Int, error)

GetTotalValidatorStakingPool is a free data retrieval call binding the contract method 0x89ed7939.

Solidity: function getTotalValidatorStakingPool() view returns(uint256)

func (*DPoSCallerSession) GetUIntValue

func (_DPoS *DPoSCallerSession) GetUIntValue(_record *big.Int) (*big.Int, error)

GetUIntValue is a free data retrieval call binding the contract method 0x64c66395.

Solidity: function getUIntValue(uint256 _record) view returns(uint256)

func (*DPoSCallerSession) GetValidatorNum

func (_DPoS *DPoSCallerSession) GetValidatorNum() (*big.Int, error)

GetValidatorNum is a free data retrieval call binding the contract method 0x1cfe4f0b.

Solidity: function getValidatorNum() view returns(uint256)

func (*DPoSCallerSession) IsMigrating

func (_DPoS *DPoSCallerSession) IsMigrating() (bool, error)

IsMigrating is a free data retrieval call binding the contract method 0xf05e777d.

Solidity: function isMigrating() view returns(bool)

func (*DPoSCallerSession) IsOwner

func (_DPoS *DPoSCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*DPoSCallerSession) IsPauser

func (_DPoS *DPoSCallerSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*DPoSCallerSession) IsSidechainRegistered

func (_DPoS *DPoSCallerSession) IsSidechainRegistered(_sidechainAddr common.Address) (bool, error)

IsSidechainRegistered is a free data retrieval call binding the contract method 0x325820b3.

Solidity: function isSidechainRegistered(address _sidechainAddr) view returns(bool)

func (*DPoSCallerSession) IsValidDPoS

func (_DPoS *DPoSCallerSession) IsValidDPoS() (bool, error)

IsValidDPoS is a free data retrieval call binding the contract method 0xeab2ed8c.

Solidity: function isValidDPoS() view returns(bool)

func (*DPoSCallerSession) IsValidator

func (_DPoS *DPoSCallerSession) IsValidator(_addr common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address _addr) view returns(bool)

func (*DPoSCallerSession) IsWhitelistAdmin

func (_DPoS *DPoSCallerSession) IsWhitelistAdmin(account common.Address) (bool, error)

IsWhitelistAdmin is a free data retrieval call binding the contract method 0xbb5f747b.

Solidity: function isWhitelistAdmin(address account) view returns(bool)

func (*DPoSCallerSession) IsWhitelisted

func (_DPoS *DPoSCallerSession) IsWhitelisted(account common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address account) view returns(bool)

func (*DPoSCallerSession) MiningPool

func (_DPoS *DPoSCallerSession) MiningPool() (*big.Int, error)

MiningPool is a free data retrieval call binding the contract method 0x73397597.

Solidity: function miningPool() view returns(uint256)

func (*DPoSCallerSession) NextParamProposalId

func (_DPoS *DPoSCallerSession) NextParamProposalId() (*big.Int, error)

NextParamProposalId is a free data retrieval call binding the contract method 0x22da7927.

Solidity: function nextParamProposalId() view returns(uint256)

func (*DPoSCallerSession) NextSidechainProposalId

func (_DPoS *DPoSCallerSession) NextSidechainProposalId() (*big.Int, error)

NextSidechainProposalId is a free data retrieval call binding the contract method 0x2bf0fe59.

Solidity: function nextSidechainProposalId() view returns(uint256)

func (*DPoSCallerSession) Owner

func (_DPoS *DPoSCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*DPoSCallerSession) ParamProposals

func (_DPoS *DPoSCallerSession) ParamProposals(arg0 *big.Int) (struct {
	Proposer     common.Address
	Deposit      *big.Int
	VoteDeadline *big.Int
	Record       *big.Int
	NewValue     *big.Int
	Status       uint8
}, error)

ParamProposals is a free data retrieval call binding the contract method 0x7e5fb8f3.

Solidity: function paramProposals(uint256 ) view returns(address proposer, uint256 deposit, uint256 voteDeadline, uint256 record, uint256 newValue, uint8 status)

func (*DPoSCallerSession) Paused

func (_DPoS *DPoSCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*DPoSCallerSession) RedeemedMiningReward

func (_DPoS *DPoSCallerSession) RedeemedMiningReward(arg0 common.Address) (*big.Int, error)

RedeemedMiningReward is a free data retrieval call binding the contract method 0x87e53fef.

Solidity: function redeemedMiningReward(address ) view returns(uint256)

func (*DPoSCallerSession) RegisteredSidechains

func (_DPoS *DPoSCallerSession) RegisteredSidechains(arg0 common.Address) (bool, error)

RegisteredSidechains is a free data retrieval call binding the contract method 0x49444b71.

Solidity: function registeredSidechains(address ) view returns(bool)

func (*DPoSCallerSession) SidechainProposals

func (_DPoS *DPoSCallerSession) SidechainProposals(arg0 *big.Int) (struct {
	Proposer      common.Address
	Deposit       *big.Int
	VoteDeadline  *big.Int
	SidechainAddr common.Address
	Registered    bool
	Status        uint8
}, error)

SidechainProposals is a free data retrieval call binding the contract method 0xe97b7452.

Solidity: function sidechainProposals(uint256 ) view returns(address proposer, uint256 deposit, uint256 voteDeadline, address sidechainAddr, bool registered, uint8 status)

func (*DPoSCallerSession) UIntStorage

func (_DPoS *DPoSCallerSession) UIntStorage(arg0 *big.Int) (*big.Int, error)

UIntStorage is a free data retrieval call binding the contract method 0x64ed600a.

Solidity: function UIntStorage(uint256 ) view returns(uint256)

func (*DPoSCallerSession) UsedPenaltyNonce

func (_DPoS *DPoSCallerSession) UsedPenaltyNonce(arg0 *big.Int) (bool, error)

UsedPenaltyNonce is a free data retrieval call binding the contract method 0xfb878749.

Solidity: function usedPenaltyNonce(uint256 ) view returns(bool)

func (*DPoSCallerSession) ValidatorSet

func (_DPoS *DPoSCallerSession) ValidatorSet(arg0 *big.Int) (common.Address, error)

ValidatorSet is a free data retrieval call binding the contract method 0xe64808f3.

Solidity: function validatorSet(uint256 ) view returns(address)

type DPoSCandidateUnbonded

type DPoSCandidateUnbonded struct {
	Candidate common.Address
	Raw       types.Log // Blockchain specific contextual infos
}

DPoSCandidateUnbonded represents a CandidateUnbonded event raised by the DPoS contract.

type DPoSCandidateUnbondedIterator

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

DPoSCandidateUnbondedIterator is returned from FilterCandidateUnbonded and is used to iterate over the raw logs and unpacked data for CandidateUnbonded events raised by the DPoS contract.

func (*DPoSCandidateUnbondedIterator) Close

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

func (*DPoSCandidateUnbondedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSCandidateUnbondedIterator) Next

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

type DPoSCommissionRateAnnouncement

type DPoSCommissionRateAnnouncement struct {
	Candidate            common.Address
	AnnouncedRate        *big.Int
	AnnouncedLockEndTime *big.Int
	Raw                  types.Log // Blockchain specific contextual infos
}

DPoSCommissionRateAnnouncement represents a CommissionRateAnnouncement event raised by the DPoS contract.

type DPoSCommissionRateAnnouncementIterator

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

DPoSCommissionRateAnnouncementIterator is returned from FilterCommissionRateAnnouncement and is used to iterate over the raw logs and unpacked data for CommissionRateAnnouncement events raised by the DPoS contract.

func (*DPoSCommissionRateAnnouncementIterator) Close

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

func (*DPoSCommissionRateAnnouncementIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSCommissionRateAnnouncementIterator) Next

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

type DPoSCompensate

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

DPoSCompensate represents a Compensate event raised by the DPoS contract.

type DPoSCompensateIterator

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

DPoSCompensateIterator is returned from FilterCompensate and is used to iterate over the raw logs and unpacked data for Compensate events raised by the DPoS contract.

func (*DPoSCompensateIterator) Close

func (it *DPoSCompensateIterator) Close() error

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

func (*DPoSCompensateIterator) Error

func (it *DPoSCompensateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSCompensateIterator) Next

func (it *DPoSCompensateIterator) 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 DPoSConfirmParamProposal

type DPoSConfirmParamProposal struct {
	ProposalId *big.Int
	Passed     bool
	Record     *big.Int
	NewValue   *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

DPoSConfirmParamProposal represents a ConfirmParamProposal event raised by the DPoS contract.

type DPoSConfirmParamProposalIterator

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

DPoSConfirmParamProposalIterator is returned from FilterConfirmParamProposal and is used to iterate over the raw logs and unpacked data for ConfirmParamProposal events raised by the DPoS contract.

func (*DPoSConfirmParamProposalIterator) Close

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

func (*DPoSConfirmParamProposalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSConfirmParamProposalIterator) Next

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

type DPoSConfirmSidechainProposal

type DPoSConfirmSidechainProposal struct {
	ProposalId    *big.Int
	Passed        bool
	SidechainAddr common.Address
	Registered    bool
	Raw           types.Log // Blockchain specific contextual infos
}

DPoSConfirmSidechainProposal represents a ConfirmSidechainProposal event raised by the DPoS contract.

type DPoSConfirmSidechainProposalIterator

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

DPoSConfirmSidechainProposalIterator is returned from FilterConfirmSidechainProposal and is used to iterate over the raw logs and unpacked data for ConfirmSidechainProposal events raised by the DPoS contract.

func (*DPoSConfirmSidechainProposalIterator) Close

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

func (*DPoSConfirmSidechainProposalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSConfirmSidechainProposalIterator) Next

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

type DPoSConfirmWithdraw

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

DPoSConfirmWithdraw represents a ConfirmWithdraw event raised by the DPoS contract.

type DPoSConfirmWithdrawIterator

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

DPoSConfirmWithdrawIterator is returned from FilterConfirmWithdraw and is used to iterate over the raw logs and unpacked data for ConfirmWithdraw events raised by the DPoS contract.

func (*DPoSConfirmWithdrawIterator) Close

func (it *DPoSConfirmWithdrawIterator) Close() error

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

func (*DPoSConfirmWithdrawIterator) Error

func (it *DPoSConfirmWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSConfirmWithdrawIterator) Next

func (it *DPoSConfirmWithdrawIterator) 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 DPoSCreateParamProposal

type DPoSCreateParamProposal struct {
	ProposalId   *big.Int
	Proposer     common.Address
	Deposit      *big.Int
	VoteDeadline *big.Int
	Record       *big.Int
	NewValue     *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

DPoSCreateParamProposal represents a CreateParamProposal event raised by the DPoS contract.

type DPoSCreateParamProposalIterator

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

DPoSCreateParamProposalIterator is returned from FilterCreateParamProposal and is used to iterate over the raw logs and unpacked data for CreateParamProposal events raised by the DPoS contract.

func (*DPoSCreateParamProposalIterator) Close

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

func (*DPoSCreateParamProposalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSCreateParamProposalIterator) Next

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

type DPoSCreateSidechainProposal

type DPoSCreateSidechainProposal struct {
	ProposalId    *big.Int
	Proposer      common.Address
	Deposit       *big.Int
	VoteDeadline  *big.Int
	SidechainAddr common.Address
	Registered    bool
	Raw           types.Log // Blockchain specific contextual infos
}

DPoSCreateSidechainProposal represents a CreateSidechainProposal event raised by the DPoS contract.

type DPoSCreateSidechainProposalIterator

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

DPoSCreateSidechainProposalIterator is returned from FilterCreateSidechainProposal and is used to iterate over the raw logs and unpacked data for CreateSidechainProposal events raised by the DPoS contract.

func (*DPoSCreateSidechainProposalIterator) Close

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

func (*DPoSCreateSidechainProposalIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSCreateSidechainProposalIterator) Next

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

type DPoSDelegate

type DPoSDelegate struct {
	Delegator   common.Address
	Candidate   common.Address
	NewStake    *big.Int
	StakingPool *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

DPoSDelegate represents a Delegate event raised by the DPoS contract.

type DPoSDelegateIterator

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

DPoSDelegateIterator is returned from FilterDelegate and is used to iterate over the raw logs and unpacked data for Delegate events raised by the DPoS contract.

func (*DPoSDelegateIterator) Close

func (it *DPoSDelegateIterator) Close() error

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

func (*DPoSDelegateIterator) Error

func (it *DPoSDelegateIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSDelegateIterator) Next

func (it *DPoSDelegateIterator) 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 DPoSFilterer

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

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

func NewDPoSFilterer

func NewDPoSFilterer(address common.Address, filterer bind.ContractFilterer) (*DPoSFilterer, error)

NewDPoSFilterer creates a new log filterer instance of DPoS, bound to a specific deployed contract.

func (*DPoSFilterer) FilterCandidateUnbonded

func (_DPoS *DPoSFilterer) FilterCandidateUnbonded(opts *bind.FilterOpts, candidate []common.Address) (*DPoSCandidateUnbondedIterator, error)

FilterCandidateUnbonded is a free log retrieval operation binding the contract event 0xbe85a9a7aa606febeaa35606e49cd7324c63cf970f4f5fd0c7e983f42b20b219.

Solidity: event CandidateUnbonded(address indexed candidate)

func (*DPoSFilterer) FilterCommissionRateAnnouncement

func (_DPoS *DPoSFilterer) FilterCommissionRateAnnouncement(opts *bind.FilterOpts, candidate []common.Address) (*DPoSCommissionRateAnnouncementIterator, error)

FilterCommissionRateAnnouncement is a free log retrieval operation binding the contract event 0xd1388fca1fdda1adbe79c9535b48b22e71aa7815469abb61cdbab2a7b4ccd28a.

Solidity: event CommissionRateAnnouncement(address indexed candidate, uint256 announcedRate, uint256 announcedLockEndTime)

func (*DPoSFilterer) FilterCompensate

func (_DPoS *DPoSFilterer) FilterCompensate(opts *bind.FilterOpts, indemnitee []common.Address) (*DPoSCompensateIterator, error)

FilterCompensate is a free log retrieval operation binding the contract event 0x92c2a7173158b7618078365b4ad89fd1f774ae4aa04f39e10b966b47f469d34b.

Solidity: event Compensate(address indexed indemnitee, uint256 amount)

func (*DPoSFilterer) FilterConfirmParamProposal

func (_DPoS *DPoSFilterer) FilterConfirmParamProposal(opts *bind.FilterOpts) (*DPoSConfirmParamProposalIterator, error)

FilterConfirmParamProposal is a free log retrieval operation binding the contract event 0x106f43a560e53395081c0423504b476d1a2cfed9d56ff972bf77ae43ff7d4ba4.

Solidity: event ConfirmParamProposal(uint256 proposalId, bool passed, uint256 record, uint256 newValue)

func (*DPoSFilterer) FilterConfirmSidechainProposal

func (_DPoS *DPoSFilterer) FilterConfirmSidechainProposal(opts *bind.FilterOpts) (*DPoSConfirmSidechainProposalIterator, error)

FilterConfirmSidechainProposal is a free log retrieval operation binding the contract event 0x2c26ff0b5547eb09df5dde3569782330829ac9ffa9811847beab5d466066801c.

Solidity: event ConfirmSidechainProposal(uint256 proposalId, bool passed, address sidechainAddr, bool registered)

func (*DPoSFilterer) FilterConfirmWithdraw

func (_DPoS *DPoSFilterer) FilterConfirmWithdraw(opts *bind.FilterOpts, delegator []common.Address, candidate []common.Address) (*DPoSConfirmWithdrawIterator, error)

FilterConfirmWithdraw is a free log retrieval operation binding the contract event 0x08d0283ea9a2e520a2f09611cf37ca6eb70f62e9a807e53756047dd2dc027220.

Solidity: event ConfirmWithdraw(address indexed delegator, address indexed candidate, uint256 amount)

func (*DPoSFilterer) FilterCreateParamProposal

func (_DPoS *DPoSFilterer) FilterCreateParamProposal(opts *bind.FilterOpts) (*DPoSCreateParamProposalIterator, error)

FilterCreateParamProposal is a free log retrieval operation binding the contract event 0x40109a070319d6004f4e4b31dba4b605c97bd3474d49865158f55fe093e3b339.

Solidity: event CreateParamProposal(uint256 proposalId, address proposer, uint256 deposit, uint256 voteDeadline, uint256 record, uint256 newValue)

func (*DPoSFilterer) FilterCreateSidechainProposal

func (_DPoS *DPoSFilterer) FilterCreateSidechainProposal(opts *bind.FilterOpts) (*DPoSCreateSidechainProposalIterator, error)

FilterCreateSidechainProposal is a free log retrieval operation binding the contract event 0xe6970151d691583ac0aecc2e24c67871318a5c7f7574c6df7929b6dd5d54db68.

Solidity: event CreateSidechainProposal(uint256 proposalId, address proposer, uint256 deposit, uint256 voteDeadline, address sidechainAddr, bool registered)

func (*DPoSFilterer) FilterDelegate

func (_DPoS *DPoSFilterer) FilterDelegate(opts *bind.FilterOpts, delegator []common.Address, candidate []common.Address) (*DPoSDelegateIterator, error)

FilterDelegate is a free log retrieval operation binding the contract event 0x500599802164a08023e87ffc3eed0ba3ae60697b3083ba81d046683679d81c6b.

Solidity: event Delegate(address indexed delegator, address indexed candidate, uint256 newStake, uint256 stakingPool)

func (*DPoSFilterer) FilterInitializeCandidate

func (_DPoS *DPoSFilterer) FilterInitializeCandidate(opts *bind.FilterOpts, candidate []common.Address) (*DPoSInitializeCandidateIterator, error)

FilterInitializeCandidate is a free log retrieval operation binding the contract event 0x453d56a841836718d9e848e968068cbc2af21ca29d1527fbebd231dc46ceffaa.

Solidity: event InitializeCandidate(address indexed candidate, uint256 minSelfStake, uint256 commissionRate, uint256 rateLockEndTime)

func (*DPoSFilterer) FilterIntendWithdraw

func (_DPoS *DPoSFilterer) FilterIntendWithdraw(opts *bind.FilterOpts, delegator []common.Address, candidate []common.Address) (*DPoSIntendWithdrawIterator, error)

FilterIntendWithdraw is a free log retrieval operation binding the contract event 0x7171946bb2a9ef55fcb2eb8cef679db45e2e3a8cef9a44567d34d202b65ff0b1.

Solidity: event IntendWithdraw(address indexed delegator, address indexed candidate, uint256 withdrawAmount, uint256 proposedTime)

func (*DPoSFilterer) FilterMiningPoolContribution

func (_DPoS *DPoSFilterer) FilterMiningPoolContribution(opts *bind.FilterOpts, contributor []common.Address) (*DPoSMiningPoolContributionIterator, error)

FilterMiningPoolContribution is a free log retrieval operation binding the contract event 0x97e19c4040b6c46d4275e0c4fea68f8f92c81138372ffdb089932c211938f765.

Solidity: event MiningPoolContribution(address indexed contributor, uint256 contribution, uint256 miningPoolSize)

func (*DPoSFilterer) FilterOwnershipTransferred

func (_DPoS *DPoSFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*DPoSOwnershipTransferredIterator, error)

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

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

func (*DPoSFilterer) FilterPaused

func (_DPoS *DPoSFilterer) FilterPaused(opts *bind.FilterOpts) (*DPoSPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*DPoSFilterer) FilterPauserAdded

func (_DPoS *DPoSFilterer) FilterPauserAdded(opts *bind.FilterOpts, account []common.Address) (*DPoSPauserAddedIterator, error)

FilterPauserAdded is a free log retrieval operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address indexed account)

func (*DPoSFilterer) FilterPauserRemoved

func (_DPoS *DPoSFilterer) FilterPauserRemoved(opts *bind.FilterOpts, account []common.Address) (*DPoSPauserRemovedIterator, error)

FilterPauserRemoved is a free log retrieval operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address indexed account)

func (*DPoSFilterer) FilterRedeemMiningReward

func (_DPoS *DPoSFilterer) FilterRedeemMiningReward(opts *bind.FilterOpts, receiver []common.Address) (*DPoSRedeemMiningRewardIterator, error)

FilterRedeemMiningReward is a free log retrieval operation binding the contract event 0xc243dafa8ee55923dad771198c225cf6dfcdc5e405eda7d4da42b6c6fa018de7.

Solidity: event RedeemMiningReward(address indexed receiver, uint256 reward, uint256 miningPool)

func (*DPoSFilterer) FilterSlash

func (_DPoS *DPoSFilterer) FilterSlash(opts *bind.FilterOpts, validator []common.Address, delegator []common.Address) (*DPoSSlashIterator, error)

FilterSlash is a free log retrieval operation binding the contract event 0x9995717781b7b3ba3dd9e553a2b5a2b7593ad9b71f5022a3691a089d5189bd19.

Solidity: event Slash(address indexed validator, address indexed delegator, uint256 amount)

func (*DPoSFilterer) FilterUnpaused

func (_DPoS *DPoSFilterer) FilterUnpaused(opts *bind.FilterOpts) (*DPoSUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*DPoSFilterer) FilterUpdateCommissionRate

func (_DPoS *DPoSFilterer) FilterUpdateCommissionRate(opts *bind.FilterOpts, candidate []common.Address) (*DPoSUpdateCommissionRateIterator, error)

FilterUpdateCommissionRate is a free log retrieval operation binding the contract event 0x37954fc2aa8b4424ad16c75da2ea4d51ba08ef9e07907e37ccae54a0b4ce1e9e.

Solidity: event UpdateCommissionRate(address indexed candidate, uint256 newRate, uint256 newLockEndTime)

func (*DPoSFilterer) FilterUpdateDelegatedStake

func (_DPoS *DPoSFilterer) FilterUpdateDelegatedStake(opts *bind.FilterOpts, delegator []common.Address, candidate []common.Address) (*DPoSUpdateDelegatedStakeIterator, error)

FilterUpdateDelegatedStake is a free log retrieval operation binding the contract event 0xf9edf8bcbb705aa22a96ed2eaeb81b1a55c2035868721a08555d82299fdc1949.

Solidity: event UpdateDelegatedStake(address indexed delegator, address indexed candidate, uint256 delegatorStake, uint256 candidatePool)

func (*DPoSFilterer) FilterUpdateMinSelfStake

func (_DPoS *DPoSFilterer) FilterUpdateMinSelfStake(opts *bind.FilterOpts, candidate []common.Address) (*DPoSUpdateMinSelfStakeIterator, error)

FilterUpdateMinSelfStake is a free log retrieval operation binding the contract event 0x4c626e5cfbf8848bfc43930276036d8e6c5c6db09a8fea30eea53eaa034158af.

Solidity: event UpdateMinSelfStake(address indexed candidate, uint256 minSelfStake)

func (*DPoSFilterer) FilterValidatorChange

func (_DPoS *DPoSFilterer) FilterValidatorChange(opts *bind.FilterOpts, ethAddr []common.Address, changeType []uint8) (*DPoSValidatorChangeIterator, error)

FilterValidatorChange is a free log retrieval operation binding the contract event 0x63f783ba869265648de5e70add96be9f4914e3bde064fdc19fd7e6a8ebf2f46c.

Solidity: event ValidatorChange(address indexed ethAddr, uint8 indexed changeType)

func (*DPoSFilterer) FilterVoteParam

func (_DPoS *DPoSFilterer) FilterVoteParam(opts *bind.FilterOpts) (*DPoSVoteParamIterator, error)

FilterVoteParam is a free log retrieval operation binding the contract event 0x06c7ef6e19454637e93ee60cc680c61fb2ebabb57e58cf36d94141a5036b3d65.

Solidity: event VoteParam(uint256 proposalId, address voter, uint8 voteType)

func (*DPoSFilterer) FilterVoteSidechain

func (_DPoS *DPoSFilterer) FilterVoteSidechain(opts *bind.FilterOpts) (*DPoSVoteSidechainIterator, error)

FilterVoteSidechain is a free log retrieval operation binding the contract event 0x7686976924e1fdb79b36f7445ada20b6e9d3377d85b34d5162116e675c39d34c.

Solidity: event VoteSidechain(uint256 proposalId, address voter, uint8 voteType)

func (*DPoSFilterer) FilterWhitelistAdminAdded

func (_DPoS *DPoSFilterer) FilterWhitelistAdminAdded(opts *bind.FilterOpts, account []common.Address) (*DPoSWhitelistAdminAddedIterator, error)

FilterWhitelistAdminAdded is a free log retrieval operation binding the contract event 0x22380c05984257a1cb900161c713dd71d39e74820f1aea43bd3f1bdd20961299.

Solidity: event WhitelistAdminAdded(address indexed account)

func (*DPoSFilterer) FilterWhitelistAdminRemoved

func (_DPoS *DPoSFilterer) FilterWhitelistAdminRemoved(opts *bind.FilterOpts, account []common.Address) (*DPoSWhitelistAdminRemovedIterator, error)

FilterWhitelistAdminRemoved is a free log retrieval operation binding the contract event 0x0a8eb35e5ca14b3d6f28e4abf2f128dbab231a58b56e89beb5d636115001e165.

Solidity: event WhitelistAdminRemoved(address indexed account)

func (*DPoSFilterer) FilterWhitelistedAdded

func (_DPoS *DPoSFilterer) FilterWhitelistedAdded(opts *bind.FilterOpts, account []common.Address) (*DPoSWhitelistedAddedIterator, error)

FilterWhitelistedAdded is a free log retrieval operation binding the contract event 0xee1504a83b6d4a361f4c1dc78ab59bfa30d6a3b6612c403e86bb01ef2984295f.

Solidity: event WhitelistedAdded(address indexed account)

func (*DPoSFilterer) FilterWhitelistedRemoved

func (_DPoS *DPoSFilterer) FilterWhitelistedRemoved(opts *bind.FilterOpts, account []common.Address) (*DPoSWhitelistedRemovedIterator, error)

FilterWhitelistedRemoved is a free log retrieval operation binding the contract event 0x270d9b30cf5b0793bbfd54c9d5b94aeb49462b8148399000265144a8722da6b6.

Solidity: event WhitelistedRemoved(address indexed account)

func (*DPoSFilterer) FilterWithdrawFromUnbondedCandidate

func (_DPoS *DPoSFilterer) FilterWithdrawFromUnbondedCandidate(opts *bind.FilterOpts, delegator []common.Address, candidate []common.Address) (*DPoSWithdrawFromUnbondedCandidateIterator, error)

FilterWithdrawFromUnbondedCandidate is a free log retrieval operation binding the contract event 0x585e40624b400c05be4193af453d2fd2e69facd17163bda6afd44546f3dbbaa8.

Solidity: event WithdrawFromUnbondedCandidate(address indexed delegator, address indexed candidate, uint256 amount)

func (*DPoSFilterer) ParseCandidateUnbonded

func (_DPoS *DPoSFilterer) ParseCandidateUnbonded(log types.Log) (*DPoSCandidateUnbonded, error)

ParseCandidateUnbonded is a log parse operation binding the contract event 0xbe85a9a7aa606febeaa35606e49cd7324c63cf970f4f5fd0c7e983f42b20b219.

Solidity: event CandidateUnbonded(address indexed candidate)

func (*DPoSFilterer) ParseCommissionRateAnnouncement

func (_DPoS *DPoSFilterer) ParseCommissionRateAnnouncement(log types.Log) (*DPoSCommissionRateAnnouncement, error)

ParseCommissionRateAnnouncement is a log parse operation binding the contract event 0xd1388fca1fdda1adbe79c9535b48b22e71aa7815469abb61cdbab2a7b4ccd28a.

Solidity: event CommissionRateAnnouncement(address indexed candidate, uint256 announcedRate, uint256 announcedLockEndTime)

func (*DPoSFilterer) ParseCompensate

func (_DPoS *DPoSFilterer) ParseCompensate(log types.Log) (*DPoSCompensate, error)

ParseCompensate is a log parse operation binding the contract event 0x92c2a7173158b7618078365b4ad89fd1f774ae4aa04f39e10b966b47f469d34b.

Solidity: event Compensate(address indexed indemnitee, uint256 amount)

func (*DPoSFilterer) ParseConfirmParamProposal

func (_DPoS *DPoSFilterer) ParseConfirmParamProposal(log types.Log) (*DPoSConfirmParamProposal, error)

ParseConfirmParamProposal is a log parse operation binding the contract event 0x106f43a560e53395081c0423504b476d1a2cfed9d56ff972bf77ae43ff7d4ba4.

Solidity: event ConfirmParamProposal(uint256 proposalId, bool passed, uint256 record, uint256 newValue)

func (*DPoSFilterer) ParseConfirmSidechainProposal

func (_DPoS *DPoSFilterer) ParseConfirmSidechainProposal(log types.Log) (*DPoSConfirmSidechainProposal, error)

ParseConfirmSidechainProposal is a log parse operation binding the contract event 0x2c26ff0b5547eb09df5dde3569782330829ac9ffa9811847beab5d466066801c.

Solidity: event ConfirmSidechainProposal(uint256 proposalId, bool passed, address sidechainAddr, bool registered)

func (*DPoSFilterer) ParseConfirmWithdraw

func (_DPoS *DPoSFilterer) ParseConfirmWithdraw(log types.Log) (*DPoSConfirmWithdraw, error)

ParseConfirmWithdraw is a log parse operation binding the contract event 0x08d0283ea9a2e520a2f09611cf37ca6eb70f62e9a807e53756047dd2dc027220.

Solidity: event ConfirmWithdraw(address indexed delegator, address indexed candidate, uint256 amount)

func (*DPoSFilterer) ParseCreateParamProposal

func (_DPoS *DPoSFilterer) ParseCreateParamProposal(log types.Log) (*DPoSCreateParamProposal, error)

ParseCreateParamProposal is a log parse operation binding the contract event 0x40109a070319d6004f4e4b31dba4b605c97bd3474d49865158f55fe093e3b339.

Solidity: event CreateParamProposal(uint256 proposalId, address proposer, uint256 deposit, uint256 voteDeadline, uint256 record, uint256 newValue)

func (*DPoSFilterer) ParseCreateSidechainProposal

func (_DPoS *DPoSFilterer) ParseCreateSidechainProposal(log types.Log) (*DPoSCreateSidechainProposal, error)

ParseCreateSidechainProposal is a log parse operation binding the contract event 0xe6970151d691583ac0aecc2e24c67871318a5c7f7574c6df7929b6dd5d54db68.

Solidity: event CreateSidechainProposal(uint256 proposalId, address proposer, uint256 deposit, uint256 voteDeadline, address sidechainAddr, bool registered)

func (*DPoSFilterer) ParseDelegate

func (_DPoS *DPoSFilterer) ParseDelegate(log types.Log) (*DPoSDelegate, error)

ParseDelegate is a log parse operation binding the contract event 0x500599802164a08023e87ffc3eed0ba3ae60697b3083ba81d046683679d81c6b.

Solidity: event Delegate(address indexed delegator, address indexed candidate, uint256 newStake, uint256 stakingPool)

func (*DPoSFilterer) ParseInitializeCandidate

func (_DPoS *DPoSFilterer) ParseInitializeCandidate(log types.Log) (*DPoSInitializeCandidate, error)

ParseInitializeCandidate is a log parse operation binding the contract event 0x453d56a841836718d9e848e968068cbc2af21ca29d1527fbebd231dc46ceffaa.

Solidity: event InitializeCandidate(address indexed candidate, uint256 minSelfStake, uint256 commissionRate, uint256 rateLockEndTime)

func (*DPoSFilterer) ParseIntendWithdraw

func (_DPoS *DPoSFilterer) ParseIntendWithdraw(log types.Log) (*DPoSIntendWithdraw, error)

ParseIntendWithdraw is a log parse operation binding the contract event 0x7171946bb2a9ef55fcb2eb8cef679db45e2e3a8cef9a44567d34d202b65ff0b1.

Solidity: event IntendWithdraw(address indexed delegator, address indexed candidate, uint256 withdrawAmount, uint256 proposedTime)

func (*DPoSFilterer) ParseMiningPoolContribution

func (_DPoS *DPoSFilterer) ParseMiningPoolContribution(log types.Log) (*DPoSMiningPoolContribution, error)

ParseMiningPoolContribution is a log parse operation binding the contract event 0x97e19c4040b6c46d4275e0c4fea68f8f92c81138372ffdb089932c211938f765.

Solidity: event MiningPoolContribution(address indexed contributor, uint256 contribution, uint256 miningPoolSize)

func (*DPoSFilterer) ParseOwnershipTransferred

func (_DPoS *DPoSFilterer) ParseOwnershipTransferred(log types.Log) (*DPoSOwnershipTransferred, error)

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

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

func (*DPoSFilterer) ParsePaused

func (_DPoS *DPoSFilterer) ParsePaused(log types.Log) (*DPoSPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*DPoSFilterer) ParsePauserAdded

func (_DPoS *DPoSFilterer) ParsePauserAdded(log types.Log) (*DPoSPauserAdded, error)

ParsePauserAdded is a log parse operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address indexed account)

func (*DPoSFilterer) ParsePauserRemoved

func (_DPoS *DPoSFilterer) ParsePauserRemoved(log types.Log) (*DPoSPauserRemoved, error)

ParsePauserRemoved is a log parse operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address indexed account)

func (*DPoSFilterer) ParseRedeemMiningReward

func (_DPoS *DPoSFilterer) ParseRedeemMiningReward(log types.Log) (*DPoSRedeemMiningReward, error)

ParseRedeemMiningReward is a log parse operation binding the contract event 0xc243dafa8ee55923dad771198c225cf6dfcdc5e405eda7d4da42b6c6fa018de7.

Solidity: event RedeemMiningReward(address indexed receiver, uint256 reward, uint256 miningPool)

func (*DPoSFilterer) ParseSlash

func (_DPoS *DPoSFilterer) ParseSlash(log types.Log) (*DPoSSlash, error)

ParseSlash is a log parse operation binding the contract event 0x9995717781b7b3ba3dd9e553a2b5a2b7593ad9b71f5022a3691a089d5189bd19.

Solidity: event Slash(address indexed validator, address indexed delegator, uint256 amount)

func (*DPoSFilterer) ParseUnpaused

func (_DPoS *DPoSFilterer) ParseUnpaused(log types.Log) (*DPoSUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*DPoSFilterer) ParseUpdateCommissionRate

func (_DPoS *DPoSFilterer) ParseUpdateCommissionRate(log types.Log) (*DPoSUpdateCommissionRate, error)

ParseUpdateCommissionRate is a log parse operation binding the contract event 0x37954fc2aa8b4424ad16c75da2ea4d51ba08ef9e07907e37ccae54a0b4ce1e9e.

Solidity: event UpdateCommissionRate(address indexed candidate, uint256 newRate, uint256 newLockEndTime)

func (*DPoSFilterer) ParseUpdateDelegatedStake

func (_DPoS *DPoSFilterer) ParseUpdateDelegatedStake(log types.Log) (*DPoSUpdateDelegatedStake, error)

ParseUpdateDelegatedStake is a log parse operation binding the contract event 0xf9edf8bcbb705aa22a96ed2eaeb81b1a55c2035868721a08555d82299fdc1949.

Solidity: event UpdateDelegatedStake(address indexed delegator, address indexed candidate, uint256 delegatorStake, uint256 candidatePool)

func (*DPoSFilterer) ParseUpdateMinSelfStake

func (_DPoS *DPoSFilterer) ParseUpdateMinSelfStake(log types.Log) (*DPoSUpdateMinSelfStake, error)

ParseUpdateMinSelfStake is a log parse operation binding the contract event 0x4c626e5cfbf8848bfc43930276036d8e6c5c6db09a8fea30eea53eaa034158af.

Solidity: event UpdateMinSelfStake(address indexed candidate, uint256 minSelfStake)

func (*DPoSFilterer) ParseValidatorChange

func (_DPoS *DPoSFilterer) ParseValidatorChange(log types.Log) (*DPoSValidatorChange, error)

ParseValidatorChange is a log parse operation binding the contract event 0x63f783ba869265648de5e70add96be9f4914e3bde064fdc19fd7e6a8ebf2f46c.

Solidity: event ValidatorChange(address indexed ethAddr, uint8 indexed changeType)

func (*DPoSFilterer) ParseVoteParam

func (_DPoS *DPoSFilterer) ParseVoteParam(log types.Log) (*DPoSVoteParam, error)

ParseVoteParam is a log parse operation binding the contract event 0x06c7ef6e19454637e93ee60cc680c61fb2ebabb57e58cf36d94141a5036b3d65.

Solidity: event VoteParam(uint256 proposalId, address voter, uint8 voteType)

func (*DPoSFilterer) ParseVoteSidechain

func (_DPoS *DPoSFilterer) ParseVoteSidechain(log types.Log) (*DPoSVoteSidechain, error)

ParseVoteSidechain is a log parse operation binding the contract event 0x7686976924e1fdb79b36f7445ada20b6e9d3377d85b34d5162116e675c39d34c.

Solidity: event VoteSidechain(uint256 proposalId, address voter, uint8 voteType)

func (*DPoSFilterer) ParseWhitelistAdminAdded

func (_DPoS *DPoSFilterer) ParseWhitelistAdminAdded(log types.Log) (*DPoSWhitelistAdminAdded, error)

ParseWhitelistAdminAdded is a log parse operation binding the contract event 0x22380c05984257a1cb900161c713dd71d39e74820f1aea43bd3f1bdd20961299.

Solidity: event WhitelistAdminAdded(address indexed account)

func (*DPoSFilterer) ParseWhitelistAdminRemoved

func (_DPoS *DPoSFilterer) ParseWhitelistAdminRemoved(log types.Log) (*DPoSWhitelistAdminRemoved, error)

ParseWhitelistAdminRemoved is a log parse operation binding the contract event 0x0a8eb35e5ca14b3d6f28e4abf2f128dbab231a58b56e89beb5d636115001e165.

Solidity: event WhitelistAdminRemoved(address indexed account)

func (*DPoSFilterer) ParseWhitelistedAdded

func (_DPoS *DPoSFilterer) ParseWhitelistedAdded(log types.Log) (*DPoSWhitelistedAdded, error)

ParseWhitelistedAdded is a log parse operation binding the contract event 0xee1504a83b6d4a361f4c1dc78ab59bfa30d6a3b6612c403e86bb01ef2984295f.

Solidity: event WhitelistedAdded(address indexed account)

func (*DPoSFilterer) ParseWhitelistedRemoved

func (_DPoS *DPoSFilterer) ParseWhitelistedRemoved(log types.Log) (*DPoSWhitelistedRemoved, error)

ParseWhitelistedRemoved is a log parse operation binding the contract event 0x270d9b30cf5b0793bbfd54c9d5b94aeb49462b8148399000265144a8722da6b6.

Solidity: event WhitelistedRemoved(address indexed account)

func (*DPoSFilterer) ParseWithdrawFromUnbondedCandidate

func (_DPoS *DPoSFilterer) ParseWithdrawFromUnbondedCandidate(log types.Log) (*DPoSWithdrawFromUnbondedCandidate, error)

ParseWithdrawFromUnbondedCandidate is a log parse operation binding the contract event 0x585e40624b400c05be4193af453d2fd2e69facd17163bda6afd44546f3dbbaa8.

Solidity: event WithdrawFromUnbondedCandidate(address indexed delegator, address indexed candidate, uint256 amount)

func (*DPoSFilterer) WatchCandidateUnbonded

func (_DPoS *DPoSFilterer) WatchCandidateUnbonded(opts *bind.WatchOpts, sink chan<- *DPoSCandidateUnbonded, candidate []common.Address) (event.Subscription, error)

WatchCandidateUnbonded is a free log subscription operation binding the contract event 0xbe85a9a7aa606febeaa35606e49cd7324c63cf970f4f5fd0c7e983f42b20b219.

Solidity: event CandidateUnbonded(address indexed candidate)

func (*DPoSFilterer) WatchCommissionRateAnnouncement

func (_DPoS *DPoSFilterer) WatchCommissionRateAnnouncement(opts *bind.WatchOpts, sink chan<- *DPoSCommissionRateAnnouncement, candidate []common.Address) (event.Subscription, error)

WatchCommissionRateAnnouncement is a free log subscription operation binding the contract event 0xd1388fca1fdda1adbe79c9535b48b22e71aa7815469abb61cdbab2a7b4ccd28a.

Solidity: event CommissionRateAnnouncement(address indexed candidate, uint256 announcedRate, uint256 announcedLockEndTime)

func (*DPoSFilterer) WatchCompensate

func (_DPoS *DPoSFilterer) WatchCompensate(opts *bind.WatchOpts, sink chan<- *DPoSCompensate, indemnitee []common.Address) (event.Subscription, error)

WatchCompensate is a free log subscription operation binding the contract event 0x92c2a7173158b7618078365b4ad89fd1f774ae4aa04f39e10b966b47f469d34b.

Solidity: event Compensate(address indexed indemnitee, uint256 amount)

func (*DPoSFilterer) WatchConfirmParamProposal

func (_DPoS *DPoSFilterer) WatchConfirmParamProposal(opts *bind.WatchOpts, sink chan<- *DPoSConfirmParamProposal) (event.Subscription, error)

WatchConfirmParamProposal is a free log subscription operation binding the contract event 0x106f43a560e53395081c0423504b476d1a2cfed9d56ff972bf77ae43ff7d4ba4.

Solidity: event ConfirmParamProposal(uint256 proposalId, bool passed, uint256 record, uint256 newValue)

func (*DPoSFilterer) WatchConfirmSidechainProposal

func (_DPoS *DPoSFilterer) WatchConfirmSidechainProposal(opts *bind.WatchOpts, sink chan<- *DPoSConfirmSidechainProposal) (event.Subscription, error)

WatchConfirmSidechainProposal is a free log subscription operation binding the contract event 0x2c26ff0b5547eb09df5dde3569782330829ac9ffa9811847beab5d466066801c.

Solidity: event ConfirmSidechainProposal(uint256 proposalId, bool passed, address sidechainAddr, bool registered)

func (*DPoSFilterer) WatchConfirmWithdraw

func (_DPoS *DPoSFilterer) WatchConfirmWithdraw(opts *bind.WatchOpts, sink chan<- *DPoSConfirmWithdraw, delegator []common.Address, candidate []common.Address) (event.Subscription, error)

WatchConfirmWithdraw is a free log subscription operation binding the contract event 0x08d0283ea9a2e520a2f09611cf37ca6eb70f62e9a807e53756047dd2dc027220.

Solidity: event ConfirmWithdraw(address indexed delegator, address indexed candidate, uint256 amount)

func (*DPoSFilterer) WatchCreateParamProposal

func (_DPoS *DPoSFilterer) WatchCreateParamProposal(opts *bind.WatchOpts, sink chan<- *DPoSCreateParamProposal) (event.Subscription, error)

WatchCreateParamProposal is a free log subscription operation binding the contract event 0x40109a070319d6004f4e4b31dba4b605c97bd3474d49865158f55fe093e3b339.

Solidity: event CreateParamProposal(uint256 proposalId, address proposer, uint256 deposit, uint256 voteDeadline, uint256 record, uint256 newValue)

func (*DPoSFilterer) WatchCreateSidechainProposal

func (_DPoS *DPoSFilterer) WatchCreateSidechainProposal(opts *bind.WatchOpts, sink chan<- *DPoSCreateSidechainProposal) (event.Subscription, error)

WatchCreateSidechainProposal is a free log subscription operation binding the contract event 0xe6970151d691583ac0aecc2e24c67871318a5c7f7574c6df7929b6dd5d54db68.

Solidity: event CreateSidechainProposal(uint256 proposalId, address proposer, uint256 deposit, uint256 voteDeadline, address sidechainAddr, bool registered)

func (*DPoSFilterer) WatchDelegate

func (_DPoS *DPoSFilterer) WatchDelegate(opts *bind.WatchOpts, sink chan<- *DPoSDelegate, delegator []common.Address, candidate []common.Address) (event.Subscription, error)

WatchDelegate is a free log subscription operation binding the contract event 0x500599802164a08023e87ffc3eed0ba3ae60697b3083ba81d046683679d81c6b.

Solidity: event Delegate(address indexed delegator, address indexed candidate, uint256 newStake, uint256 stakingPool)

func (*DPoSFilterer) WatchInitializeCandidate

func (_DPoS *DPoSFilterer) WatchInitializeCandidate(opts *bind.WatchOpts, sink chan<- *DPoSInitializeCandidate, candidate []common.Address) (event.Subscription, error)

WatchInitializeCandidate is a free log subscription operation binding the contract event 0x453d56a841836718d9e848e968068cbc2af21ca29d1527fbebd231dc46ceffaa.

Solidity: event InitializeCandidate(address indexed candidate, uint256 minSelfStake, uint256 commissionRate, uint256 rateLockEndTime)

func (*DPoSFilterer) WatchIntendWithdraw

func (_DPoS *DPoSFilterer) WatchIntendWithdraw(opts *bind.WatchOpts, sink chan<- *DPoSIntendWithdraw, delegator []common.Address, candidate []common.Address) (event.Subscription, error)

WatchIntendWithdraw is a free log subscription operation binding the contract event 0x7171946bb2a9ef55fcb2eb8cef679db45e2e3a8cef9a44567d34d202b65ff0b1.

Solidity: event IntendWithdraw(address indexed delegator, address indexed candidate, uint256 withdrawAmount, uint256 proposedTime)

func (*DPoSFilterer) WatchMiningPoolContribution

func (_DPoS *DPoSFilterer) WatchMiningPoolContribution(opts *bind.WatchOpts, sink chan<- *DPoSMiningPoolContribution, contributor []common.Address) (event.Subscription, error)

WatchMiningPoolContribution is a free log subscription operation binding the contract event 0x97e19c4040b6c46d4275e0c4fea68f8f92c81138372ffdb089932c211938f765.

Solidity: event MiningPoolContribution(address indexed contributor, uint256 contribution, uint256 miningPoolSize)

func (*DPoSFilterer) WatchOwnershipTransferred

func (_DPoS *DPoSFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *DPoSOwnershipTransferred, 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 (*DPoSFilterer) WatchPaused

func (_DPoS *DPoSFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *DPoSPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*DPoSFilterer) WatchPauserAdded

func (_DPoS *DPoSFilterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *DPoSPauserAdded, account []common.Address) (event.Subscription, error)

WatchPauserAdded is a free log subscription operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address indexed account)

func (*DPoSFilterer) WatchPauserRemoved

func (_DPoS *DPoSFilterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *DPoSPauserRemoved, account []common.Address) (event.Subscription, error)

WatchPauserRemoved is a free log subscription operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address indexed account)

func (*DPoSFilterer) WatchRedeemMiningReward

func (_DPoS *DPoSFilterer) WatchRedeemMiningReward(opts *bind.WatchOpts, sink chan<- *DPoSRedeemMiningReward, receiver []common.Address) (event.Subscription, error)

WatchRedeemMiningReward is a free log subscription operation binding the contract event 0xc243dafa8ee55923dad771198c225cf6dfcdc5e405eda7d4da42b6c6fa018de7.

Solidity: event RedeemMiningReward(address indexed receiver, uint256 reward, uint256 miningPool)

func (*DPoSFilterer) WatchSlash

func (_DPoS *DPoSFilterer) WatchSlash(opts *bind.WatchOpts, sink chan<- *DPoSSlash, validator []common.Address, delegator []common.Address) (event.Subscription, error)

WatchSlash is a free log subscription operation binding the contract event 0x9995717781b7b3ba3dd9e553a2b5a2b7593ad9b71f5022a3691a089d5189bd19.

Solidity: event Slash(address indexed validator, address indexed delegator, uint256 amount)

func (*DPoSFilterer) WatchUnpaused

func (_DPoS *DPoSFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *DPoSUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*DPoSFilterer) WatchUpdateCommissionRate

func (_DPoS *DPoSFilterer) WatchUpdateCommissionRate(opts *bind.WatchOpts, sink chan<- *DPoSUpdateCommissionRate, candidate []common.Address) (event.Subscription, error)

WatchUpdateCommissionRate is a free log subscription operation binding the contract event 0x37954fc2aa8b4424ad16c75da2ea4d51ba08ef9e07907e37ccae54a0b4ce1e9e.

Solidity: event UpdateCommissionRate(address indexed candidate, uint256 newRate, uint256 newLockEndTime)

func (*DPoSFilterer) WatchUpdateDelegatedStake

func (_DPoS *DPoSFilterer) WatchUpdateDelegatedStake(opts *bind.WatchOpts, sink chan<- *DPoSUpdateDelegatedStake, delegator []common.Address, candidate []common.Address) (event.Subscription, error)

WatchUpdateDelegatedStake is a free log subscription operation binding the contract event 0xf9edf8bcbb705aa22a96ed2eaeb81b1a55c2035868721a08555d82299fdc1949.

Solidity: event UpdateDelegatedStake(address indexed delegator, address indexed candidate, uint256 delegatorStake, uint256 candidatePool)

func (*DPoSFilterer) WatchUpdateMinSelfStake

func (_DPoS *DPoSFilterer) WatchUpdateMinSelfStake(opts *bind.WatchOpts, sink chan<- *DPoSUpdateMinSelfStake, candidate []common.Address) (event.Subscription, error)

WatchUpdateMinSelfStake is a free log subscription operation binding the contract event 0x4c626e5cfbf8848bfc43930276036d8e6c5c6db09a8fea30eea53eaa034158af.

Solidity: event UpdateMinSelfStake(address indexed candidate, uint256 minSelfStake)

func (*DPoSFilterer) WatchValidatorChange

func (_DPoS *DPoSFilterer) WatchValidatorChange(opts *bind.WatchOpts, sink chan<- *DPoSValidatorChange, ethAddr []common.Address, changeType []uint8) (event.Subscription, error)

WatchValidatorChange is a free log subscription operation binding the contract event 0x63f783ba869265648de5e70add96be9f4914e3bde064fdc19fd7e6a8ebf2f46c.

Solidity: event ValidatorChange(address indexed ethAddr, uint8 indexed changeType)

func (*DPoSFilterer) WatchVoteParam

func (_DPoS *DPoSFilterer) WatchVoteParam(opts *bind.WatchOpts, sink chan<- *DPoSVoteParam) (event.Subscription, error)

WatchVoteParam is a free log subscription operation binding the contract event 0x06c7ef6e19454637e93ee60cc680c61fb2ebabb57e58cf36d94141a5036b3d65.

Solidity: event VoteParam(uint256 proposalId, address voter, uint8 voteType)

func (*DPoSFilterer) WatchVoteSidechain

func (_DPoS *DPoSFilterer) WatchVoteSidechain(opts *bind.WatchOpts, sink chan<- *DPoSVoteSidechain) (event.Subscription, error)

WatchVoteSidechain is a free log subscription operation binding the contract event 0x7686976924e1fdb79b36f7445ada20b6e9d3377d85b34d5162116e675c39d34c.

Solidity: event VoteSidechain(uint256 proposalId, address voter, uint8 voteType)

func (*DPoSFilterer) WatchWhitelistAdminAdded

func (_DPoS *DPoSFilterer) WatchWhitelistAdminAdded(opts *bind.WatchOpts, sink chan<- *DPoSWhitelistAdminAdded, account []common.Address) (event.Subscription, error)

WatchWhitelistAdminAdded is a free log subscription operation binding the contract event 0x22380c05984257a1cb900161c713dd71d39e74820f1aea43bd3f1bdd20961299.

Solidity: event WhitelistAdminAdded(address indexed account)

func (*DPoSFilterer) WatchWhitelistAdminRemoved

func (_DPoS *DPoSFilterer) WatchWhitelistAdminRemoved(opts *bind.WatchOpts, sink chan<- *DPoSWhitelistAdminRemoved, account []common.Address) (event.Subscription, error)

WatchWhitelistAdminRemoved is a free log subscription operation binding the contract event 0x0a8eb35e5ca14b3d6f28e4abf2f128dbab231a58b56e89beb5d636115001e165.

Solidity: event WhitelistAdminRemoved(address indexed account)

func (*DPoSFilterer) WatchWhitelistedAdded

func (_DPoS *DPoSFilterer) WatchWhitelistedAdded(opts *bind.WatchOpts, sink chan<- *DPoSWhitelistedAdded, account []common.Address) (event.Subscription, error)

WatchWhitelistedAdded is a free log subscription operation binding the contract event 0xee1504a83b6d4a361f4c1dc78ab59bfa30d6a3b6612c403e86bb01ef2984295f.

Solidity: event WhitelistedAdded(address indexed account)

func (*DPoSFilterer) WatchWhitelistedRemoved

func (_DPoS *DPoSFilterer) WatchWhitelistedRemoved(opts *bind.WatchOpts, sink chan<- *DPoSWhitelistedRemoved, account []common.Address) (event.Subscription, error)

WatchWhitelistedRemoved is a free log subscription operation binding the contract event 0x270d9b30cf5b0793bbfd54c9d5b94aeb49462b8148399000265144a8722da6b6.

Solidity: event WhitelistedRemoved(address indexed account)

func (*DPoSFilterer) WatchWithdrawFromUnbondedCandidate

func (_DPoS *DPoSFilterer) WatchWithdrawFromUnbondedCandidate(opts *bind.WatchOpts, sink chan<- *DPoSWithdrawFromUnbondedCandidate, delegator []common.Address, candidate []common.Address) (event.Subscription, error)

WatchWithdrawFromUnbondedCandidate is a free log subscription operation binding the contract event 0x585e40624b400c05be4193af453d2fd2e69facd17163bda6afd44546f3dbbaa8.

Solidity: event WithdrawFromUnbondedCandidate(address indexed delegator, address indexed candidate, uint256 amount)

type DPoSInitializeCandidate

type DPoSInitializeCandidate struct {
	Candidate       common.Address
	MinSelfStake    *big.Int
	CommissionRate  *big.Int
	RateLockEndTime *big.Int
	Raw             types.Log // Blockchain specific contextual infos
}

DPoSInitializeCandidate represents a InitializeCandidate event raised by the DPoS contract.

type DPoSInitializeCandidateIterator

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

DPoSInitializeCandidateIterator is returned from FilterInitializeCandidate and is used to iterate over the raw logs and unpacked data for InitializeCandidate events raised by the DPoS contract.

func (*DPoSInitializeCandidateIterator) Close

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

func (*DPoSInitializeCandidateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSInitializeCandidateIterator) Next

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

type DPoSIntendWithdraw

type DPoSIntendWithdraw struct {
	Delegator      common.Address
	Candidate      common.Address
	WithdrawAmount *big.Int
	ProposedTime   *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

DPoSIntendWithdraw represents a IntendWithdraw event raised by the DPoS contract.

type DPoSIntendWithdrawIterator

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

DPoSIntendWithdrawIterator is returned from FilterIntendWithdraw and is used to iterate over the raw logs and unpacked data for IntendWithdraw events raised by the DPoS contract.

func (*DPoSIntendWithdrawIterator) Close

func (it *DPoSIntendWithdrawIterator) Close() error

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

func (*DPoSIntendWithdrawIterator) Error

func (it *DPoSIntendWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSIntendWithdrawIterator) Next

func (it *DPoSIntendWithdrawIterator) 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 DPoSMiningPoolContribution

type DPoSMiningPoolContribution struct {
	Contributor    common.Address
	Contribution   *big.Int
	MiningPoolSize *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

DPoSMiningPoolContribution represents a MiningPoolContribution event raised by the DPoS contract.

type DPoSMiningPoolContributionIterator

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

DPoSMiningPoolContributionIterator is returned from FilterMiningPoolContribution and is used to iterate over the raw logs and unpacked data for MiningPoolContribution events raised by the DPoS contract.

func (*DPoSMiningPoolContributionIterator) Close

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

func (*DPoSMiningPoolContributionIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSMiningPoolContributionIterator) Next

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

type DPoSOwnershipTransferred

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

DPoSOwnershipTransferred represents a OwnershipTransferred event raised by the DPoS contract.

type DPoSOwnershipTransferredIterator

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

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

func (*DPoSOwnershipTransferredIterator) Close

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

func (*DPoSOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSOwnershipTransferredIterator) Next

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

type DPoSPaused

type DPoSPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

DPoSPaused represents a Paused event raised by the DPoS contract.

type DPoSPausedIterator

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

DPoSPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the DPoS contract.

func (*DPoSPausedIterator) Close

func (it *DPoSPausedIterator) Close() error

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

func (*DPoSPausedIterator) Error

func (it *DPoSPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSPausedIterator) Next

func (it *DPoSPausedIterator) 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 DPoSPauserAdded

type DPoSPauserAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

DPoSPauserAdded represents a PauserAdded event raised by the DPoS contract.

type DPoSPauserAddedIterator

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

DPoSPauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the DPoS contract.

func (*DPoSPauserAddedIterator) Close

func (it *DPoSPauserAddedIterator) Close() error

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

func (*DPoSPauserAddedIterator) Error

func (it *DPoSPauserAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSPauserAddedIterator) Next

func (it *DPoSPauserAddedIterator) 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 DPoSPauserRemoved

type DPoSPauserRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

DPoSPauserRemoved represents a PauserRemoved event raised by the DPoS contract.

type DPoSPauserRemovedIterator

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

DPoSPauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the DPoS contract.

func (*DPoSPauserRemovedIterator) Close

func (it *DPoSPauserRemovedIterator) Close() error

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

func (*DPoSPauserRemovedIterator) Error

func (it *DPoSPauserRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSPauserRemovedIterator) Next

func (it *DPoSPauserRemovedIterator) 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 DPoSRaw

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

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

func (*DPoSRaw) Call

func (_DPoS *DPoSRaw) 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 (*DPoSRaw) Transact

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

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

func (*DPoSRaw) Transfer

func (_DPoS *DPoSRaw) 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 DPoSRedeemMiningReward

type DPoSRedeemMiningReward struct {
	Receiver   common.Address
	Reward     *big.Int
	MiningPool *big.Int
	Raw        types.Log // Blockchain specific contextual infos
}

DPoSRedeemMiningReward represents a RedeemMiningReward event raised by the DPoS contract.

type DPoSRedeemMiningRewardIterator

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

DPoSRedeemMiningRewardIterator is returned from FilterRedeemMiningReward and is used to iterate over the raw logs and unpacked data for RedeemMiningReward events raised by the DPoS contract.

func (*DPoSRedeemMiningRewardIterator) Close

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

func (*DPoSRedeemMiningRewardIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSRedeemMiningRewardIterator) Next

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

type DPoSSession

type DPoSSession struct {
	Contract     *DPoS             // 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
}

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

func (*DPoSSession) AddPauser

func (_DPoS *DPoSSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*DPoSSession) AddWhitelistAdmin

func (_DPoS *DPoSSession) AddWhitelistAdmin(account common.Address) (*types.Transaction, error)

AddWhitelistAdmin is a paid mutator transaction binding the contract method 0x7362d9c8.

Solidity: function addWhitelistAdmin(address account) returns()

func (*DPoSSession) AddWhitelisted

func (_DPoS *DPoSSession) AddWhitelisted(account common.Address) (*types.Transaction, error)

AddWhitelisted is a paid mutator transaction binding the contract method 0x10154bad.

Solidity: function addWhitelisted(address account) returns()

func (*DPoSSession) AnnounceIncreaseCommissionRate

func (_DPoS *DPoSSession) AnnounceIncreaseCommissionRate(_newRate *big.Int, _newLockEndTime *big.Int) (*types.Transaction, error)

AnnounceIncreaseCommissionRate is a paid mutator transaction binding the contract method 0xf64f33f2.

Solidity: function announceIncreaseCommissionRate(uint256 _newRate, uint256 _newLockEndTime) returns()

func (*DPoSSession) COMMISSIONRATEBASE

func (_DPoS *DPoSSession) COMMISSIONRATEBASE() (*big.Int, error)

COMMISSIONRATEBASE is a free data retrieval call binding the contract method 0xbee8380e.

Solidity: function COMMISSION_RATE_BASE() view returns(uint256)

func (*DPoSSession) CelerToken

func (_DPoS *DPoSSession) CelerToken() (common.Address, error)

CelerToken is a free data retrieval call binding the contract method 0xc6c21e9d.

Solidity: function celerToken() view returns(address)

func (*DPoSSession) CheckedValidators

func (_DPoS *DPoSSession) CheckedValidators(arg0 common.Address) (bool, error)

CheckedValidators is a free data retrieval call binding the contract method 0x3702db39.

Solidity: function checkedValidators(address ) view returns(bool)

func (*DPoSSession) ClaimValidator

func (_DPoS *DPoSSession) ClaimValidator() (*types.Transaction, error)

ClaimValidator is a paid mutator transaction binding the contract method 0x6e7cf85d.

Solidity: function claimValidator() returns()

func (*DPoSSession) ConfirmIncreaseCommissionRate

func (_DPoS *DPoSSession) ConfirmIncreaseCommissionRate() (*types.Transaction, error)

ConfirmIncreaseCommissionRate is a paid mutator transaction binding the contract method 0x6e997565.

Solidity: function confirmIncreaseCommissionRate() returns()

func (*DPoSSession) ConfirmParamProposal

func (_DPoS *DPoSSession) ConfirmParamProposal(_proposalId *big.Int) (*types.Transaction, error)

ConfirmParamProposal is a paid mutator transaction binding the contract method 0x934a18ec.

Solidity: function confirmParamProposal(uint256 _proposalId) returns()

func (*DPoSSession) ConfirmSidechainProposal

func (_DPoS *DPoSSession) ConfirmSidechainProposal(_proposalId *big.Int) (*types.Transaction, error)

ConfirmSidechainProposal is a paid mutator transaction binding the contract method 0x1a06f737.

Solidity: function confirmSidechainProposal(uint256 _proposalId) returns()

func (*DPoSSession) ConfirmUnbondedCandidate

func (_DPoS *DPoSSession) ConfirmUnbondedCandidate(_candidateAddr common.Address) (*types.Transaction, error)

ConfirmUnbondedCandidate is a paid mutator transaction binding the contract method 0xc7ec2f35.

Solidity: function confirmUnbondedCandidate(address _candidateAddr) returns()

func (*DPoSSession) ConfirmWithdraw

func (_DPoS *DPoSSession) ConfirmWithdraw(_candidateAddr common.Address) (*types.Transaction, error)

ConfirmWithdraw is a paid mutator transaction binding the contract method 0xd2bfc1c7.

Solidity: function confirmWithdraw(address _candidateAddr) returns()

func (*DPoSSession) ContributeToMiningPool

func (_DPoS *DPoSSession) ContributeToMiningPool(_amount *big.Int) (*types.Transaction, error)

ContributeToMiningPool is a paid mutator transaction binding the contract method 0x4b7dba6b.

Solidity: function contributeToMiningPool(uint256 _amount) returns()

func (*DPoSSession) CreateParamProposal

func (_DPoS *DPoSSession) CreateParamProposal(_record *big.Int, _value *big.Int) (*types.Transaction, error)

CreateParamProposal is a paid mutator transaction binding the contract method 0x3090c0e9.

Solidity: function createParamProposal(uint256 _record, uint256 _value) returns()

func (*DPoSSession) CreateSidechainProposal

func (_DPoS *DPoSSession) CreateSidechainProposal(_sidechainAddr common.Address, _registered bool) (*types.Transaction, error)

CreateSidechainProposal is a paid mutator transaction binding the contract method 0xe433c1ca.

Solidity: function createSidechainProposal(address _sidechainAddr, bool _registered) returns()

func (*DPoSSession) Delegate

func (_DPoS *DPoSSession) Delegate(_candidateAddr common.Address, _amount *big.Int) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x026e402b.

Solidity: function delegate(address _candidateAddr, uint256 _amount) returns()

func (*DPoSSession) DposGoLiveTime

func (_DPoS *DPoSSession) DposGoLiveTime() (*big.Int, error)

DposGoLiveTime is a free data retrieval call binding the contract method 0x39c9563e.

Solidity: function dposGoLiveTime() view returns(uint256)

func (*DPoSSession) DrainToken

func (_DPoS *DPoSSession) DrainToken(_amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x145aa116.

Solidity: function drainToken(uint256 _amount) returns()

func (*DPoSSession) EnableSlash

func (_DPoS *DPoSSession) EnableSlash() (bool, error)

EnableSlash is a free data retrieval call binding the contract method 0x7a3ba4ad.

Solidity: function enableSlash() view returns(bool)

func (*DPoSSession) EnableWhitelist

func (_DPoS *DPoSSession) EnableWhitelist() (bool, error)

EnableWhitelist is a free data retrieval call binding the contract method 0xcdfb2b4e.

Solidity: function enableWhitelist() view returns(bool)

func (*DPoSSession) GetCandidateInfo

func (_DPoS *DPoSSession) GetCandidateInfo(_candidateAddr common.Address) (struct {
	Initialized     bool
	MinSelfStake    *big.Int
	StakingPool     *big.Int
	Status          *big.Int
	UnbondTime      *big.Int
	CommissionRate  *big.Int
	RateLockEndTime *big.Int
}, error)

GetCandidateInfo is a free data retrieval call binding the contract method 0x28bde1e1.

Solidity: function getCandidateInfo(address _candidateAddr) view returns(bool initialized, uint256 minSelfStake, uint256 stakingPool, uint256 status, uint256 unbondTime, uint256 commissionRate, uint256 rateLockEndTime)

func (*DPoSSession) GetDelegatorInfo

func (_DPoS *DPoSSession) GetDelegatorInfo(_candidateAddr common.Address, _delegatorAddr common.Address) (struct {
	DelegatedStake      *big.Int
	UndelegatingStake   *big.Int
	IntentAmounts       []*big.Int
	IntentProposedTimes []*big.Int
}, error)

GetDelegatorInfo is a free data retrieval call binding the contract method 0xeecefef8.

Solidity: function getDelegatorInfo(address _candidateAddr, address _delegatorAddr) view returns(uint256 delegatedStake, uint256 undelegatingStake, uint256[] intentAmounts, uint256[] intentProposedTimes)

func (*DPoSSession) GetMinQuorumStakingPool

func (_DPoS *DPoSSession) GetMinQuorumStakingPool() (*big.Int, error)

GetMinQuorumStakingPool is a free data retrieval call binding the contract method 0xa3e814b9.

Solidity: function getMinQuorumStakingPool() view returns(uint256)

func (*DPoSSession) GetMinStakingPool

func (_DPoS *DPoSSession) GetMinStakingPool() (*big.Int, error)

GetMinStakingPool is a free data retrieval call binding the contract method 0x8e9472a3.

Solidity: function getMinStakingPool() view returns(uint256)

func (*DPoSSession) GetParamProposalVote

func (_DPoS *DPoSSession) GetParamProposalVote(_proposalId *big.Int, _voter common.Address) (uint8, error)

GetParamProposalVote is a free data retrieval call binding the contract method 0x581c53c5.

Solidity: function getParamProposalVote(uint256 _proposalId, address _voter) view returns(uint8)

func (*DPoSSession) GetSidechainProposalVote

func (_DPoS *DPoSSession) GetSidechainProposalVote(_proposalId *big.Int, _voter common.Address) (uint8, error)

GetSidechainProposalVote is a free data retrieval call binding the contract method 0x8515b0e2.

Solidity: function getSidechainProposalVote(uint256 _proposalId, address _voter) view returns(uint8)

func (*DPoSSession) GetTotalValidatorStakingPool

func (_DPoS *DPoSSession) GetTotalValidatorStakingPool() (*big.Int, error)

GetTotalValidatorStakingPool is a free data retrieval call binding the contract method 0x89ed7939.

Solidity: function getTotalValidatorStakingPool() view returns(uint256)

func (*DPoSSession) GetUIntValue

func (_DPoS *DPoSSession) GetUIntValue(_record *big.Int) (*big.Int, error)

GetUIntValue is a free data retrieval call binding the contract method 0x64c66395.

Solidity: function getUIntValue(uint256 _record) view returns(uint256)

func (*DPoSSession) GetValidatorNum

func (_DPoS *DPoSSession) GetValidatorNum() (*big.Int, error)

GetValidatorNum is a free data retrieval call binding the contract method 0x1cfe4f0b.

Solidity: function getValidatorNum() view returns(uint256)

func (*DPoSSession) InitializeCandidate

func (_DPoS *DPoSSession) InitializeCandidate(_minSelfStake *big.Int, _commissionRate *big.Int, _rateLockEndTime *big.Int) (*types.Transaction, error)

InitializeCandidate is a paid mutator transaction binding the contract method 0xc1e16718.

Solidity: function initializeCandidate(uint256 _minSelfStake, uint256 _commissionRate, uint256 _rateLockEndTime) returns()

func (*DPoSSession) IntendWithdraw

func (_DPoS *DPoSSession) IntendWithdraw(_candidateAddr common.Address, _amount *big.Int) (*types.Transaction, error)

IntendWithdraw is a paid mutator transaction binding the contract method 0x785f8ffd.

Solidity: function intendWithdraw(address _candidateAddr, uint256 _amount) returns()

func (*DPoSSession) IsMigrating

func (_DPoS *DPoSSession) IsMigrating() (bool, error)

IsMigrating is a free data retrieval call binding the contract method 0xf05e777d.

Solidity: function isMigrating() view returns(bool)

func (*DPoSSession) IsOwner

func (_DPoS *DPoSSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*DPoSSession) IsPauser

func (_DPoS *DPoSSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*DPoSSession) IsSidechainRegistered

func (_DPoS *DPoSSession) IsSidechainRegistered(_sidechainAddr common.Address) (bool, error)

IsSidechainRegistered is a free data retrieval call binding the contract method 0x325820b3.

Solidity: function isSidechainRegistered(address _sidechainAddr) view returns(bool)

func (*DPoSSession) IsValidDPoS

func (_DPoS *DPoSSession) IsValidDPoS() (bool, error)

IsValidDPoS is a free data retrieval call binding the contract method 0xeab2ed8c.

Solidity: function isValidDPoS() view returns(bool)

func (*DPoSSession) IsValidator

func (_DPoS *DPoSSession) IsValidator(_addr common.Address) (bool, error)

IsValidator is a free data retrieval call binding the contract method 0xfacd743b.

Solidity: function isValidator(address _addr) view returns(bool)

func (*DPoSSession) IsWhitelistAdmin

func (_DPoS *DPoSSession) IsWhitelistAdmin(account common.Address) (bool, error)

IsWhitelistAdmin is a free data retrieval call binding the contract method 0xbb5f747b.

Solidity: function isWhitelistAdmin(address account) view returns(bool)

func (*DPoSSession) IsWhitelisted

func (_DPoS *DPoSSession) IsWhitelisted(account common.Address) (bool, error)

IsWhitelisted is a free data retrieval call binding the contract method 0x3af32abf.

Solidity: function isWhitelisted(address account) view returns(bool)

func (*DPoSSession) MiningPool

func (_DPoS *DPoSSession) MiningPool() (*big.Int, error)

MiningPool is a free data retrieval call binding the contract method 0x73397597.

Solidity: function miningPool() view returns(uint256)

func (*DPoSSession) NextParamProposalId

func (_DPoS *DPoSSession) NextParamProposalId() (*big.Int, error)

NextParamProposalId is a free data retrieval call binding the contract method 0x22da7927.

Solidity: function nextParamProposalId() view returns(uint256)

func (*DPoSSession) NextSidechainProposalId

func (_DPoS *DPoSSession) NextSidechainProposalId() (*big.Int, error)

NextSidechainProposalId is a free data retrieval call binding the contract method 0x2bf0fe59.

Solidity: function nextSidechainProposalId() view returns(uint256)

func (*DPoSSession) NonIncreaseCommissionRate

func (_DPoS *DPoSSession) NonIncreaseCommissionRate(_newRate *big.Int, _newLockEndTime *big.Int) (*types.Transaction, error)

NonIncreaseCommissionRate is a paid mutator transaction binding the contract method 0xbe57959d.

Solidity: function nonIncreaseCommissionRate(uint256 _newRate, uint256 _newLockEndTime) returns()

func (*DPoSSession) Owner

func (_DPoS *DPoSSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*DPoSSession) ParamProposals

func (_DPoS *DPoSSession) ParamProposals(arg0 *big.Int) (struct {
	Proposer     common.Address
	Deposit      *big.Int
	VoteDeadline *big.Int
	Record       *big.Int
	NewValue     *big.Int
	Status       uint8
}, error)

ParamProposals is a free data retrieval call binding the contract method 0x7e5fb8f3.

Solidity: function paramProposals(uint256 ) view returns(address proposer, uint256 deposit, uint256 voteDeadline, uint256 record, uint256 newValue, uint8 status)

func (*DPoSSession) Pause

func (_DPoS *DPoSSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*DPoSSession) Paused

func (_DPoS *DPoSSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*DPoSSession) RedeemMiningReward

func (_DPoS *DPoSSession) RedeemMiningReward(_receiver common.Address, _cumulativeReward *big.Int) (*types.Transaction, error)

RedeemMiningReward is a paid mutator transaction binding the contract method 0x1f7b0886.

Solidity: function redeemMiningReward(address _receiver, uint256 _cumulativeReward) returns()

func (*DPoSSession) RedeemedMiningReward

func (_DPoS *DPoSSession) RedeemedMiningReward(arg0 common.Address) (*big.Int, error)

RedeemedMiningReward is a free data retrieval call binding the contract method 0x87e53fef.

Solidity: function redeemedMiningReward(address ) view returns(uint256)

func (*DPoSSession) RegisterSidechain

func (_DPoS *DPoSSession) RegisterSidechain(_addr common.Address) (*types.Transaction, error)

RegisterSidechain is a paid mutator transaction binding the contract method 0xaa09fbae.

Solidity: function registerSidechain(address _addr) returns()

func (*DPoSSession) RegisteredSidechains

func (_DPoS *DPoSSession) RegisteredSidechains(arg0 common.Address) (bool, error)

RegisteredSidechains is a free data retrieval call binding the contract method 0x49444b71.

Solidity: function registeredSidechains(address ) view returns(bool)

func (*DPoSSession) RemoveWhitelisted

func (_DPoS *DPoSSession) RemoveWhitelisted(account common.Address) (*types.Transaction, error)

RemoveWhitelisted is a paid mutator transaction binding the contract method 0x291d9549.

Solidity: function removeWhitelisted(address account) returns()

func (*DPoSSession) RenounceOwnership

func (_DPoS *DPoSSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DPoSSession) RenouncePauser

func (_DPoS *DPoSSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*DPoSSession) RenounceWhitelistAdmin

func (_DPoS *DPoSSession) RenounceWhitelistAdmin() (*types.Transaction, error)

RenounceWhitelistAdmin is a paid mutator transaction binding the contract method 0x4c5a628c.

Solidity: function renounceWhitelistAdmin() returns()

func (*DPoSSession) RenounceWhitelisted

func (_DPoS *DPoSSession) RenounceWhitelisted() (*types.Transaction, error)

RenounceWhitelisted is a paid mutator transaction binding the contract method 0xd6cd9473.

Solidity: function renounceWhitelisted() returns()

func (*DPoSSession) SidechainProposals

func (_DPoS *DPoSSession) SidechainProposals(arg0 *big.Int) (struct {
	Proposer      common.Address
	Deposit       *big.Int
	VoteDeadline  *big.Int
	SidechainAddr common.Address
	Registered    bool
	Status        uint8
}, error)

SidechainProposals is a free data retrieval call binding the contract method 0xe97b7452.

Solidity: function sidechainProposals(uint256 ) view returns(address proposer, uint256 deposit, uint256 voteDeadline, address sidechainAddr, bool registered, uint8 status)

func (*DPoSSession) Slash

func (_DPoS *DPoSSession) Slash(_penaltyRequest []byte) (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0x5e47655f.

Solidity: function slash(bytes _penaltyRequest) returns()

func (*DPoSSession) TransferOwnership

func (_DPoS *DPoSSession) 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 (*DPoSSession) UIntStorage

func (_DPoS *DPoSSession) UIntStorage(arg0 *big.Int) (*big.Int, error)

UIntStorage is a free data retrieval call binding the contract method 0x64ed600a.

Solidity: function UIntStorage(uint256 ) view returns(uint256)

func (*DPoSSession) Unpause

func (_DPoS *DPoSSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*DPoSSession) UpdateEnableSlash

func (_DPoS *DPoSSession) UpdateEnableSlash(_enable bool) (*types.Transaction, error)

UpdateEnableSlash is a paid mutator transaction binding the contract method 0x3361e90a.

Solidity: function updateEnableSlash(bool _enable) returns()

func (*DPoSSession) UpdateEnableWhitelist

func (_DPoS *DPoSSession) UpdateEnableWhitelist(_enable bool) (*types.Transaction, error)

UpdateEnableWhitelist is a paid mutator transaction binding the contract method 0x2cb57c48.

Solidity: function updateEnableWhitelist(bool _enable) returns()

func (*DPoSSession) UpdateMinSelfStake

func (_DPoS *DPoSSession) UpdateMinSelfStake(_minSelfStake *big.Int) (*types.Transaction, error)

UpdateMinSelfStake is a paid mutator transaction binding the contract method 0x866c4b17.

Solidity: function updateMinSelfStake(uint256 _minSelfStake) returns()

func (*DPoSSession) UsedPenaltyNonce

func (_DPoS *DPoSSession) UsedPenaltyNonce(arg0 *big.Int) (bool, error)

UsedPenaltyNonce is a free data retrieval call binding the contract method 0xfb878749.

Solidity: function usedPenaltyNonce(uint256 ) view returns(bool)

func (*DPoSSession) ValidateMultiSigMessage

func (_DPoS *DPoSSession) ValidateMultiSigMessage(_request []byte) (*types.Transaction, error)

ValidateMultiSigMessage is a paid mutator transaction binding the contract method 0x1c0efd9d.

Solidity: function validateMultiSigMessage(bytes _request) returns(bool)

func (*DPoSSession) ValidatorSet

func (_DPoS *DPoSSession) ValidatorSet(arg0 *big.Int) (common.Address, error)

ValidatorSet is a free data retrieval call binding the contract method 0xe64808f3.

Solidity: function validatorSet(uint256 ) view returns(address)

func (*DPoSSession) VoteParam

func (_DPoS *DPoSSession) VoteParam(_proposalId *big.Int, _vote uint8) (*types.Transaction, error)

VoteParam is a paid mutator transaction binding the contract method 0x25ed6b35.

Solidity: function voteParam(uint256 _proposalId, uint8 _vote) returns()

func (*DPoSSession) VoteSidechain

func (_DPoS *DPoSSession) VoteSidechain(_proposalId *big.Int, _vote uint8) (*types.Transaction, error)

VoteSidechain is a paid mutator transaction binding the contract method 0x85bfe017.

Solidity: function voteSidechain(uint256 _proposalId, uint8 _vote) returns()

func (*DPoSSession) WithdrawFromUnbondedCandidate

func (_DPoS *DPoSSession) WithdrawFromUnbondedCandidate(_candidateAddr common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawFromUnbondedCandidate is a paid mutator transaction binding the contract method 0xbb9053d0.

Solidity: function withdrawFromUnbondedCandidate(address _candidateAddr, uint256 _amount) returns()

type DPoSSlash

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

DPoSSlash represents a Slash event raised by the DPoS contract.

type DPoSSlashIterator

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

DPoSSlashIterator is returned from FilterSlash and is used to iterate over the raw logs and unpacked data for Slash events raised by the DPoS contract.

func (*DPoSSlashIterator) Close

func (it *DPoSSlashIterator) Close() error

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

func (*DPoSSlashIterator) Error

func (it *DPoSSlashIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSSlashIterator) Next

func (it *DPoSSlashIterator) 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 DPoSTransactor

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

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

func NewDPoSTransactor

func NewDPoSTransactor(address common.Address, transactor bind.ContractTransactor) (*DPoSTransactor, error)

NewDPoSTransactor creates a new write-only instance of DPoS, bound to a specific deployed contract.

func (*DPoSTransactor) AddPauser

func (_DPoS *DPoSTransactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*DPoSTransactor) AddWhitelistAdmin

func (_DPoS *DPoSTransactor) AddWhitelistAdmin(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddWhitelistAdmin is a paid mutator transaction binding the contract method 0x7362d9c8.

Solidity: function addWhitelistAdmin(address account) returns()

func (*DPoSTransactor) AddWhitelisted

func (_DPoS *DPoSTransactor) AddWhitelisted(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddWhitelisted is a paid mutator transaction binding the contract method 0x10154bad.

Solidity: function addWhitelisted(address account) returns()

func (*DPoSTransactor) AnnounceIncreaseCommissionRate

func (_DPoS *DPoSTransactor) AnnounceIncreaseCommissionRate(opts *bind.TransactOpts, _newRate *big.Int, _newLockEndTime *big.Int) (*types.Transaction, error)

AnnounceIncreaseCommissionRate is a paid mutator transaction binding the contract method 0xf64f33f2.

Solidity: function announceIncreaseCommissionRate(uint256 _newRate, uint256 _newLockEndTime) returns()

func (*DPoSTransactor) ClaimValidator

func (_DPoS *DPoSTransactor) ClaimValidator(opts *bind.TransactOpts) (*types.Transaction, error)

ClaimValidator is a paid mutator transaction binding the contract method 0x6e7cf85d.

Solidity: function claimValidator() returns()

func (*DPoSTransactor) ConfirmIncreaseCommissionRate

func (_DPoS *DPoSTransactor) ConfirmIncreaseCommissionRate(opts *bind.TransactOpts) (*types.Transaction, error)

ConfirmIncreaseCommissionRate is a paid mutator transaction binding the contract method 0x6e997565.

Solidity: function confirmIncreaseCommissionRate() returns()

func (*DPoSTransactor) ConfirmParamProposal

func (_DPoS *DPoSTransactor) ConfirmParamProposal(opts *bind.TransactOpts, _proposalId *big.Int) (*types.Transaction, error)

ConfirmParamProposal is a paid mutator transaction binding the contract method 0x934a18ec.

Solidity: function confirmParamProposal(uint256 _proposalId) returns()

func (*DPoSTransactor) ConfirmSidechainProposal

func (_DPoS *DPoSTransactor) ConfirmSidechainProposal(opts *bind.TransactOpts, _proposalId *big.Int) (*types.Transaction, error)

ConfirmSidechainProposal is a paid mutator transaction binding the contract method 0x1a06f737.

Solidity: function confirmSidechainProposal(uint256 _proposalId) returns()

func (*DPoSTransactor) ConfirmUnbondedCandidate

func (_DPoS *DPoSTransactor) ConfirmUnbondedCandidate(opts *bind.TransactOpts, _candidateAddr common.Address) (*types.Transaction, error)

ConfirmUnbondedCandidate is a paid mutator transaction binding the contract method 0xc7ec2f35.

Solidity: function confirmUnbondedCandidate(address _candidateAddr) returns()

func (*DPoSTransactor) ConfirmWithdraw

func (_DPoS *DPoSTransactor) ConfirmWithdraw(opts *bind.TransactOpts, _candidateAddr common.Address) (*types.Transaction, error)

ConfirmWithdraw is a paid mutator transaction binding the contract method 0xd2bfc1c7.

Solidity: function confirmWithdraw(address _candidateAddr) returns()

func (*DPoSTransactor) ContributeToMiningPool

func (_DPoS *DPoSTransactor) ContributeToMiningPool(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

ContributeToMiningPool is a paid mutator transaction binding the contract method 0x4b7dba6b.

Solidity: function contributeToMiningPool(uint256 _amount) returns()

func (*DPoSTransactor) CreateParamProposal

func (_DPoS *DPoSTransactor) CreateParamProposal(opts *bind.TransactOpts, _record *big.Int, _value *big.Int) (*types.Transaction, error)

CreateParamProposal is a paid mutator transaction binding the contract method 0x3090c0e9.

Solidity: function createParamProposal(uint256 _record, uint256 _value) returns()

func (*DPoSTransactor) CreateSidechainProposal

func (_DPoS *DPoSTransactor) CreateSidechainProposal(opts *bind.TransactOpts, _sidechainAddr common.Address, _registered bool) (*types.Transaction, error)

CreateSidechainProposal is a paid mutator transaction binding the contract method 0xe433c1ca.

Solidity: function createSidechainProposal(address _sidechainAddr, bool _registered) returns()

func (*DPoSTransactor) Delegate

func (_DPoS *DPoSTransactor) Delegate(opts *bind.TransactOpts, _candidateAddr common.Address, _amount *big.Int) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x026e402b.

Solidity: function delegate(address _candidateAddr, uint256 _amount) returns()

func (*DPoSTransactor) DrainToken

func (_DPoS *DPoSTransactor) DrainToken(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x145aa116.

Solidity: function drainToken(uint256 _amount) returns()

func (*DPoSTransactor) InitializeCandidate

func (_DPoS *DPoSTransactor) InitializeCandidate(opts *bind.TransactOpts, _minSelfStake *big.Int, _commissionRate *big.Int, _rateLockEndTime *big.Int) (*types.Transaction, error)

InitializeCandidate is a paid mutator transaction binding the contract method 0xc1e16718.

Solidity: function initializeCandidate(uint256 _minSelfStake, uint256 _commissionRate, uint256 _rateLockEndTime) returns()

func (*DPoSTransactor) IntendWithdraw

func (_DPoS *DPoSTransactor) IntendWithdraw(opts *bind.TransactOpts, _candidateAddr common.Address, _amount *big.Int) (*types.Transaction, error)

IntendWithdraw is a paid mutator transaction binding the contract method 0x785f8ffd.

Solidity: function intendWithdraw(address _candidateAddr, uint256 _amount) returns()

func (*DPoSTransactor) NonIncreaseCommissionRate

func (_DPoS *DPoSTransactor) NonIncreaseCommissionRate(opts *bind.TransactOpts, _newRate *big.Int, _newLockEndTime *big.Int) (*types.Transaction, error)

NonIncreaseCommissionRate is a paid mutator transaction binding the contract method 0xbe57959d.

Solidity: function nonIncreaseCommissionRate(uint256 _newRate, uint256 _newLockEndTime) returns()

func (*DPoSTransactor) Pause

func (_DPoS *DPoSTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*DPoSTransactor) RedeemMiningReward

func (_DPoS *DPoSTransactor) RedeemMiningReward(opts *bind.TransactOpts, _receiver common.Address, _cumulativeReward *big.Int) (*types.Transaction, error)

RedeemMiningReward is a paid mutator transaction binding the contract method 0x1f7b0886.

Solidity: function redeemMiningReward(address _receiver, uint256 _cumulativeReward) returns()

func (*DPoSTransactor) RegisterSidechain

func (_DPoS *DPoSTransactor) RegisterSidechain(opts *bind.TransactOpts, _addr common.Address) (*types.Transaction, error)

RegisterSidechain is a paid mutator transaction binding the contract method 0xaa09fbae.

Solidity: function registerSidechain(address _addr) returns()

func (*DPoSTransactor) RemoveWhitelisted

func (_DPoS *DPoSTransactor) RemoveWhitelisted(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

RemoveWhitelisted is a paid mutator transaction binding the contract method 0x291d9549.

Solidity: function removeWhitelisted(address account) returns()

func (*DPoSTransactor) RenounceOwnership

func (_DPoS *DPoSTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DPoSTransactor) RenouncePauser

func (_DPoS *DPoSTransactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*DPoSTransactor) RenounceWhitelistAdmin

func (_DPoS *DPoSTransactor) RenounceWhitelistAdmin(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceWhitelistAdmin is a paid mutator transaction binding the contract method 0x4c5a628c.

Solidity: function renounceWhitelistAdmin() returns()

func (*DPoSTransactor) RenounceWhitelisted

func (_DPoS *DPoSTransactor) RenounceWhitelisted(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceWhitelisted is a paid mutator transaction binding the contract method 0xd6cd9473.

Solidity: function renounceWhitelisted() returns()

func (*DPoSTransactor) Slash

func (_DPoS *DPoSTransactor) Slash(opts *bind.TransactOpts, _penaltyRequest []byte) (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0x5e47655f.

Solidity: function slash(bytes _penaltyRequest) returns()

func (*DPoSTransactor) TransferOwnership

func (_DPoS *DPoSTransactor) 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 (*DPoSTransactor) Unpause

func (_DPoS *DPoSTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*DPoSTransactor) UpdateEnableSlash

func (_DPoS *DPoSTransactor) UpdateEnableSlash(opts *bind.TransactOpts, _enable bool) (*types.Transaction, error)

UpdateEnableSlash is a paid mutator transaction binding the contract method 0x3361e90a.

Solidity: function updateEnableSlash(bool _enable) returns()

func (*DPoSTransactor) UpdateEnableWhitelist

func (_DPoS *DPoSTransactor) UpdateEnableWhitelist(opts *bind.TransactOpts, _enable bool) (*types.Transaction, error)

UpdateEnableWhitelist is a paid mutator transaction binding the contract method 0x2cb57c48.

Solidity: function updateEnableWhitelist(bool _enable) returns()

func (*DPoSTransactor) UpdateMinSelfStake

func (_DPoS *DPoSTransactor) UpdateMinSelfStake(opts *bind.TransactOpts, _minSelfStake *big.Int) (*types.Transaction, error)

UpdateMinSelfStake is a paid mutator transaction binding the contract method 0x866c4b17.

Solidity: function updateMinSelfStake(uint256 _minSelfStake) returns()

func (*DPoSTransactor) ValidateMultiSigMessage

func (_DPoS *DPoSTransactor) ValidateMultiSigMessage(opts *bind.TransactOpts, _request []byte) (*types.Transaction, error)

ValidateMultiSigMessage is a paid mutator transaction binding the contract method 0x1c0efd9d.

Solidity: function validateMultiSigMessage(bytes _request) returns(bool)

func (*DPoSTransactor) VoteParam

func (_DPoS *DPoSTransactor) VoteParam(opts *bind.TransactOpts, _proposalId *big.Int, _vote uint8) (*types.Transaction, error)

VoteParam is a paid mutator transaction binding the contract method 0x25ed6b35.

Solidity: function voteParam(uint256 _proposalId, uint8 _vote) returns()

func (*DPoSTransactor) VoteSidechain

func (_DPoS *DPoSTransactor) VoteSidechain(opts *bind.TransactOpts, _proposalId *big.Int, _vote uint8) (*types.Transaction, error)

VoteSidechain is a paid mutator transaction binding the contract method 0x85bfe017.

Solidity: function voteSidechain(uint256 _proposalId, uint8 _vote) returns()

func (*DPoSTransactor) WithdrawFromUnbondedCandidate

func (_DPoS *DPoSTransactor) WithdrawFromUnbondedCandidate(opts *bind.TransactOpts, _candidateAddr common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawFromUnbondedCandidate is a paid mutator transaction binding the contract method 0xbb9053d0.

Solidity: function withdrawFromUnbondedCandidate(address _candidateAddr, uint256 _amount) returns()

type DPoSTransactorRaw

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

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

func (*DPoSTransactorRaw) Transact

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

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

func (*DPoSTransactorRaw) Transfer

func (_DPoS *DPoSTransactorRaw) 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 DPoSTransactorSession

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

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

func (*DPoSTransactorSession) AddPauser

func (_DPoS *DPoSTransactorSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*DPoSTransactorSession) AddWhitelistAdmin

func (_DPoS *DPoSTransactorSession) AddWhitelistAdmin(account common.Address) (*types.Transaction, error)

AddWhitelistAdmin is a paid mutator transaction binding the contract method 0x7362d9c8.

Solidity: function addWhitelistAdmin(address account) returns()

func (*DPoSTransactorSession) AddWhitelisted

func (_DPoS *DPoSTransactorSession) AddWhitelisted(account common.Address) (*types.Transaction, error)

AddWhitelisted is a paid mutator transaction binding the contract method 0x10154bad.

Solidity: function addWhitelisted(address account) returns()

func (*DPoSTransactorSession) AnnounceIncreaseCommissionRate

func (_DPoS *DPoSTransactorSession) AnnounceIncreaseCommissionRate(_newRate *big.Int, _newLockEndTime *big.Int) (*types.Transaction, error)

AnnounceIncreaseCommissionRate is a paid mutator transaction binding the contract method 0xf64f33f2.

Solidity: function announceIncreaseCommissionRate(uint256 _newRate, uint256 _newLockEndTime) returns()

func (*DPoSTransactorSession) ClaimValidator

func (_DPoS *DPoSTransactorSession) ClaimValidator() (*types.Transaction, error)

ClaimValidator is a paid mutator transaction binding the contract method 0x6e7cf85d.

Solidity: function claimValidator() returns()

func (*DPoSTransactorSession) ConfirmIncreaseCommissionRate

func (_DPoS *DPoSTransactorSession) ConfirmIncreaseCommissionRate() (*types.Transaction, error)

ConfirmIncreaseCommissionRate is a paid mutator transaction binding the contract method 0x6e997565.

Solidity: function confirmIncreaseCommissionRate() returns()

func (*DPoSTransactorSession) ConfirmParamProposal

func (_DPoS *DPoSTransactorSession) ConfirmParamProposal(_proposalId *big.Int) (*types.Transaction, error)

ConfirmParamProposal is a paid mutator transaction binding the contract method 0x934a18ec.

Solidity: function confirmParamProposal(uint256 _proposalId) returns()

func (*DPoSTransactorSession) ConfirmSidechainProposal

func (_DPoS *DPoSTransactorSession) ConfirmSidechainProposal(_proposalId *big.Int) (*types.Transaction, error)

ConfirmSidechainProposal is a paid mutator transaction binding the contract method 0x1a06f737.

Solidity: function confirmSidechainProposal(uint256 _proposalId) returns()

func (*DPoSTransactorSession) ConfirmUnbondedCandidate

func (_DPoS *DPoSTransactorSession) ConfirmUnbondedCandidate(_candidateAddr common.Address) (*types.Transaction, error)

ConfirmUnbondedCandidate is a paid mutator transaction binding the contract method 0xc7ec2f35.

Solidity: function confirmUnbondedCandidate(address _candidateAddr) returns()

func (*DPoSTransactorSession) ConfirmWithdraw

func (_DPoS *DPoSTransactorSession) ConfirmWithdraw(_candidateAddr common.Address) (*types.Transaction, error)

ConfirmWithdraw is a paid mutator transaction binding the contract method 0xd2bfc1c7.

Solidity: function confirmWithdraw(address _candidateAddr) returns()

func (*DPoSTransactorSession) ContributeToMiningPool

func (_DPoS *DPoSTransactorSession) ContributeToMiningPool(_amount *big.Int) (*types.Transaction, error)

ContributeToMiningPool is a paid mutator transaction binding the contract method 0x4b7dba6b.

Solidity: function contributeToMiningPool(uint256 _amount) returns()

func (*DPoSTransactorSession) CreateParamProposal

func (_DPoS *DPoSTransactorSession) CreateParamProposal(_record *big.Int, _value *big.Int) (*types.Transaction, error)

CreateParamProposal is a paid mutator transaction binding the contract method 0x3090c0e9.

Solidity: function createParamProposal(uint256 _record, uint256 _value) returns()

func (*DPoSTransactorSession) CreateSidechainProposal

func (_DPoS *DPoSTransactorSession) CreateSidechainProposal(_sidechainAddr common.Address, _registered bool) (*types.Transaction, error)

CreateSidechainProposal is a paid mutator transaction binding the contract method 0xe433c1ca.

Solidity: function createSidechainProposal(address _sidechainAddr, bool _registered) returns()

func (*DPoSTransactorSession) Delegate

func (_DPoS *DPoSTransactorSession) Delegate(_candidateAddr common.Address, _amount *big.Int) (*types.Transaction, error)

Delegate is a paid mutator transaction binding the contract method 0x026e402b.

Solidity: function delegate(address _candidateAddr, uint256 _amount) returns()

func (*DPoSTransactorSession) DrainToken

func (_DPoS *DPoSTransactorSession) DrainToken(_amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x145aa116.

Solidity: function drainToken(uint256 _amount) returns()

func (*DPoSTransactorSession) InitializeCandidate

func (_DPoS *DPoSTransactorSession) InitializeCandidate(_minSelfStake *big.Int, _commissionRate *big.Int, _rateLockEndTime *big.Int) (*types.Transaction, error)

InitializeCandidate is a paid mutator transaction binding the contract method 0xc1e16718.

Solidity: function initializeCandidate(uint256 _minSelfStake, uint256 _commissionRate, uint256 _rateLockEndTime) returns()

func (*DPoSTransactorSession) IntendWithdraw

func (_DPoS *DPoSTransactorSession) IntendWithdraw(_candidateAddr common.Address, _amount *big.Int) (*types.Transaction, error)

IntendWithdraw is a paid mutator transaction binding the contract method 0x785f8ffd.

Solidity: function intendWithdraw(address _candidateAddr, uint256 _amount) returns()

func (*DPoSTransactorSession) NonIncreaseCommissionRate

func (_DPoS *DPoSTransactorSession) NonIncreaseCommissionRate(_newRate *big.Int, _newLockEndTime *big.Int) (*types.Transaction, error)

NonIncreaseCommissionRate is a paid mutator transaction binding the contract method 0xbe57959d.

Solidity: function nonIncreaseCommissionRate(uint256 _newRate, uint256 _newLockEndTime) returns()

func (*DPoSTransactorSession) Pause

func (_DPoS *DPoSTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*DPoSTransactorSession) RedeemMiningReward

func (_DPoS *DPoSTransactorSession) RedeemMiningReward(_receiver common.Address, _cumulativeReward *big.Int) (*types.Transaction, error)

RedeemMiningReward is a paid mutator transaction binding the contract method 0x1f7b0886.

Solidity: function redeemMiningReward(address _receiver, uint256 _cumulativeReward) returns()

func (*DPoSTransactorSession) RegisterSidechain

func (_DPoS *DPoSTransactorSession) RegisterSidechain(_addr common.Address) (*types.Transaction, error)

RegisterSidechain is a paid mutator transaction binding the contract method 0xaa09fbae.

Solidity: function registerSidechain(address _addr) returns()

func (*DPoSTransactorSession) RemoveWhitelisted

func (_DPoS *DPoSTransactorSession) RemoveWhitelisted(account common.Address) (*types.Transaction, error)

RemoveWhitelisted is a paid mutator transaction binding the contract method 0x291d9549.

Solidity: function removeWhitelisted(address account) returns()

func (*DPoSTransactorSession) RenounceOwnership

func (_DPoS *DPoSTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*DPoSTransactorSession) RenouncePauser

func (_DPoS *DPoSTransactorSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*DPoSTransactorSession) RenounceWhitelistAdmin

func (_DPoS *DPoSTransactorSession) RenounceWhitelistAdmin() (*types.Transaction, error)

RenounceWhitelistAdmin is a paid mutator transaction binding the contract method 0x4c5a628c.

Solidity: function renounceWhitelistAdmin() returns()

func (*DPoSTransactorSession) RenounceWhitelisted

func (_DPoS *DPoSTransactorSession) RenounceWhitelisted() (*types.Transaction, error)

RenounceWhitelisted is a paid mutator transaction binding the contract method 0xd6cd9473.

Solidity: function renounceWhitelisted() returns()

func (*DPoSTransactorSession) Slash

func (_DPoS *DPoSTransactorSession) Slash(_penaltyRequest []byte) (*types.Transaction, error)

Slash is a paid mutator transaction binding the contract method 0x5e47655f.

Solidity: function slash(bytes _penaltyRequest) returns()

func (*DPoSTransactorSession) TransferOwnership

func (_DPoS *DPoSTransactorSession) 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 (*DPoSTransactorSession) Unpause

func (_DPoS *DPoSTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*DPoSTransactorSession) UpdateEnableSlash

func (_DPoS *DPoSTransactorSession) UpdateEnableSlash(_enable bool) (*types.Transaction, error)

UpdateEnableSlash is a paid mutator transaction binding the contract method 0x3361e90a.

Solidity: function updateEnableSlash(bool _enable) returns()

func (*DPoSTransactorSession) UpdateEnableWhitelist

func (_DPoS *DPoSTransactorSession) UpdateEnableWhitelist(_enable bool) (*types.Transaction, error)

UpdateEnableWhitelist is a paid mutator transaction binding the contract method 0x2cb57c48.

Solidity: function updateEnableWhitelist(bool _enable) returns()

func (*DPoSTransactorSession) UpdateMinSelfStake

func (_DPoS *DPoSTransactorSession) UpdateMinSelfStake(_minSelfStake *big.Int) (*types.Transaction, error)

UpdateMinSelfStake is a paid mutator transaction binding the contract method 0x866c4b17.

Solidity: function updateMinSelfStake(uint256 _minSelfStake) returns()

func (*DPoSTransactorSession) ValidateMultiSigMessage

func (_DPoS *DPoSTransactorSession) ValidateMultiSigMessage(_request []byte) (*types.Transaction, error)

ValidateMultiSigMessage is a paid mutator transaction binding the contract method 0x1c0efd9d.

Solidity: function validateMultiSigMessage(bytes _request) returns(bool)

func (*DPoSTransactorSession) VoteParam

func (_DPoS *DPoSTransactorSession) VoteParam(_proposalId *big.Int, _vote uint8) (*types.Transaction, error)

VoteParam is a paid mutator transaction binding the contract method 0x25ed6b35.

Solidity: function voteParam(uint256 _proposalId, uint8 _vote) returns()

func (*DPoSTransactorSession) VoteSidechain

func (_DPoS *DPoSTransactorSession) VoteSidechain(_proposalId *big.Int, _vote uint8) (*types.Transaction, error)

VoteSidechain is a paid mutator transaction binding the contract method 0x85bfe017.

Solidity: function voteSidechain(uint256 _proposalId, uint8 _vote) returns()

func (*DPoSTransactorSession) WithdrawFromUnbondedCandidate

func (_DPoS *DPoSTransactorSession) WithdrawFromUnbondedCandidate(_candidateAddr common.Address, _amount *big.Int) (*types.Transaction, error)

WithdrawFromUnbondedCandidate is a paid mutator transaction binding the contract method 0xbb9053d0.

Solidity: function withdrawFromUnbondedCandidate(address _candidateAddr, uint256 _amount) returns()

type DPoSUnpaused

type DPoSUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

DPoSUnpaused represents a Unpaused event raised by the DPoS contract.

type DPoSUnpausedIterator

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

DPoSUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the DPoS contract.

func (*DPoSUnpausedIterator) Close

func (it *DPoSUnpausedIterator) Close() error

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

func (*DPoSUnpausedIterator) Error

func (it *DPoSUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSUnpausedIterator) Next

func (it *DPoSUnpausedIterator) 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 DPoSUpdateCommissionRate

type DPoSUpdateCommissionRate struct {
	Candidate      common.Address
	NewRate        *big.Int
	NewLockEndTime *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

DPoSUpdateCommissionRate represents a UpdateCommissionRate event raised by the DPoS contract.

type DPoSUpdateCommissionRateIterator

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

DPoSUpdateCommissionRateIterator is returned from FilterUpdateCommissionRate and is used to iterate over the raw logs and unpacked data for UpdateCommissionRate events raised by the DPoS contract.

func (*DPoSUpdateCommissionRateIterator) Close

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

func (*DPoSUpdateCommissionRateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSUpdateCommissionRateIterator) Next

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

type DPoSUpdateDelegatedStake

type DPoSUpdateDelegatedStake struct {
	Delegator      common.Address
	Candidate      common.Address
	DelegatorStake *big.Int
	CandidatePool  *big.Int
	Raw            types.Log // Blockchain specific contextual infos
}

DPoSUpdateDelegatedStake represents a UpdateDelegatedStake event raised by the DPoS contract.

type DPoSUpdateDelegatedStakeIterator

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

DPoSUpdateDelegatedStakeIterator is returned from FilterUpdateDelegatedStake and is used to iterate over the raw logs and unpacked data for UpdateDelegatedStake events raised by the DPoS contract.

func (*DPoSUpdateDelegatedStakeIterator) Close

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

func (*DPoSUpdateDelegatedStakeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSUpdateDelegatedStakeIterator) Next

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

type DPoSUpdateMinSelfStake

type DPoSUpdateMinSelfStake struct {
	Candidate    common.Address
	MinSelfStake *big.Int
	Raw          types.Log // Blockchain specific contextual infos
}

DPoSUpdateMinSelfStake represents a UpdateMinSelfStake event raised by the DPoS contract.

type DPoSUpdateMinSelfStakeIterator

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

DPoSUpdateMinSelfStakeIterator is returned from FilterUpdateMinSelfStake and is used to iterate over the raw logs and unpacked data for UpdateMinSelfStake events raised by the DPoS contract.

func (*DPoSUpdateMinSelfStakeIterator) Close

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

func (*DPoSUpdateMinSelfStakeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSUpdateMinSelfStakeIterator) Next

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

type DPoSValidatorChange

type DPoSValidatorChange struct {
	EthAddr    common.Address
	ChangeType uint8
	Raw        types.Log // Blockchain specific contextual infos
}

DPoSValidatorChange represents a ValidatorChange event raised by the DPoS contract.

type DPoSValidatorChangeIterator

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

DPoSValidatorChangeIterator is returned from FilterValidatorChange and is used to iterate over the raw logs and unpacked data for ValidatorChange events raised by the DPoS contract.

func (*DPoSValidatorChangeIterator) Close

func (it *DPoSValidatorChangeIterator) Close() error

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

func (*DPoSValidatorChangeIterator) Error

func (it *DPoSValidatorChangeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSValidatorChangeIterator) Next

func (it *DPoSValidatorChangeIterator) 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 DPoSVoteParam

type DPoSVoteParam struct {
	ProposalId *big.Int
	Voter      common.Address
	VoteType   uint8
	Raw        types.Log // Blockchain specific contextual infos
}

DPoSVoteParam represents a VoteParam event raised by the DPoS contract.

type DPoSVoteParamIterator

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

DPoSVoteParamIterator is returned from FilterVoteParam and is used to iterate over the raw logs and unpacked data for VoteParam events raised by the DPoS contract.

func (*DPoSVoteParamIterator) Close

func (it *DPoSVoteParamIterator) Close() error

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

func (*DPoSVoteParamIterator) Error

func (it *DPoSVoteParamIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSVoteParamIterator) Next

func (it *DPoSVoteParamIterator) 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 DPoSVoteSidechain

type DPoSVoteSidechain struct {
	ProposalId *big.Int
	Voter      common.Address
	VoteType   uint8
	Raw        types.Log // Blockchain specific contextual infos
}

DPoSVoteSidechain represents a VoteSidechain event raised by the DPoS contract.

type DPoSVoteSidechainIterator

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

DPoSVoteSidechainIterator is returned from FilterVoteSidechain and is used to iterate over the raw logs and unpacked data for VoteSidechain events raised by the DPoS contract.

func (*DPoSVoteSidechainIterator) Close

func (it *DPoSVoteSidechainIterator) Close() error

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

func (*DPoSVoteSidechainIterator) Error

func (it *DPoSVoteSidechainIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSVoteSidechainIterator) Next

func (it *DPoSVoteSidechainIterator) 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 DPoSWhitelistAdminAdded

type DPoSWhitelistAdminAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

DPoSWhitelistAdminAdded represents a WhitelistAdminAdded event raised by the DPoS contract.

type DPoSWhitelistAdminAddedIterator

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

DPoSWhitelistAdminAddedIterator is returned from FilterWhitelistAdminAdded and is used to iterate over the raw logs and unpacked data for WhitelistAdminAdded events raised by the DPoS contract.

func (*DPoSWhitelistAdminAddedIterator) Close

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

func (*DPoSWhitelistAdminAddedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSWhitelistAdminAddedIterator) Next

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

type DPoSWhitelistAdminRemoved

type DPoSWhitelistAdminRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

DPoSWhitelistAdminRemoved represents a WhitelistAdminRemoved event raised by the DPoS contract.

type DPoSWhitelistAdminRemovedIterator

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

DPoSWhitelistAdminRemovedIterator is returned from FilterWhitelistAdminRemoved and is used to iterate over the raw logs and unpacked data for WhitelistAdminRemoved events raised by the DPoS contract.

func (*DPoSWhitelistAdminRemovedIterator) Close

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

func (*DPoSWhitelistAdminRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSWhitelistAdminRemovedIterator) Next

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

type DPoSWhitelistedAdded

type DPoSWhitelistedAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

DPoSWhitelistedAdded represents a WhitelistedAdded event raised by the DPoS contract.

type DPoSWhitelistedAddedIterator

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

DPoSWhitelistedAddedIterator is returned from FilterWhitelistedAdded and is used to iterate over the raw logs and unpacked data for WhitelistedAdded events raised by the DPoS contract.

func (*DPoSWhitelistedAddedIterator) Close

func (it *DPoSWhitelistedAddedIterator) Close() error

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

func (*DPoSWhitelistedAddedIterator) Error

func (it *DPoSWhitelistedAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSWhitelistedAddedIterator) Next

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

type DPoSWhitelistedRemoved

type DPoSWhitelistedRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

DPoSWhitelistedRemoved represents a WhitelistedRemoved event raised by the DPoS contract.

type DPoSWhitelistedRemovedIterator

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

DPoSWhitelistedRemovedIterator is returned from FilterWhitelistedRemoved and is used to iterate over the raw logs and unpacked data for WhitelistedRemoved events raised by the DPoS contract.

func (*DPoSWhitelistedRemovedIterator) Close

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

func (*DPoSWhitelistedRemovedIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSWhitelistedRemovedIterator) Next

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

type DPoSWithdrawFromUnbondedCandidate

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

DPoSWithdrawFromUnbondedCandidate represents a WithdrawFromUnbondedCandidate event raised by the DPoS contract.

type DPoSWithdrawFromUnbondedCandidateIterator

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

DPoSWithdrawFromUnbondedCandidateIterator is returned from FilterWithdrawFromUnbondedCandidate and is used to iterate over the raw logs and unpacked data for WithdrawFromUnbondedCandidate events raised by the DPoS contract.

func (*DPoSWithdrawFromUnbondedCandidateIterator) Close

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

func (*DPoSWithdrawFromUnbondedCandidateIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*DPoSWithdrawFromUnbondedCandidateIterator) Next

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

type SGN

type SGN struct {
	SGNCaller     // Read-only binding to the contract
	SGNTransactor // Write-only binding to the contract
	SGNFilterer   // Log filterer for contract events
}

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

func DeploySGN

func DeploySGN(auth *bind.TransactOpts, backend bind.ContractBackend, _celerTokenAddress common.Address, _DPoSAddress common.Address) (common.Address, *types.Transaction, *SGN, error)

DeploySGN deploys a new Ethereum contract, binding an instance of SGN to it.

func NewSGN

func NewSGN(address common.Address, backend bind.ContractBackend) (*SGN, error)

NewSGN creates a new instance of SGN, bound to a specific deployed contract.

type SGNAddSubscriptionBalance

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

SGNAddSubscriptionBalance represents a AddSubscriptionBalance event raised by the SGN contract.

type SGNAddSubscriptionBalanceIterator

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

SGNAddSubscriptionBalanceIterator is returned from FilterAddSubscriptionBalance and is used to iterate over the raw logs and unpacked data for AddSubscriptionBalance events raised by the SGN contract.

func (*SGNAddSubscriptionBalanceIterator) Close

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

func (*SGNAddSubscriptionBalanceIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SGNAddSubscriptionBalanceIterator) Next

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

type SGNCaller

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

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

func NewSGNCaller

func NewSGNCaller(address common.Address, caller bind.ContractCaller) (*SGNCaller, error)

NewSGNCaller creates a new read-only instance of SGN, bound to a specific deployed contract.

func (*SGNCaller) CelerToken

func (_SGN *SGNCaller) CelerToken(opts *bind.CallOpts) (common.Address, error)

CelerToken is a free data retrieval call binding the contract method 0xc6c21e9d.

Solidity: function celerToken() view returns(address)

func (*SGNCaller) DPoSContract

func (_SGN *SGNCaller) DPoSContract(opts *bind.CallOpts) (common.Address, error)

DPoSContract is a free data retrieval call binding the contract method 0x291a3eb2.

Solidity: function dPoSContract() view returns(address)

func (*SGNCaller) IsOwner

func (_SGN *SGNCaller) IsOwner(opts *bind.CallOpts) (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*SGNCaller) IsPauser

func (_SGN *SGNCaller) IsPauser(opts *bind.CallOpts, account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*SGNCaller) Owner

func (_SGN *SGNCaller) 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 (*SGNCaller) Paused

func (_SGN *SGNCaller) Paused(opts *bind.CallOpts) (bool, error)

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

Solidity: function paused() view returns(bool)

func (*SGNCaller) RedeemedServiceReward

func (_SGN *SGNCaller) RedeemedServiceReward(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

RedeemedServiceReward is a free data retrieval call binding the contract method 0xc57f6661.

Solidity: function redeemedServiceReward(address ) view returns(uint256)

func (*SGNCaller) ServicePool

func (_SGN *SGNCaller) ServicePool(opts *bind.CallOpts) (*big.Int, error)

ServicePool is a free data retrieval call binding the contract method 0xe42a06c8.

Solidity: function servicePool() view returns(uint256)

func (*SGNCaller) SidechainAddrMap

func (_SGN *SGNCaller) SidechainAddrMap(opts *bind.CallOpts, arg0 common.Address) ([]byte, error)

SidechainAddrMap is a free data retrieval call binding the contract method 0xe27b4110.

Solidity: function sidechainAddrMap(address ) view returns(bytes)

func (*SGNCaller) SubscriptionDeposits

func (_SGN *SGNCaller) SubscriptionDeposits(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

SubscriptionDeposits is a free data retrieval call binding the contract method 0x1e77733a.

Solidity: function subscriptionDeposits(address ) view returns(uint256)

type SGNCallerRaw

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

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

func (*SGNCallerRaw) Call

func (_SGN *SGNCallerRaw) 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 SGNCallerSession

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

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

func (*SGNCallerSession) CelerToken

func (_SGN *SGNCallerSession) CelerToken() (common.Address, error)

CelerToken is a free data retrieval call binding the contract method 0xc6c21e9d.

Solidity: function celerToken() view returns(address)

func (*SGNCallerSession) DPoSContract

func (_SGN *SGNCallerSession) DPoSContract() (common.Address, error)

DPoSContract is a free data retrieval call binding the contract method 0x291a3eb2.

Solidity: function dPoSContract() view returns(address)

func (*SGNCallerSession) IsOwner

func (_SGN *SGNCallerSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*SGNCallerSession) IsPauser

func (_SGN *SGNCallerSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*SGNCallerSession) Owner

func (_SGN *SGNCallerSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SGNCallerSession) Paused

func (_SGN *SGNCallerSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*SGNCallerSession) RedeemedServiceReward

func (_SGN *SGNCallerSession) RedeemedServiceReward(arg0 common.Address) (*big.Int, error)

RedeemedServiceReward is a free data retrieval call binding the contract method 0xc57f6661.

Solidity: function redeemedServiceReward(address ) view returns(uint256)

func (*SGNCallerSession) ServicePool

func (_SGN *SGNCallerSession) ServicePool() (*big.Int, error)

ServicePool is a free data retrieval call binding the contract method 0xe42a06c8.

Solidity: function servicePool() view returns(uint256)

func (*SGNCallerSession) SidechainAddrMap

func (_SGN *SGNCallerSession) SidechainAddrMap(arg0 common.Address) ([]byte, error)

SidechainAddrMap is a free data retrieval call binding the contract method 0xe27b4110.

Solidity: function sidechainAddrMap(address ) view returns(bytes)

func (*SGNCallerSession) SubscriptionDeposits

func (_SGN *SGNCallerSession) SubscriptionDeposits(arg0 common.Address) (*big.Int, error)

SubscriptionDeposits is a free data retrieval call binding the contract method 0x1e77733a.

Solidity: function subscriptionDeposits(address ) view returns(uint256)

type SGNFilterer

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

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

func NewSGNFilterer

func NewSGNFilterer(address common.Address, filterer bind.ContractFilterer) (*SGNFilterer, error)

NewSGNFilterer creates a new log filterer instance of SGN, bound to a specific deployed contract.

func (*SGNFilterer) FilterAddSubscriptionBalance

func (_SGN *SGNFilterer) FilterAddSubscriptionBalance(opts *bind.FilterOpts, consumer []common.Address) (*SGNAddSubscriptionBalanceIterator, error)

FilterAddSubscriptionBalance is a free log retrieval operation binding the contract event 0xac095ced75d400384d8404a37883183a56b937b8ff8195fa0c52c3ccc8bb8a49.

Solidity: event AddSubscriptionBalance(address indexed consumer, uint256 amount)

func (*SGNFilterer) FilterOwnershipTransferred

func (_SGN *SGNFilterer) FilterOwnershipTransferred(opts *bind.FilterOpts, previousOwner []common.Address, newOwner []common.Address) (*SGNOwnershipTransferredIterator, error)

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

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

func (*SGNFilterer) FilterPaused

func (_SGN *SGNFilterer) FilterPaused(opts *bind.FilterOpts) (*SGNPausedIterator, error)

FilterPaused is a free log retrieval operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*SGNFilterer) FilterPauserAdded

func (_SGN *SGNFilterer) FilterPauserAdded(opts *bind.FilterOpts, account []common.Address) (*SGNPauserAddedIterator, error)

FilterPauserAdded is a free log retrieval operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address indexed account)

func (*SGNFilterer) FilterPauserRemoved

func (_SGN *SGNFilterer) FilterPauserRemoved(opts *bind.FilterOpts, account []common.Address) (*SGNPauserRemovedIterator, error)

FilterPauserRemoved is a free log retrieval operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address indexed account)

func (*SGNFilterer) FilterRedeemReward

func (_SGN *SGNFilterer) FilterRedeemReward(opts *bind.FilterOpts, receiver []common.Address) (*SGNRedeemRewardIterator, error)

FilterRedeemReward is a free log retrieval operation binding the contract event 0x09251621f2e88c5e7f8df91fe1d9e9a70610e20e122945470fddd48af0510426.

Solidity: event RedeemReward(address indexed receiver, uint256 cumulativeMiningReward, uint256 serviceReward, uint256 servicePool)

func (*SGNFilterer) FilterUnpaused

func (_SGN *SGNFilterer) FilterUnpaused(opts *bind.FilterOpts) (*SGNUnpausedIterator, error)

FilterUnpaused is a free log retrieval operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*SGNFilterer) FilterUpdateSidechainAddr

func (_SGN *SGNFilterer) FilterUpdateSidechainAddr(opts *bind.FilterOpts, candidate []common.Address, oldSidechainAddr [][]byte, newSidechainAddr [][]byte) (*SGNUpdateSidechainAddrIterator, error)

FilterUpdateSidechainAddr is a free log retrieval operation binding the contract event 0x16de3299ab034ce7e21b22d55f4f9a1474bd3c4d20dbd1cc9bcd39c1ad3d5a2c.

Solidity: event UpdateSidechainAddr(address indexed candidate, bytes indexed oldSidechainAddr, bytes indexed newSidechainAddr)

func (*SGNFilterer) ParseAddSubscriptionBalance

func (_SGN *SGNFilterer) ParseAddSubscriptionBalance(log types.Log) (*SGNAddSubscriptionBalance, error)

ParseAddSubscriptionBalance is a log parse operation binding the contract event 0xac095ced75d400384d8404a37883183a56b937b8ff8195fa0c52c3ccc8bb8a49.

Solidity: event AddSubscriptionBalance(address indexed consumer, uint256 amount)

func (*SGNFilterer) ParseOwnershipTransferred

func (_SGN *SGNFilterer) ParseOwnershipTransferred(log types.Log) (*SGNOwnershipTransferred, error)

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

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

func (*SGNFilterer) ParsePaused

func (_SGN *SGNFilterer) ParsePaused(log types.Log) (*SGNPaused, error)

ParsePaused is a log parse operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*SGNFilterer) ParsePauserAdded

func (_SGN *SGNFilterer) ParsePauserAdded(log types.Log) (*SGNPauserAdded, error)

ParsePauserAdded is a log parse operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address indexed account)

func (*SGNFilterer) ParsePauserRemoved

func (_SGN *SGNFilterer) ParsePauserRemoved(log types.Log) (*SGNPauserRemoved, error)

ParsePauserRemoved is a log parse operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address indexed account)

func (*SGNFilterer) ParseRedeemReward

func (_SGN *SGNFilterer) ParseRedeemReward(log types.Log) (*SGNRedeemReward, error)

ParseRedeemReward is a log parse operation binding the contract event 0x09251621f2e88c5e7f8df91fe1d9e9a70610e20e122945470fddd48af0510426.

Solidity: event RedeemReward(address indexed receiver, uint256 cumulativeMiningReward, uint256 serviceReward, uint256 servicePool)

func (*SGNFilterer) ParseUnpaused

func (_SGN *SGNFilterer) ParseUnpaused(log types.Log) (*SGNUnpaused, error)

ParseUnpaused is a log parse operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*SGNFilterer) ParseUpdateSidechainAddr

func (_SGN *SGNFilterer) ParseUpdateSidechainAddr(log types.Log) (*SGNUpdateSidechainAddr, error)

ParseUpdateSidechainAddr is a log parse operation binding the contract event 0x16de3299ab034ce7e21b22d55f4f9a1474bd3c4d20dbd1cc9bcd39c1ad3d5a2c.

Solidity: event UpdateSidechainAddr(address indexed candidate, bytes indexed oldSidechainAddr, bytes indexed newSidechainAddr)

func (*SGNFilterer) WatchAddSubscriptionBalance

func (_SGN *SGNFilterer) WatchAddSubscriptionBalance(opts *bind.WatchOpts, sink chan<- *SGNAddSubscriptionBalance, consumer []common.Address) (event.Subscription, error)

WatchAddSubscriptionBalance is a free log subscription operation binding the contract event 0xac095ced75d400384d8404a37883183a56b937b8ff8195fa0c52c3ccc8bb8a49.

Solidity: event AddSubscriptionBalance(address indexed consumer, uint256 amount)

func (*SGNFilterer) WatchOwnershipTransferred

func (_SGN *SGNFilterer) WatchOwnershipTransferred(opts *bind.WatchOpts, sink chan<- *SGNOwnershipTransferred, 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 (*SGNFilterer) WatchPaused

func (_SGN *SGNFilterer) WatchPaused(opts *bind.WatchOpts, sink chan<- *SGNPaused) (event.Subscription, error)

WatchPaused is a free log subscription operation binding the contract event 0x62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258.

Solidity: event Paused(address account)

func (*SGNFilterer) WatchPauserAdded

func (_SGN *SGNFilterer) WatchPauserAdded(opts *bind.WatchOpts, sink chan<- *SGNPauserAdded, account []common.Address) (event.Subscription, error)

WatchPauserAdded is a free log subscription operation binding the contract event 0x6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f8.

Solidity: event PauserAdded(address indexed account)

func (*SGNFilterer) WatchPauserRemoved

func (_SGN *SGNFilterer) WatchPauserRemoved(opts *bind.WatchOpts, sink chan<- *SGNPauserRemoved, account []common.Address) (event.Subscription, error)

WatchPauserRemoved is a free log subscription operation binding the contract event 0xcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e.

Solidity: event PauserRemoved(address indexed account)

func (*SGNFilterer) WatchRedeemReward

func (_SGN *SGNFilterer) WatchRedeemReward(opts *bind.WatchOpts, sink chan<- *SGNRedeemReward, receiver []common.Address) (event.Subscription, error)

WatchRedeemReward is a free log subscription operation binding the contract event 0x09251621f2e88c5e7f8df91fe1d9e9a70610e20e122945470fddd48af0510426.

Solidity: event RedeemReward(address indexed receiver, uint256 cumulativeMiningReward, uint256 serviceReward, uint256 servicePool)

func (*SGNFilterer) WatchUnpaused

func (_SGN *SGNFilterer) WatchUnpaused(opts *bind.WatchOpts, sink chan<- *SGNUnpaused) (event.Subscription, error)

WatchUnpaused is a free log subscription operation binding the contract event 0x5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa.

Solidity: event Unpaused(address account)

func (*SGNFilterer) WatchUpdateSidechainAddr

func (_SGN *SGNFilterer) WatchUpdateSidechainAddr(opts *bind.WatchOpts, sink chan<- *SGNUpdateSidechainAddr, candidate []common.Address, oldSidechainAddr [][]byte, newSidechainAddr [][]byte) (event.Subscription, error)

WatchUpdateSidechainAddr is a free log subscription operation binding the contract event 0x16de3299ab034ce7e21b22d55f4f9a1474bd3c4d20dbd1cc9bcd39c1ad3d5a2c.

Solidity: event UpdateSidechainAddr(address indexed candidate, bytes indexed oldSidechainAddr, bytes indexed newSidechainAddr)

type SGNOwnershipTransferred

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

SGNOwnershipTransferred represents a OwnershipTransferred event raised by the SGN contract.

type SGNOwnershipTransferredIterator

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

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

func (*SGNOwnershipTransferredIterator) Close

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

func (*SGNOwnershipTransferredIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SGNOwnershipTransferredIterator) Next

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

type SGNPaused

type SGNPaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

SGNPaused represents a Paused event raised by the SGN contract.

type SGNPausedIterator

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

SGNPausedIterator is returned from FilterPaused and is used to iterate over the raw logs and unpacked data for Paused events raised by the SGN contract.

func (*SGNPausedIterator) Close

func (it *SGNPausedIterator) Close() error

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

func (*SGNPausedIterator) Error

func (it *SGNPausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SGNPausedIterator) Next

func (it *SGNPausedIterator) 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 SGNPauserAdded

type SGNPauserAdded struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

SGNPauserAdded represents a PauserAdded event raised by the SGN contract.

type SGNPauserAddedIterator

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

SGNPauserAddedIterator is returned from FilterPauserAdded and is used to iterate over the raw logs and unpacked data for PauserAdded events raised by the SGN contract.

func (*SGNPauserAddedIterator) Close

func (it *SGNPauserAddedIterator) Close() error

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

func (*SGNPauserAddedIterator) Error

func (it *SGNPauserAddedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SGNPauserAddedIterator) Next

func (it *SGNPauserAddedIterator) 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 SGNPauserRemoved

type SGNPauserRemoved struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

SGNPauserRemoved represents a PauserRemoved event raised by the SGN contract.

type SGNPauserRemovedIterator

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

SGNPauserRemovedIterator is returned from FilterPauserRemoved and is used to iterate over the raw logs and unpacked data for PauserRemoved events raised by the SGN contract.

func (*SGNPauserRemovedIterator) Close

func (it *SGNPauserRemovedIterator) Close() error

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

func (*SGNPauserRemovedIterator) Error

func (it *SGNPauserRemovedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SGNPauserRemovedIterator) Next

func (it *SGNPauserRemovedIterator) 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 SGNRaw

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

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

func (*SGNRaw) Call

func (_SGN *SGNRaw) 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 (*SGNRaw) Transact

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

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

func (*SGNRaw) Transfer

func (_SGN *SGNRaw) 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 SGNRedeemReward

type SGNRedeemReward struct {
	Receiver               common.Address
	CumulativeMiningReward *big.Int
	ServiceReward          *big.Int
	ServicePool            *big.Int
	Raw                    types.Log // Blockchain specific contextual infos
}

SGNRedeemReward represents a RedeemReward event raised by the SGN contract.

type SGNRedeemRewardIterator

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

SGNRedeemRewardIterator is returned from FilterRedeemReward and is used to iterate over the raw logs and unpacked data for RedeemReward events raised by the SGN contract.

func (*SGNRedeemRewardIterator) Close

func (it *SGNRedeemRewardIterator) Close() error

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

func (*SGNRedeemRewardIterator) Error

func (it *SGNRedeemRewardIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SGNRedeemRewardIterator) Next

func (it *SGNRedeemRewardIterator) 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 SGNSession

type SGNSession struct {
	Contract     *SGN              // 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
}

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

func (*SGNSession) AddPauser

func (_SGN *SGNSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*SGNSession) CelerToken

func (_SGN *SGNSession) CelerToken() (common.Address, error)

CelerToken is a free data retrieval call binding the contract method 0xc6c21e9d.

Solidity: function celerToken() view returns(address)

func (*SGNSession) DPoSContract

func (_SGN *SGNSession) DPoSContract() (common.Address, error)

DPoSContract is a free data retrieval call binding the contract method 0x291a3eb2.

Solidity: function dPoSContract() view returns(address)

func (*SGNSession) DrainToken

func (_SGN *SGNSession) DrainToken(_amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x145aa116.

Solidity: function drainToken(uint256 _amount) returns()

func (*SGNSession) IsOwner

func (_SGN *SGNSession) IsOwner() (bool, error)

IsOwner is a free data retrieval call binding the contract method 0x8f32d59b.

Solidity: function isOwner() view returns(bool)

func (*SGNSession) IsPauser

func (_SGN *SGNSession) IsPauser(account common.Address) (bool, error)

IsPauser is a free data retrieval call binding the contract method 0x46fbf68e.

Solidity: function isPauser(address account) view returns(bool)

func (*SGNSession) Owner

func (_SGN *SGNSession) Owner() (common.Address, error)

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

Solidity: function owner() view returns(address)

func (*SGNSession) Pause

func (_SGN *SGNSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*SGNSession) Paused

func (_SGN *SGNSession) Paused() (bool, error)

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

Solidity: function paused() view returns(bool)

func (*SGNSession) RedeemReward

func (_SGN *SGNSession) RedeemReward(_rewardRequest []byte) (*types.Transaction, error)

RedeemReward is a paid mutator transaction binding the contract method 0x73a6e450.

Solidity: function redeemReward(bytes _rewardRequest) returns()

func (*SGNSession) RedeemedServiceReward

func (_SGN *SGNSession) RedeemedServiceReward(arg0 common.Address) (*big.Int, error)

RedeemedServiceReward is a free data retrieval call binding the contract method 0xc57f6661.

Solidity: function redeemedServiceReward(address ) view returns(uint256)

func (*SGNSession) RenounceOwnership

func (_SGN *SGNSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*SGNSession) RenouncePauser

func (_SGN *SGNSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*SGNSession) ServicePool

func (_SGN *SGNSession) ServicePool() (*big.Int, error)

ServicePool is a free data retrieval call binding the contract method 0xe42a06c8.

Solidity: function servicePool() view returns(uint256)

func (*SGNSession) SidechainAddrMap

func (_SGN *SGNSession) SidechainAddrMap(arg0 common.Address) ([]byte, error)

SidechainAddrMap is a free data retrieval call binding the contract method 0xe27b4110.

Solidity: function sidechainAddrMap(address ) view returns(bytes)

func (*SGNSession) Subscribe

func (_SGN *SGNSession) Subscribe(_amount *big.Int) (*types.Transaction, error)

Subscribe is a paid mutator transaction binding the contract method 0x0f574ba7.

Solidity: function subscribe(uint256 _amount) returns()

func (*SGNSession) SubscriptionDeposits

func (_SGN *SGNSession) SubscriptionDeposits(arg0 common.Address) (*big.Int, error)

SubscriptionDeposits is a free data retrieval call binding the contract method 0x1e77733a.

Solidity: function subscriptionDeposits(address ) view returns(uint256)

func (*SGNSession) TransferOwnership

func (_SGN *SGNSession) 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 (*SGNSession) Unpause

func (_SGN *SGNSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*SGNSession) UpdateSidechainAddr

func (_SGN *SGNSession) UpdateSidechainAddr(_sidechainAddr []byte) (*types.Transaction, error)

UpdateSidechainAddr is a paid mutator transaction binding the contract method 0xe02f39bd.

Solidity: function updateSidechainAddr(bytes _sidechainAddr) returns()

type SGNTransactor

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

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

func NewSGNTransactor

func NewSGNTransactor(address common.Address, transactor bind.ContractTransactor) (*SGNTransactor, error)

NewSGNTransactor creates a new write-only instance of SGN, bound to a specific deployed contract.

func (*SGNTransactor) AddPauser

func (_SGN *SGNTransactor) AddPauser(opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*SGNTransactor) DrainToken

func (_SGN *SGNTransactor) DrainToken(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x145aa116.

Solidity: function drainToken(uint256 _amount) returns()

func (*SGNTransactor) Pause

func (_SGN *SGNTransactor) Pause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*SGNTransactor) RedeemReward

func (_SGN *SGNTransactor) RedeemReward(opts *bind.TransactOpts, _rewardRequest []byte) (*types.Transaction, error)

RedeemReward is a paid mutator transaction binding the contract method 0x73a6e450.

Solidity: function redeemReward(bytes _rewardRequest) returns()

func (*SGNTransactor) RenounceOwnership

func (_SGN *SGNTransactor) RenounceOwnership(opts *bind.TransactOpts) (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*SGNTransactor) RenouncePauser

func (_SGN *SGNTransactor) RenouncePauser(opts *bind.TransactOpts) (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*SGNTransactor) Subscribe

func (_SGN *SGNTransactor) Subscribe(opts *bind.TransactOpts, _amount *big.Int) (*types.Transaction, error)

Subscribe is a paid mutator transaction binding the contract method 0x0f574ba7.

Solidity: function subscribe(uint256 _amount) returns()

func (*SGNTransactor) TransferOwnership

func (_SGN *SGNTransactor) 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 (*SGNTransactor) Unpause

func (_SGN *SGNTransactor) Unpause(opts *bind.TransactOpts) (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*SGNTransactor) UpdateSidechainAddr

func (_SGN *SGNTransactor) UpdateSidechainAddr(opts *bind.TransactOpts, _sidechainAddr []byte) (*types.Transaction, error)

UpdateSidechainAddr is a paid mutator transaction binding the contract method 0xe02f39bd.

Solidity: function updateSidechainAddr(bytes _sidechainAddr) returns()

type SGNTransactorRaw

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

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

func (*SGNTransactorRaw) Transact

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

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

func (*SGNTransactorRaw) Transfer

func (_SGN *SGNTransactorRaw) 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 SGNTransactorSession

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

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

func (*SGNTransactorSession) AddPauser

func (_SGN *SGNTransactorSession) AddPauser(account common.Address) (*types.Transaction, error)

AddPauser is a paid mutator transaction binding the contract method 0x82dc1ec4.

Solidity: function addPauser(address account) returns()

func (*SGNTransactorSession) DrainToken

func (_SGN *SGNTransactorSession) DrainToken(_amount *big.Int) (*types.Transaction, error)

DrainToken is a paid mutator transaction binding the contract method 0x145aa116.

Solidity: function drainToken(uint256 _amount) returns()

func (*SGNTransactorSession) Pause

func (_SGN *SGNTransactorSession) Pause() (*types.Transaction, error)

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

Solidity: function pause() returns()

func (*SGNTransactorSession) RedeemReward

func (_SGN *SGNTransactorSession) RedeemReward(_rewardRequest []byte) (*types.Transaction, error)

RedeemReward is a paid mutator transaction binding the contract method 0x73a6e450.

Solidity: function redeemReward(bytes _rewardRequest) returns()

func (*SGNTransactorSession) RenounceOwnership

func (_SGN *SGNTransactorSession) RenounceOwnership() (*types.Transaction, error)

RenounceOwnership is a paid mutator transaction binding the contract method 0x715018a6.

Solidity: function renounceOwnership() returns()

func (*SGNTransactorSession) RenouncePauser

func (_SGN *SGNTransactorSession) RenouncePauser() (*types.Transaction, error)

RenouncePauser is a paid mutator transaction binding the contract method 0x6ef8d66d.

Solidity: function renouncePauser() returns()

func (*SGNTransactorSession) Subscribe

func (_SGN *SGNTransactorSession) Subscribe(_amount *big.Int) (*types.Transaction, error)

Subscribe is a paid mutator transaction binding the contract method 0x0f574ba7.

Solidity: function subscribe(uint256 _amount) returns()

func (*SGNTransactorSession) TransferOwnership

func (_SGN *SGNTransactorSession) 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 (*SGNTransactorSession) Unpause

func (_SGN *SGNTransactorSession) Unpause() (*types.Transaction, error)

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

Solidity: function unpause() returns()

func (*SGNTransactorSession) UpdateSidechainAddr

func (_SGN *SGNTransactorSession) UpdateSidechainAddr(_sidechainAddr []byte) (*types.Transaction, error)

UpdateSidechainAddr is a paid mutator transaction binding the contract method 0xe02f39bd.

Solidity: function updateSidechainAddr(bytes _sidechainAddr) returns()

type SGNUnpaused

type SGNUnpaused struct {
	Account common.Address
	Raw     types.Log // Blockchain specific contextual infos
}

SGNUnpaused represents a Unpaused event raised by the SGN contract.

type SGNUnpausedIterator

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

SGNUnpausedIterator is returned from FilterUnpaused and is used to iterate over the raw logs and unpacked data for Unpaused events raised by the SGN contract.

func (*SGNUnpausedIterator) Close

func (it *SGNUnpausedIterator) Close() error

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

func (*SGNUnpausedIterator) Error

func (it *SGNUnpausedIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SGNUnpausedIterator) Next

func (it *SGNUnpausedIterator) 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 SGNUpdateSidechainAddr

type SGNUpdateSidechainAddr struct {
	Candidate        common.Address
	OldSidechainAddr common.Hash
	NewSidechainAddr common.Hash
	Raw              types.Log // Blockchain specific contextual infos
}

SGNUpdateSidechainAddr represents a UpdateSidechainAddr event raised by the SGN contract.

type SGNUpdateSidechainAddrIterator

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

SGNUpdateSidechainAddrIterator is returned from FilterUpdateSidechainAddr and is used to iterate over the raw logs and unpacked data for UpdateSidechainAddr events raised by the SGN contract.

func (*SGNUpdateSidechainAddrIterator) Close

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

func (*SGNUpdateSidechainAddrIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*SGNUpdateSidechainAddrIterator) Next

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL