Documentation ¶
Index ¶
- Constants
- Variables
- type BlockchainBackend
- type Email
- type Governance
- type GovernanceCRSProposed
- type GovernanceCRSProposedIterator
- type GovernanceCaller
- func (_Governance *GovernanceCaller) BlockGasLimit(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) Crs(opts *bind.CallOpts) ([32]byte, error)
- func (_Governance *GovernanceCaller) CrsRound(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) DkgComplaints(opts *bind.CallOpts, arg0 *big.Int) ([]byte, error)
- func (_Governance *GovernanceCaller) DkgComplaintsProposed(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_Governance *GovernanceCaller) DkgFinalizeds(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Governance *GovernanceCaller) DkgFinalizedsCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) DkgMPKReadys(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Governance *GovernanceCaller) DkgMPKReadysCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) DkgMasterPublicKeyOffset(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
- func (_Governance *GovernanceCaller) DkgMasterPublicKeys(opts *bind.CallOpts, arg0 *big.Int) ([]byte, error)
- func (_Governance *GovernanceCaller) DkgResetCount(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Governance *GovernanceCaller) DkgRound(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) DkgSuccesses(opts *bind.CallOpts, arg0 common.Address) (bool, error)
- func (_Governance *GovernanceCaller) DkgSuccessesCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) FineValues(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Governance *GovernanceCaller) FinedRecords(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
- func (_Governance *GovernanceCaller) LambdaBA(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) LambdaDKG(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) LastHalvedAmount(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) LastProposedHeight(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Governance *GovernanceCaller) LockupPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) MinBlockInterval(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) MinGasPrice(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) MinStake(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) MiningVelocity(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) NextHalvingSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) Nodes(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Governance *GovernanceCaller) NodesLength(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) NodesOffsetByAddress(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Governance *GovernanceCaller) NodesOffsetByNodeKeyAddress(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Governance *GovernanceCaller) NotaryParamAlpha(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) NotaryParamBeta(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) NotarySetSize(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Governance *GovernanceCaller) RoundHeight(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
- func (_Governance *GovernanceCaller) RoundLength(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) TotalStaked(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) TotalSupply(opts *bind.CallOpts) (*big.Int, error)
- func (_Governance *GovernanceCaller) Withdrawable(opts *bind.CallOpts) (bool, error)
- type GovernanceCallerRaw
- type GovernanceCallerSession
- func (_Governance *GovernanceCallerSession) BlockGasLimit() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) Crs() ([32]byte, error)
- func (_Governance *GovernanceCallerSession) CrsRound() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) DkgComplaints(arg0 *big.Int) ([]byte, error)
- func (_Governance *GovernanceCallerSession) DkgComplaintsProposed(arg0 [32]byte) (bool, error)
- func (_Governance *GovernanceCallerSession) DkgFinalizeds(arg0 common.Address) (bool, error)
- func (_Governance *GovernanceCallerSession) DkgFinalizedsCount() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) DkgMPKReadys(arg0 common.Address) (bool, error)
- func (_Governance *GovernanceCallerSession) DkgMPKReadysCount() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) DkgMasterPublicKeyOffset(arg0 [32]byte) (*big.Int, error)
- func (_Governance *GovernanceCallerSession) DkgMasterPublicKeys(arg0 *big.Int) ([]byte, error)
- func (_Governance *GovernanceCallerSession) DkgResetCount(arg0 *big.Int) (*big.Int, error)
- func (_Governance *GovernanceCallerSession) DkgRound() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) DkgSuccesses(arg0 common.Address) (bool, error)
- func (_Governance *GovernanceCallerSession) DkgSuccessesCount() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) FineValues(arg0 *big.Int) (*big.Int, error)
- func (_Governance *GovernanceCallerSession) FinedRecords(arg0 [32]byte) (bool, error)
- func (_Governance *GovernanceCallerSession) LambdaBA() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) LambdaDKG() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) LastHalvedAmount() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) LastProposedHeight(arg0 common.Address) (*big.Int, error)
- func (_Governance *GovernanceCallerSession) LockupPeriod() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) MinBlockInterval() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) MinGasPrice() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) MinStake() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) MiningVelocity() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) NextHalvingSupply() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) Nodes(arg0 *big.Int) (struct{ ... }, error)
- func (_Governance *GovernanceCallerSession) NodesLength() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) NodesOffsetByAddress(arg0 common.Address) (*big.Int, error)
- func (_Governance *GovernanceCallerSession) NodesOffsetByNodeKeyAddress(arg0 common.Address) (*big.Int, error)
- func (_Governance *GovernanceCallerSession) NotaryParamAlpha() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) NotaryParamBeta() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) NotarySetSize() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) Owner() (common.Address, error)
- func (_Governance *GovernanceCallerSession) RoundHeight(arg0 *big.Int) (*big.Int, error)
- func (_Governance *GovernanceCallerSession) RoundLength() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) TotalStaked() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) TotalSupply() (*big.Int, error)
- func (_Governance *GovernanceCallerSession) Withdrawable() (bool, error)
- type GovernanceConfigurationChanged
- type GovernanceConfigurationChangedIterator
- type GovernanceDKGReset
- type GovernanceDKGResetIterator
- type GovernanceFilterer
- func (_Governance *GovernanceFilterer) FilterCRSProposed(opts *bind.FilterOpts, Round []*big.Int) (*GovernanceCRSProposedIterator, error)
- func (_Governance *GovernanceFilterer) FilterConfigurationChanged(opts *bind.FilterOpts) (*GovernanceConfigurationChangedIterator, error)
- func (_Governance *GovernanceFilterer) FilterDKGReset(opts *bind.FilterOpts, Round []*big.Int) (*GovernanceDKGResetIterator, error)
- func (_Governance *GovernanceFilterer) FilterFinePaid(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceFinePaidIterator, error)
- func (_Governance *GovernanceFilterer) FilterFined(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceFinedIterator, error)
- func (_Governance *GovernanceFilterer) FilterNodeAdded(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceNodeAddedIterator, error)
- func (_Governance *GovernanceFilterer) FilterNodeOwnershipTransfered(opts *bind.FilterOpts, NodeAddress []common.Address, ...) (*GovernanceNodeOwnershipTransferedIterator, error)
- func (_Governance *GovernanceFilterer) FilterNodePublicKeyReplaced(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceNodePublicKeyReplacedIterator, error)
- func (_Governance *GovernanceFilterer) FilterNodeRemoved(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceNodeRemovedIterator, error)
- func (_Governance *GovernanceFilterer) FilterReported(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceReportedIterator, error)
- func (_Governance *GovernanceFilterer) FilterStaked(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceStakedIterator, error)
- func (_Governance *GovernanceFilterer) FilterUnstaked(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceUnstakedIterator, error)
- func (_Governance *GovernanceFilterer) FilterWithdrawn(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceWithdrawnIterator, error)
- func (_Governance *GovernanceFilterer) ParseCRSProposed(log types.Log) (*GovernanceCRSProposed, error)
- func (_Governance *GovernanceFilterer) ParseConfigurationChanged(log types.Log) (*GovernanceConfigurationChanged, error)
- func (_Governance *GovernanceFilterer) ParseDKGReset(log types.Log) (*GovernanceDKGReset, error)
- func (_Governance *GovernanceFilterer) ParseFinePaid(log types.Log) (*GovernanceFinePaid, error)
- func (_Governance *GovernanceFilterer) ParseFined(log types.Log) (*GovernanceFined, error)
- func (_Governance *GovernanceFilterer) ParseNodeAdded(log types.Log) (*GovernanceNodeAdded, error)
- func (_Governance *GovernanceFilterer) ParseNodeOwnershipTransfered(log types.Log) (*GovernanceNodeOwnershipTransfered, error)
- func (_Governance *GovernanceFilterer) ParseNodePublicKeyReplaced(log types.Log) (*GovernanceNodePublicKeyReplaced, error)
- func (_Governance *GovernanceFilterer) ParseNodeRemoved(log types.Log) (*GovernanceNodeRemoved, error)
- func (_Governance *GovernanceFilterer) ParseReported(log types.Log) (*GovernanceReported, error)
- func (_Governance *GovernanceFilterer) ParseStaked(log types.Log) (*GovernanceStaked, error)
- func (_Governance *GovernanceFilterer) ParseUnstaked(log types.Log) (*GovernanceUnstaked, error)
- func (_Governance *GovernanceFilterer) ParseWithdrawn(log types.Log) (*GovernanceWithdrawn, error)
- func (_Governance *GovernanceFilterer) WatchCRSProposed(opts *bind.WatchOpts, sink chan<- *GovernanceCRSProposed, Round []*big.Int) (event.Subscription, error)
- func (_Governance *GovernanceFilterer) WatchConfigurationChanged(opts *bind.WatchOpts, sink chan<- *GovernanceConfigurationChanged) (event.Subscription, error)
- func (_Governance *GovernanceFilterer) WatchDKGReset(opts *bind.WatchOpts, sink chan<- *GovernanceDKGReset, Round []*big.Int) (event.Subscription, error)
- func (_Governance *GovernanceFilterer) WatchFinePaid(opts *bind.WatchOpts, sink chan<- *GovernanceFinePaid, ...) (event.Subscription, error)
- func (_Governance *GovernanceFilterer) WatchFined(opts *bind.WatchOpts, sink chan<- *GovernanceFined, ...) (event.Subscription, error)
- func (_Governance *GovernanceFilterer) WatchNodeAdded(opts *bind.WatchOpts, sink chan<- *GovernanceNodeAdded, ...) (event.Subscription, error)
- func (_Governance *GovernanceFilterer) WatchNodeOwnershipTransfered(opts *bind.WatchOpts, sink chan<- *GovernanceNodeOwnershipTransfered, ...) (event.Subscription, error)
- func (_Governance *GovernanceFilterer) WatchNodePublicKeyReplaced(opts *bind.WatchOpts, sink chan<- *GovernanceNodePublicKeyReplaced, ...) (event.Subscription, error)
- func (_Governance *GovernanceFilterer) WatchNodeRemoved(opts *bind.WatchOpts, sink chan<- *GovernanceNodeRemoved, ...) (event.Subscription, error)
- func (_Governance *GovernanceFilterer) WatchReported(opts *bind.WatchOpts, sink chan<- *GovernanceReported, ...) (event.Subscription, error)
- func (_Governance *GovernanceFilterer) WatchStaked(opts *bind.WatchOpts, sink chan<- *GovernanceStaked, ...) (event.Subscription, error)
- func (_Governance *GovernanceFilterer) WatchUnstaked(opts *bind.WatchOpts, sink chan<- *GovernanceUnstaked, ...) (event.Subscription, error)
- func (_Governance *GovernanceFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *GovernanceWithdrawn, ...) (event.Subscription, error)
- type GovernanceFinePaid
- type GovernanceFinePaidIterator
- type GovernanceFined
- type GovernanceFinedIterator
- type GovernanceNodeAdded
- type GovernanceNodeAddedIterator
- type GovernanceNodeOwnershipTransfered
- type GovernanceNodeOwnershipTransferedIterator
- type GovernanceNodePublicKeyReplaced
- type GovernanceNodePublicKeyReplacedIterator
- type GovernanceNodeRemoved
- type GovernanceNodeRemovedIterator
- type GovernanceRaw
- func (_Governance *GovernanceRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Governance *GovernanceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Governance *GovernanceRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GovernanceReported
- type GovernanceReportedIterator
- type GovernanceSession
- func (_Governance *GovernanceSession) AddDKGComplaint(Complaint []byte) (*types.Transaction, error)
- func (_Governance *GovernanceSession) AddDKGFinalize(Finalize []byte) (*types.Transaction, error)
- func (_Governance *GovernanceSession) AddDKGMPKReady(MPKReady []byte) (*types.Transaction, error)
- func (_Governance *GovernanceSession) AddDKGMasterPublicKey(PublicKey []byte) (*types.Transaction, error)
- func (_Governance *GovernanceSession) AddDKGSuccess(Success []byte) (*types.Transaction, error)
- func (_Governance *GovernanceSession) BlockGasLimit() (*big.Int, error)
- func (_Governance *GovernanceSession) Crs() ([32]byte, error)
- func (_Governance *GovernanceSession) CrsRound() (*big.Int, error)
- func (_Governance *GovernanceSession) DkgComplaints(arg0 *big.Int) ([]byte, error)
- func (_Governance *GovernanceSession) DkgComplaintsProposed(arg0 [32]byte) (bool, error)
- func (_Governance *GovernanceSession) DkgFinalizeds(arg0 common.Address) (bool, error)
- func (_Governance *GovernanceSession) DkgFinalizedsCount() (*big.Int, error)
- func (_Governance *GovernanceSession) DkgMPKReadys(arg0 common.Address) (bool, error)
- func (_Governance *GovernanceSession) DkgMPKReadysCount() (*big.Int, error)
- func (_Governance *GovernanceSession) DkgMasterPublicKeyOffset(arg0 [32]byte) (*big.Int, error)
- func (_Governance *GovernanceSession) DkgMasterPublicKeys(arg0 *big.Int) ([]byte, error)
- func (_Governance *GovernanceSession) DkgResetCount(arg0 *big.Int) (*big.Int, error)
- func (_Governance *GovernanceSession) DkgRound() (*big.Int, error)
- func (_Governance *GovernanceSession) DkgSuccesses(arg0 common.Address) (bool, error)
- func (_Governance *GovernanceSession) DkgSuccessesCount() (*big.Int, error)
- func (_Governance *GovernanceSession) FineValues(arg0 *big.Int) (*big.Int, error)
- func (_Governance *GovernanceSession) FinedRecords(arg0 [32]byte) (bool, error)
- func (_Governance *GovernanceSession) LambdaBA() (*big.Int, error)
- func (_Governance *GovernanceSession) LambdaDKG() (*big.Int, error)
- func (_Governance *GovernanceSession) LastHalvedAmount() (*big.Int, error)
- func (_Governance *GovernanceSession) LastProposedHeight(arg0 common.Address) (*big.Int, error)
- func (_Governance *GovernanceSession) LockupPeriod() (*big.Int, error)
- func (_Governance *GovernanceSession) MinBlockInterval() (*big.Int, error)
- func (_Governance *GovernanceSession) MinGasPrice() (*big.Int, error)
- func (_Governance *GovernanceSession) MinStake() (*big.Int, error)
- func (_Governance *GovernanceSession) MiningVelocity() (*big.Int, error)
- func (_Governance *GovernanceSession) NextHalvingSupply() (*big.Int, error)
- func (_Governance *GovernanceSession) Nodes(arg0 *big.Int) (struct{ ... }, error)
- func (_Governance *GovernanceSession) NodesLength() (*big.Int, error)
- func (_Governance *GovernanceSession) NodesOffsetByAddress(arg0 common.Address) (*big.Int, error)
- func (_Governance *GovernanceSession) NodesOffsetByNodeKeyAddress(arg0 common.Address) (*big.Int, error)
- func (_Governance *GovernanceSession) NotaryParamAlpha() (*big.Int, error)
- func (_Governance *GovernanceSession) NotaryParamBeta() (*big.Int, error)
- func (_Governance *GovernanceSession) NotarySetSize() (*big.Int, error)
- func (_Governance *GovernanceSession) Owner() (common.Address, error)
- func (_Governance *GovernanceSession) PayFine(NodeAddress common.Address) (*types.Transaction, error)
- func (_Governance *GovernanceSession) ProposeCRS(Round *big.Int, SignedCRS []byte) (*types.Transaction, error)
- func (_Governance *GovernanceSession) Register(PublicKey []byte, Name string, Email string, Location string, Url string) (*types.Transaction, error)
- func (_Governance *GovernanceSession) ReplaceNodePublicKey(NewPublicKey []byte) (*types.Transaction, error)
- func (_Governance *GovernanceSession) Report(Type *big.Int, Arg1 []byte, Arg2 []byte) (*types.Transaction, error)
- func (_Governance *GovernanceSession) ResetDKG(NewSignedCRS []byte) (*types.Transaction, error)
- func (_Governance *GovernanceSession) RoundHeight(arg0 *big.Int) (*big.Int, error)
- func (_Governance *GovernanceSession) RoundLength() (*big.Int, error)
- func (_Governance *GovernanceSession) Stake() (*types.Transaction, error)
- func (_Governance *GovernanceSession) TotalStaked() (*big.Int, error)
- func (_Governance *GovernanceSession) TotalSupply() (*big.Int, error)
- func (_Governance *GovernanceSession) TransferNodeOwnership(NewOwner common.Address) (*types.Transaction, error)
- func (_Governance *GovernanceSession) TransferNodeOwnershipByFoundation(OldOwner common.Address, NewOwner common.Address) (*types.Transaction, error)
- func (_Governance *GovernanceSession) TransferOwnership(NewOwner common.Address) (*types.Transaction, error)
- func (_Governance *GovernanceSession) Unstake(Amount *big.Int) (*types.Transaction, error)
- func (_Governance *GovernanceSession) UpdateConfiguration(MinStake *big.Int, LockupPeriod *big.Int, MinGasPrice *big.Int, ...) (*types.Transaction, error)
- func (_Governance *GovernanceSession) UpdateNodeInfo(Name string, Email string, Location string, Url string) (*types.Transaction, error)
- func (_Governance *GovernanceSession) Withdraw() (*types.Transaction, error)
- func (_Governance *GovernanceSession) Withdrawable() (bool, error)
- type GovernanceStaked
- type GovernanceStakedIterator
- type GovernanceTransactor
- func (_Governance *GovernanceTransactor) AddDKGComplaint(opts *bind.TransactOpts, Complaint []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) AddDKGFinalize(opts *bind.TransactOpts, Finalize []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) AddDKGMPKReady(opts *bind.TransactOpts, MPKReady []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) AddDKGMasterPublicKey(opts *bind.TransactOpts, PublicKey []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) AddDKGSuccess(opts *bind.TransactOpts, Success []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) PayFine(opts *bind.TransactOpts, NodeAddress common.Address) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) ProposeCRS(opts *bind.TransactOpts, Round *big.Int, SignedCRS []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) Register(opts *bind.TransactOpts, PublicKey []byte, Name string, Email string, ...) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) ReplaceNodePublicKey(opts *bind.TransactOpts, NewPublicKey []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) Report(opts *bind.TransactOpts, Type *big.Int, Arg1 []byte, Arg2 []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) ResetDKG(opts *bind.TransactOpts, NewSignedCRS []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) Stake(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) TransferNodeOwnership(opts *bind.TransactOpts, NewOwner common.Address) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) TransferNodeOwnershipByFoundation(opts *bind.TransactOpts, OldOwner common.Address, NewOwner common.Address) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) TransferOwnership(opts *bind.TransactOpts, NewOwner common.Address) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) Unstake(opts *bind.TransactOpts, Amount *big.Int) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) UpdateConfiguration(opts *bind.TransactOpts, MinStake *big.Int, LockupPeriod *big.Int, ...) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) UpdateNodeInfo(opts *bind.TransactOpts, Name string, Email string, Location string, ...) (*types.Transaction, error)
- func (_Governance *GovernanceTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
- type GovernanceTransactorRaw
- type GovernanceTransactorSession
- func (_Governance *GovernanceTransactorSession) AddDKGComplaint(Complaint []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) AddDKGFinalize(Finalize []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) AddDKGMPKReady(MPKReady []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) AddDKGMasterPublicKey(PublicKey []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) AddDKGSuccess(Success []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) PayFine(NodeAddress common.Address) (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) ProposeCRS(Round *big.Int, SignedCRS []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) Register(PublicKey []byte, Name string, Email string, Location string, Url string) (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) ReplaceNodePublicKey(NewPublicKey []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) Report(Type *big.Int, Arg1 []byte, Arg2 []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) ResetDKG(NewSignedCRS []byte) (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) Stake() (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) TransferNodeOwnership(NewOwner common.Address) (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) TransferNodeOwnershipByFoundation(OldOwner common.Address, NewOwner common.Address) (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) TransferOwnership(NewOwner common.Address) (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) Unstake(Amount *big.Int) (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) UpdateConfiguration(MinStake *big.Int, LockupPeriod *big.Int, MinGasPrice *big.Int, ...) (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) UpdateNodeInfo(Name string, Email string, Location string, Url string) (*types.Transaction, error)
- func (_Governance *GovernanceTransactorSession) Withdraw() (*types.Transaction, error)
- type GovernanceUnstaked
- type GovernanceUnstakedIterator
- type GovernanceWithdrawn
- type GovernanceWithdrawnIterator
- type Monitor
- type NetworkConfig
- type Notifier
Constants ¶
const ( // FINED notes the node is fined FINED uint = iota // INSUFFICIENT_TAN notes the node key with balance < 100 TAN INSUFFICIENT_TAN // INSUFFICIENT_ETH notes the node key with balance < threshold INSUFFICIENT_ETH )
const GovernanceABI = "" /* 15258-byte string literal not displayed */
GovernanceABI is the input ABI used to generate the binding from.
const GovernanceBin = `` /* 13754-byte string literal not displayed */
GovernanceBin is the compiled bytecode used for deploying new contracts.
Variables ¶
var Fifty *big.Int
Fifty is 50 * 10^18
var GovAddress = common.HexToAddress("0x246FcDE58581e2754f215A523C0718C4BFc8041F")
GovAddress is governance address.
var GovernanceFuncSigs = map[string]string{
"ab6a4013": "addDKGComplaint(bytes)",
"29891e74": "addDKGFinalize(bytes)",
"22f8a889": "addDKGMPKReady(bytes)",
"19cf10bc": "addDKGMasterPublicKey(bytes)",
"4ccaa59d": "addDKGSuccess(bytes)",
"7877a797": "blockGasLimit()",
"8a591369": "crs()",
"47731325": "crsRound()",
"8d90a159": "dkgComplaints(uint256)",
"e746714d": "dkgComplaintsProposed(bytes32)",
"70f3ac54": "dkgFinalizeds(address)",
"dd2083d0": "dkgFinalizedsCount()",
"9bc9f489": "dkgMPKReadys(address)",
"b03e75e4": "dkgMPKReadysCount()",
"99aadb9a": "dkgMasterPublicKeyOffset(bytes32)",
"d21abb78": "dkgMasterPublicKeys(uint256)",
"f0771659": "dkgResetCount(uint256)",
"7a8c1c1e": "dkgRound()",
"072bf11a": "dkgSuccesses(address)",
"4cb38c7a": "dkgSuccessesCount()",
"ae1f289d": "fineValues(uint256)",
"a1e460eb": "finedRecords(bytes32)",
"2deb3316": "lambdaBA()",
"a9601a8d": "lambdaDKG()",
"a0488e55": "lastHalvedAmount()",
"d767fdc9": "lastProposedHeight(address)",
"ee947a7c": "lockupPeriod()",
"b3606b56": "minBlockInterval()",
"d96ed505": "minGasPrice()",
"375b3c0a": "minStake()",
"2357e72a": "miningVelocity()",
"8ca55162": "nextHalvingSupply()",
"1c53c280": "nodes(uint256)",
"f33de6c0": "nodesLength()",
"85031123": "nodesOffsetByAddress(address)",
"ed3fbdf9": "nodesOffsetByNodeKeyAddress(address)",
"4c523214": "notaryParamAlpha()",
"1f29f5c8": "notaryParamBeta()",
"0b3441dc": "notarySetSize()",
"8da5cb5b": "owner()",
"3edfa229": "payFine(address)",
"c448af34": "proposeCRS(uint256,bytes)",
"d242f4cc": "register(bytes,string,string,string,string)",
"3f007c20": "replaceNodePublicKey(bytes)",
"320c0826": "report(uint256,bytes,bytes)",
"57316157": "resetDKG(bytes)",
"af58ef06": "roundHeight(uint256)",
"8b649b94": "roundLength()",
"3a4b66f1": "stake()",
"817b1cd2": "totalStaked()",
"18160ddd": "totalSupply()",
"4264ecf9": "transferNodeOwnership(address)",
"7ecfdeca": "transferNodeOwnershipByFoundation(address,address)",
"f2fde38b": "transferOwnership(address)",
"2e17de78": "unstake(uint256)",
"11c7c321": "updateConfiguration(uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256[])",
"c5ea6ea1": "updateNodeInfo(string,string,string,string)",
"3ccfd60b": "withdraw()",
"50188301": "withdrawable()",
}
GovernanceFuncSigs maps the 4-byte function signature to its string representation.
var NetworkConfigMap = map[int64]NetworkConfig{
411: {
WSEndpoint: "wss://mainnet-rpc.tangerine-network.io/ws",
HTTPEndpoint: "https://mainnet-rpc.tangerine-network.io",
EthHTTPEndpoint: "https://mainnet.infura.io/v3/4eb07139b29d41c59b352f21c4c9f526",
Network: "Mainnet",
},
374: {
WSEndpoint: "wss://testnet-rpc.tangerine-network.io/ws",
HTTPEndpoint: "https://testnet-rpc.tangerine-network.io",
EthHTTPEndpoint: "https://rinkeby.infura.io/v3/4eb07139b29d41c59b352f21c4c9f526",
Network: "Testnet",
},
}
NetworkConfigMap represents the system network config mapping.
var OneHundred *big.Int
OneHundred is 100 * 10^18
Functions ¶
This section is empty.
Types ¶
type BlockchainBackend ¶
type BlockchainBackend struct {
// contains filtered or unexported fields
}
BlockchainBackend is the blockchain backend object for fetching blockchain info.
func NewBlockchainBackend ¶
func NewBlockchainBackend(networkID int) *BlockchainBackend
NewBlockchainBackend is the blockchain backend constructor.
func (*BlockchainBackend) BalanceFromAddress ¶
func (b *BlockchainBackend) BalanceFromAddress(conn *ethclient.Client, address common.Address) *big.Int
BalanceFromAddress return address's balance.
func (*BlockchainBackend) FetchFinedNodes ¶
func (b *BlockchainBackend) FetchFinedNodes(nodeChan chan node)
FetchFinedNodes fetches nodes' information from blockchain.
func (*BlockchainBackend) NodeSet ¶
func (b *BlockchainBackend) NodeSet() []node
NodeSet returns the registered nodes.
type Email ¶
type Email struct {
// contains filtered or unexported fields
}
Email is the email notifier object.
type Governance ¶
type Governance struct { GovernanceCaller // Read-only binding to the contract GovernanceTransactor // Write-only binding to the contract GovernanceFilterer // Log filterer for contract events }
Governance is an auto generated Go binding around an Ethereum contract.
func DeployGovernance ¶
func DeployGovernance(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Transaction, *Governance, error)
DeployGovernance deploys a new Ethereum contract, binding an instance of Governance to it.
func NewGovernance ¶
func NewGovernance(address common.Address, backend bind.ContractBackend) (*Governance, error)
NewGovernance creates a new instance of Governance, bound to a specific deployed contract.
type GovernanceCRSProposed ¶
type GovernanceCRSProposed struct { Round *big.Int CRS [32]byte Raw types.Log // Blockchain specific contextual infos }
GovernanceCRSProposed represents a CRSProposed event raised by the Governance contract.
type GovernanceCRSProposedIterator ¶
type GovernanceCRSProposedIterator struct { Event *GovernanceCRSProposed // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernanceCRSProposedIterator is returned from FilterCRSProposed and is used to iterate over the raw logs and unpacked data for CRSProposed events raised by the Governance contract.
func (*GovernanceCRSProposedIterator) Close ¶
func (it *GovernanceCRSProposedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernanceCRSProposedIterator) Error ¶
func (it *GovernanceCRSProposedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernanceCRSProposedIterator) Next ¶
func (it *GovernanceCRSProposedIterator) 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 GovernanceCaller ¶
type GovernanceCaller struct {
// contains filtered or unexported fields
}
GovernanceCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGovernanceCaller ¶
func NewGovernanceCaller(address common.Address, caller bind.ContractCaller) (*GovernanceCaller, error)
NewGovernanceCaller creates a new read-only instance of Governance, bound to a specific deployed contract.
func (*GovernanceCaller) BlockGasLimit ¶
BlockGasLimit is a free data retrieval call binding the contract method 0x7877a797.
Solidity: function blockGasLimit() constant returns(uint256)
func (*GovernanceCaller) Crs ¶
func (_Governance *GovernanceCaller) Crs(opts *bind.CallOpts) ([32]byte, error)
Crs is a free data retrieval call binding the contract method 0x8a591369.
Solidity: function crs() constant returns(bytes32)
func (*GovernanceCaller) CrsRound ¶
CrsRound is a free data retrieval call binding the contract method 0x47731325.
Solidity: function crsRound() constant returns(uint256)
func (*GovernanceCaller) DkgComplaints ¶
func (_Governance *GovernanceCaller) DkgComplaints(opts *bind.CallOpts, arg0 *big.Int) ([]byte, error)
DkgComplaints is a free data retrieval call binding the contract method 0x8d90a159.
Solidity: function dkgComplaints(uint256 ) constant returns(bytes)
func (*GovernanceCaller) DkgComplaintsProposed ¶
func (_Governance *GovernanceCaller) DkgComplaintsProposed(opts *bind.CallOpts, arg0 [32]byte) (bool, error)
DkgComplaintsProposed is a free data retrieval call binding the contract method 0xe746714d.
Solidity: function dkgComplaintsProposed(bytes32 ) constant returns(bool)
func (*GovernanceCaller) DkgFinalizeds ¶
func (_Governance *GovernanceCaller) DkgFinalizeds(opts *bind.CallOpts, arg0 common.Address) (bool, error)
DkgFinalizeds is a free data retrieval call binding the contract method 0x70f3ac54.
Solidity: function dkgFinalizeds(address ) constant returns(bool)
func (*GovernanceCaller) DkgFinalizedsCount ¶
DkgFinalizedsCount is a free data retrieval call binding the contract method 0xdd2083d0.
Solidity: function dkgFinalizedsCount() constant returns(uint256)
func (*GovernanceCaller) DkgMPKReadys ¶
func (_Governance *GovernanceCaller) DkgMPKReadys(opts *bind.CallOpts, arg0 common.Address) (bool, error)
DkgMPKReadys is a free data retrieval call binding the contract method 0x9bc9f489.
Solidity: function dkgMPKReadys(address ) constant returns(bool)
func (*GovernanceCaller) DkgMPKReadysCount ¶
DkgMPKReadysCount is a free data retrieval call binding the contract method 0xb03e75e4.
Solidity: function dkgMPKReadysCount() constant returns(uint256)
func (*GovernanceCaller) DkgMasterPublicKeyOffset ¶
func (_Governance *GovernanceCaller) DkgMasterPublicKeyOffset(opts *bind.CallOpts, arg0 [32]byte) (*big.Int, error)
DkgMasterPublicKeyOffset is a free data retrieval call binding the contract method 0x99aadb9a.
Solidity: function dkgMasterPublicKeyOffset(bytes32 ) constant returns(uint256)
func (*GovernanceCaller) DkgMasterPublicKeys ¶
func (_Governance *GovernanceCaller) DkgMasterPublicKeys(opts *bind.CallOpts, arg0 *big.Int) ([]byte, error)
DkgMasterPublicKeys is a free data retrieval call binding the contract method 0xd21abb78.
Solidity: function dkgMasterPublicKeys(uint256 ) constant returns(bytes)
func (*GovernanceCaller) DkgResetCount ¶
func (_Governance *GovernanceCaller) DkgResetCount(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
DkgResetCount is a free data retrieval call binding the contract method 0xf0771659.
Solidity: function dkgResetCount(uint256 ) constant returns(uint256)
func (*GovernanceCaller) DkgRound ¶
DkgRound is a free data retrieval call binding the contract method 0x7a8c1c1e.
Solidity: function dkgRound() constant returns(uint256)
func (*GovernanceCaller) DkgSuccesses ¶
func (_Governance *GovernanceCaller) DkgSuccesses(opts *bind.CallOpts, arg0 common.Address) (bool, error)
DkgSuccesses is a free data retrieval call binding the contract method 0x072bf11a.
Solidity: function dkgSuccesses(address ) constant returns(bool)
func (*GovernanceCaller) DkgSuccessesCount ¶
DkgSuccessesCount is a free data retrieval call binding the contract method 0x4cb38c7a.
Solidity: function dkgSuccessesCount() constant returns(uint256)
func (*GovernanceCaller) FineValues ¶
func (_Governance *GovernanceCaller) FineValues(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
FineValues is a free data retrieval call binding the contract method 0xae1f289d.
Solidity: function fineValues(uint256 ) constant returns(uint256)
func (*GovernanceCaller) FinedRecords ¶
FinedRecords is a free data retrieval call binding the contract method 0xa1e460eb.
Solidity: function finedRecords(bytes32 ) constant returns(bool)
func (*GovernanceCaller) LambdaBA ¶
LambdaBA is a free data retrieval call binding the contract method 0x2deb3316.
Solidity: function lambdaBA() constant returns(uint256)
func (*GovernanceCaller) LambdaDKG ¶
LambdaDKG is a free data retrieval call binding the contract method 0xa9601a8d.
Solidity: function lambdaDKG() constant returns(uint256)
func (*GovernanceCaller) LastHalvedAmount ¶
LastHalvedAmount is a free data retrieval call binding the contract method 0xa0488e55.
Solidity: function lastHalvedAmount() constant returns(uint256)
func (*GovernanceCaller) LastProposedHeight ¶
func (_Governance *GovernanceCaller) LastProposedHeight(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
LastProposedHeight is a free data retrieval call binding the contract method 0xd767fdc9.
Solidity: function lastProposedHeight(address ) constant returns(uint256)
func (*GovernanceCaller) LockupPeriod ¶
LockupPeriod is a free data retrieval call binding the contract method 0xee947a7c.
Solidity: function lockupPeriod() constant returns(uint256)
func (*GovernanceCaller) MinBlockInterval ¶
MinBlockInterval is a free data retrieval call binding the contract method 0xb3606b56.
Solidity: function minBlockInterval() constant returns(uint256)
func (*GovernanceCaller) MinGasPrice ¶
MinGasPrice is a free data retrieval call binding the contract method 0xd96ed505.
Solidity: function minGasPrice() constant returns(uint256)
func (*GovernanceCaller) MinStake ¶
MinStake is a free data retrieval call binding the contract method 0x375b3c0a.
Solidity: function minStake() constant returns(uint256)
func (*GovernanceCaller) MiningVelocity ¶
MiningVelocity is a free data retrieval call binding the contract method 0x2357e72a.
Solidity: function miningVelocity() constant returns(uint256)
func (*GovernanceCaller) NextHalvingSupply ¶
NextHalvingSupply is a free data retrieval call binding the contract method 0x8ca55162.
Solidity: function nextHalvingSupply() constant returns(uint256)
func (*GovernanceCaller) Nodes ¶
func (_Governance *GovernanceCaller) Nodes(opts *bind.CallOpts, arg0 *big.Int) (struct { Owner common.Address PublicKey []byte Staked *big.Int Fined *big.Int Name string Email string Location string Url string Unstaked *big.Int UnstakedAt *big.Int }, error)
Nodes is a free data retrieval call binding the contract method 0x1c53c280.
Solidity: function nodes(uint256 ) constant returns(address owner, bytes publicKey, uint256 staked, uint256 fined, string name, string email, string location, string url, uint256 unstaked, uint256 unstakedAt)
func (*GovernanceCaller) NodesLength ¶
NodesLength is a free data retrieval call binding the contract method 0xf33de6c0.
Solidity: function nodesLength() constant returns(uint256)
func (*GovernanceCaller) NodesOffsetByAddress ¶
func (_Governance *GovernanceCaller) NodesOffsetByAddress(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
NodesOffsetByAddress is a free data retrieval call binding the contract method 0x85031123.
Solidity: function nodesOffsetByAddress(address ) constant returns(int256)
func (*GovernanceCaller) NodesOffsetByNodeKeyAddress ¶
func (_Governance *GovernanceCaller) NodesOffsetByNodeKeyAddress(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
NodesOffsetByNodeKeyAddress is a free data retrieval call binding the contract method 0xed3fbdf9.
Solidity: function nodesOffsetByNodeKeyAddress(address ) constant returns(int256)
func (*GovernanceCaller) NotaryParamAlpha ¶
NotaryParamAlpha is a free data retrieval call binding the contract method 0x4c523214.
Solidity: function notaryParamAlpha() constant returns(uint256)
func (*GovernanceCaller) NotaryParamBeta ¶
NotaryParamBeta is a free data retrieval call binding the contract method 0x1f29f5c8.
Solidity: function notaryParamBeta() constant returns(uint256)
func (*GovernanceCaller) NotarySetSize ¶
NotarySetSize is a free data retrieval call binding the contract method 0x0b3441dc.
Solidity: function notarySetSize() constant returns(uint256)
func (*GovernanceCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*GovernanceCaller) RoundHeight ¶
func (_Governance *GovernanceCaller) RoundHeight(opts *bind.CallOpts, arg0 *big.Int) (*big.Int, error)
RoundHeight is a free data retrieval call binding the contract method 0xaf58ef06.
Solidity: function roundHeight(uint256 ) constant returns(uint256)
func (*GovernanceCaller) RoundLength ¶
RoundLength is a free data retrieval call binding the contract method 0x8b649b94.
Solidity: function roundLength() constant returns(uint256)
func (*GovernanceCaller) TotalStaked ¶
TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.
Solidity: function totalStaked() constant returns(uint256)
func (*GovernanceCaller) TotalSupply ¶
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*GovernanceCaller) Withdrawable ¶
func (_Governance *GovernanceCaller) Withdrawable(opts *bind.CallOpts) (bool, error)
Withdrawable is a free data retrieval call binding the contract method 0x50188301.
Solidity: function withdrawable() constant returns(bool)
type GovernanceCallerRaw ¶
type GovernanceCallerRaw struct {
Contract *GovernanceCaller // Generic read-only contract binding to access the raw methods on
}
GovernanceCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GovernanceCallerRaw) Call ¶
func (_Governance *GovernanceCallerRaw) 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 GovernanceCallerSession ¶
type GovernanceCallerSession struct { Contract *GovernanceCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
GovernanceCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*GovernanceCallerSession) BlockGasLimit ¶
func (_Governance *GovernanceCallerSession) BlockGasLimit() (*big.Int, error)
BlockGasLimit is a free data retrieval call binding the contract method 0x7877a797.
Solidity: function blockGasLimit() constant returns(uint256)
func (*GovernanceCallerSession) Crs ¶
func (_Governance *GovernanceCallerSession) Crs() ([32]byte, error)
Crs is a free data retrieval call binding the contract method 0x8a591369.
Solidity: function crs() constant returns(bytes32)
func (*GovernanceCallerSession) CrsRound ¶
func (_Governance *GovernanceCallerSession) CrsRound() (*big.Int, error)
CrsRound is a free data retrieval call binding the contract method 0x47731325.
Solidity: function crsRound() constant returns(uint256)
func (*GovernanceCallerSession) DkgComplaints ¶
func (_Governance *GovernanceCallerSession) DkgComplaints(arg0 *big.Int) ([]byte, error)
DkgComplaints is a free data retrieval call binding the contract method 0x8d90a159.
Solidity: function dkgComplaints(uint256 ) constant returns(bytes)
func (*GovernanceCallerSession) DkgComplaintsProposed ¶
func (_Governance *GovernanceCallerSession) DkgComplaintsProposed(arg0 [32]byte) (bool, error)
DkgComplaintsProposed is a free data retrieval call binding the contract method 0xe746714d.
Solidity: function dkgComplaintsProposed(bytes32 ) constant returns(bool)
func (*GovernanceCallerSession) DkgFinalizeds ¶
func (_Governance *GovernanceCallerSession) DkgFinalizeds(arg0 common.Address) (bool, error)
DkgFinalizeds is a free data retrieval call binding the contract method 0x70f3ac54.
Solidity: function dkgFinalizeds(address ) constant returns(bool)
func (*GovernanceCallerSession) DkgFinalizedsCount ¶
func (_Governance *GovernanceCallerSession) DkgFinalizedsCount() (*big.Int, error)
DkgFinalizedsCount is a free data retrieval call binding the contract method 0xdd2083d0.
Solidity: function dkgFinalizedsCount() constant returns(uint256)
func (*GovernanceCallerSession) DkgMPKReadys ¶
func (_Governance *GovernanceCallerSession) DkgMPKReadys(arg0 common.Address) (bool, error)
DkgMPKReadys is a free data retrieval call binding the contract method 0x9bc9f489.
Solidity: function dkgMPKReadys(address ) constant returns(bool)
func (*GovernanceCallerSession) DkgMPKReadysCount ¶
func (_Governance *GovernanceCallerSession) DkgMPKReadysCount() (*big.Int, error)
DkgMPKReadysCount is a free data retrieval call binding the contract method 0xb03e75e4.
Solidity: function dkgMPKReadysCount() constant returns(uint256)
func (*GovernanceCallerSession) DkgMasterPublicKeyOffset ¶
func (_Governance *GovernanceCallerSession) DkgMasterPublicKeyOffset(arg0 [32]byte) (*big.Int, error)
DkgMasterPublicKeyOffset is a free data retrieval call binding the contract method 0x99aadb9a.
Solidity: function dkgMasterPublicKeyOffset(bytes32 ) constant returns(uint256)
func (*GovernanceCallerSession) DkgMasterPublicKeys ¶
func (_Governance *GovernanceCallerSession) DkgMasterPublicKeys(arg0 *big.Int) ([]byte, error)
DkgMasterPublicKeys is a free data retrieval call binding the contract method 0xd21abb78.
Solidity: function dkgMasterPublicKeys(uint256 ) constant returns(bytes)
func (*GovernanceCallerSession) DkgResetCount ¶
DkgResetCount is a free data retrieval call binding the contract method 0xf0771659.
Solidity: function dkgResetCount(uint256 ) constant returns(uint256)
func (*GovernanceCallerSession) DkgRound ¶
func (_Governance *GovernanceCallerSession) DkgRound() (*big.Int, error)
DkgRound is a free data retrieval call binding the contract method 0x7a8c1c1e.
Solidity: function dkgRound() constant returns(uint256)
func (*GovernanceCallerSession) DkgSuccesses ¶
func (_Governance *GovernanceCallerSession) DkgSuccesses(arg0 common.Address) (bool, error)
DkgSuccesses is a free data retrieval call binding the contract method 0x072bf11a.
Solidity: function dkgSuccesses(address ) constant returns(bool)
func (*GovernanceCallerSession) DkgSuccessesCount ¶
func (_Governance *GovernanceCallerSession) DkgSuccessesCount() (*big.Int, error)
DkgSuccessesCount is a free data retrieval call binding the contract method 0x4cb38c7a.
Solidity: function dkgSuccessesCount() constant returns(uint256)
func (*GovernanceCallerSession) FineValues ¶
FineValues is a free data retrieval call binding the contract method 0xae1f289d.
Solidity: function fineValues(uint256 ) constant returns(uint256)
func (*GovernanceCallerSession) FinedRecords ¶
func (_Governance *GovernanceCallerSession) FinedRecords(arg0 [32]byte) (bool, error)
FinedRecords is a free data retrieval call binding the contract method 0xa1e460eb.
Solidity: function finedRecords(bytes32 ) constant returns(bool)
func (*GovernanceCallerSession) LambdaBA ¶
func (_Governance *GovernanceCallerSession) LambdaBA() (*big.Int, error)
LambdaBA is a free data retrieval call binding the contract method 0x2deb3316.
Solidity: function lambdaBA() constant returns(uint256)
func (*GovernanceCallerSession) LambdaDKG ¶
func (_Governance *GovernanceCallerSession) LambdaDKG() (*big.Int, error)
LambdaDKG is a free data retrieval call binding the contract method 0xa9601a8d.
Solidity: function lambdaDKG() constant returns(uint256)
func (*GovernanceCallerSession) LastHalvedAmount ¶
func (_Governance *GovernanceCallerSession) LastHalvedAmount() (*big.Int, error)
LastHalvedAmount is a free data retrieval call binding the contract method 0xa0488e55.
Solidity: function lastHalvedAmount() constant returns(uint256)
func (*GovernanceCallerSession) LastProposedHeight ¶
func (_Governance *GovernanceCallerSession) LastProposedHeight(arg0 common.Address) (*big.Int, error)
LastProposedHeight is a free data retrieval call binding the contract method 0xd767fdc9.
Solidity: function lastProposedHeight(address ) constant returns(uint256)
func (*GovernanceCallerSession) LockupPeriod ¶
func (_Governance *GovernanceCallerSession) LockupPeriod() (*big.Int, error)
LockupPeriod is a free data retrieval call binding the contract method 0xee947a7c.
Solidity: function lockupPeriod() constant returns(uint256)
func (*GovernanceCallerSession) MinBlockInterval ¶
func (_Governance *GovernanceCallerSession) MinBlockInterval() (*big.Int, error)
MinBlockInterval is a free data retrieval call binding the contract method 0xb3606b56.
Solidity: function minBlockInterval() constant returns(uint256)
func (*GovernanceCallerSession) MinGasPrice ¶
func (_Governance *GovernanceCallerSession) MinGasPrice() (*big.Int, error)
MinGasPrice is a free data retrieval call binding the contract method 0xd96ed505.
Solidity: function minGasPrice() constant returns(uint256)
func (*GovernanceCallerSession) MinStake ¶
func (_Governance *GovernanceCallerSession) MinStake() (*big.Int, error)
MinStake is a free data retrieval call binding the contract method 0x375b3c0a.
Solidity: function minStake() constant returns(uint256)
func (*GovernanceCallerSession) MiningVelocity ¶
func (_Governance *GovernanceCallerSession) MiningVelocity() (*big.Int, error)
MiningVelocity is a free data retrieval call binding the contract method 0x2357e72a.
Solidity: function miningVelocity() constant returns(uint256)
func (*GovernanceCallerSession) NextHalvingSupply ¶
func (_Governance *GovernanceCallerSession) NextHalvingSupply() (*big.Int, error)
NextHalvingSupply is a free data retrieval call binding the contract method 0x8ca55162.
Solidity: function nextHalvingSupply() constant returns(uint256)
func (*GovernanceCallerSession) Nodes ¶
func (_Governance *GovernanceCallerSession) Nodes(arg0 *big.Int) (struct { Owner common.Address PublicKey []byte Staked *big.Int Fined *big.Int Name string Email string Location string Url string Unstaked *big.Int UnstakedAt *big.Int }, error)
Nodes is a free data retrieval call binding the contract method 0x1c53c280.
Solidity: function nodes(uint256 ) constant returns(address owner, bytes publicKey, uint256 staked, uint256 fined, string name, string email, string location, string url, uint256 unstaked, uint256 unstakedAt)
func (*GovernanceCallerSession) NodesLength ¶
func (_Governance *GovernanceCallerSession) NodesLength() (*big.Int, error)
NodesLength is a free data retrieval call binding the contract method 0xf33de6c0.
Solidity: function nodesLength() constant returns(uint256)
func (*GovernanceCallerSession) NodesOffsetByAddress ¶
func (_Governance *GovernanceCallerSession) NodesOffsetByAddress(arg0 common.Address) (*big.Int, error)
NodesOffsetByAddress is a free data retrieval call binding the contract method 0x85031123.
Solidity: function nodesOffsetByAddress(address ) constant returns(int256)
func (*GovernanceCallerSession) NodesOffsetByNodeKeyAddress ¶
func (_Governance *GovernanceCallerSession) NodesOffsetByNodeKeyAddress(arg0 common.Address) (*big.Int, error)
NodesOffsetByNodeKeyAddress is a free data retrieval call binding the contract method 0xed3fbdf9.
Solidity: function nodesOffsetByNodeKeyAddress(address ) constant returns(int256)
func (*GovernanceCallerSession) NotaryParamAlpha ¶
func (_Governance *GovernanceCallerSession) NotaryParamAlpha() (*big.Int, error)
NotaryParamAlpha is a free data retrieval call binding the contract method 0x4c523214.
Solidity: function notaryParamAlpha() constant returns(uint256)
func (*GovernanceCallerSession) NotaryParamBeta ¶
func (_Governance *GovernanceCallerSession) NotaryParamBeta() (*big.Int, error)
NotaryParamBeta is a free data retrieval call binding the contract method 0x1f29f5c8.
Solidity: function notaryParamBeta() constant returns(uint256)
func (*GovernanceCallerSession) NotarySetSize ¶
func (_Governance *GovernanceCallerSession) NotarySetSize() (*big.Int, error)
NotarySetSize is a free data retrieval call binding the contract method 0x0b3441dc.
Solidity: function notarySetSize() constant returns(uint256)
func (*GovernanceCallerSession) Owner ¶
func (_Governance *GovernanceCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*GovernanceCallerSession) RoundHeight ¶
RoundHeight is a free data retrieval call binding the contract method 0xaf58ef06.
Solidity: function roundHeight(uint256 ) constant returns(uint256)
func (*GovernanceCallerSession) RoundLength ¶
func (_Governance *GovernanceCallerSession) RoundLength() (*big.Int, error)
RoundLength is a free data retrieval call binding the contract method 0x8b649b94.
Solidity: function roundLength() constant returns(uint256)
func (*GovernanceCallerSession) TotalStaked ¶
func (_Governance *GovernanceCallerSession) TotalStaked() (*big.Int, error)
TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.
Solidity: function totalStaked() constant returns(uint256)
func (*GovernanceCallerSession) TotalSupply ¶
func (_Governance *GovernanceCallerSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*GovernanceCallerSession) Withdrawable ¶
func (_Governance *GovernanceCallerSession) Withdrawable() (bool, error)
Withdrawable is a free data retrieval call binding the contract method 0x50188301.
Solidity: function withdrawable() constant returns(bool)
type GovernanceConfigurationChanged ¶
type GovernanceConfigurationChanged struct {
Raw types.Log // Blockchain specific contextual infos
}
GovernanceConfigurationChanged represents a ConfigurationChanged event raised by the Governance contract.
type GovernanceConfigurationChangedIterator ¶
type GovernanceConfigurationChangedIterator struct { Event *GovernanceConfigurationChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernanceConfigurationChangedIterator is returned from FilterConfigurationChanged and is used to iterate over the raw logs and unpacked data for ConfigurationChanged events raised by the Governance contract.
func (*GovernanceConfigurationChangedIterator) Close ¶
func (it *GovernanceConfigurationChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernanceConfigurationChangedIterator) Error ¶
func (it *GovernanceConfigurationChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernanceConfigurationChangedIterator) Next ¶
func (it *GovernanceConfigurationChangedIterator) 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 GovernanceDKGReset ¶
type GovernanceDKGReset struct { Round *big.Int BlockHeight *big.Int Raw types.Log // Blockchain specific contextual infos }
GovernanceDKGReset represents a DKGReset event raised by the Governance contract.
type GovernanceDKGResetIterator ¶
type GovernanceDKGResetIterator struct { Event *GovernanceDKGReset // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernanceDKGResetIterator is returned from FilterDKGReset and is used to iterate over the raw logs and unpacked data for DKGReset events raised by the Governance contract.
func (*GovernanceDKGResetIterator) Close ¶
func (it *GovernanceDKGResetIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernanceDKGResetIterator) Error ¶
func (it *GovernanceDKGResetIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernanceDKGResetIterator) Next ¶
func (it *GovernanceDKGResetIterator) 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 GovernanceFilterer ¶
type GovernanceFilterer struct {
// contains filtered or unexported fields
}
GovernanceFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGovernanceFilterer ¶
func NewGovernanceFilterer(address common.Address, filterer bind.ContractFilterer) (*GovernanceFilterer, error)
NewGovernanceFilterer creates a new log filterer instance of Governance, bound to a specific deployed contract.
func (*GovernanceFilterer) FilterCRSProposed ¶
func (_Governance *GovernanceFilterer) FilterCRSProposed(opts *bind.FilterOpts, Round []*big.Int) (*GovernanceCRSProposedIterator, error)
FilterCRSProposed is a free log retrieval operation binding the contract event 0xd9b8f7e45cd2897523743eb19fd2021ba458d2962753a38bc31223e9b05ad408.
Solidity: event CRSProposed(uint256 indexed Round, bytes32 CRS)
func (*GovernanceFilterer) FilterConfigurationChanged ¶
func (_Governance *GovernanceFilterer) FilterConfigurationChanged(opts *bind.FilterOpts) (*GovernanceConfigurationChangedIterator, error)
FilterConfigurationChanged is a free log retrieval operation binding the contract event 0xb6aa5c479f96dcbdbe1d8b70883ec95e8799f8e602ee347ed972a22c974b14c0.
Solidity: event ConfigurationChanged()
func (*GovernanceFilterer) FilterDKGReset ¶
func (_Governance *GovernanceFilterer) FilterDKGReset(opts *bind.FilterOpts, Round []*big.Int) (*GovernanceDKGResetIterator, error)
FilterDKGReset is a free log retrieval operation binding the contract event 0x1ef9b10077100d06aefe929eb17ff481feebce38b8a770e5b7d744febfab9f50.
Solidity: event DKGReset(uint256 indexed Round, uint256 BlockHeight)
func (*GovernanceFilterer) FilterFinePaid ¶
func (_Governance *GovernanceFilterer) FilterFinePaid(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceFinePaidIterator, error)
FilterFinePaid is a free log retrieval operation binding the contract event 0x34af8d99a30dafb3157ed162369d603f544a74be3858f8c7ac9e159829589c25.
Solidity: event FinePaid(address indexed NodeAddress, uint256 Amount)
func (*GovernanceFilterer) FilterFined ¶
func (_Governance *GovernanceFilterer) FilterFined(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceFinedIterator, error)
FilterFined is a free log retrieval operation binding the contract event 0x00913d46aef0f0d115d70ea1c7c23198505f577d1d1916cc60710ca2204ae6ae.
Solidity: event Fined(address indexed NodeAddress, uint256 Amount)
func (*GovernanceFilterer) FilterNodeAdded ¶
func (_Governance *GovernanceFilterer) FilterNodeAdded(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceNodeAddedIterator, error)
FilterNodeAdded is a free log retrieval operation binding the contract event 0xb25d03aaf308d7291709be1ea28b800463cf3a9a4c4a5555d7333a964c1dfebd.
Solidity: event NodeAdded(address indexed NodeAddress)
func (*GovernanceFilterer) FilterNodeOwnershipTransfered ¶
func (_Governance *GovernanceFilterer) FilterNodeOwnershipTransfered(opts *bind.FilterOpts, NodeAddress []common.Address, NewOwnerAddress []common.Address) (*GovernanceNodeOwnershipTransferedIterator, error)
FilterNodeOwnershipTransfered is a free log retrieval operation binding the contract event 0x63616cf4caeee172ed91719b5e000da424d56855ee726aedb0a1d74fb3f1db2a.
Solidity: event NodeOwnershipTransfered(address indexed NodeAddress, address indexed NewOwnerAddress)
func (*GovernanceFilterer) FilterNodePublicKeyReplaced ¶
func (_Governance *GovernanceFilterer) FilterNodePublicKeyReplaced(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceNodePublicKeyReplacedIterator, error)
FilterNodePublicKeyReplaced is a free log retrieval operation binding the contract event 0x8aa688c270fa0768c37a1f455f711b6ea1a925f04db9ef433e01dcba78b80432.
Solidity: event NodePublicKeyReplaced(address indexed NodeAddress, bytes PublicKey)
func (*GovernanceFilterer) FilterNodeRemoved ¶
func (_Governance *GovernanceFilterer) FilterNodeRemoved(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceNodeRemovedIterator, error)
FilterNodeRemoved is a free log retrieval operation binding the contract event 0xcfc24166db4bb677e857cacabd1541fb2b30645021b27c5130419589b84db52b.
Solidity: event NodeRemoved(address indexed NodeAddress)
func (*GovernanceFilterer) FilterReported ¶
func (_Governance *GovernanceFilterer) FilterReported(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceReportedIterator, error)
FilterReported is a free log retrieval operation binding the contract event 0x0b4ded2614643cbc6be3ac9a1ed3188f2667636de75ea5250e190ad6af4b43d9.
Solidity: event Reported(address indexed NodeAddress, uint256 Type, bytes Arg1, bytes Arg2)
func (*GovernanceFilterer) FilterStaked ¶
func (_Governance *GovernanceFilterer) FilterStaked(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceStakedIterator, error)
FilterStaked is a free log retrieval operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.
Solidity: event Staked(address indexed NodeAddress, uint256 Amount)
func (*GovernanceFilterer) FilterUnstaked ¶
func (_Governance *GovernanceFilterer) FilterUnstaked(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceUnstakedIterator, error)
FilterUnstaked is a free log retrieval operation binding the contract event 0x0f5bb82176feb1b5e747e28471aa92156a04d9f3ab9f45f28e2d704232b93f75.
Solidity: event Unstaked(address indexed NodeAddress, uint256 Amount)
func (*GovernanceFilterer) FilterWithdrawn ¶
func (_Governance *GovernanceFilterer) FilterWithdrawn(opts *bind.FilterOpts, NodeAddress []common.Address) (*GovernanceWithdrawnIterator, error)
FilterWithdrawn is a free log retrieval operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.
Solidity: event Withdrawn(address indexed NodeAddress, uint256 Amount)
func (*GovernanceFilterer) ParseCRSProposed ¶
func (_Governance *GovernanceFilterer) ParseCRSProposed(log types.Log) (*GovernanceCRSProposed, error)
ParseCRSProposed is a log parse operation binding the contract event 0xd9b8f7e45cd2897523743eb19fd2021ba458d2962753a38bc31223e9b05ad408.
Solidity: event CRSProposed(uint256 indexed Round, bytes32 CRS)
func (*GovernanceFilterer) ParseConfigurationChanged ¶
func (_Governance *GovernanceFilterer) ParseConfigurationChanged(log types.Log) (*GovernanceConfigurationChanged, error)
ParseConfigurationChanged is a log parse operation binding the contract event 0xb6aa5c479f96dcbdbe1d8b70883ec95e8799f8e602ee347ed972a22c974b14c0.
Solidity: event ConfigurationChanged()
func (*GovernanceFilterer) ParseDKGReset ¶
func (_Governance *GovernanceFilterer) ParseDKGReset(log types.Log) (*GovernanceDKGReset, error)
ParseDKGReset is a log parse operation binding the contract event 0x1ef9b10077100d06aefe929eb17ff481feebce38b8a770e5b7d744febfab9f50.
Solidity: event DKGReset(uint256 indexed Round, uint256 BlockHeight)
func (*GovernanceFilterer) ParseFinePaid ¶
func (_Governance *GovernanceFilterer) ParseFinePaid(log types.Log) (*GovernanceFinePaid, error)
ParseFinePaid is a log parse operation binding the contract event 0x34af8d99a30dafb3157ed162369d603f544a74be3858f8c7ac9e159829589c25.
Solidity: event FinePaid(address indexed NodeAddress, uint256 Amount)
func (*GovernanceFilterer) ParseFined ¶
func (_Governance *GovernanceFilterer) ParseFined(log types.Log) (*GovernanceFined, error)
ParseFined is a log parse operation binding the contract event 0x00913d46aef0f0d115d70ea1c7c23198505f577d1d1916cc60710ca2204ae6ae.
Solidity: event Fined(address indexed NodeAddress, uint256 Amount)
func (*GovernanceFilterer) ParseNodeAdded ¶
func (_Governance *GovernanceFilterer) ParseNodeAdded(log types.Log) (*GovernanceNodeAdded, error)
ParseNodeAdded is a log parse operation binding the contract event 0xb25d03aaf308d7291709be1ea28b800463cf3a9a4c4a5555d7333a964c1dfebd.
Solidity: event NodeAdded(address indexed NodeAddress)
func (*GovernanceFilterer) ParseNodeOwnershipTransfered ¶
func (_Governance *GovernanceFilterer) ParseNodeOwnershipTransfered(log types.Log) (*GovernanceNodeOwnershipTransfered, error)
ParseNodeOwnershipTransfered is a log parse operation binding the contract event 0x63616cf4caeee172ed91719b5e000da424d56855ee726aedb0a1d74fb3f1db2a.
Solidity: event NodeOwnershipTransfered(address indexed NodeAddress, address indexed NewOwnerAddress)
func (*GovernanceFilterer) ParseNodePublicKeyReplaced ¶
func (_Governance *GovernanceFilterer) ParseNodePublicKeyReplaced(log types.Log) (*GovernanceNodePublicKeyReplaced, error)
ParseNodePublicKeyReplaced is a log parse operation binding the contract event 0x8aa688c270fa0768c37a1f455f711b6ea1a925f04db9ef433e01dcba78b80432.
Solidity: event NodePublicKeyReplaced(address indexed NodeAddress, bytes PublicKey)
func (*GovernanceFilterer) ParseNodeRemoved ¶
func (_Governance *GovernanceFilterer) ParseNodeRemoved(log types.Log) (*GovernanceNodeRemoved, error)
ParseNodeRemoved is a log parse operation binding the contract event 0xcfc24166db4bb677e857cacabd1541fb2b30645021b27c5130419589b84db52b.
Solidity: event NodeRemoved(address indexed NodeAddress)
func (*GovernanceFilterer) ParseReported ¶
func (_Governance *GovernanceFilterer) ParseReported(log types.Log) (*GovernanceReported, error)
ParseReported is a log parse operation binding the contract event 0x0b4ded2614643cbc6be3ac9a1ed3188f2667636de75ea5250e190ad6af4b43d9.
Solidity: event Reported(address indexed NodeAddress, uint256 Type, bytes Arg1, bytes Arg2)
func (*GovernanceFilterer) ParseStaked ¶
func (_Governance *GovernanceFilterer) ParseStaked(log types.Log) (*GovernanceStaked, error)
ParseStaked is a log parse operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.
Solidity: event Staked(address indexed NodeAddress, uint256 Amount)
func (*GovernanceFilterer) ParseUnstaked ¶
func (_Governance *GovernanceFilterer) ParseUnstaked(log types.Log) (*GovernanceUnstaked, error)
ParseUnstaked is a log parse operation binding the contract event 0x0f5bb82176feb1b5e747e28471aa92156a04d9f3ab9f45f28e2d704232b93f75.
Solidity: event Unstaked(address indexed NodeAddress, uint256 Amount)
func (*GovernanceFilterer) ParseWithdrawn ¶
func (_Governance *GovernanceFilterer) ParseWithdrawn(log types.Log) (*GovernanceWithdrawn, error)
ParseWithdrawn is a log parse operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.
Solidity: event Withdrawn(address indexed NodeAddress, uint256 Amount)
func (*GovernanceFilterer) WatchCRSProposed ¶
func (_Governance *GovernanceFilterer) WatchCRSProposed(opts *bind.WatchOpts, sink chan<- *GovernanceCRSProposed, Round []*big.Int) (event.Subscription, error)
WatchCRSProposed is a free log subscription operation binding the contract event 0xd9b8f7e45cd2897523743eb19fd2021ba458d2962753a38bc31223e9b05ad408.
Solidity: event CRSProposed(uint256 indexed Round, bytes32 CRS)
func (*GovernanceFilterer) WatchConfigurationChanged ¶
func (_Governance *GovernanceFilterer) WatchConfigurationChanged(opts *bind.WatchOpts, sink chan<- *GovernanceConfigurationChanged) (event.Subscription, error)
WatchConfigurationChanged is a free log subscription operation binding the contract event 0xb6aa5c479f96dcbdbe1d8b70883ec95e8799f8e602ee347ed972a22c974b14c0.
Solidity: event ConfigurationChanged()
func (*GovernanceFilterer) WatchDKGReset ¶
func (_Governance *GovernanceFilterer) WatchDKGReset(opts *bind.WatchOpts, sink chan<- *GovernanceDKGReset, Round []*big.Int) (event.Subscription, error)
WatchDKGReset is a free log subscription operation binding the contract event 0x1ef9b10077100d06aefe929eb17ff481feebce38b8a770e5b7d744febfab9f50.
Solidity: event DKGReset(uint256 indexed Round, uint256 BlockHeight)
func (*GovernanceFilterer) WatchFinePaid ¶
func (_Governance *GovernanceFilterer) WatchFinePaid(opts *bind.WatchOpts, sink chan<- *GovernanceFinePaid, NodeAddress []common.Address) (event.Subscription, error)
WatchFinePaid is a free log subscription operation binding the contract event 0x34af8d99a30dafb3157ed162369d603f544a74be3858f8c7ac9e159829589c25.
Solidity: event FinePaid(address indexed NodeAddress, uint256 Amount)
func (*GovernanceFilterer) WatchFined ¶
func (_Governance *GovernanceFilterer) WatchFined(opts *bind.WatchOpts, sink chan<- *GovernanceFined, NodeAddress []common.Address) (event.Subscription, error)
WatchFined is a free log subscription operation binding the contract event 0x00913d46aef0f0d115d70ea1c7c23198505f577d1d1916cc60710ca2204ae6ae.
Solidity: event Fined(address indexed NodeAddress, uint256 Amount)
func (*GovernanceFilterer) WatchNodeAdded ¶
func (_Governance *GovernanceFilterer) WatchNodeAdded(opts *bind.WatchOpts, sink chan<- *GovernanceNodeAdded, NodeAddress []common.Address) (event.Subscription, error)
WatchNodeAdded is a free log subscription operation binding the contract event 0xb25d03aaf308d7291709be1ea28b800463cf3a9a4c4a5555d7333a964c1dfebd.
Solidity: event NodeAdded(address indexed NodeAddress)
func (*GovernanceFilterer) WatchNodeOwnershipTransfered ¶
func (_Governance *GovernanceFilterer) WatchNodeOwnershipTransfered(opts *bind.WatchOpts, sink chan<- *GovernanceNodeOwnershipTransfered, NodeAddress []common.Address, NewOwnerAddress []common.Address) (event.Subscription, error)
WatchNodeOwnershipTransfered is a free log subscription operation binding the contract event 0x63616cf4caeee172ed91719b5e000da424d56855ee726aedb0a1d74fb3f1db2a.
Solidity: event NodeOwnershipTransfered(address indexed NodeAddress, address indexed NewOwnerAddress)
func (*GovernanceFilterer) WatchNodePublicKeyReplaced ¶
func (_Governance *GovernanceFilterer) WatchNodePublicKeyReplaced(opts *bind.WatchOpts, sink chan<- *GovernanceNodePublicKeyReplaced, NodeAddress []common.Address) (event.Subscription, error)
WatchNodePublicKeyReplaced is a free log subscription operation binding the contract event 0x8aa688c270fa0768c37a1f455f711b6ea1a925f04db9ef433e01dcba78b80432.
Solidity: event NodePublicKeyReplaced(address indexed NodeAddress, bytes PublicKey)
func (*GovernanceFilterer) WatchNodeRemoved ¶
func (_Governance *GovernanceFilterer) WatchNodeRemoved(opts *bind.WatchOpts, sink chan<- *GovernanceNodeRemoved, NodeAddress []common.Address) (event.Subscription, error)
WatchNodeRemoved is a free log subscription operation binding the contract event 0xcfc24166db4bb677e857cacabd1541fb2b30645021b27c5130419589b84db52b.
Solidity: event NodeRemoved(address indexed NodeAddress)
func (*GovernanceFilterer) WatchReported ¶
func (_Governance *GovernanceFilterer) WatchReported(opts *bind.WatchOpts, sink chan<- *GovernanceReported, NodeAddress []common.Address) (event.Subscription, error)
WatchReported is a free log subscription operation binding the contract event 0x0b4ded2614643cbc6be3ac9a1ed3188f2667636de75ea5250e190ad6af4b43d9.
Solidity: event Reported(address indexed NodeAddress, uint256 Type, bytes Arg1, bytes Arg2)
func (*GovernanceFilterer) WatchStaked ¶
func (_Governance *GovernanceFilterer) WatchStaked(opts *bind.WatchOpts, sink chan<- *GovernanceStaked, NodeAddress []common.Address) (event.Subscription, error)
WatchStaked is a free log subscription operation binding the contract event 0x9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d.
Solidity: event Staked(address indexed NodeAddress, uint256 Amount)
func (*GovernanceFilterer) WatchUnstaked ¶
func (_Governance *GovernanceFilterer) WatchUnstaked(opts *bind.WatchOpts, sink chan<- *GovernanceUnstaked, NodeAddress []common.Address) (event.Subscription, error)
WatchUnstaked is a free log subscription operation binding the contract event 0x0f5bb82176feb1b5e747e28471aa92156a04d9f3ab9f45f28e2d704232b93f75.
Solidity: event Unstaked(address indexed NodeAddress, uint256 Amount)
func (*GovernanceFilterer) WatchWithdrawn ¶
func (_Governance *GovernanceFilterer) WatchWithdrawn(opts *bind.WatchOpts, sink chan<- *GovernanceWithdrawn, NodeAddress []common.Address) (event.Subscription, error)
WatchWithdrawn is a free log subscription operation binding the contract event 0x7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d5.
Solidity: event Withdrawn(address indexed NodeAddress, uint256 Amount)
type GovernanceFinePaid ¶
type GovernanceFinePaid struct { NodeAddress common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
GovernanceFinePaid represents a FinePaid event raised by the Governance contract.
type GovernanceFinePaidIterator ¶
type GovernanceFinePaidIterator struct { Event *GovernanceFinePaid // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernanceFinePaidIterator is returned from FilterFinePaid and is used to iterate over the raw logs and unpacked data for FinePaid events raised by the Governance contract.
func (*GovernanceFinePaidIterator) Close ¶
func (it *GovernanceFinePaidIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernanceFinePaidIterator) Error ¶
func (it *GovernanceFinePaidIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernanceFinePaidIterator) Next ¶
func (it *GovernanceFinePaidIterator) 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 GovernanceFined ¶
type GovernanceFined struct { NodeAddress common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
GovernanceFined represents a Fined event raised by the Governance contract.
type GovernanceFinedIterator ¶
type GovernanceFinedIterator struct { Event *GovernanceFined // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernanceFinedIterator is returned from FilterFined and is used to iterate over the raw logs and unpacked data for Fined events raised by the Governance contract.
func (*GovernanceFinedIterator) Close ¶
func (it *GovernanceFinedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernanceFinedIterator) Error ¶
func (it *GovernanceFinedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernanceFinedIterator) Next ¶
func (it *GovernanceFinedIterator) 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 GovernanceNodeAdded ¶
type GovernanceNodeAdded struct { NodeAddress common.Address Raw types.Log // Blockchain specific contextual infos }
GovernanceNodeAdded represents a NodeAdded event raised by the Governance contract.
type GovernanceNodeAddedIterator ¶
type GovernanceNodeAddedIterator struct { Event *GovernanceNodeAdded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernanceNodeAddedIterator is returned from FilterNodeAdded and is used to iterate over the raw logs and unpacked data for NodeAdded events raised by the Governance contract.
func (*GovernanceNodeAddedIterator) Close ¶
func (it *GovernanceNodeAddedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernanceNodeAddedIterator) Error ¶
func (it *GovernanceNodeAddedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernanceNodeAddedIterator) Next ¶
func (it *GovernanceNodeAddedIterator) 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 GovernanceNodeOwnershipTransfered ¶
type GovernanceNodeOwnershipTransfered struct { NodeAddress common.Address NewOwnerAddress common.Address Raw types.Log // Blockchain specific contextual infos }
GovernanceNodeOwnershipTransfered represents a NodeOwnershipTransfered event raised by the Governance contract.
type GovernanceNodeOwnershipTransferedIterator ¶
type GovernanceNodeOwnershipTransferedIterator struct { Event *GovernanceNodeOwnershipTransfered // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernanceNodeOwnershipTransferedIterator is returned from FilterNodeOwnershipTransfered and is used to iterate over the raw logs and unpacked data for NodeOwnershipTransfered events raised by the Governance contract.
func (*GovernanceNodeOwnershipTransferedIterator) Close ¶
func (it *GovernanceNodeOwnershipTransferedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernanceNodeOwnershipTransferedIterator) Error ¶
func (it *GovernanceNodeOwnershipTransferedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernanceNodeOwnershipTransferedIterator) Next ¶
func (it *GovernanceNodeOwnershipTransferedIterator) 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 GovernanceNodePublicKeyReplaced ¶
type GovernanceNodePublicKeyReplaced struct { NodeAddress common.Address PublicKey []byte Raw types.Log // Blockchain specific contextual infos }
GovernanceNodePublicKeyReplaced represents a NodePublicKeyReplaced event raised by the Governance contract.
type GovernanceNodePublicKeyReplacedIterator ¶
type GovernanceNodePublicKeyReplacedIterator struct { Event *GovernanceNodePublicKeyReplaced // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernanceNodePublicKeyReplacedIterator is returned from FilterNodePublicKeyReplaced and is used to iterate over the raw logs and unpacked data for NodePublicKeyReplaced events raised by the Governance contract.
func (*GovernanceNodePublicKeyReplacedIterator) Close ¶
func (it *GovernanceNodePublicKeyReplacedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernanceNodePublicKeyReplacedIterator) Error ¶
func (it *GovernanceNodePublicKeyReplacedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernanceNodePublicKeyReplacedIterator) Next ¶
func (it *GovernanceNodePublicKeyReplacedIterator) 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 GovernanceNodeRemoved ¶
type GovernanceNodeRemoved struct { NodeAddress common.Address Raw types.Log // Blockchain specific contextual infos }
GovernanceNodeRemoved represents a NodeRemoved event raised by the Governance contract.
type GovernanceNodeRemovedIterator ¶
type GovernanceNodeRemovedIterator struct { Event *GovernanceNodeRemoved // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernanceNodeRemovedIterator is returned from FilterNodeRemoved and is used to iterate over the raw logs and unpacked data for NodeRemoved events raised by the Governance contract.
func (*GovernanceNodeRemovedIterator) Close ¶
func (it *GovernanceNodeRemovedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernanceNodeRemovedIterator) Error ¶
func (it *GovernanceNodeRemovedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernanceNodeRemovedIterator) Next ¶
func (it *GovernanceNodeRemovedIterator) 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 GovernanceRaw ¶
type GovernanceRaw struct {
Contract *Governance // Generic contract binding to access the raw methods on
}
GovernanceRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GovernanceRaw) Call ¶
func (_Governance *GovernanceRaw) 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 (*GovernanceRaw) Transact ¶
func (_Governance *GovernanceRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GovernanceRaw) Transfer ¶
func (_Governance *GovernanceRaw) 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 GovernanceReported ¶
type GovernanceReported struct { NodeAddress common.Address Type *big.Int Arg1 []byte Arg2 []byte Raw types.Log // Blockchain specific contextual infos }
GovernanceReported represents a Reported event raised by the Governance contract.
type GovernanceReportedIterator ¶
type GovernanceReportedIterator struct { Event *GovernanceReported // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernanceReportedIterator is returned from FilterReported and is used to iterate over the raw logs and unpacked data for Reported events raised by the Governance contract.
func (*GovernanceReportedIterator) Close ¶
func (it *GovernanceReportedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernanceReportedIterator) Error ¶
func (it *GovernanceReportedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernanceReportedIterator) Next ¶
func (it *GovernanceReportedIterator) 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 GovernanceSession ¶
type GovernanceSession struct { Contract *Governance // 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 }
GovernanceSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*GovernanceSession) AddDKGComplaint ¶
func (_Governance *GovernanceSession) AddDKGComplaint(Complaint []byte) (*types.Transaction, error)
AddDKGComplaint is a paid mutator transaction binding the contract method 0xab6a4013.
Solidity: function addDKGComplaint(bytes Complaint) returns()
func (*GovernanceSession) AddDKGFinalize ¶
func (_Governance *GovernanceSession) AddDKGFinalize(Finalize []byte) (*types.Transaction, error)
AddDKGFinalize is a paid mutator transaction binding the contract method 0x29891e74.
Solidity: function addDKGFinalize(bytes Finalize) returns()
func (*GovernanceSession) AddDKGMPKReady ¶
func (_Governance *GovernanceSession) AddDKGMPKReady(MPKReady []byte) (*types.Transaction, error)
AddDKGMPKReady is a paid mutator transaction binding the contract method 0x22f8a889.
Solidity: function addDKGMPKReady(bytes MPKReady) returns()
func (*GovernanceSession) AddDKGMasterPublicKey ¶
func (_Governance *GovernanceSession) AddDKGMasterPublicKey(PublicKey []byte) (*types.Transaction, error)
AddDKGMasterPublicKey is a paid mutator transaction binding the contract method 0x19cf10bc.
Solidity: function addDKGMasterPublicKey(bytes PublicKey) returns()
func (*GovernanceSession) AddDKGSuccess ¶
func (_Governance *GovernanceSession) AddDKGSuccess(Success []byte) (*types.Transaction, error)
AddDKGSuccess is a paid mutator transaction binding the contract method 0x4ccaa59d.
Solidity: function addDKGSuccess(bytes Success) returns()
func (*GovernanceSession) BlockGasLimit ¶
func (_Governance *GovernanceSession) BlockGasLimit() (*big.Int, error)
BlockGasLimit is a free data retrieval call binding the contract method 0x7877a797.
Solidity: function blockGasLimit() constant returns(uint256)
func (*GovernanceSession) Crs ¶
func (_Governance *GovernanceSession) Crs() ([32]byte, error)
Crs is a free data retrieval call binding the contract method 0x8a591369.
Solidity: function crs() constant returns(bytes32)
func (*GovernanceSession) CrsRound ¶
func (_Governance *GovernanceSession) CrsRound() (*big.Int, error)
CrsRound is a free data retrieval call binding the contract method 0x47731325.
Solidity: function crsRound() constant returns(uint256)
func (*GovernanceSession) DkgComplaints ¶
func (_Governance *GovernanceSession) DkgComplaints(arg0 *big.Int) ([]byte, error)
DkgComplaints is a free data retrieval call binding the contract method 0x8d90a159.
Solidity: function dkgComplaints(uint256 ) constant returns(bytes)
func (*GovernanceSession) DkgComplaintsProposed ¶
func (_Governance *GovernanceSession) DkgComplaintsProposed(arg0 [32]byte) (bool, error)
DkgComplaintsProposed is a free data retrieval call binding the contract method 0xe746714d.
Solidity: function dkgComplaintsProposed(bytes32 ) constant returns(bool)
func (*GovernanceSession) DkgFinalizeds ¶
func (_Governance *GovernanceSession) DkgFinalizeds(arg0 common.Address) (bool, error)
DkgFinalizeds is a free data retrieval call binding the contract method 0x70f3ac54.
Solidity: function dkgFinalizeds(address ) constant returns(bool)
func (*GovernanceSession) DkgFinalizedsCount ¶
func (_Governance *GovernanceSession) DkgFinalizedsCount() (*big.Int, error)
DkgFinalizedsCount is a free data retrieval call binding the contract method 0xdd2083d0.
Solidity: function dkgFinalizedsCount() constant returns(uint256)
func (*GovernanceSession) DkgMPKReadys ¶
func (_Governance *GovernanceSession) DkgMPKReadys(arg0 common.Address) (bool, error)
DkgMPKReadys is a free data retrieval call binding the contract method 0x9bc9f489.
Solidity: function dkgMPKReadys(address ) constant returns(bool)
func (*GovernanceSession) DkgMPKReadysCount ¶
func (_Governance *GovernanceSession) DkgMPKReadysCount() (*big.Int, error)
DkgMPKReadysCount is a free data retrieval call binding the contract method 0xb03e75e4.
Solidity: function dkgMPKReadysCount() constant returns(uint256)
func (*GovernanceSession) DkgMasterPublicKeyOffset ¶
func (_Governance *GovernanceSession) DkgMasterPublicKeyOffset(arg0 [32]byte) (*big.Int, error)
DkgMasterPublicKeyOffset is a free data retrieval call binding the contract method 0x99aadb9a.
Solidity: function dkgMasterPublicKeyOffset(bytes32 ) constant returns(uint256)
func (*GovernanceSession) DkgMasterPublicKeys ¶
func (_Governance *GovernanceSession) DkgMasterPublicKeys(arg0 *big.Int) ([]byte, error)
DkgMasterPublicKeys is a free data retrieval call binding the contract method 0xd21abb78.
Solidity: function dkgMasterPublicKeys(uint256 ) constant returns(bytes)
func (*GovernanceSession) DkgResetCount ¶
DkgResetCount is a free data retrieval call binding the contract method 0xf0771659.
Solidity: function dkgResetCount(uint256 ) constant returns(uint256)
func (*GovernanceSession) DkgRound ¶
func (_Governance *GovernanceSession) DkgRound() (*big.Int, error)
DkgRound is a free data retrieval call binding the contract method 0x7a8c1c1e.
Solidity: function dkgRound() constant returns(uint256)
func (*GovernanceSession) DkgSuccesses ¶
func (_Governance *GovernanceSession) DkgSuccesses(arg0 common.Address) (bool, error)
DkgSuccesses is a free data retrieval call binding the contract method 0x072bf11a.
Solidity: function dkgSuccesses(address ) constant returns(bool)
func (*GovernanceSession) DkgSuccessesCount ¶
func (_Governance *GovernanceSession) DkgSuccessesCount() (*big.Int, error)
DkgSuccessesCount is a free data retrieval call binding the contract method 0x4cb38c7a.
Solidity: function dkgSuccessesCount() constant returns(uint256)
func (*GovernanceSession) FineValues ¶
FineValues is a free data retrieval call binding the contract method 0xae1f289d.
Solidity: function fineValues(uint256 ) constant returns(uint256)
func (*GovernanceSession) FinedRecords ¶
func (_Governance *GovernanceSession) FinedRecords(arg0 [32]byte) (bool, error)
FinedRecords is a free data retrieval call binding the contract method 0xa1e460eb.
Solidity: function finedRecords(bytes32 ) constant returns(bool)
func (*GovernanceSession) LambdaBA ¶
func (_Governance *GovernanceSession) LambdaBA() (*big.Int, error)
LambdaBA is a free data retrieval call binding the contract method 0x2deb3316.
Solidity: function lambdaBA() constant returns(uint256)
func (*GovernanceSession) LambdaDKG ¶
func (_Governance *GovernanceSession) LambdaDKG() (*big.Int, error)
LambdaDKG is a free data retrieval call binding the contract method 0xa9601a8d.
Solidity: function lambdaDKG() constant returns(uint256)
func (*GovernanceSession) LastHalvedAmount ¶
func (_Governance *GovernanceSession) LastHalvedAmount() (*big.Int, error)
LastHalvedAmount is a free data retrieval call binding the contract method 0xa0488e55.
Solidity: function lastHalvedAmount() constant returns(uint256)
func (*GovernanceSession) LastProposedHeight ¶
LastProposedHeight is a free data retrieval call binding the contract method 0xd767fdc9.
Solidity: function lastProposedHeight(address ) constant returns(uint256)
func (*GovernanceSession) LockupPeriod ¶
func (_Governance *GovernanceSession) LockupPeriod() (*big.Int, error)
LockupPeriod is a free data retrieval call binding the contract method 0xee947a7c.
Solidity: function lockupPeriod() constant returns(uint256)
func (*GovernanceSession) MinBlockInterval ¶
func (_Governance *GovernanceSession) MinBlockInterval() (*big.Int, error)
MinBlockInterval is a free data retrieval call binding the contract method 0xb3606b56.
Solidity: function minBlockInterval() constant returns(uint256)
func (*GovernanceSession) MinGasPrice ¶
func (_Governance *GovernanceSession) MinGasPrice() (*big.Int, error)
MinGasPrice is a free data retrieval call binding the contract method 0xd96ed505.
Solidity: function minGasPrice() constant returns(uint256)
func (*GovernanceSession) MinStake ¶
func (_Governance *GovernanceSession) MinStake() (*big.Int, error)
MinStake is a free data retrieval call binding the contract method 0x375b3c0a.
Solidity: function minStake() constant returns(uint256)
func (*GovernanceSession) MiningVelocity ¶
func (_Governance *GovernanceSession) MiningVelocity() (*big.Int, error)
MiningVelocity is a free data retrieval call binding the contract method 0x2357e72a.
Solidity: function miningVelocity() constant returns(uint256)
func (*GovernanceSession) NextHalvingSupply ¶
func (_Governance *GovernanceSession) NextHalvingSupply() (*big.Int, error)
NextHalvingSupply is a free data retrieval call binding the contract method 0x8ca55162.
Solidity: function nextHalvingSupply() constant returns(uint256)
func (*GovernanceSession) Nodes ¶
func (_Governance *GovernanceSession) Nodes(arg0 *big.Int) (struct { Owner common.Address PublicKey []byte Staked *big.Int Fined *big.Int Name string Email string Location string Url string Unstaked *big.Int UnstakedAt *big.Int }, error)
Nodes is a free data retrieval call binding the contract method 0x1c53c280.
Solidity: function nodes(uint256 ) constant returns(address owner, bytes publicKey, uint256 staked, uint256 fined, string name, string email, string location, string url, uint256 unstaked, uint256 unstakedAt)
func (*GovernanceSession) NodesLength ¶
func (_Governance *GovernanceSession) NodesLength() (*big.Int, error)
NodesLength is a free data retrieval call binding the contract method 0xf33de6c0.
Solidity: function nodesLength() constant returns(uint256)
func (*GovernanceSession) NodesOffsetByAddress ¶
NodesOffsetByAddress is a free data retrieval call binding the contract method 0x85031123.
Solidity: function nodesOffsetByAddress(address ) constant returns(int256)
func (*GovernanceSession) NodesOffsetByNodeKeyAddress ¶
func (_Governance *GovernanceSession) NodesOffsetByNodeKeyAddress(arg0 common.Address) (*big.Int, error)
NodesOffsetByNodeKeyAddress is a free data retrieval call binding the contract method 0xed3fbdf9.
Solidity: function nodesOffsetByNodeKeyAddress(address ) constant returns(int256)
func (*GovernanceSession) NotaryParamAlpha ¶
func (_Governance *GovernanceSession) NotaryParamAlpha() (*big.Int, error)
NotaryParamAlpha is a free data retrieval call binding the contract method 0x4c523214.
Solidity: function notaryParamAlpha() constant returns(uint256)
func (*GovernanceSession) NotaryParamBeta ¶
func (_Governance *GovernanceSession) NotaryParamBeta() (*big.Int, error)
NotaryParamBeta is a free data retrieval call binding the contract method 0x1f29f5c8.
Solidity: function notaryParamBeta() constant returns(uint256)
func (*GovernanceSession) NotarySetSize ¶
func (_Governance *GovernanceSession) NotarySetSize() (*big.Int, error)
NotarySetSize is a free data retrieval call binding the contract method 0x0b3441dc.
Solidity: function notarySetSize() constant returns(uint256)
func (*GovernanceSession) Owner ¶
func (_Governance *GovernanceSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0x8da5cb5b.
Solidity: function owner() constant returns(address)
func (*GovernanceSession) PayFine ¶
func (_Governance *GovernanceSession) PayFine(NodeAddress common.Address) (*types.Transaction, error)
PayFine is a paid mutator transaction binding the contract method 0x3edfa229.
Solidity: function payFine(address NodeAddress) returns()
func (*GovernanceSession) ProposeCRS ¶
func (_Governance *GovernanceSession) ProposeCRS(Round *big.Int, SignedCRS []byte) (*types.Transaction, error)
ProposeCRS is a paid mutator transaction binding the contract method 0xc448af34.
Solidity: function proposeCRS(uint256 Round, bytes SignedCRS) returns()
func (*GovernanceSession) Register ¶
func (_Governance *GovernanceSession) Register(PublicKey []byte, Name string, Email string, Location string, Url string) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0xd242f4cc.
Solidity: function register(bytes PublicKey, string Name, string Email, string Location, string Url) returns()
func (*GovernanceSession) ReplaceNodePublicKey ¶
func (_Governance *GovernanceSession) ReplaceNodePublicKey(NewPublicKey []byte) (*types.Transaction, error)
ReplaceNodePublicKey is a paid mutator transaction binding the contract method 0x3f007c20.
Solidity: function replaceNodePublicKey(bytes NewPublicKey) returns()
func (*GovernanceSession) Report ¶
func (_Governance *GovernanceSession) Report(Type *big.Int, Arg1 []byte, Arg2 []byte) (*types.Transaction, error)
Report is a paid mutator transaction binding the contract method 0x320c0826.
Solidity: function report(uint256 Type, bytes Arg1, bytes Arg2) returns()
func (*GovernanceSession) ResetDKG ¶
func (_Governance *GovernanceSession) ResetDKG(NewSignedCRS []byte) (*types.Transaction, error)
ResetDKG is a paid mutator transaction binding the contract method 0x57316157.
Solidity: function resetDKG(bytes NewSignedCRS) returns()
func (*GovernanceSession) RoundHeight ¶
RoundHeight is a free data retrieval call binding the contract method 0xaf58ef06.
Solidity: function roundHeight(uint256 ) constant returns(uint256)
func (*GovernanceSession) RoundLength ¶
func (_Governance *GovernanceSession) RoundLength() (*big.Int, error)
RoundLength is a free data retrieval call binding the contract method 0x8b649b94.
Solidity: function roundLength() constant returns(uint256)
func (*GovernanceSession) Stake ¶
func (_Governance *GovernanceSession) Stake() (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0x3a4b66f1.
Solidity: function stake() returns()
func (*GovernanceSession) TotalStaked ¶
func (_Governance *GovernanceSession) TotalStaked() (*big.Int, error)
TotalStaked is a free data retrieval call binding the contract method 0x817b1cd2.
Solidity: function totalStaked() constant returns(uint256)
func (*GovernanceSession) TotalSupply ¶
func (_Governance *GovernanceSession) TotalSupply() (*big.Int, error)
TotalSupply is a free data retrieval call binding the contract method 0x18160ddd.
Solidity: function totalSupply() constant returns(uint256)
func (*GovernanceSession) TransferNodeOwnership ¶
func (_Governance *GovernanceSession) TransferNodeOwnership(NewOwner common.Address) (*types.Transaction, error)
TransferNodeOwnership is a paid mutator transaction binding the contract method 0x4264ecf9.
Solidity: function transferNodeOwnership(address NewOwner) returns()
func (*GovernanceSession) TransferNodeOwnershipByFoundation ¶
func (_Governance *GovernanceSession) TransferNodeOwnershipByFoundation(OldOwner common.Address, NewOwner common.Address) (*types.Transaction, error)
TransferNodeOwnershipByFoundation is a paid mutator transaction binding the contract method 0x7ecfdeca.
Solidity: function transferNodeOwnershipByFoundation(address OldOwner, address NewOwner) returns()
func (*GovernanceSession) TransferOwnership ¶
func (_Governance *GovernanceSession) TransferOwnership(NewOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address NewOwner) returns()
func (*GovernanceSession) Unstake ¶
func (_Governance *GovernanceSession) Unstake(Amount *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0x2e17de78.
Solidity: function unstake(uint256 Amount) returns()
func (*GovernanceSession) UpdateConfiguration ¶
func (_Governance *GovernanceSession) UpdateConfiguration(MinStake *big.Int, LockupPeriod *big.Int, MinGasPrice *big.Int, BlockGasLimit *big.Int, LambdaBA *big.Int, LambdaDKG *big.Int, NotaryParamAlpha *big.Int, NotaryParamBeta *big.Int, RoundLength *big.Int, MinBlockInterval *big.Int, FineValues []*big.Int) (*types.Transaction, error)
UpdateConfiguration is a paid mutator transaction binding the contract method 0x11c7c321.
Solidity: function updateConfiguration(uint256 MinStake, uint256 LockupPeriod, uint256 MinGasPrice, uint256 BlockGasLimit, uint256 LambdaBA, uint256 LambdaDKG, uint256 NotaryParamAlpha, uint256 NotaryParamBeta, uint256 RoundLength, uint256 MinBlockInterval, uint256[] FineValues) returns()
func (*GovernanceSession) UpdateNodeInfo ¶
func (_Governance *GovernanceSession) UpdateNodeInfo(Name string, Email string, Location string, Url string) (*types.Transaction, error)
UpdateNodeInfo is a paid mutator transaction binding the contract method 0xc5ea6ea1.
Solidity: function updateNodeInfo(string Name, string Email, string Location, string Url) returns()
func (*GovernanceSession) Withdraw ¶
func (_Governance *GovernanceSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
func (*GovernanceSession) Withdrawable ¶
func (_Governance *GovernanceSession) Withdrawable() (bool, error)
Withdrawable is a free data retrieval call binding the contract method 0x50188301.
Solidity: function withdrawable() constant returns(bool)
type GovernanceStaked ¶
type GovernanceStaked struct { NodeAddress common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
GovernanceStaked represents a Staked event raised by the Governance contract.
type GovernanceStakedIterator ¶
type GovernanceStakedIterator struct { Event *GovernanceStaked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernanceStakedIterator is returned from FilterStaked and is used to iterate over the raw logs and unpacked data for Staked events raised by the Governance contract.
func (*GovernanceStakedIterator) Close ¶
func (it *GovernanceStakedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernanceStakedIterator) Error ¶
func (it *GovernanceStakedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernanceStakedIterator) Next ¶
func (it *GovernanceStakedIterator) 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 GovernanceTransactor ¶
type GovernanceTransactor struct {
// contains filtered or unexported fields
}
GovernanceTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGovernanceTransactor ¶
func NewGovernanceTransactor(address common.Address, transactor bind.ContractTransactor) (*GovernanceTransactor, error)
NewGovernanceTransactor creates a new write-only instance of Governance, bound to a specific deployed contract.
func (*GovernanceTransactor) AddDKGComplaint ¶
func (_Governance *GovernanceTransactor) AddDKGComplaint(opts *bind.TransactOpts, Complaint []byte) (*types.Transaction, error)
AddDKGComplaint is a paid mutator transaction binding the contract method 0xab6a4013.
Solidity: function addDKGComplaint(bytes Complaint) returns()
func (*GovernanceTransactor) AddDKGFinalize ¶
func (_Governance *GovernanceTransactor) AddDKGFinalize(opts *bind.TransactOpts, Finalize []byte) (*types.Transaction, error)
AddDKGFinalize is a paid mutator transaction binding the contract method 0x29891e74.
Solidity: function addDKGFinalize(bytes Finalize) returns()
func (*GovernanceTransactor) AddDKGMPKReady ¶
func (_Governance *GovernanceTransactor) AddDKGMPKReady(opts *bind.TransactOpts, MPKReady []byte) (*types.Transaction, error)
AddDKGMPKReady is a paid mutator transaction binding the contract method 0x22f8a889.
Solidity: function addDKGMPKReady(bytes MPKReady) returns()
func (*GovernanceTransactor) AddDKGMasterPublicKey ¶
func (_Governance *GovernanceTransactor) AddDKGMasterPublicKey(opts *bind.TransactOpts, PublicKey []byte) (*types.Transaction, error)
AddDKGMasterPublicKey is a paid mutator transaction binding the contract method 0x19cf10bc.
Solidity: function addDKGMasterPublicKey(bytes PublicKey) returns()
func (*GovernanceTransactor) AddDKGSuccess ¶
func (_Governance *GovernanceTransactor) AddDKGSuccess(opts *bind.TransactOpts, Success []byte) (*types.Transaction, error)
AddDKGSuccess is a paid mutator transaction binding the contract method 0x4ccaa59d.
Solidity: function addDKGSuccess(bytes Success) returns()
func (*GovernanceTransactor) PayFine ¶
func (_Governance *GovernanceTransactor) PayFine(opts *bind.TransactOpts, NodeAddress common.Address) (*types.Transaction, error)
PayFine is a paid mutator transaction binding the contract method 0x3edfa229.
Solidity: function payFine(address NodeAddress) returns()
func (*GovernanceTransactor) ProposeCRS ¶
func (_Governance *GovernanceTransactor) ProposeCRS(opts *bind.TransactOpts, Round *big.Int, SignedCRS []byte) (*types.Transaction, error)
ProposeCRS is a paid mutator transaction binding the contract method 0xc448af34.
Solidity: function proposeCRS(uint256 Round, bytes SignedCRS) returns()
func (*GovernanceTransactor) Register ¶
func (_Governance *GovernanceTransactor) Register(opts *bind.TransactOpts, PublicKey []byte, Name string, Email string, Location string, Url string) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0xd242f4cc.
Solidity: function register(bytes PublicKey, string Name, string Email, string Location, string Url) returns()
func (*GovernanceTransactor) ReplaceNodePublicKey ¶
func (_Governance *GovernanceTransactor) ReplaceNodePublicKey(opts *bind.TransactOpts, NewPublicKey []byte) (*types.Transaction, error)
ReplaceNodePublicKey is a paid mutator transaction binding the contract method 0x3f007c20.
Solidity: function replaceNodePublicKey(bytes NewPublicKey) returns()
func (*GovernanceTransactor) Report ¶
func (_Governance *GovernanceTransactor) Report(opts *bind.TransactOpts, Type *big.Int, Arg1 []byte, Arg2 []byte) (*types.Transaction, error)
Report is a paid mutator transaction binding the contract method 0x320c0826.
Solidity: function report(uint256 Type, bytes Arg1, bytes Arg2) returns()
func (*GovernanceTransactor) ResetDKG ¶
func (_Governance *GovernanceTransactor) ResetDKG(opts *bind.TransactOpts, NewSignedCRS []byte) (*types.Transaction, error)
ResetDKG is a paid mutator transaction binding the contract method 0x57316157.
Solidity: function resetDKG(bytes NewSignedCRS) returns()
func (*GovernanceTransactor) Stake ¶
func (_Governance *GovernanceTransactor) Stake(opts *bind.TransactOpts) (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0x3a4b66f1.
Solidity: function stake() returns()
func (*GovernanceTransactor) TransferNodeOwnership ¶
func (_Governance *GovernanceTransactor) TransferNodeOwnership(opts *bind.TransactOpts, NewOwner common.Address) (*types.Transaction, error)
TransferNodeOwnership is a paid mutator transaction binding the contract method 0x4264ecf9.
Solidity: function transferNodeOwnership(address NewOwner) returns()
func (*GovernanceTransactor) TransferNodeOwnershipByFoundation ¶
func (_Governance *GovernanceTransactor) TransferNodeOwnershipByFoundation(opts *bind.TransactOpts, OldOwner common.Address, NewOwner common.Address) (*types.Transaction, error)
TransferNodeOwnershipByFoundation is a paid mutator transaction binding the contract method 0x7ecfdeca.
Solidity: function transferNodeOwnershipByFoundation(address OldOwner, address NewOwner) returns()
func (*GovernanceTransactor) TransferOwnership ¶
func (_Governance *GovernanceTransactor) TransferOwnership(opts *bind.TransactOpts, NewOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address NewOwner) returns()
func (*GovernanceTransactor) Unstake ¶
func (_Governance *GovernanceTransactor) Unstake(opts *bind.TransactOpts, Amount *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0x2e17de78.
Solidity: function unstake(uint256 Amount) returns()
func (*GovernanceTransactor) UpdateConfiguration ¶
func (_Governance *GovernanceTransactor) UpdateConfiguration(opts *bind.TransactOpts, MinStake *big.Int, LockupPeriod *big.Int, MinGasPrice *big.Int, BlockGasLimit *big.Int, LambdaBA *big.Int, LambdaDKG *big.Int, NotaryParamAlpha *big.Int, NotaryParamBeta *big.Int, RoundLength *big.Int, MinBlockInterval *big.Int, FineValues []*big.Int) (*types.Transaction, error)
UpdateConfiguration is a paid mutator transaction binding the contract method 0x11c7c321.
Solidity: function updateConfiguration(uint256 MinStake, uint256 LockupPeriod, uint256 MinGasPrice, uint256 BlockGasLimit, uint256 LambdaBA, uint256 LambdaDKG, uint256 NotaryParamAlpha, uint256 NotaryParamBeta, uint256 RoundLength, uint256 MinBlockInterval, uint256[] FineValues) returns()
func (*GovernanceTransactor) UpdateNodeInfo ¶
func (_Governance *GovernanceTransactor) UpdateNodeInfo(opts *bind.TransactOpts, Name string, Email string, Location string, Url string) (*types.Transaction, error)
UpdateNodeInfo is a paid mutator transaction binding the contract method 0xc5ea6ea1.
Solidity: function updateNodeInfo(string Name, string Email, string Location, string Url) returns()
func (*GovernanceTransactor) Withdraw ¶
func (_Governance *GovernanceTransactor) Withdraw(opts *bind.TransactOpts) (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
type GovernanceTransactorRaw ¶
type GovernanceTransactorRaw struct {
Contract *GovernanceTransactor // Generic write-only contract binding to access the raw methods on
}
GovernanceTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GovernanceTransactorRaw) Transact ¶
func (_Governance *GovernanceTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GovernanceTransactorRaw) Transfer ¶
func (_Governance *GovernanceTransactorRaw) 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 GovernanceTransactorSession ¶
type GovernanceTransactorSession struct { Contract *GovernanceTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GovernanceTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*GovernanceTransactorSession) AddDKGComplaint ¶
func (_Governance *GovernanceTransactorSession) AddDKGComplaint(Complaint []byte) (*types.Transaction, error)
AddDKGComplaint is a paid mutator transaction binding the contract method 0xab6a4013.
Solidity: function addDKGComplaint(bytes Complaint) returns()
func (*GovernanceTransactorSession) AddDKGFinalize ¶
func (_Governance *GovernanceTransactorSession) AddDKGFinalize(Finalize []byte) (*types.Transaction, error)
AddDKGFinalize is a paid mutator transaction binding the contract method 0x29891e74.
Solidity: function addDKGFinalize(bytes Finalize) returns()
func (*GovernanceTransactorSession) AddDKGMPKReady ¶
func (_Governance *GovernanceTransactorSession) AddDKGMPKReady(MPKReady []byte) (*types.Transaction, error)
AddDKGMPKReady is a paid mutator transaction binding the contract method 0x22f8a889.
Solidity: function addDKGMPKReady(bytes MPKReady) returns()
func (*GovernanceTransactorSession) AddDKGMasterPublicKey ¶
func (_Governance *GovernanceTransactorSession) AddDKGMasterPublicKey(PublicKey []byte) (*types.Transaction, error)
AddDKGMasterPublicKey is a paid mutator transaction binding the contract method 0x19cf10bc.
Solidity: function addDKGMasterPublicKey(bytes PublicKey) returns()
func (*GovernanceTransactorSession) AddDKGSuccess ¶
func (_Governance *GovernanceTransactorSession) AddDKGSuccess(Success []byte) (*types.Transaction, error)
AddDKGSuccess is a paid mutator transaction binding the contract method 0x4ccaa59d.
Solidity: function addDKGSuccess(bytes Success) returns()
func (*GovernanceTransactorSession) PayFine ¶
func (_Governance *GovernanceTransactorSession) PayFine(NodeAddress common.Address) (*types.Transaction, error)
PayFine is a paid mutator transaction binding the contract method 0x3edfa229.
Solidity: function payFine(address NodeAddress) returns()
func (*GovernanceTransactorSession) ProposeCRS ¶
func (_Governance *GovernanceTransactorSession) ProposeCRS(Round *big.Int, SignedCRS []byte) (*types.Transaction, error)
ProposeCRS is a paid mutator transaction binding the contract method 0xc448af34.
Solidity: function proposeCRS(uint256 Round, bytes SignedCRS) returns()
func (*GovernanceTransactorSession) Register ¶
func (_Governance *GovernanceTransactorSession) Register(PublicKey []byte, Name string, Email string, Location string, Url string) (*types.Transaction, error)
Register is a paid mutator transaction binding the contract method 0xd242f4cc.
Solidity: function register(bytes PublicKey, string Name, string Email, string Location, string Url) returns()
func (*GovernanceTransactorSession) ReplaceNodePublicKey ¶
func (_Governance *GovernanceTransactorSession) ReplaceNodePublicKey(NewPublicKey []byte) (*types.Transaction, error)
ReplaceNodePublicKey is a paid mutator transaction binding the contract method 0x3f007c20.
Solidity: function replaceNodePublicKey(bytes NewPublicKey) returns()
func (*GovernanceTransactorSession) Report ¶
func (_Governance *GovernanceTransactorSession) Report(Type *big.Int, Arg1 []byte, Arg2 []byte) (*types.Transaction, error)
Report is a paid mutator transaction binding the contract method 0x320c0826.
Solidity: function report(uint256 Type, bytes Arg1, bytes Arg2) returns()
func (*GovernanceTransactorSession) ResetDKG ¶
func (_Governance *GovernanceTransactorSession) ResetDKG(NewSignedCRS []byte) (*types.Transaction, error)
ResetDKG is a paid mutator transaction binding the contract method 0x57316157.
Solidity: function resetDKG(bytes NewSignedCRS) returns()
func (*GovernanceTransactorSession) Stake ¶
func (_Governance *GovernanceTransactorSession) Stake() (*types.Transaction, error)
Stake is a paid mutator transaction binding the contract method 0x3a4b66f1.
Solidity: function stake() returns()
func (*GovernanceTransactorSession) TransferNodeOwnership ¶
func (_Governance *GovernanceTransactorSession) TransferNodeOwnership(NewOwner common.Address) (*types.Transaction, error)
TransferNodeOwnership is a paid mutator transaction binding the contract method 0x4264ecf9.
Solidity: function transferNodeOwnership(address NewOwner) returns()
func (*GovernanceTransactorSession) TransferNodeOwnershipByFoundation ¶
func (_Governance *GovernanceTransactorSession) TransferNodeOwnershipByFoundation(OldOwner common.Address, NewOwner common.Address) (*types.Transaction, error)
TransferNodeOwnershipByFoundation is a paid mutator transaction binding the contract method 0x7ecfdeca.
Solidity: function transferNodeOwnershipByFoundation(address OldOwner, address NewOwner) returns()
func (*GovernanceTransactorSession) TransferOwnership ¶
func (_Governance *GovernanceTransactorSession) TransferOwnership(NewOwner common.Address) (*types.Transaction, error)
TransferOwnership is a paid mutator transaction binding the contract method 0xf2fde38b.
Solidity: function transferOwnership(address NewOwner) returns()
func (*GovernanceTransactorSession) Unstake ¶
func (_Governance *GovernanceTransactorSession) Unstake(Amount *big.Int) (*types.Transaction, error)
Unstake is a paid mutator transaction binding the contract method 0x2e17de78.
Solidity: function unstake(uint256 Amount) returns()
func (*GovernanceTransactorSession) UpdateConfiguration ¶
func (_Governance *GovernanceTransactorSession) UpdateConfiguration(MinStake *big.Int, LockupPeriod *big.Int, MinGasPrice *big.Int, BlockGasLimit *big.Int, LambdaBA *big.Int, LambdaDKG *big.Int, NotaryParamAlpha *big.Int, NotaryParamBeta *big.Int, RoundLength *big.Int, MinBlockInterval *big.Int, FineValues []*big.Int) (*types.Transaction, error)
UpdateConfiguration is a paid mutator transaction binding the contract method 0x11c7c321.
Solidity: function updateConfiguration(uint256 MinStake, uint256 LockupPeriod, uint256 MinGasPrice, uint256 BlockGasLimit, uint256 LambdaBA, uint256 LambdaDKG, uint256 NotaryParamAlpha, uint256 NotaryParamBeta, uint256 RoundLength, uint256 MinBlockInterval, uint256[] FineValues) returns()
func (*GovernanceTransactorSession) UpdateNodeInfo ¶
func (_Governance *GovernanceTransactorSession) UpdateNodeInfo(Name string, Email string, Location string, Url string) (*types.Transaction, error)
UpdateNodeInfo is a paid mutator transaction binding the contract method 0xc5ea6ea1.
Solidity: function updateNodeInfo(string Name, string Email, string Location, string Url) returns()
func (*GovernanceTransactorSession) Withdraw ¶
func (_Governance *GovernanceTransactorSession) Withdraw() (*types.Transaction, error)
Withdraw is a paid mutator transaction binding the contract method 0x3ccfd60b.
Solidity: function withdraw() returns()
type GovernanceUnstaked ¶
type GovernanceUnstaked struct { NodeAddress common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
GovernanceUnstaked represents a Unstaked event raised by the Governance contract.
type GovernanceUnstakedIterator ¶
type GovernanceUnstakedIterator struct { Event *GovernanceUnstaked // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernanceUnstakedIterator is returned from FilterUnstaked and is used to iterate over the raw logs and unpacked data for Unstaked events raised by the Governance contract.
func (*GovernanceUnstakedIterator) Close ¶
func (it *GovernanceUnstakedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernanceUnstakedIterator) Error ¶
func (it *GovernanceUnstakedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernanceUnstakedIterator) Next ¶
func (it *GovernanceUnstakedIterator) 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 GovernanceWithdrawn ¶
type GovernanceWithdrawn struct { NodeAddress common.Address Amount *big.Int Raw types.Log // Blockchain specific contextual infos }
GovernanceWithdrawn represents a Withdrawn event raised by the Governance contract.
type GovernanceWithdrawnIterator ¶
type GovernanceWithdrawnIterator struct { Event *GovernanceWithdrawn // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernanceWithdrawnIterator is returned from FilterWithdrawn and is used to iterate over the raw logs and unpacked data for Withdrawn events raised by the Governance contract.
func (*GovernanceWithdrawnIterator) Close ¶
func (it *GovernanceWithdrawnIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernanceWithdrawnIterator) Error ¶
func (it *GovernanceWithdrawnIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernanceWithdrawnIterator) Next ¶
func (it *GovernanceWithdrawnIterator) 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 Monitor ¶
type Monitor struct {
// contains filtered or unexported fields
}
Monitor is the object to monitor tangerine network.
func NewMonitor ¶
NewMonitor is the constructor for monitor object.