contract

package
v0.0.0-...-ab162d0 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

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

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

SDXValidatorBin is the compiled bytecode used for deploying new contracts.

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.

Variables

This section is empty.

Functions

This section is empty.

Types

type SDXValidator

type SDXValidator struct {
	SDXValidatorCaller     // Read-only binding to the contract
	SDXValidatorTransactor // Write-only binding to the contract
	SDXValidatorFilterer   // Log filterer for contract events
}

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

func DeploySDXValidator

func DeploySDXValidator(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, *SDXValidator, error)

DeploySDXValidator deploys a new Ethereum contract, binding an instance of SDXValidator to it.

func NewSDXValidator

func NewSDXValidator(address common.Address, backend bind.ContractBackend) (*SDXValidator, error)

NewSDXValidator creates a new instance of SDXValidator, bound to a specific deployed contract.

type SDXValidatorCaller

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

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

func NewSDXValidatorCaller

func NewSDXValidatorCaller(address common.Address, caller bind.ContractCaller) (*SDXValidatorCaller, error)

NewSDXValidatorCaller creates a new read-only instance of SDXValidator, bound to a specific deployed contract.

func (*SDXValidatorCaller) CandidateCount

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) CandidateWithdrawDelay

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) Candidates

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) GetCandidateCap

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) GetCandidateOwner

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) GetCandidates

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) GetHashCount

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) GetLatestKYC

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) GetOwnerCount

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) GetVoterCap

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) GetVoters

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) GetWithdrawBlockNumbers

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) GetWithdrawCap

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) HasVotedInvalid

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) InvalidKYCCount

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) InvalidPercent

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) IsCandidate

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) KYCString

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) MaxValidatorNumber

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) MinCandidateCap

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) MinVoterCap

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) OwnerCount

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) OwnerToCandidate

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) Owners

func (_SDXValidator *SDXValidatorCaller) 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 (*SDXValidatorCaller) VoterWithdrawDelay

func (_SDXValidator *SDXValidatorCaller) 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 SDXValidatorCallerRaw

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

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

func (*SDXValidatorCallerRaw) Call

func (_SDXValidator *SDXValidatorCallerRaw) 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 SDXValidatorCallerSession

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

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

func (*SDXValidatorCallerSession) CandidateCount

func (_SDXValidator *SDXValidatorCallerSession) CandidateCount() (*big.Int, error)

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

Solidity: function candidateCount() constant returns(uint256)

func (*SDXValidatorCallerSession) CandidateWithdrawDelay

func (_SDXValidator *SDXValidatorCallerSession) CandidateWithdrawDelay() (*big.Int, error)

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

Solidity: function candidateWithdrawDelay() constant returns(uint256)

func (*SDXValidatorCallerSession) Candidates

func (_SDXValidator *SDXValidatorCallerSession) 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 (*SDXValidatorCallerSession) GetCandidateCap

func (_SDXValidator *SDXValidatorCallerSession) 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 (*SDXValidatorCallerSession) GetCandidateOwner

func (_SDXValidator *SDXValidatorCallerSession) 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 (*SDXValidatorCallerSession) GetCandidates

func (_SDXValidator *SDXValidatorCallerSession) GetCandidates() ([]common.Address, error)

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

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

func (*SDXValidatorCallerSession) GetHashCount

func (_SDXValidator *SDXValidatorCallerSession) 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 (*SDXValidatorCallerSession) GetLatestKYC

func (_SDXValidator *SDXValidatorCallerSession) 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 (*SDXValidatorCallerSession) GetOwnerCount

func (_SDXValidator *SDXValidatorCallerSession) GetOwnerCount() (*big.Int, error)

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

Solidity: function getOwnerCount() constant returns(uint256)

func (*SDXValidatorCallerSession) GetVoterCap

func (_SDXValidator *SDXValidatorCallerSession) 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 (*SDXValidatorCallerSession) GetVoters

func (_SDXValidator *SDXValidatorCallerSession) 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 (*SDXValidatorCallerSession) GetWithdrawBlockNumbers

func (_SDXValidator *SDXValidatorCallerSession) GetWithdrawBlockNumbers() ([]*big.Int, error)

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

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

func (*SDXValidatorCallerSession) GetWithdrawCap

func (_SDXValidator *SDXValidatorCallerSession) 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 (*SDXValidatorCallerSession) HasVotedInvalid

func (_SDXValidator *SDXValidatorCallerSession) 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 (*SDXValidatorCallerSession) InvalidKYCCount

func (_SDXValidator *SDXValidatorCallerSession) 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 (*SDXValidatorCallerSession) InvalidPercent

func (_SDXValidator *SDXValidatorCallerSession) 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 (*SDXValidatorCallerSession) IsCandidate

func (_SDXValidator *SDXValidatorCallerSession) 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 (*SDXValidatorCallerSession) KYCString

func (_SDXValidator *SDXValidatorCallerSession) 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 (*SDXValidatorCallerSession) MaxValidatorNumber

func (_SDXValidator *SDXValidatorCallerSession) MaxValidatorNumber() (*big.Int, error)

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

Solidity: function maxValidatorNumber() constant returns(uint256)

func (*SDXValidatorCallerSession) MinCandidateCap

func (_SDXValidator *SDXValidatorCallerSession) MinCandidateCap() (*big.Int, error)

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

Solidity: function minCandidateCap() constant returns(uint256)

func (*SDXValidatorCallerSession) MinVoterCap

func (_SDXValidator *SDXValidatorCallerSession) MinVoterCap() (*big.Int, error)

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

Solidity: function minVoterCap() constant returns(uint256)

func (*SDXValidatorCallerSession) OwnerCount

func (_SDXValidator *SDXValidatorCallerSession) OwnerCount() (*big.Int, error)

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

Solidity: function ownerCount() constant returns(uint256)

func (*SDXValidatorCallerSession) OwnerToCandidate

func (_SDXValidator *SDXValidatorCallerSession) 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 (*SDXValidatorCallerSession) Owners

func (_SDXValidator *SDXValidatorCallerSession) 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 (*SDXValidatorCallerSession) VoterWithdrawDelay

func (_SDXValidator *SDXValidatorCallerSession) VoterWithdrawDelay() (*big.Int, error)

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

Solidity: function voterWithdrawDelay() constant returns(uint256)

type SDXValidatorFilterer

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

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

func NewSDXValidatorFilterer

func NewSDXValidatorFilterer(address common.Address, filterer bind.ContractFilterer) (*SDXValidatorFilterer, error)

NewSDXValidatorFilterer creates a new log filterer instance of SDXValidator, bound to a specific deployed contract.

func (*SDXValidatorFilterer) FilterInvalidatedNode

func (_SDXValidator *SDXValidatorFilterer) FilterInvalidatedNode(opts *bind.FilterOpts) (*SDXValidatorInvalidatedNodeIterator, error)

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

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

func (*SDXValidatorFilterer) FilterPropose

func (_SDXValidator *SDXValidatorFilterer) FilterPropose(opts *bind.FilterOpts) (*SDXValidatorProposeIterator, error)

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

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

func (*SDXValidatorFilterer) FilterResign

func (_SDXValidator *SDXValidatorFilterer) FilterResign(opts *bind.FilterOpts) (*SDXValidatorResignIterator, error)

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

Solidity: event Resign(_owner address, _candidate address)

func (*SDXValidatorFilterer) FilterUnvote

func (_SDXValidator *SDXValidatorFilterer) FilterUnvote(opts *bind.FilterOpts) (*SDXValidatorUnvoteIterator, error)

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

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

func (*SDXValidatorFilterer) FilterUploadedKYC

func (_SDXValidator *SDXValidatorFilterer) FilterUploadedKYC(opts *bind.FilterOpts) (*SDXValidatorUploadedKYCIterator, error)

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

Solidity: event UploadedKYC(_owner address, kycHash string)

func (*SDXValidatorFilterer) FilterVote

func (_SDXValidator *SDXValidatorFilterer) FilterVote(opts *bind.FilterOpts) (*SDXValidatorVoteIterator, error)

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

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

func (*SDXValidatorFilterer) FilterWithdraw

func (_SDXValidator *SDXValidatorFilterer) FilterWithdraw(opts *bind.FilterOpts) (*SDXValidatorWithdrawIterator, error)

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

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

func (*SDXValidatorFilterer) WatchInvalidatedNode

func (_SDXValidator *SDXValidatorFilterer) WatchInvalidatedNode(opts *bind.WatchOpts, sink chan<- *SDXValidatorInvalidatedNode) (event.Subscription, error)

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

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

func (*SDXValidatorFilterer) WatchPropose

func (_SDXValidator *SDXValidatorFilterer) WatchPropose(opts *bind.WatchOpts, sink chan<- *SDXValidatorPropose) (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 (*SDXValidatorFilterer) WatchResign

func (_SDXValidator *SDXValidatorFilterer) WatchResign(opts *bind.WatchOpts, sink chan<- *SDXValidatorResign) (event.Subscription, error)

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

Solidity: event Resign(_owner address, _candidate address)

func (*SDXValidatorFilterer) WatchUnvote

func (_SDXValidator *SDXValidatorFilterer) WatchUnvote(opts *bind.WatchOpts, sink chan<- *SDXValidatorUnvote) (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 (*SDXValidatorFilterer) WatchUploadedKYC

func (_SDXValidator *SDXValidatorFilterer) WatchUploadedKYC(opts *bind.WatchOpts, sink chan<- *SDXValidatorUploadedKYC) (event.Subscription, error)

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

Solidity: event UploadedKYC(_owner address, kycHash string)

func (*SDXValidatorFilterer) WatchVote

func (_SDXValidator *SDXValidatorFilterer) WatchVote(opts *bind.WatchOpts, sink chan<- *SDXValidatorVote) (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 (*SDXValidatorFilterer) WatchWithdraw

func (_SDXValidator *SDXValidatorFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *SDXValidatorWithdraw) (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 SDXValidatorInvalidatedNode

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

SDXValidatorInvalidatedNode represents a InvalidatedNode event raised by the SDXValidator contract.

type SDXValidatorInvalidatedNodeIterator

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

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

func (*SDXValidatorInvalidatedNodeIterator) Close

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

func (*SDXValidatorInvalidatedNodeIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

SDXValidatorPropose represents a Propose event raised by the SDXValidator contract.

type SDXValidatorProposeIterator

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

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

func (*SDXValidatorProposeIterator) Close

func (it *SDXValidatorProposeIterator) Close() error

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

func (*SDXValidatorProposeIterator) Error

func (it *SDXValidatorProposeIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SDXValidatorProposeIterator) Next

func (it *SDXValidatorProposeIterator) 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 SDXValidatorRaw

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

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

func (*SDXValidatorRaw) Call

func (_SDXValidator *SDXValidatorRaw) 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 (*SDXValidatorRaw) Transact

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

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

func (*SDXValidatorRaw) Transfer

func (_SDXValidator *SDXValidatorRaw) 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 SDXValidatorResign

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

SDXValidatorResign represents a Resign event raised by the SDXValidator contract.

type SDXValidatorResignIterator

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

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

func (*SDXValidatorResignIterator) Close

func (it *SDXValidatorResignIterator) Close() error

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

func (*SDXValidatorResignIterator) Error

func (it *SDXValidatorResignIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SDXValidatorResignIterator) Next

func (it *SDXValidatorResignIterator) 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 SDXValidatorSession

type SDXValidatorSession struct {
	Contract     *SDXValidator     // 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
}

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

func (*SDXValidatorSession) CandidateCount

func (_SDXValidator *SDXValidatorSession) CandidateCount() (*big.Int, error)

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

Solidity: function candidateCount() constant returns(uint256)

func (*SDXValidatorSession) CandidateWithdrawDelay

func (_SDXValidator *SDXValidatorSession) CandidateWithdrawDelay() (*big.Int, error)

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

Solidity: function candidateWithdrawDelay() constant returns(uint256)

func (*SDXValidatorSession) Candidates

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) GetCandidateCap

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) GetCandidateOwner

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) GetCandidates

func (_SDXValidator *SDXValidatorSession) GetCandidates() ([]common.Address, error)

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

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

func (*SDXValidatorSession) GetHashCount

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) GetLatestKYC

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) GetOwnerCount

func (_SDXValidator *SDXValidatorSession) GetOwnerCount() (*big.Int, error)

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

Solidity: function getOwnerCount() constant returns(uint256)

func (*SDXValidatorSession) GetVoterCap

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) GetVoters

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) GetWithdrawBlockNumbers

func (_SDXValidator *SDXValidatorSession) GetWithdrawBlockNumbers() ([]*big.Int, error)

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

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

func (*SDXValidatorSession) GetWithdrawCap

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) HasVotedInvalid

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) InvalidKYCCount

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) InvalidPercent

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) IsCandidate

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) KYCString

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) MaxValidatorNumber

func (_SDXValidator *SDXValidatorSession) MaxValidatorNumber() (*big.Int, error)

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

Solidity: function maxValidatorNumber() constant returns(uint256)

func (*SDXValidatorSession) MinCandidateCap

func (_SDXValidator *SDXValidatorSession) MinCandidateCap() (*big.Int, error)

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

Solidity: function minCandidateCap() constant returns(uint256)

func (*SDXValidatorSession) MinVoterCap

func (_SDXValidator *SDXValidatorSession) MinVoterCap() (*big.Int, error)

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

Solidity: function minVoterCap() constant returns(uint256)

func (*SDXValidatorSession) OwnerCount

func (_SDXValidator *SDXValidatorSession) OwnerCount() (*big.Int, error)

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

Solidity: function ownerCount() constant returns(uint256)

func (*SDXValidatorSession) OwnerToCandidate

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) Owners

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) Propose

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) Resign

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) Unvote

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) UploadKYC

func (_SDXValidator *SDXValidatorSession) UploadKYC(kychash string) (*types.Transaction, error)

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

Solidity: function uploadKYC(kychash string) returns()

func (*SDXValidatorSession) Vote

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) VoteInvalidKYC

func (_SDXValidator *SDXValidatorSession) 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 (*SDXValidatorSession) VoterWithdrawDelay

func (_SDXValidator *SDXValidatorSession) VoterWithdrawDelay() (*big.Int, error)

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

Solidity: function voterWithdrawDelay() constant returns(uint256)

func (*SDXValidatorSession) Withdraw

func (_SDXValidator *SDXValidatorSession) 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 SDXValidatorTransactor

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

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

func NewSDXValidatorTransactor

func NewSDXValidatorTransactor(address common.Address, transactor bind.ContractTransactor) (*SDXValidatorTransactor, error)

NewSDXValidatorTransactor creates a new write-only instance of SDXValidator, bound to a specific deployed contract.

func (*SDXValidatorTransactor) Propose

func (_SDXValidator *SDXValidatorTransactor) 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 (*SDXValidatorTransactor) Resign

func (_SDXValidator *SDXValidatorTransactor) 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 (*SDXValidatorTransactor) Unvote

func (_SDXValidator *SDXValidatorTransactor) 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 (*SDXValidatorTransactor) UploadKYC

func (_SDXValidator *SDXValidatorTransactor) 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 (*SDXValidatorTransactor) Vote

func (_SDXValidator *SDXValidatorTransactor) 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 (*SDXValidatorTransactor) VoteInvalidKYC

func (_SDXValidator *SDXValidatorTransactor) 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 (*SDXValidatorTransactor) Withdraw

func (_SDXValidator *SDXValidatorTransactor) 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 SDXValidatorTransactorRaw

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

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

func (*SDXValidatorTransactorRaw) Transact

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

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

func (*SDXValidatorTransactorRaw) Transfer

func (_SDXValidator *SDXValidatorTransactorRaw) 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 SDXValidatorTransactorSession

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

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

func (*SDXValidatorTransactorSession) Propose

func (_SDXValidator *SDXValidatorTransactorSession) 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 (*SDXValidatorTransactorSession) Resign

func (_SDXValidator *SDXValidatorTransactorSession) 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 (*SDXValidatorTransactorSession) Unvote

func (_SDXValidator *SDXValidatorTransactorSession) 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 (*SDXValidatorTransactorSession) UploadKYC

func (_SDXValidator *SDXValidatorTransactorSession) UploadKYC(kychash string) (*types.Transaction, error)

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

Solidity: function uploadKYC(kychash string) returns()

func (*SDXValidatorTransactorSession) Vote

func (_SDXValidator *SDXValidatorTransactorSession) 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 (*SDXValidatorTransactorSession) VoteInvalidKYC

func (_SDXValidator *SDXValidatorTransactorSession) 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 (*SDXValidatorTransactorSession) Withdraw

func (_SDXValidator *SDXValidatorTransactorSession) 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 SDXValidatorUnvote

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

SDXValidatorUnvote represents a Unvote event raised by the SDXValidator contract.

type SDXValidatorUnvoteIterator

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

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

func (*SDXValidatorUnvoteIterator) Close

func (it *SDXValidatorUnvoteIterator) Close() error

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

func (*SDXValidatorUnvoteIterator) Error

func (it *SDXValidatorUnvoteIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SDXValidatorUnvoteIterator) Next

func (it *SDXValidatorUnvoteIterator) 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 SDXValidatorUploadedKYC

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

SDXValidatorUploadedKYC represents a UploadedKYC event raised by the SDXValidator contract.

type SDXValidatorUploadedKYCIterator

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

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

func (*SDXValidatorUploadedKYCIterator) Close

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

func (*SDXValidatorUploadedKYCIterator) Error

Error returns any retrieval or parsing error occurred during filtering.

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

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

SDXValidatorVote represents a Vote event raised by the SDXValidator contract.

type SDXValidatorVoteIterator

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

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

func (*SDXValidatorVoteIterator) Close

func (it *SDXValidatorVoteIterator) Close() error

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

func (*SDXValidatorVoteIterator) Error

func (it *SDXValidatorVoteIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

func (*SDXValidatorVoteIterator) Next

func (it *SDXValidatorVoteIterator) 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 SDXValidatorWithdraw

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

SDXValidatorWithdraw represents a Withdraw event raised by the SDXValidator contract.

type SDXValidatorWithdrawIterator

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

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

func (*SDXValidatorWithdrawIterator) Close

func (it *SDXValidatorWithdrawIterator) Close() error

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

func (*SDXValidatorWithdrawIterator) Error

func (it *SDXValidatorWithdrawIterator) Error() error

Error returns any retrieval or parsing error occurred during filtering.

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL