Documentation ¶
Index ¶
- Constants
- type FandomValidator
- type FandomValidatorCaller
- func (_FandomValidator *FandomValidatorCaller) CandidateCount(opts *bind.CallOpts) (*big.Int, error)
- func (_FandomValidator *FandomValidatorCaller) CandidateWithdrawDelay(opts *bind.CallOpts) (*big.Int, error)
- func (_FandomValidator *FandomValidatorCaller) Candidates(opts *bind.CallOpts, arg0 *big.Int) (common.Address, error)
- func (_FandomValidator *FandomValidatorCaller) GetCandidateCap(opts *bind.CallOpts, _candidate common.Address) (*big.Int, error)
- func (_FandomValidator *FandomValidatorCaller) GetCandidateOwner(opts *bind.CallOpts, _candidate common.Address) (common.Address, error)
- func (_FandomValidator *FandomValidatorCaller) GetCandidates(opts *bind.CallOpts) ([]common.Address, error)
- func (_FandomValidator *FandomValidatorCaller) GetVoterCap(opts *bind.CallOpts, _candidate common.Address, _voter common.Address) (*big.Int, error)
- func (_FandomValidator *FandomValidatorCaller) GetVoters(opts *bind.CallOpts, _candidate common.Address) ([]common.Address, error)
- func (_FandomValidator *FandomValidatorCaller) GetWithdrawBlockNumbers(opts *bind.CallOpts) ([]*big.Int, error)
- func (_FandomValidator *FandomValidatorCaller) GetWithdrawCap(opts *bind.CallOpts, _blockNumber *big.Int) (*big.Int, error)
- func (_FandomValidator *FandomValidatorCaller) IsCandidate(opts *bind.CallOpts, _candidate common.Address) (bool, error)
- func (_FandomValidator *FandomValidatorCaller) MaxValidatorNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_FandomValidator *FandomValidatorCaller) MinCandidateCap(opts *bind.CallOpts) (*big.Int, error)
- func (_FandomValidator *FandomValidatorCaller) MinVoterCap(opts *bind.CallOpts) (*big.Int, error)
- func (_FandomValidator *FandomValidatorCaller) VoterWithdrawDelay(opts *bind.CallOpts) (*big.Int, error)
- type FandomValidatorCallerRaw
- type FandomValidatorCallerSession
- func (_FandomValidator *FandomValidatorCallerSession) CandidateCount() (*big.Int, error)
- func (_FandomValidator *FandomValidatorCallerSession) CandidateWithdrawDelay() (*big.Int, error)
- func (_FandomValidator *FandomValidatorCallerSession) Candidates(arg0 *big.Int) (common.Address, error)
- func (_FandomValidator *FandomValidatorCallerSession) GetCandidateCap(_candidate common.Address) (*big.Int, error)
- func (_FandomValidator *FandomValidatorCallerSession) GetCandidateOwner(_candidate common.Address) (common.Address, error)
- func (_FandomValidator *FandomValidatorCallerSession) GetCandidates() ([]common.Address, error)
- func (_FandomValidator *FandomValidatorCallerSession) GetVoterCap(_candidate common.Address, _voter common.Address) (*big.Int, error)
- func (_FandomValidator *FandomValidatorCallerSession) GetVoters(_candidate common.Address) ([]common.Address, error)
- func (_FandomValidator *FandomValidatorCallerSession) GetWithdrawBlockNumbers() ([]*big.Int, error)
- func (_FandomValidator *FandomValidatorCallerSession) GetWithdrawCap(_blockNumber *big.Int) (*big.Int, error)
- func (_FandomValidator *FandomValidatorCallerSession) IsCandidate(_candidate common.Address) (bool, error)
- func (_FandomValidator *FandomValidatorCallerSession) MaxValidatorNumber() (*big.Int, error)
- func (_FandomValidator *FandomValidatorCallerSession) MinCandidateCap() (*big.Int, error)
- func (_FandomValidator *FandomValidatorCallerSession) MinVoterCap() (*big.Int, error)
- func (_FandomValidator *FandomValidatorCallerSession) VoterWithdrawDelay() (*big.Int, error)
- type FandomValidatorFilterer
- func (_FandomValidator *FandomValidatorFilterer) FilterPropose(opts *bind.FilterOpts) (*FandomValidatorProposeIterator, error)
- func (_FandomValidator *FandomValidatorFilterer) FilterResign(opts *bind.FilterOpts) (*FandomValidatorResignIterator, error)
- func (_FandomValidator *FandomValidatorFilterer) FilterUnvote(opts *bind.FilterOpts) (*FandomValidatorUnvoteIterator, error)
- func (_FandomValidator *FandomValidatorFilterer) FilterVote(opts *bind.FilterOpts) (*FandomValidatorVoteIterator, error)
- func (_FandomValidator *FandomValidatorFilterer) FilterWithdraw(opts *bind.FilterOpts) (*FandomValidatorWithdrawIterator, error)
- func (_FandomValidator *FandomValidatorFilterer) WatchPropose(opts *bind.WatchOpts, sink chan<- *FandomValidatorPropose) (event.Subscription, error)
- func (_FandomValidator *FandomValidatorFilterer) WatchResign(opts *bind.WatchOpts, sink chan<- *FandomValidatorResign) (event.Subscription, error)
- func (_FandomValidator *FandomValidatorFilterer) WatchUnvote(opts *bind.WatchOpts, sink chan<- *FandomValidatorUnvote) (event.Subscription, error)
- func (_FandomValidator *FandomValidatorFilterer) WatchVote(opts *bind.WatchOpts, sink chan<- *FandomValidatorVote) (event.Subscription, error)
- func (_FandomValidator *FandomValidatorFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *FandomValidatorWithdraw) (event.Subscription, error)
- type FandomValidatorPropose
- type FandomValidatorProposeIterator
- type FandomValidatorRaw
- func (_FandomValidator *FandomValidatorRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_FandomValidator *FandomValidatorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_FandomValidator *FandomValidatorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type FandomValidatorResign
- type FandomValidatorResignIterator
- type FandomValidatorSession
- func (_FandomValidator *FandomValidatorSession) CandidateCount() (*big.Int, error)
- func (_FandomValidator *FandomValidatorSession) CandidateWithdrawDelay() (*big.Int, error)
- func (_FandomValidator *FandomValidatorSession) Candidates(arg0 *big.Int) (common.Address, error)
- func (_FandomValidator *FandomValidatorSession) GetCandidateCap(_candidate common.Address) (*big.Int, error)
- func (_FandomValidator *FandomValidatorSession) GetCandidateOwner(_candidate common.Address) (common.Address, error)
- func (_FandomValidator *FandomValidatorSession) GetCandidates() ([]common.Address, error)
- func (_FandomValidator *FandomValidatorSession) GetVoterCap(_candidate common.Address, _voter common.Address) (*big.Int, error)
- func (_FandomValidator *FandomValidatorSession) GetVoters(_candidate common.Address) ([]common.Address, error)
- func (_FandomValidator *FandomValidatorSession) GetWithdrawBlockNumbers() ([]*big.Int, error)
- func (_FandomValidator *FandomValidatorSession) GetWithdrawCap(_blockNumber *big.Int) (*big.Int, error)
- func (_FandomValidator *FandomValidatorSession) IsCandidate(_candidate common.Address) (bool, error)
- func (_FandomValidator *FandomValidatorSession) MaxValidatorNumber() (*big.Int, error)
- func (_FandomValidator *FandomValidatorSession) MinCandidateCap() (*big.Int, error)
- func (_FandomValidator *FandomValidatorSession) MinVoterCap() (*big.Int, error)
- func (_FandomValidator *FandomValidatorSession) Propose(_candidate common.Address) (*types.Transaction, error)
- func (_FandomValidator *FandomValidatorSession) Resign(_candidate common.Address) (*types.Transaction, error)
- func (_FandomValidator *FandomValidatorSession) Unvote(_candidate common.Address, _cap *big.Int) (*types.Transaction, error)
- func (_FandomValidator *FandomValidatorSession) Vote(_candidate common.Address) (*types.Transaction, error)
- func (_FandomValidator *FandomValidatorSession) VoterWithdrawDelay() (*big.Int, error)
- func (_FandomValidator *FandomValidatorSession) Withdraw(_blockNumber *big.Int, _index *big.Int) (*types.Transaction, error)
- type FandomValidatorTransactor
- func (_FandomValidator *FandomValidatorTransactor) Propose(opts *bind.TransactOpts, _candidate common.Address) (*types.Transaction, error)
- func (_FandomValidator *FandomValidatorTransactor) Resign(opts *bind.TransactOpts, _candidate common.Address) (*types.Transaction, error)
- func (_FandomValidator *FandomValidatorTransactor) Unvote(opts *bind.TransactOpts, _candidate common.Address, _cap *big.Int) (*types.Transaction, error)
- func (_FandomValidator *FandomValidatorTransactor) Vote(opts *bind.TransactOpts, _candidate common.Address) (*types.Transaction, error)
- func (_FandomValidator *FandomValidatorTransactor) Withdraw(opts *bind.TransactOpts, _blockNumber *big.Int, _index *big.Int) (*types.Transaction, error)
- type FandomValidatorTransactorRaw
- type FandomValidatorTransactorSession
- func (_FandomValidator *FandomValidatorTransactorSession) Propose(_candidate common.Address) (*types.Transaction, error)
- func (_FandomValidator *FandomValidatorTransactorSession) Resign(_candidate common.Address) (*types.Transaction, error)
- func (_FandomValidator *FandomValidatorTransactorSession) Unvote(_candidate common.Address, _cap *big.Int) (*types.Transaction, error)
- func (_FandomValidator *FandomValidatorTransactorSession) Vote(_candidate common.Address) (*types.Transaction, error)
- func (_FandomValidator *FandomValidatorTransactorSession) Withdraw(_blockNumber *big.Int, _index *big.Int) (*types.Transaction, error)
- type FandomValidatorUnvote
- type FandomValidatorUnvoteIterator
- type FandomValidatorVote
- type FandomValidatorVoteIterator
- type FandomValidatorWithdraw
- type FandomValidatorWithdrawIterator
- type SafeMath
- type SafeMathCaller
- type SafeMathCallerRaw
- type SafeMathCallerSession
- type SafeMathFilterer
- type SafeMathRaw
- func (_SafeMath *SafeMathRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_SafeMath *SafeMathRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_SafeMath *SafeMathRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type SafeMathSession
- type SafeMathTransactor
- type SafeMathTransactorRaw
- type SafeMathTransactorSession
Constants ¶
const FandomValidatorABI = "" /* 5884-byte string literal not displayed */
FandomValidatorABI is the input ABI used to generate the binding from.
const FandomValidatorBin = `` /* 10284-byte string literal not displayed */
FandomValidatorBin is the compiled bytecode used for deploying new contracts.
const SafeMathABI = "[]"
SafeMathABI is the input ABI used to generate the binding from.
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 FandomValidator ¶
type FandomValidator struct { FandomValidatorCaller // Read-only binding to the contract FandomValidatorTransactor // Write-only binding to the contract FandomValidatorFilterer // Log filterer for contract events }
FandomValidator is an auto generated Go binding around an Ethereum contract.
func DeployFandomValidator ¶
func DeployFandomValidator(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, *FandomValidator, error)
DeployFandomValidator deploys a new Ethereum contract, binding an instance of FandomValidator to it.
func NewFandomValidator ¶
func NewFandomValidator(address common.Address, backend bind.ContractBackend) (*FandomValidator, error)
NewFandomValidator creates a new instance of FandomValidator, bound to a specific deployed contract.
type FandomValidatorCaller ¶
type FandomValidatorCaller struct {
// contains filtered or unexported fields
}
FandomValidatorCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewFandomValidatorCaller ¶
func NewFandomValidatorCaller(address common.Address, caller bind.ContractCaller) (*FandomValidatorCaller, error)
NewFandomValidatorCaller creates a new read-only instance of FandomValidator, bound to a specific deployed contract.
func (*FandomValidatorCaller) CandidateCount ¶
func (_FandomValidator *FandomValidatorCaller) 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 (*FandomValidatorCaller) CandidateWithdrawDelay ¶
func (_FandomValidator *FandomValidatorCaller) 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 (*FandomValidatorCaller) Candidates ¶
func (_FandomValidator *FandomValidatorCaller) 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 (*FandomValidatorCaller) GetCandidateCap ¶
func (_FandomValidator *FandomValidatorCaller) 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 (*FandomValidatorCaller) GetCandidateOwner ¶
func (_FandomValidator *FandomValidatorCaller) 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 (*FandomValidatorCaller) GetCandidates ¶
func (_FandomValidator *FandomValidatorCaller) 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 (*FandomValidatorCaller) GetVoterCap ¶
func (_FandomValidator *FandomValidatorCaller) 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 (*FandomValidatorCaller) GetVoters ¶
func (_FandomValidator *FandomValidatorCaller) 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 (*FandomValidatorCaller) GetWithdrawBlockNumbers ¶
func (_FandomValidator *FandomValidatorCaller) 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 (*FandomValidatorCaller) GetWithdrawCap ¶
func (_FandomValidator *FandomValidatorCaller) 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 (*FandomValidatorCaller) IsCandidate ¶
func (_FandomValidator *FandomValidatorCaller) 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 (*FandomValidatorCaller) MaxValidatorNumber ¶
func (_FandomValidator *FandomValidatorCaller) 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 (*FandomValidatorCaller) MinCandidateCap ¶
func (_FandomValidator *FandomValidatorCaller) 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 (*FandomValidatorCaller) MinVoterCap ¶
MinVoterCap is a free data retrieval call binding the contract method 0xf8ac9dd5.
Solidity: function minVoterCap() constant returns(uint256)
func (*FandomValidatorCaller) VoterWithdrawDelay ¶
func (_FandomValidator *FandomValidatorCaller) 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 FandomValidatorCallerRaw ¶
type FandomValidatorCallerRaw struct {
Contract *FandomValidatorCaller // Generic read-only contract binding to access the raw methods on
}
FandomValidatorCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*FandomValidatorCallerRaw) Call ¶
func (_FandomValidator *FandomValidatorCallerRaw) 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 FandomValidatorCallerSession ¶
type FandomValidatorCallerSession struct { Contract *FandomValidatorCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
FandomValidatorCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*FandomValidatorCallerSession) CandidateCount ¶
func (_FandomValidator *FandomValidatorCallerSession) CandidateCount() (*big.Int, error)
CandidateCount is a free data retrieval call binding the contract method 0xa9a981a3.
Solidity: function candidateCount() constant returns(uint256)
func (*FandomValidatorCallerSession) CandidateWithdrawDelay ¶
func (_FandomValidator *FandomValidatorCallerSession) CandidateWithdrawDelay() (*big.Int, error)
CandidateWithdrawDelay is a free data retrieval call binding the contract method 0xd161c767.
Solidity: function candidateWithdrawDelay() constant returns(uint256)
func (*FandomValidatorCallerSession) Candidates ¶
func (_FandomValidator *FandomValidatorCallerSession) 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 (*FandomValidatorCallerSession) GetCandidateCap ¶
func (_FandomValidator *FandomValidatorCallerSession) 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 (*FandomValidatorCallerSession) GetCandidateOwner ¶
func (_FandomValidator *FandomValidatorCallerSession) 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 (*FandomValidatorCallerSession) GetCandidates ¶
func (_FandomValidator *FandomValidatorCallerSession) GetCandidates() ([]common.Address, error)
GetCandidates is a free data retrieval call binding the contract method 0x06a49fce.
Solidity: function getCandidates() constant returns(address[])
func (*FandomValidatorCallerSession) GetVoterCap ¶
func (_FandomValidator *FandomValidatorCallerSession) 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 (*FandomValidatorCallerSession) GetVoters ¶
func (_FandomValidator *FandomValidatorCallerSession) 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 (*FandomValidatorCallerSession) GetWithdrawBlockNumbers ¶
func (_FandomValidator *FandomValidatorCallerSession) GetWithdrawBlockNumbers() ([]*big.Int, error)
GetWithdrawBlockNumbers is a free data retrieval call binding the contract method 0x2f9c4bba.
Solidity: function getWithdrawBlockNumbers() constant returns(uint256[])
func (*FandomValidatorCallerSession) GetWithdrawCap ¶
func (_FandomValidator *FandomValidatorCallerSession) 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 (*FandomValidatorCallerSession) IsCandidate ¶
func (_FandomValidator *FandomValidatorCallerSession) 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 (*FandomValidatorCallerSession) MaxValidatorNumber ¶
func (_FandomValidator *FandomValidatorCallerSession) MaxValidatorNumber() (*big.Int, error)
MaxValidatorNumber is a free data retrieval call binding the contract method 0xd09f1ab4.
Solidity: function maxValidatorNumber() constant returns(uint256)
func (*FandomValidatorCallerSession) MinCandidateCap ¶
func (_FandomValidator *FandomValidatorCallerSession) MinCandidateCap() (*big.Int, error)
MinCandidateCap is a free data retrieval call binding the contract method 0xd55b7dff.
Solidity: function minCandidateCap() constant returns(uint256)
func (*FandomValidatorCallerSession) MinVoterCap ¶
func (_FandomValidator *FandomValidatorCallerSession) MinVoterCap() (*big.Int, error)
MinVoterCap is a free data retrieval call binding the contract method 0xf8ac9dd5.
Solidity: function minVoterCap() constant returns(uint256)
func (*FandomValidatorCallerSession) VoterWithdrawDelay ¶
func (_FandomValidator *FandomValidatorCallerSession) VoterWithdrawDelay() (*big.Int, error)
VoterWithdrawDelay is a free data retrieval call binding the contract method 0xa9ff959e.
Solidity: function voterWithdrawDelay() constant returns(uint256)
type FandomValidatorFilterer ¶
type FandomValidatorFilterer struct {
// contains filtered or unexported fields
}
FandomValidatorFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewFandomValidatorFilterer ¶
func NewFandomValidatorFilterer(address common.Address, filterer bind.ContractFilterer) (*FandomValidatorFilterer, error)
NewFandomValidatorFilterer creates a new log filterer instance of FandomValidator, bound to a specific deployed contract.
func (*FandomValidatorFilterer) FilterPropose ¶
func (_FandomValidator *FandomValidatorFilterer) FilterPropose(opts *bind.FilterOpts) (*FandomValidatorProposeIterator, error)
FilterPropose is a free log retrieval operation binding the contract event 0x7635f1d87b47fba9f2b09e56eb4be75cca030e0cb179c1602ac9261d39a8f5c1.
Solidity: event Propose(_owner address, _candidate address, _cap uint256)
func (*FandomValidatorFilterer) FilterResign ¶
func (_FandomValidator *FandomValidatorFilterer) FilterResign(opts *bind.FilterOpts) (*FandomValidatorResignIterator, error)
FilterResign is a free log retrieval operation binding the contract event 0x4edf3e325d0063213a39f9085522994a1c44bea5f39e7d63ef61260a1e58c6d3.
Solidity: event Resign(_owner address, _candidate address)
func (*FandomValidatorFilterer) FilterUnvote ¶
func (_FandomValidator *FandomValidatorFilterer) FilterUnvote(opts *bind.FilterOpts) (*FandomValidatorUnvoteIterator, error)
FilterUnvote is a free log retrieval operation binding the contract event 0xaa0e554f781c3c3b2be110a0557f260f11af9a8aa2c64bc1e7a31dbb21e32fa2.
Solidity: event Unvote(_voter address, _candidate address, _cap uint256)
func (*FandomValidatorFilterer) FilterVote ¶
func (_FandomValidator *FandomValidatorFilterer) FilterVote(opts *bind.FilterOpts) (*FandomValidatorVoteIterator, error)
FilterVote is a free log retrieval operation binding the contract event 0x66a9138482c99e9baf08860110ef332cc0c23b4a199a53593d8db0fc8f96fbfc.
Solidity: event Vote(_voter address, _candidate address, _cap uint256)
func (*FandomValidatorFilterer) FilterWithdraw ¶
func (_FandomValidator *FandomValidatorFilterer) FilterWithdraw(opts *bind.FilterOpts) (*FandomValidatorWithdrawIterator, error)
FilterWithdraw is a free log retrieval operation binding the contract event 0xf279e6a1f5e320cca91135676d9cb6e44ca8a08c0b88342bcdb1144f6511b568.
Solidity: event Withdraw(_owner address, _blockNumber uint256, _cap uint256)
func (*FandomValidatorFilterer) WatchPropose ¶
func (_FandomValidator *FandomValidatorFilterer) WatchPropose(opts *bind.WatchOpts, sink chan<- *FandomValidatorPropose) (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 (*FandomValidatorFilterer) WatchResign ¶
func (_FandomValidator *FandomValidatorFilterer) WatchResign(opts *bind.WatchOpts, sink chan<- *FandomValidatorResign) (event.Subscription, error)
WatchResign is a free log subscription operation binding the contract event 0x4edf3e325d0063213a39f9085522994a1c44bea5f39e7d63ef61260a1e58c6d3.
Solidity: event Resign(_owner address, _candidate address)
func (*FandomValidatorFilterer) WatchUnvote ¶
func (_FandomValidator *FandomValidatorFilterer) WatchUnvote(opts *bind.WatchOpts, sink chan<- *FandomValidatorUnvote) (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 (*FandomValidatorFilterer) WatchVote ¶
func (_FandomValidator *FandomValidatorFilterer) WatchVote(opts *bind.WatchOpts, sink chan<- *FandomValidatorVote) (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 (*FandomValidatorFilterer) WatchWithdraw ¶
func (_FandomValidator *FandomValidatorFilterer) WatchWithdraw(opts *bind.WatchOpts, sink chan<- *FandomValidatorWithdraw) (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 FandomValidatorPropose ¶
type FandomValidatorPropose struct { Owner common.Address Candidate common.Address Cap *big.Int Raw types.Log // Blockchain specific contextual infos }
FandomValidatorPropose represents a Propose event raised by the FandomValidator contract.
type FandomValidatorProposeIterator ¶
type FandomValidatorProposeIterator struct { Event *FandomValidatorPropose // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FandomValidatorProposeIterator is returned from FilterPropose and is used to iterate over the raw logs and unpacked data for Propose events raised by the FandomValidator contract.
func (*FandomValidatorProposeIterator) Close ¶
func (it *FandomValidatorProposeIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FandomValidatorProposeIterator) Error ¶
func (it *FandomValidatorProposeIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FandomValidatorProposeIterator) Next ¶
func (it *FandomValidatorProposeIterator) 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 FandomValidatorRaw ¶
type FandomValidatorRaw struct {
Contract *FandomValidator // Generic contract binding to access the raw methods on
}
FandomValidatorRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*FandomValidatorRaw) Call ¶
func (_FandomValidator *FandomValidatorRaw) 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 (*FandomValidatorRaw) Transact ¶
func (_FandomValidator *FandomValidatorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FandomValidatorRaw) Transfer ¶
func (_FandomValidator *FandomValidatorRaw) 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 FandomValidatorResign ¶
type FandomValidatorResign struct { Owner common.Address Candidate common.Address Raw types.Log // Blockchain specific contextual infos }
FandomValidatorResign represents a Resign event raised by the FandomValidator contract.
type FandomValidatorResignIterator ¶
type FandomValidatorResignIterator struct { Event *FandomValidatorResign // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FandomValidatorResignIterator is returned from FilterResign and is used to iterate over the raw logs and unpacked data for Resign events raised by the FandomValidator contract.
func (*FandomValidatorResignIterator) Close ¶
func (it *FandomValidatorResignIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FandomValidatorResignIterator) Error ¶
func (it *FandomValidatorResignIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FandomValidatorResignIterator) Next ¶
func (it *FandomValidatorResignIterator) 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 FandomValidatorSession ¶
type FandomValidatorSession struct { Contract *FandomValidator // 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 }
FandomValidatorSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*FandomValidatorSession) CandidateCount ¶
func (_FandomValidator *FandomValidatorSession) CandidateCount() (*big.Int, error)
CandidateCount is a free data retrieval call binding the contract method 0xa9a981a3.
Solidity: function candidateCount() constant returns(uint256)
func (*FandomValidatorSession) CandidateWithdrawDelay ¶
func (_FandomValidator *FandomValidatorSession) CandidateWithdrawDelay() (*big.Int, error)
CandidateWithdrawDelay is a free data retrieval call binding the contract method 0xd161c767.
Solidity: function candidateWithdrawDelay() constant returns(uint256)
func (*FandomValidatorSession) Candidates ¶
Candidates is a free data retrieval call binding the contract method 0x3477ee2e.
Solidity: function candidates( uint256) constant returns(address)
func (*FandomValidatorSession) GetCandidateCap ¶
func (_FandomValidator *FandomValidatorSession) 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 (*FandomValidatorSession) GetCandidateOwner ¶
func (_FandomValidator *FandomValidatorSession) 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 (*FandomValidatorSession) GetCandidates ¶
func (_FandomValidator *FandomValidatorSession) GetCandidates() ([]common.Address, error)
GetCandidates is a free data retrieval call binding the contract method 0x06a49fce.
Solidity: function getCandidates() constant returns(address[])
func (*FandomValidatorSession) GetVoterCap ¶
func (_FandomValidator *FandomValidatorSession) 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 (*FandomValidatorSession) GetVoters ¶
func (_FandomValidator *FandomValidatorSession) 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 (*FandomValidatorSession) GetWithdrawBlockNumbers ¶
func (_FandomValidator *FandomValidatorSession) GetWithdrawBlockNumbers() ([]*big.Int, error)
GetWithdrawBlockNumbers is a free data retrieval call binding the contract method 0x2f9c4bba.
Solidity: function getWithdrawBlockNumbers() constant returns(uint256[])
func (*FandomValidatorSession) GetWithdrawCap ¶
func (_FandomValidator *FandomValidatorSession) 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 (*FandomValidatorSession) IsCandidate ¶
func (_FandomValidator *FandomValidatorSession) 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 (*FandomValidatorSession) MaxValidatorNumber ¶
func (_FandomValidator *FandomValidatorSession) MaxValidatorNumber() (*big.Int, error)
MaxValidatorNumber is a free data retrieval call binding the contract method 0xd09f1ab4.
Solidity: function maxValidatorNumber() constant returns(uint256)
func (*FandomValidatorSession) MinCandidateCap ¶
func (_FandomValidator *FandomValidatorSession) MinCandidateCap() (*big.Int, error)
MinCandidateCap is a free data retrieval call binding the contract method 0xd55b7dff.
Solidity: function minCandidateCap() constant returns(uint256)
func (*FandomValidatorSession) MinVoterCap ¶
func (_FandomValidator *FandomValidatorSession) MinVoterCap() (*big.Int, error)
MinVoterCap is a free data retrieval call binding the contract method 0xf8ac9dd5.
Solidity: function minVoterCap() constant returns(uint256)
func (*FandomValidatorSession) Propose ¶
func (_FandomValidator *FandomValidatorSession) 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 (*FandomValidatorSession) Resign ¶
func (_FandomValidator *FandomValidatorSession) 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 (*FandomValidatorSession) Unvote ¶
func (_FandomValidator *FandomValidatorSession) 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 (*FandomValidatorSession) Vote ¶
func (_FandomValidator *FandomValidatorSession) 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 (*FandomValidatorSession) VoterWithdrawDelay ¶
func (_FandomValidator *FandomValidatorSession) VoterWithdrawDelay() (*big.Int, error)
VoterWithdrawDelay is a free data retrieval call binding the contract method 0xa9ff959e.
Solidity: function voterWithdrawDelay() constant returns(uint256)
func (*FandomValidatorSession) Withdraw ¶
func (_FandomValidator *FandomValidatorSession) 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 FandomValidatorTransactor ¶
type FandomValidatorTransactor struct {
// contains filtered or unexported fields
}
FandomValidatorTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewFandomValidatorTransactor ¶
func NewFandomValidatorTransactor(address common.Address, transactor bind.ContractTransactor) (*FandomValidatorTransactor, error)
NewFandomValidatorTransactor creates a new write-only instance of FandomValidator, bound to a specific deployed contract.
func (*FandomValidatorTransactor) Propose ¶
func (_FandomValidator *FandomValidatorTransactor) 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 (*FandomValidatorTransactor) Resign ¶
func (_FandomValidator *FandomValidatorTransactor) 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 (*FandomValidatorTransactor) Unvote ¶
func (_FandomValidator *FandomValidatorTransactor) 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 (*FandomValidatorTransactor) Vote ¶
func (_FandomValidator *FandomValidatorTransactor) 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 (*FandomValidatorTransactor) Withdraw ¶
func (_FandomValidator *FandomValidatorTransactor) 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 FandomValidatorTransactorRaw ¶
type FandomValidatorTransactorRaw struct {
Contract *FandomValidatorTransactor // Generic write-only contract binding to access the raw methods on
}
FandomValidatorTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*FandomValidatorTransactorRaw) Transact ¶
func (_FandomValidator *FandomValidatorTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*FandomValidatorTransactorRaw) Transfer ¶
func (_FandomValidator *FandomValidatorTransactorRaw) 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 FandomValidatorTransactorSession ¶
type FandomValidatorTransactorSession struct { Contract *FandomValidatorTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
FandomValidatorTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*FandomValidatorTransactorSession) Propose ¶
func (_FandomValidator *FandomValidatorTransactorSession) 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 (*FandomValidatorTransactorSession) Resign ¶
func (_FandomValidator *FandomValidatorTransactorSession) 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 (*FandomValidatorTransactorSession) Unvote ¶
func (_FandomValidator *FandomValidatorTransactorSession) 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 (*FandomValidatorTransactorSession) Vote ¶
func (_FandomValidator *FandomValidatorTransactorSession) 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 (*FandomValidatorTransactorSession) Withdraw ¶
func (_FandomValidator *FandomValidatorTransactorSession) 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 FandomValidatorUnvote ¶
type FandomValidatorUnvote struct { Voter common.Address Candidate common.Address Cap *big.Int Raw types.Log // Blockchain specific contextual infos }
FandomValidatorUnvote represents a Unvote event raised by the FandomValidator contract.
type FandomValidatorUnvoteIterator ¶
type FandomValidatorUnvoteIterator struct { Event *FandomValidatorUnvote // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FandomValidatorUnvoteIterator is returned from FilterUnvote and is used to iterate over the raw logs and unpacked data for Unvote events raised by the FandomValidator contract.
func (*FandomValidatorUnvoteIterator) Close ¶
func (it *FandomValidatorUnvoteIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FandomValidatorUnvoteIterator) Error ¶
func (it *FandomValidatorUnvoteIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FandomValidatorUnvoteIterator) Next ¶
func (it *FandomValidatorUnvoteIterator) 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 FandomValidatorVote ¶
type FandomValidatorVote struct { Voter common.Address Candidate common.Address Cap *big.Int Raw types.Log // Blockchain specific contextual infos }
FandomValidatorVote represents a Vote event raised by the FandomValidator contract.
type FandomValidatorVoteIterator ¶
type FandomValidatorVoteIterator struct { Event *FandomValidatorVote // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FandomValidatorVoteIterator is returned from FilterVote and is used to iterate over the raw logs and unpacked data for Vote events raised by the FandomValidator contract.
func (*FandomValidatorVoteIterator) Close ¶
func (it *FandomValidatorVoteIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FandomValidatorVoteIterator) Error ¶
func (it *FandomValidatorVoteIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FandomValidatorVoteIterator) Next ¶
func (it *FandomValidatorVoteIterator) 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 FandomValidatorWithdraw ¶
type FandomValidatorWithdraw struct { Owner common.Address BlockNumber *big.Int Cap *big.Int Raw types.Log // Blockchain specific contextual infos }
FandomValidatorWithdraw represents a Withdraw event raised by the FandomValidator contract.
type FandomValidatorWithdrawIterator ¶
type FandomValidatorWithdrawIterator struct { Event *FandomValidatorWithdraw // Event containing the contract specifics and raw log // contains filtered or unexported fields }
FandomValidatorWithdrawIterator is returned from FilterWithdraw and is used to iterate over the raw logs and unpacked data for Withdraw events raised by the FandomValidator contract.
func (*FandomValidatorWithdrawIterator) Close ¶
func (it *FandomValidatorWithdrawIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*FandomValidatorWithdrawIterator) Error ¶
func (it *FandomValidatorWithdrawIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*FandomValidatorWithdrawIterator) Next ¶
func (it *FandomValidatorWithdrawIterator) 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 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 ¶
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.