contract

package
v1.1.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const SafeMathABI = "[]"

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

View Source
const SafeMathBin = `` /* 242-byte string literal not displayed */

SafeMathBin is the compiled bytecode used for deploying new contracts.

View Source
const XDCValidatorABI = "" /* 8933-byte string literal not displayed */

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

View Source
const XDCValidatorBin = `` /* 31640-byte string literal not displayed */

XDCValidatorBin is the compiled bytecode used for deploying new contracts.

Variables

This section is empty.

Functions

This section is empty.

Types

type SafeMath

type SafeMath struct {
	SafeMathCaller     // Read-only binding to the contract
	SafeMathTransactor // Write-only binding to the contract
	SafeMathFilterer   // Log filterer for contract events
}

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

func DeploySafeMath

func DeploySafeMath(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *SafeMath, error)

DeploySafeMath deploys a new Ethereum contract, binding an instance of SafeMath to it.

func NewSafeMath

func NewSafeMath(address common.Address, backend bind.ContractBackend) (*SafeMath, error)

NewSafeMath creates a new instance of SafeMath, bound to a specific deployed contract.

type SafeMathCaller

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

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

func NewSafeMathCaller

func NewSafeMathCaller(address common.Address, caller bind.ContractCaller) (*SafeMathCaller, error)

NewSafeMathCaller creates a new read-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathCallerRaw

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

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

func (*SafeMathCallerRaw) Call

func (_SafeMath *SafeMathCallerRaw) 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 SafeMathCallerSession

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

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

type SafeMathFilterer

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

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

func NewSafeMathFilterer

func NewSafeMathFilterer(address common.Address, filterer bind.ContractFilterer) (*SafeMathFilterer, error)

NewSafeMathFilterer creates a new log filterer instance of SafeMath, bound to a specific deployed contract.

type SafeMathRaw

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

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

func (*SafeMathRaw) Call

func (_SafeMath *SafeMathRaw) 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 (*SafeMathRaw) Transact

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

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

func (*SafeMathRaw) Transfer

func (_SafeMath *SafeMathRaw) 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 SafeMathSession

type SafeMathSession struct {
	Contract     *SafeMath         // 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
}

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

type SafeMathTransactor

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

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

func NewSafeMathTransactor

func NewSafeMathTransactor(address common.Address, transactor bind.ContractTransactor) (*SafeMathTransactor, error)

NewSafeMathTransactor creates a new write-only instance of SafeMath, bound to a specific deployed contract.

type SafeMathTransactorRaw

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

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

func (*SafeMathTransactorRaw) Transact

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

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

func (*SafeMathTransactorRaw) Transfer

func (_SafeMath *SafeMathTransactorRaw) 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 SafeMathTransactorSession

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

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

type XDCValidator

type XDCValidator struct {
	XDCValidatorCaller     // Read-only binding to the contract
	XDCValidatorTransactor // Write-only binding to the contract
	XDCValidatorFilterer   // Log filterer for contract events
}

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

func DeployXDCValidator

func DeployXDCValidator(auth *bind.TransactOpts, backend bind.ContractBackend, _candidates []common.Address, _caps []*big.Int, _firstOwner common.Address, _minCandidateCap *big.Int, _minVoterCap *big.Int, _maxValidatorNumber *big.Int, _candidateWithdrawDelay *big.Int, _voterWithdrawDelay *big.Int) (common.Address, *types.Transaction, *XDCValidator, error)

DeployXDCValidator deploys a new Ethereum contract, binding an instance of XDCValidator to it.

func NewXDCValidator

func NewXDCValidator(address common.Address, backend bind.ContractBackend) (*XDCValidator, error)

NewXDCValidator creates a new instance of XDCValidator, bound to a specific deployed contract.

type XDCValidatorCaller

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

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

func NewXDCValidatorCaller

func NewXDCValidatorCaller(address common.Address, caller bind.ContractCaller) (*XDCValidatorCaller, error)

NewXDCValidatorCaller creates a new read-only instance of XDCValidator, bound to a specific deployed contract.

func (*XDCValidatorCaller) CandidateCount

func (_XDCValidator *XDCValidatorCaller) CandidateCount(opts *bind.CallOpts) (*big.Int, error)

CandidateCount is a free data retrieval call binding the contract method 0xa9a981a3.

Solidity: function candidateCount() constant returns(uint256)

func (*XDCValidatorCaller) CandidateWithdrawDelay

func (_XDCValidator *XDCValidatorCaller) CandidateWithdrawDelay(opts *bind.CallOpts) (*big.Int, error)

CandidateWithdrawDelay is a free data retrieval call binding the contract method 0xd161c767.

Solidity: function candidateWithdrawDelay() constant returns(uint256)

func (*XDCValidatorCaller) Candidates

func (_XDCValidator *XDCValidatorCaller) Candidates(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Candidates is a free data retrieval call binding the contract method 0x3477ee2e.

Solidity: function candidates( uint256) constant returns(address)

func (*XDCValidatorCaller) GetCandidateCap

func (_XDCValidator *XDCValidatorCaller) GetCandidateCap(opts *bind.CallOpts, _candidate common.Address) (*big.Int, error)

GetCandidateCap is a free data retrieval call binding the contract method 0x58e7525f.

Solidity: function getCandidateCap(_candidate address) constant returns(uint256)

func (*XDCValidatorCaller) GetCandidateOwner

func (_XDCValidator *XDCValidatorCaller) GetCandidateOwner(opts *bind.CallOpts, _candidate common.Address) (common.Address, error)

GetCandidateOwner is a free data retrieval call binding the contract method 0xb642facd.

Solidity: function getCandidateOwner(_candidate address) constant returns(address)

func (*XDCValidatorCaller) GetCandidates

func (_XDCValidator *XDCValidatorCaller) GetCandidates(opts *bind.CallOpts) ([]common.Address, error)

GetCandidates is a free data retrieval call binding the contract method 0x06a49fce.

Solidity: function getCandidates() constant returns(address[])

func (*XDCValidatorCaller) GetHashCount

func (_XDCValidator *XDCValidatorCaller) GetHashCount(opts *bind.CallOpts, _address common.Address) (*big.Int, error)

GetHashCount is a free data retrieval call binding the contract method 0xc45607df.

Solidity: function getHashCount(_address address) constant returns(uint256)

func (*XDCValidatorCaller) GetLatestKYC

func (_XDCValidator *XDCValidatorCaller) GetLatestKYC(opts *bind.CallOpts, _address common.Address) (string, error)

GetLatestKYC is a free data retrieval call binding the contract method 0x32658652.

Solidity: function getLatestKYC(_address address) constant returns(string)

func (*XDCValidatorCaller) GetOwnerCount

func (_XDCValidator *XDCValidatorCaller) GetOwnerCount(opts *bind.CallOpts) (*big.Int, error)

GetOwnerCount is a free data retrieval call binding the contract method 0xef18374a.

Solidity: function getOwnerCount() constant returns(uint256)

func (*XDCValidatorCaller) GetVoterCap

func (_XDCValidator *XDCValidatorCaller) GetVoterCap(opts *bind.CallOpts, _candidate common.Address, _voter common.Address) (*big.Int, error)

GetVoterCap is a free data retrieval call binding the contract method 0x302b6872.

Solidity: function getVoterCap(_candidate address, _voter address) constant returns(uint256)

func (*XDCValidatorCaller) GetVoters

func (_XDCValidator *XDCValidatorCaller) GetVoters(opts *bind.CallOpts, _candidate common.Address) ([]common.Address, error)

GetVoters is a free data retrieval call binding the contract method 0x2d15cc04.

Solidity: function getVoters(_candidate address) constant returns(address[])

func (*XDCValidatorCaller) GetWithdrawBlockNumbers

func (_XDCValidator *XDCValidatorCaller) GetWithdrawBlockNumbers(opts *bind.CallOpts) ([]*big.Int, error)

GetWithdrawBlockNumbers is a free data retrieval call binding the contract method 0x2f9c4bba.

Solidity: function getWithdrawBlockNumbers() constant returns(uint256[])

func (*XDCValidatorCaller) GetWithdrawCap

func (_XDCValidator *XDCValidatorCaller) GetWithdrawCap(opts *bind.CallOpts, _blockNumber *big.Int) (*big.Int, error)

GetWithdrawCap is a free data retrieval call binding the contract method 0x15febd68.

Solidity: function getWithdrawCap(_blockNumber uint256) constant returns(uint256)

func (*XDCValidatorCaller) HasVotedInvalid

func (_XDCValidator *XDCValidatorCaller) HasVotedInvalid(opts *bind.CallOpts, arg0 common.Address, arg1 common.Address) (bool, error)

HasVotedInvalid is a free data retrieval call binding the contract method 0x0e3e4fb8.

Solidity: function hasVotedInvalid( address, address) constant returns(bool)

func (*XDCValidatorCaller) InvalidKYCCount

func (_XDCValidator *XDCValidatorCaller) InvalidKYCCount(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)

InvalidKYCCount is a free data retrieval call binding the contract method 0x72e44a38.

Solidity: function invalidKYCCount( address) constant returns(uint256)

func (*XDCValidatorCaller) InvalidPercent

func (_XDCValidator *XDCValidatorCaller) InvalidPercent(opts *bind.CallOpts, _invalidCandidate common.Address) (*big.Int, error)

InvalidPercent is a free data retrieval call binding the contract method 0x5b860d27.

Solidity: function invalidPercent(_invalidCandidate address) constant returns(uint256)

func (*XDCValidatorCaller) IsCandidate

func (_XDCValidator *XDCValidatorCaller) IsCandidate(opts *bind.CallOpts, _candidate common.Address) (bool, error)

IsCandidate is a free data retrieval call binding the contract method 0xd51b9e93.

Solidity: function isCandidate(_candidate address) constant returns(bool)

func (*XDCValidatorCaller) KYCString

func (_XDCValidator *XDCValidatorCaller) KYCString(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (string, error)

KYCString is a free data retrieval call binding the contract method 0x5b9cd8cc.

Solidity: function KYCString( address, uint256) constant returns(string)

func (*XDCValidatorCaller) MaxValidatorNumber

func (_XDCValidator *XDCValidatorCaller) MaxValidatorNumber(opts *bind.CallOpts) (*big.Int, error)

MaxValidatorNumber is a free data retrieval call binding the contract method 0xd09f1ab4.

Solidity: function maxValidatorNumber() constant returns(uint256)

func (*XDCValidatorCaller) MinCandidateCap

func (_XDCValidator *XDCValidatorCaller) MinCandidateCap(opts *bind.CallOpts) (*big.Int, error)

MinCandidateCap is a free data retrieval call binding the contract method 0xd55b7dff.

Solidity: function minCandidateCap() constant returns(uint256)

func (*XDCValidatorCaller) MinVoterCap

func (_XDCValidator *XDCValidatorCaller) MinVoterCap(opts *bind.CallOpts) (*big.Int, error)

MinVoterCap is a free data retrieval call binding the contract method 0xf8ac9dd5.

Solidity: function minVoterCap() constant returns(uint256)

func (*XDCValidatorCaller) OwnerCount

func (_XDCValidator *XDCValidatorCaller) OwnerCount(opts *bind.CallOpts) (*big.Int, error)

OwnerCount is a free data retrieval call binding the contract method 0x0db02622.

Solidity: function ownerCount() constant returns(uint256)

func (*XDCValidatorCaller) OwnerToCandidate

func (_XDCValidator *XDCValidatorCaller) OwnerToCandidate(opts *bind.CallOpts, arg0 common.Address, arg1 *big.Int) (common.Address, error)

OwnerToCandidate is a free data retrieval call binding the contract method 0x2a3640b1.

Solidity: function ownerToCandidate( address, uint256) constant returns(address)

func (*XDCValidatorCaller) Owners

func (_XDCValidator *XDCValidatorCaller) Owners(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)

Owners is a free data retrieval call binding the contract method 0x025e7c27.

Solidity: function owners( uint256) constant returns(address)

func (*XDCValidatorCaller) VoterWithdrawDelay

func (_XDCValidator *XDCValidatorCaller) VoterWithdrawDelay(opts *bind.CallOpts) (*big.Int, error)

VoterWithdrawDelay is a free data retrieval call binding the contract method 0xa9ff959e.

Solidity: function voterWithdrawDelay() constant returns(uint256)

type XDCValidatorCallerRaw

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

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

func (*XDCValidatorCallerRaw) Call

func (_XDCValidator *XDCValidatorCallerRaw) 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 XDCValidatorCallerSession

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

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

func (*XDCValidatorCallerSession) CandidateCount

func (_XDCValidator *XDCValidatorCallerSession) CandidateCount() (*big.Int, error)

CandidateCount is a free data retrieval call binding the contract method 0xa9a981a3.

Solidity: function candidateCount() constant returns(uint256)

func (*XDCValidatorCallerSession) CandidateWithdrawDelay

func (_XDCValidator *XDCValidatorCallerSession) CandidateWithdrawDelay() (*big.Int, error)

CandidateWithdrawDelay is a free data retrieval call binding the contract method 0xd161c767.

Solidity: function candidateWithdrawDelay() constant returns(uint256)

func (*XDCValidatorCallerSession) Candidates

func (_XDCValidator *XDCValidatorCallerSession) Candidates(arg0 *big.Int) (common.Address, error)

Candidates is a free data retrieval call binding the contract method 0x3477ee2e.

Solidity: function candidates( uint256) constant returns(address)

func (*XDCValidatorCallerSession) GetCandidateCap

func (_XDCValidator *XDCValidatorCallerSession) GetCandidateCap(_candidate common.Address) (*big.Int, error)

GetCandidateCap is a free data retrieval call binding the contract method 0x58e7525f.

Solidity: function getCandidateCap(_candidate address) constant returns(uint256)

func (*XDCValidatorCallerSession) GetCandidateOwner

func (_XDCValidator *XDCValidatorCallerSession) GetCandidateOwner(_candidate common.Address) (common.Address, error)

GetCandidateOwner is a free data retrieval call binding the contract method 0xb642facd.

Solidity: function getCandidateOwner(_candidate address) constant returns(address)

func (*XDCValidatorCallerSession) GetCandidates

func (_XDCValidator *XDCValidatorCallerSession) GetCandidates() ([]common.Address, error)

GetCandidates is a free data retrieval call binding the contract method 0x06a49fce.

Solidity: function getCandidates() constant returns(address[])

func (*XDCValidatorCallerSession) GetHashCount

func (_XDCValidator *XDCValidatorCallerSession) GetHashCount(_address common.Address) (*big.Int, error)

GetHashCount is a free data retrieval call binding the contract method 0xc45607df.

Solidity: function getHashCount(_address address) constant returns(uint256)

func (*XDCValidatorCallerSession) GetLatestKYC

func (_XDCValidator *XDCValidatorCallerSession) GetLatestKYC(_address common.Address) (string, error)

GetLatestKYC is a free data retrieval call binding the contract method 0x32658652.

Solidity: function getLatestKYC(_address address) constant returns(string)

func (*XDCValidatorCallerSession) GetOwnerCount

func (_XDCValidator *XDCValidatorCallerSession) GetOwnerCount() (*big.Int, error)

GetOwnerCount is a free data retrieval call binding the contract method 0xef18374a.

Solidity: function getOwnerCount() constant returns(uint256)

func (*XDCValidatorCallerSession) GetVoterCap

func (_XDCValidator *XDCValidatorCallerSession) GetVoterCap(_candidate common.Address, _voter common.Address) (*big.Int, error)

GetVoterCap is a free data retrieval call binding the contract method 0x302b6872.

Solidity: function getVoterCap(_candidate address, _voter address) constant returns(uint256)

func (*XDCValidatorCallerSession) GetVoters

func (_XDCValidator *XDCValidatorCallerSession) GetVoters(_candidate common.Address) ([]common.Address, error)

GetVoters is a free data retrieval call binding the contract method 0x2d15cc04.

Solidity: function getVoters(_candidate address) constant returns(address[])

func (*XDCValidatorCallerSession) GetWithdrawBlockNumbers

func (_XDCValidator *XDCValidatorCallerSession) GetWithdrawBlockNumbers() ([]*big.Int, error)

GetWithdrawBlockNumbers is a free data retrieval call binding the contract method 0x2f9c4bba.

Solidity: function getWithdrawBlockNumbers() constant returns(uint256[])

func (*XDCValidatorCallerSession) GetWithdrawCap

func (_XDCValidator *XDCValidatorCallerSession) GetWithdrawCap(_blockNumber *big.Int) (*big.Int, error)

GetWithdrawCap is a free data retrieval call binding the contract method 0x15febd68.

Solidity: function getWithdrawCap(_blockNumber uint256) constant returns(uint256)

func (*XDCValidatorCallerSession) HasVotedInvalid

func (_XDCValidator *XDCValidatorCallerSession) HasVotedInvalid(arg0 common.Address, arg1 common.Address) (bool, error)

HasVotedInvalid is a free data retrieval call binding the contract method 0x0e3e4fb8.

Solidity: function hasVotedInvalid( address, address) constant returns(bool)

func (*XDCValidatorCallerSession) InvalidKYCCount

func (_XDCValidator *XDCValidatorCallerSession) InvalidKYCCount(arg0 common.Address) (*big.Int, error)

InvalidKYCCount is a free data retrieval call binding the contract method 0x72e44a38.

Solidity: function invalidKYCCount( address) constant returns(uint256)

func (*XDCValidatorCallerSession) InvalidPercent

func (_XDCValidator *XDCValidatorCallerSession) InvalidPercent(_invalidCandidate common.Address) (*big.Int, error)

InvalidPercent is a free data retrieval call binding the contract method 0x5b860d27.

Solidity: function invalidPercent(_invalidCandidate address) constant returns(uint256)

func (*XDCValidatorCallerSession) IsCandidate

func (_XDCValidator *XDCValidatorCallerSession) IsCandidate(_candidate common.Address) (bool, error)

IsCandidate is a free data retrieval call binding the contract method 0xd51b9e93.

Solidity: function isCandidate(_candidate address) constant returns(bool)

func (*XDCValidatorCallerSession) KYCString

func (_XDCValidator *XDCValidatorCallerSession) KYCString(arg0 common.Address, arg1 *big.Int) (string, error)

KYCString is a free data retrieval call binding the contract method 0x5b9cd8cc.

Solidity: function KYCString( address, uint256) constant returns(string)

func (*XDCValidatorCallerSession) MaxValidatorNumber

func (_XDCValidator *XDCValidatorCallerSession) MaxValidatorNumber() (*big.Int, error)

MaxValidatorNumber is a free data retrieval call binding the contract method 0xd09f1ab4.

Solidity: function maxValidatorNumber() constant returns(uint256)

func (*XDCValidatorCallerSession) MinCandidateCap

func (_XDCValidator *XDCValidatorCallerSession) MinCandidateCap() (*big.Int, error)

MinCandidateCap is a free data retrieval call binding the contract method 0xd55b7dff.

Solidity: function minCandidateCap() constant returns(uint256)

func (*XDCValidatorCallerSession) MinVoterCap

func (_XDCValidator *XDCValidatorCallerSession) MinVoterCap() (*big.Int, error)

MinVoterCap is a free data retrieval call binding the contract method 0xf8ac9dd5.

Solidity: function minVoterCap() constant returns(uint256)

func (*XDCValidatorCallerSession) OwnerCount

func (_XDCValidator *XDCValidatorCallerSession) OwnerCount() (*big.Int, error)

OwnerCount is a free data retrieval call binding the contract method 0x0db02622.

Solidity: function ownerCount() constant returns(uint256)

func (*XDCValidatorCallerSession) OwnerToCandidate

func (_XDCValidator *XDCValidatorCallerSession) OwnerToCandidate(arg0 common.Address, arg1 *big.Int) (common.Address, error)

OwnerToCandidate is a free data retrieval call binding the contract method 0x2a3640b1.

Solidity: function ownerToCandidate( address, uint256) constant returns(address)

func (*XDCValidatorCallerSession) Owners

func (_XDCValidator *XDCValidatorCallerSession) Owners(arg0 *big.Int) (common.Address, error)

Owners is a free data retrieval call binding the contract method 0x025e7c27.

Solidity: function owners( uint256) constant returns(address)

func (*XDCValidatorCallerSession) VoterWithdrawDelay

func (_XDCValidator *XDCValidatorCallerSession) VoterWithdrawDelay() (*big.Int, error)

VoterWithdrawDelay is a free data retrieval call binding the contract method 0xa9ff959e.

Solidity: function voterWithdrawDelay() constant returns(uint256)

type XDCValidatorFilterer

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

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

func NewXDCValidatorFilterer

func NewXDCValidatorFilterer(address common.Address, filterer bind.ContractFilterer) (*XDCValidatorFilterer, error)

NewXDCValidatorFilterer creates a new log filterer instance of XDCValidator, bound to a specific deployed contract.

func (*XDCValidatorFilterer) FilterInvalidatedNode

func (_XDCValidator *XDCValidatorFilterer) FilterInvalidatedNode(opts *bind.FilterOpts) (*XDCValidatorInvalidatedNodeIterator, error)

FilterInvalidatedNode is a free log retrieval operation binding the contract event 0xe18d61a5bf4aa2ab40afc88aa9039d27ae17ff4ec1c65f5f414df6f02ce8b35e.

Solidity: event InvalidatedNode(_masternodeOwner address, _masternodes address[])

func (*XDCValidatorFilterer) FilterPropose

func (_XDCValidator *XDCValidatorFilterer) FilterPropose(opts *bind.FilterOpts) (*XDCValidatorProposeIterator, error)

FilterPropose is a free log retrieval operation binding the contract event 0x7635f1d87b47fba9f2b09e56eb4be75cca030e0cb179c1602ac9261d39a8f5c1.

Solidity: event Propose(_owner address, _candidate address, _cap uint256)

func (*XDCValidatorFilterer) FilterResign

func (_XDCValidator *XDCValidatorFilterer) FilterResign(opts *bind.FilterOpts) (*XDCValidatorResignIterator, error)

FilterResign is a free log retrieval operation binding the contract event 0x4edf3e325d0063213a39f9085522994a1c44bea5f39e7d63ef61260a1e58c6d3.

Solidity: event Resign(_owner address, _candidate address)

func (*XDCValidatorFilterer) FilterUnvote

func (_XDCValidator *XDCValidatorFilterer) FilterUnvote(opts *bind.FilterOpts) (*XDCValidatorUnvoteIterator, error)

FilterUnvote is a free log retrieval operation binding the contract event 0xaa0e554f781c3c3b2be110a0557f260f11af9a8aa2c64bc1e7a31dbb21e32fa2.

Solidity: event Unvote(_voter address, _candidate address, _cap uint256)

func (*XDCValidatorFilterer) FilterUploadedKYC

func (_XDCValidator *XDCValidatorFilterer) FilterUploadedKYC(opts *bind.FilterOpts) (*XDCValidatorUploadedKYCIterator, error)

FilterUploadedKYC is a free log retrieval operation binding the contract event 0x949360d814b28a3b393a68909efe1fee120ee09cac30f360a0f80ab5415a611a.

Solidity: event UploadedKYC(_owner address, kycHash string)

func (*XDCValidatorFilterer) FilterVote

func (_XDCValidator *XDCValidatorFilterer) FilterVote(opts *bind.FilterOpts) (*XDCValidatorVoteIterator, error)

FilterVote is a free log retrieval operation binding the contract event 0x66a9138482c99e9baf08860110ef332cc0c23b4a199a53593d8db0fc8f96fbfc.

Solidity: event Vote(_voter address, _candidate address, _cap uint256)

func (*XDCValidatorFilterer) FilterWithdraw

func (_XDCValidator *XDCValidatorFilterer) FilterWithdraw(opts *bind.FilterOpts) (*XDCValidatorWithdrawIterator, error)

FilterWithdraw is a free log retrieval operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(_owner address, _blockNumber uint256, _cap uint256)

func (*XDCValidatorFilterer) WatchInvalidatedNode

func (_XDCValidator *XDCValidatorFilterer) WatchInvalidatedNode(opts *bind.WatchOpts, sink chan<- *XDCValidatorInvalidatedNode) (event.Subscription, error)

WatchInvalidatedNode is a free log subscription operation binding the contract event 0xe18d61a5bf4aa2ab40afc88aa9039d27ae17ff4ec1c65f5f414df6f02ce8b35e.

Solidity: event InvalidatedNode(_masternodeOwner address, _masternodes address[])

func (*XDCValidatorFilterer) WatchPropose

func (_XDCValidator *XDCValidatorFilterer) WatchPropose(opts *bind.WatchOpts, sink chan<- *XDCValidatorPropose) (event.Subscription, error)

WatchPropose is a free log subscription operation binding the contract event 0x7635f1d87b47fba9f2b09e56eb4be75cca030e0cb179c1602ac9261d39a8f5c1.

Solidity: event Propose(_owner address, _candidate address, _cap uint256)

func (*XDCValidatorFilterer) WatchResign

func (_XDCValidator *XDCValidatorFilterer) WatchResign(opts *bind.WatchOpts, sink chan<- *XDCValidatorResign) (event.Subscription, error)

WatchResign is a free log subscription operation binding the contract event 0x4edf3e325d0063213a39f9085522994a1c44bea5f39e7d63ef61260a1e58c6d3.

Solidity: event Resign(_owner address, _candidate address)

func (*XDCValidatorFilterer) WatchUnvote

func (_XDCValidator *XDCValidatorFilterer) WatchUnvote(opts *bind.WatchOpts, sink chan<- *XDCValidatorUnvote) (event.Subscription, error)

WatchUnvote is a free log subscription operation binding the contract event 0xaa0e554f781c3c3b2be110a0557f260f11af9a8aa2c64bc1e7a31dbb21e32fa2.

Solidity: event Unvote(_voter address, _candidate address, _cap uint256)

func (*XDCValidatorFilterer) WatchUploadedKYC

func (_XDCValidator *XDCValidatorFilterer) WatchUploadedKYC(opts *bind.WatchOpts, sink chan<- *XDCValidatorUploadedKYC) (event.Subscription, error)

WatchUploadedKYC is a free log subscription operation binding the contract event 0x949360d814b28a3b393a68909efe1fee120ee09cac30f360a0f80ab5415a611a.

Solidity: event UploadedKYC(_owner address, kycHash string)

func (*XDCValidatorFilterer) WatchVote

func (_XDCValidator *XDCValidatorFilterer) WatchVote(opts *bind.WatchOpts, sink chan<- *XDCValidatorVote) (event.Subscription, error)

WatchVote is a free log subscription operation binding the contract event 0x66a9138482c99e9baf08860110ef332cc0c23b4a199a53593d8db0fc8f96fbfc.

Solidity: event Vote(_voter address, _candidate address, _cap uint256)

func (*XDCValidatorFilterer) WatchWithdraw

func (_XDCValidator *XDCValidatorFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *XDCValidatorWithdraw) (event.Subscription, error)

WatchWithdraw is a free log subscription operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.

Solidity: event Withdraw(_owner address, _blockNumber uint256, _cap uint256)

type XDCValidatorInvalidatedNode

type XDCValidatorInvalidatedNode struct {
	MasternodeOwner common.Address
	Masternodes     []common.Address
	Raw             types.Log // Blockchain specific contextual infos
}

XDCValidatorInvalidatedNode represents a InvalidatedNode event raised by the XDCValidator contract.

type XDCValidatorInvalidatedNodeIterator

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

XDCValidatorInvalidatedNodeIterator is returned from FilterInvalidatedNode and is used to iterate over the raw logs and unpacked data for InvalidatedNode events raised by the XDCValidator contract.

func (*XDCValidatorInvalidatedNodeIterator) Close

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

func (*XDCValidatorInvalidatedNodeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*XDCValidatorInvalidatedNodeIterator) 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 XDCValidatorPropose

type XDCValidatorPropose struct {
	Owner     common.Address
	Candidate common.Address
	Cap       *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

XDCValidatorPropose represents a Propose event raised by the XDCValidator contract.

type XDCValidatorProposeIterator

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

XDCValidatorProposeIterator is returned from FilterPropose and is used to iterate over the raw logs and unpacked data for Propose events raised by the XDCValidator contract.

func (*XDCValidatorProposeIterator) Close

func (it *XDCValidatorProposeIterator) Close() error

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

func (*XDCValidatorProposeIterator) Error

func (it *XDCValidatorProposeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*XDCValidatorProposeIterator) Next

func (it *XDCValidatorProposeIterator) 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 XDCValidatorRaw

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

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

func (*XDCValidatorRaw) Call

func (_XDCValidator *XDCValidatorRaw) 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 (*XDCValidatorRaw) Transact

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

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

func (*XDCValidatorRaw) Transfer

func (_XDCValidator *XDCValidatorRaw) 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 XDCValidatorResign

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

XDCValidatorResign represents a Resign event raised by the XDCValidator contract.

type XDCValidatorResignIterator

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

XDCValidatorResignIterator is returned from FilterResign and is used to iterate over the raw logs and unpacked data for Resign events raised by the XDCValidator contract.

func (*XDCValidatorResignIterator) Close

func (it *XDCValidatorResignIterator) Close() error

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

func (*XDCValidatorResignIterator) Error

func (it *XDCValidatorResignIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*XDCValidatorResignIterator) Next

func (it *XDCValidatorResignIterator) 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 XDCValidatorSession

type XDCValidatorSession struct {
	Contract     *XDCValidator     // 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
}

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

func (*XDCValidatorSession) CandidateCount

func (_XDCValidator *XDCValidatorSession) CandidateCount() (*big.Int, error)

CandidateCount is a free data retrieval call binding the contract method 0xa9a981a3.

Solidity: function candidateCount() constant returns(uint256)

func (*XDCValidatorSession) CandidateWithdrawDelay

func (_XDCValidator *XDCValidatorSession) CandidateWithdrawDelay() (*big.Int, error)

CandidateWithdrawDelay is a free data retrieval call binding the contract method 0xd161c767.

Solidity: function candidateWithdrawDelay() constant returns(uint256)

func (*XDCValidatorSession) Candidates

func (_XDCValidator *XDCValidatorSession) Candidates(arg0 *big.Int) (common.Address, error)

Candidates is a free data retrieval call binding the contract method 0x3477ee2e.

Solidity: function candidates( uint256) constant returns(address)

func (*XDCValidatorSession) GetCandidateCap

func (_XDCValidator *XDCValidatorSession) GetCandidateCap(_candidate common.Address) (*big.Int, error)

GetCandidateCap is a free data retrieval call binding the contract method 0x58e7525f.

Solidity: function getCandidateCap(_candidate address) constant returns(uint256)

func (*XDCValidatorSession) GetCandidateOwner

func (_XDCValidator *XDCValidatorSession) GetCandidateOwner(_candidate common.Address) (common.Address, error)

GetCandidateOwner is a free data retrieval call binding the contract method 0xb642facd.

Solidity: function getCandidateOwner(_candidate address) constant returns(address)

func (*XDCValidatorSession) GetCandidates

func (_XDCValidator *XDCValidatorSession) GetCandidates() ([]common.Address, error)

GetCandidates is a free data retrieval call binding the contract method 0x06a49fce.

Solidity: function getCandidates() constant returns(address[])

func (*XDCValidatorSession) GetHashCount

func (_XDCValidator *XDCValidatorSession) GetHashCount(_address common.Address) (*big.Int, error)

GetHashCount is a free data retrieval call binding the contract method 0xc45607df.

Solidity: function getHashCount(_address address) constant returns(uint256)

func (*XDCValidatorSession) GetLatestKYC

func (_XDCValidator *XDCValidatorSession) GetLatestKYC(_address common.Address) (string, error)

GetLatestKYC is a free data retrieval call binding the contract method 0x32658652.

Solidity: function getLatestKYC(_address address) constant returns(string)

func (*XDCValidatorSession) GetOwnerCount

func (_XDCValidator *XDCValidatorSession) GetOwnerCount() (*big.Int, error)

GetOwnerCount is a free data retrieval call binding the contract method 0xef18374a.

Solidity: function getOwnerCount() constant returns(uint256)

func (*XDCValidatorSession) GetVoterCap

func (_XDCValidator *XDCValidatorSession) GetVoterCap(_candidate common.Address, _voter common.Address) (*big.Int, error)

GetVoterCap is a free data retrieval call binding the contract method 0x302b6872.

Solidity: function getVoterCap(_candidate address, _voter address) constant returns(uint256)

func (*XDCValidatorSession) GetVoters

func (_XDCValidator *XDCValidatorSession) GetVoters(_candidate common.Address) ([]common.Address, error)

GetVoters is a free data retrieval call binding the contract method 0x2d15cc04.

Solidity: function getVoters(_candidate address) constant returns(address[])

func (*XDCValidatorSession) GetWithdrawBlockNumbers

func (_XDCValidator *XDCValidatorSession) GetWithdrawBlockNumbers() ([]*big.Int, error)

GetWithdrawBlockNumbers is a free data retrieval call binding the contract method 0x2f9c4bba.

Solidity: function getWithdrawBlockNumbers() constant returns(uint256[])

func (*XDCValidatorSession) GetWithdrawCap

func (_XDCValidator *XDCValidatorSession) GetWithdrawCap(_blockNumber *big.Int) (*big.Int, error)

GetWithdrawCap is a free data retrieval call binding the contract method 0x15febd68.

Solidity: function getWithdrawCap(_blockNumber uint256) constant returns(uint256)

func (*XDCValidatorSession) HasVotedInvalid

func (_XDCValidator *XDCValidatorSession) HasVotedInvalid(arg0 common.Address, arg1 common.Address) (bool, error)

HasVotedInvalid is a free data retrieval call binding the contract method 0x0e3e4fb8.

Solidity: function hasVotedInvalid( address, address) constant returns(bool)

func (*XDCValidatorSession) InvalidKYCCount

func (_XDCValidator *XDCValidatorSession) InvalidKYCCount(arg0 common.Address) (*big.Int, error)

InvalidKYCCount is a free data retrieval call binding the contract method 0x72e44a38.

Solidity: function invalidKYCCount( address) constant returns(uint256)

func (*XDCValidatorSession) InvalidPercent

func (_XDCValidator *XDCValidatorSession) InvalidPercent(_invalidCandidate common.Address) (*big.Int, error)

InvalidPercent is a free data retrieval call binding the contract method 0x5b860d27.

Solidity: function invalidPercent(_invalidCandidate address) constant returns(uint256)

func (*XDCValidatorSession) IsCandidate

func (_XDCValidator *XDCValidatorSession) IsCandidate(_candidate common.Address) (bool, error)

IsCandidate is a free data retrieval call binding the contract method 0xd51b9e93.

Solidity: function isCandidate(_candidate address) constant returns(bool)

func (*XDCValidatorSession) KYCString

func (_XDCValidator *XDCValidatorSession) KYCString(arg0 common.Address, arg1 *big.Int) (string, error)

KYCString is a free data retrieval call binding the contract method 0x5b9cd8cc.

Solidity: function KYCString( address, uint256) constant returns(string)

func (*XDCValidatorSession) MaxValidatorNumber

func (_XDCValidator *XDCValidatorSession) MaxValidatorNumber() (*big.Int, error)

MaxValidatorNumber is a free data retrieval call binding the contract method 0xd09f1ab4.

Solidity: function maxValidatorNumber() constant returns(uint256)

func (*XDCValidatorSession) MinCandidateCap

func (_XDCValidator *XDCValidatorSession) MinCandidateCap() (*big.Int, error)

MinCandidateCap is a free data retrieval call binding the contract method 0xd55b7dff.

Solidity: function minCandidateCap() constant returns(uint256)

func (*XDCValidatorSession) MinVoterCap

func (_XDCValidator *XDCValidatorSession) MinVoterCap() (*big.Int, error)

MinVoterCap is a free data retrieval call binding the contract method 0xf8ac9dd5.

Solidity: function minVoterCap() constant returns(uint256)

func (*XDCValidatorSession) OwnerCount

func (_XDCValidator *XDCValidatorSession) OwnerCount() (*big.Int, error)

OwnerCount is a free data retrieval call binding the contract method 0x0db02622.

Solidity: function ownerCount() constant returns(uint256)

func (*XDCValidatorSession) OwnerToCandidate

func (_XDCValidator *XDCValidatorSession) OwnerToCandidate(arg0 common.Address, arg1 *big.Int) (common.Address, error)

OwnerToCandidate is a free data retrieval call binding the contract method 0x2a3640b1.

Solidity: function ownerToCandidate( address, uint256) constant returns(address)

func (*XDCValidatorSession) Owners

func (_XDCValidator *XDCValidatorSession) Owners(arg0 *big.Int) (common.Address, error)

Owners is a free data retrieval call binding the contract method 0x025e7c27.

Solidity: function owners( uint256) constant returns(address)

func (*XDCValidatorSession) Propose

func (_XDCValidator *XDCValidatorSession) Propose(_candidate common.Address) (*types.Transaction, error)

Propose is a paid mutator transaction binding the contract method 0x01267951.

Solidity: function propose(_candidate address) returns()

func (*XDCValidatorSession) Resign

func (_XDCValidator *XDCValidatorSession) Resign(_candidate common.Address) (*types.Transaction, error)

Resign is a paid mutator transaction binding the contract method 0xae6e43f5.

Solidity: function resign(_candidate address) returns()

func (*XDCValidatorSession) Unvote

func (_XDCValidator *XDCValidatorSession) Unvote(_candidate common.Address, _cap *big.Int) (*types.Transaction, error)

Unvote is a paid mutator transaction binding the contract method 0x02aa9be2.

Solidity: function unvote(_candidate address, _cap uint256) returns()

func (*XDCValidatorSession) UploadKYC

func (_XDCValidator *XDCValidatorSession) UploadKYC(kychash string) (*types.Transaction, error)

UploadKYC is a paid mutator transaction binding the contract method 0xf5c95125.

Solidity: function uploadKYC(kychash string) returns()

func (*XDCValidatorSession) Vote

func (_XDCValidator *XDCValidatorSession) Vote(_candidate common.Address) (*types.Transaction, error)

Vote is a paid mutator transaction binding the contract method 0x6dd7d8ea.

Solidity: function vote(_candidate address) returns()

func (*XDCValidatorSession) VoteInvalidKYC

func (_XDCValidator *XDCValidatorSession) VoteInvalidKYC(_invalidCandidate common.Address) (*types.Transaction, error)

VoteInvalidKYC is a paid mutator transaction binding the contract method 0xf2ee3c7d.

Solidity: function voteInvalidKYC(_invalidCandidate address) returns()

func (*XDCValidatorSession) VoterWithdrawDelay

func (_XDCValidator *XDCValidatorSession) VoterWithdrawDelay() (*big.Int, error)

VoterWithdrawDelay is a free data retrieval call binding the contract method 0xa9ff959e.

Solidity: function voterWithdrawDelay() constant returns(uint256)

func (*XDCValidatorSession) Withdraw

func (_XDCValidator *XDCValidatorSession) Withdraw(_blockNumber *big.Int, _index *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.

Solidity: function withdraw(_blockNumber uint256, _index uint256) returns()

type XDCValidatorTransactor

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

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

func NewXDCValidatorTransactor

func NewXDCValidatorTransactor(address common.Address, transactor bind.ContractTransactor) (*XDCValidatorTransactor, error)

NewXDCValidatorTransactor creates a new write-only instance of XDCValidator, bound to a specific deployed contract.

func (*XDCValidatorTransactor) Propose

func (_XDCValidator *XDCValidatorTransactor) Propose(opts *bind.TransactOpts, _candidate common.Address) (*types.Transaction, error)

Propose is a paid mutator transaction binding the contract method 0x01267951.

Solidity: function propose(_candidate address) returns()

func (*XDCValidatorTransactor) Resign

func (_XDCValidator *XDCValidatorTransactor) Resign(opts *bind.TransactOpts, _candidate common.Address) (*types.Transaction, error)

Resign is a paid mutator transaction binding the contract method 0xae6e43f5.

Solidity: function resign(_candidate address) returns()

func (*XDCValidatorTransactor) Unvote

func (_XDCValidator *XDCValidatorTransactor) Unvote(opts *bind.TransactOpts, _candidate common.Address, _cap *big.Int) (*types.Transaction, error)

Unvote is a paid mutator transaction binding the contract method 0x02aa9be2.

Solidity: function unvote(_candidate address, _cap uint256) returns()

func (*XDCValidatorTransactor) UploadKYC

func (_XDCValidator *XDCValidatorTransactor) UploadKYC(opts *bind.TransactOpts, kychash string) (*types.Transaction, error)

UploadKYC is a paid mutator transaction binding the contract method 0xf5c95125.

Solidity: function uploadKYC(kychash string) returns()

func (*XDCValidatorTransactor) Vote

func (_XDCValidator *XDCValidatorTransactor) Vote(opts *bind.TransactOpts, _candidate common.Address) (*types.Transaction, error)

Vote is a paid mutator transaction binding the contract method 0x6dd7d8ea.

Solidity: function vote(_candidate address) returns()

func (*XDCValidatorTransactor) VoteInvalidKYC

func (_XDCValidator *XDCValidatorTransactor) VoteInvalidKYC(opts *bind.TransactOpts, _invalidCandidate common.Address) (*types.Transaction, error)

VoteInvalidKYC is a paid mutator transaction binding the contract method 0xf2ee3c7d.

Solidity: function voteInvalidKYC(_invalidCandidate address) returns()

func (*XDCValidatorTransactor) Withdraw

func (_XDCValidator *XDCValidatorTransactor) Withdraw(opts *bind.TransactOpts, _blockNumber *big.Int, _index *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.

Solidity: function withdraw(_blockNumber uint256, _index uint256) returns()

type XDCValidatorTransactorRaw

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

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

func (*XDCValidatorTransactorRaw) Transact

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

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

func (*XDCValidatorTransactorRaw) Transfer

func (_XDCValidator *XDCValidatorTransactorRaw) 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 XDCValidatorTransactorSession

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

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

func (*XDCValidatorTransactorSession) Propose

func (_XDCValidator *XDCValidatorTransactorSession) Propose(_candidate common.Address) (*types.Transaction, error)

Propose is a paid mutator transaction binding the contract method 0x01267951.

Solidity: function propose(_candidate address) returns()

func (*XDCValidatorTransactorSession) Resign

func (_XDCValidator *XDCValidatorTransactorSession) Resign(_candidate common.Address) (*types.Transaction, error)

Resign is a paid mutator transaction binding the contract method 0xae6e43f5.

Solidity: function resign(_candidate address) returns()

func (*XDCValidatorTransactorSession) Unvote

func (_XDCValidator *XDCValidatorTransactorSession) Unvote(_candidate common.Address, _cap *big.Int) (*types.Transaction, error)

Unvote is a paid mutator transaction binding the contract method 0x02aa9be2.

Solidity: function unvote(_candidate address, _cap uint256) returns()

func (*XDCValidatorTransactorSession) UploadKYC

func (_XDCValidator *XDCValidatorTransactorSession) UploadKYC(kychash string) (*types.Transaction, error)

UploadKYC is a paid mutator transaction binding the contract method 0xf5c95125.

Solidity: function uploadKYC(kychash string) returns()

func (*XDCValidatorTransactorSession) Vote

func (_XDCValidator *XDCValidatorTransactorSession) Vote(_candidate common.Address) (*types.Transaction, error)

Vote is a paid mutator transaction binding the contract method 0x6dd7d8ea.

Solidity: function vote(_candidate address) returns()

func (*XDCValidatorTransactorSession) VoteInvalidKYC

func (_XDCValidator *XDCValidatorTransactorSession) VoteInvalidKYC(_invalidCandidate common.Address) (*types.Transaction, error)

VoteInvalidKYC is a paid mutator transaction binding the contract method 0xf2ee3c7d.

Solidity: function voteInvalidKYC(_invalidCandidate address) returns()

func (*XDCValidatorTransactorSession) Withdraw

func (_XDCValidator *XDCValidatorTransactorSession) Withdraw(_blockNumber *big.Int, _index *big.Int) (*types.Transaction, error)

Withdraw is a paid mutator transaction binding the contract method 0x441a3e70.

Solidity: function withdraw(_blockNumber uint256, _index uint256) returns()

type XDCValidatorUnvote

type XDCValidatorUnvote struct {
	Voter     common.Address
	Candidate common.Address
	Cap       *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

XDCValidatorUnvote represents a Unvote event raised by the XDCValidator contract.

type XDCValidatorUnvoteIterator

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

XDCValidatorUnvoteIterator is returned from FilterUnvote and is used to iterate over the raw logs and unpacked data for Unvote events raised by the XDCValidator contract.

func (*XDCValidatorUnvoteIterator) Close

func (it *XDCValidatorUnvoteIterator) Close() error

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

func (*XDCValidatorUnvoteIterator) Error

func (it *XDCValidatorUnvoteIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*XDCValidatorUnvoteIterator) Next

func (it *XDCValidatorUnvoteIterator) 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 XDCValidatorUploadedKYC

type XDCValidatorUploadedKYC struct {
	Owner   common.Address
	KycHash string
	Raw     types.Log // Blockchain specific contextual infos
}

XDCValidatorUploadedKYC represents a UploadedKYC event raised by the XDCValidator contract.

type XDCValidatorUploadedKYCIterator

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

XDCValidatorUploadedKYCIterator is returned from FilterUploadedKYC and is used to iterate over the raw logs and unpacked data for UploadedKYC events raised by the XDCValidator contract.

func (*XDCValidatorUploadedKYCIterator) Close

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

func (*XDCValidatorUploadedKYCIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

func (*XDCValidatorUploadedKYCIterator) 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 XDCValidatorVote

type XDCValidatorVote struct {
	Voter     common.Address
	Candidate common.Address
	Cap       *big.Int
	Raw       types.Log // Blockchain specific contextual infos
}

XDCValidatorVote represents a Vote event raised by the XDCValidator contract.

type XDCValidatorVoteIterator

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

XDCValidatorVoteIterator is returned from FilterVote and is used to iterate over the raw logs and unpacked data for Vote events raised by the XDCValidator contract.

func (*XDCValidatorVoteIterator) Close

func (it *XDCValidatorVoteIterator) Close() error

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

func (*XDCValidatorVoteIterator) Error

func (it *XDCValidatorVoteIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*XDCValidatorVoteIterator) Next

func (it *XDCValidatorVoteIterator) 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 XDCValidatorWithdraw

type XDCValidatorWithdraw struct {
	Owner       common.Address
	BlockNumber *big.Int
	Cap         *big.Int
	Raw         types.Log // Blockchain specific contextual infos
}

XDCValidatorWithdraw represents a Withdraw event raised by the XDCValidator contract.

type XDCValidatorWithdrawIterator

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

XDCValidatorWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the XDCValidator contract.

func (*XDCValidatorWithdrawIterator) Close

func (it *XDCValidatorWithdrawIterator) Close() error

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

func (*XDCValidatorWithdrawIterator) Error

func (it *XDCValidatorWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*XDCValidatorWithdrawIterator) 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