Documentation ¶
Index ¶
- Variables
- type NetworkProposal
- type NetworkProposalAdminChanged
- type NetworkProposalAdminChangedIterator
- type NetworkProposalBeaconUpgraded
- type NetworkProposalBeaconUpgradedIterator
- type NetworkProposalCaller
- func (_NetworkProposal *NetworkProposalCaller) Admin(opts *bind.CallOpts) (common.Address, error)
- func (_NetworkProposal *NetworkProposalCaller) GetVoterIndex(opts *bind.CallOpts, _voter common.Address) (*big.Int, error)
- func (_NetworkProposal *NetworkProposalCaller) GetVoters(opts *bind.CallOpts) ([]common.Address, error)
- func (_NetworkProposal *NetworkProposalCaller) HasVoted(opts *bind.CallOpts, _proposalId [32]byte, _voter common.Address) (bool, error)
- func (_NetworkProposal *NetworkProposalCaller) IsAdmin(opts *bind.CallOpts, _sender common.Address) (bool, error)
- func (_NetworkProposal *NetworkProposalCaller) IsVoter(opts *bind.CallOpts, _sender common.Address) (bool, error)
- func (_NetworkProposal *NetworkProposalCaller) Proposals(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_NetworkProposal *NetworkProposalCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
- func (_NetworkProposal *NetworkProposalCaller) Threshold(opts *bind.CallOpts) (uint8, error)
- func (_NetworkProposal *NetworkProposalCaller) Version(opts *bind.CallOpts) (uint8, error)
- func (_NetworkProposal *NetworkProposalCaller) VoterManager(opts *bind.CallOpts) (common.Address, error)
- type NetworkProposalCallerRaw
- type NetworkProposalCallerSession
- func (_NetworkProposal *NetworkProposalCallerSession) Admin() (common.Address, error)
- func (_NetworkProposal *NetworkProposalCallerSession) GetVoterIndex(_voter common.Address) (*big.Int, error)
- func (_NetworkProposal *NetworkProposalCallerSession) GetVoters() ([]common.Address, error)
- func (_NetworkProposal *NetworkProposalCallerSession) HasVoted(_proposalId [32]byte, _voter common.Address) (bool, error)
- func (_NetworkProposal *NetworkProposalCallerSession) IsAdmin(_sender common.Address) (bool, error)
- func (_NetworkProposal *NetworkProposalCallerSession) IsVoter(_sender common.Address) (bool, error)
- func (_NetworkProposal *NetworkProposalCallerSession) Proposals(arg0 [32]byte) (struct{ ... }, error)
- func (_NetworkProposal *NetworkProposalCallerSession) ProxiableUUID() ([32]byte, error)
- func (_NetworkProposal *NetworkProposalCallerSession) Threshold() (uint8, error)
- func (_NetworkProposal *NetworkProposalCallerSession) Version() (uint8, error)
- func (_NetworkProposal *NetworkProposalCallerSession) VoterManager() (common.Address, error)
- type NetworkProposalFilterer
- func (_NetworkProposal *NetworkProposalFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*NetworkProposalAdminChangedIterator, error)
- func (_NetworkProposal *NetworkProposalFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*NetworkProposalBeaconUpgradedIterator, error)
- func (_NetworkProposal *NetworkProposalFilterer) FilterInitialized(opts *bind.FilterOpts) (*NetworkProposalInitializedIterator, error)
- func (_NetworkProposal *NetworkProposalFilterer) FilterProposalExecuted(opts *bind.FilterOpts, _proposalId [][32]byte) (*NetworkProposalProposalExecutedIterator, error)
- func (_NetworkProposal *NetworkProposalFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*NetworkProposalUpgradedIterator, error)
- func (_NetworkProposal *NetworkProposalFilterer) FilterVoteProposal(opts *bind.FilterOpts, _proposalId [][32]byte) (*NetworkProposalVoteProposalIterator, error)
- func (_NetworkProposal *NetworkProposalFilterer) FilterVoterManagementTakenOver(opts *bind.FilterOpts, _oldManager []common.Address, ...) (*NetworkProposalVoterManagementTakenOverIterator, error)
- func (_NetworkProposal *NetworkProposalFilterer) ParseAdminChanged(log types.Log) (*NetworkProposalAdminChanged, error)
- func (_NetworkProposal *NetworkProposalFilterer) ParseBeaconUpgraded(log types.Log) (*NetworkProposalBeaconUpgraded, error)
- func (_NetworkProposal *NetworkProposalFilterer) ParseInitialized(log types.Log) (*NetworkProposalInitialized, error)
- func (_NetworkProposal *NetworkProposalFilterer) ParseProposalExecuted(log types.Log) (*NetworkProposalProposalExecuted, error)
- func (_NetworkProposal *NetworkProposalFilterer) ParseUpgraded(log types.Log) (*NetworkProposalUpgraded, error)
- func (_NetworkProposal *NetworkProposalFilterer) ParseVoteProposal(log types.Log) (*NetworkProposalVoteProposal, error)
- func (_NetworkProposal *NetworkProposalFilterer) ParseVoterManagementTakenOver(log types.Log) (*NetworkProposalVoterManagementTakenOver, error)
- func (_NetworkProposal *NetworkProposalFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *NetworkProposalAdminChanged) (event.Subscription, error)
- func (_NetworkProposal *NetworkProposalFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *NetworkProposalBeaconUpgraded, ...) (event.Subscription, error)
- func (_NetworkProposal *NetworkProposalFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *NetworkProposalInitialized) (event.Subscription, error)
- func (_NetworkProposal *NetworkProposalFilterer) WatchProposalExecuted(opts *bind.WatchOpts, sink chan<- *NetworkProposalProposalExecuted, ...) (event.Subscription, error)
- func (_NetworkProposal *NetworkProposalFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *NetworkProposalUpgraded, ...) (event.Subscription, error)
- func (_NetworkProposal *NetworkProposalFilterer) WatchVoteProposal(opts *bind.WatchOpts, sink chan<- *NetworkProposalVoteProposal, ...) (event.Subscription, error)
- func (_NetworkProposal *NetworkProposalFilterer) WatchVoterManagementTakenOver(opts *bind.WatchOpts, sink chan<- *NetworkProposalVoterManagementTakenOver, ...) (event.Subscription, error)
- type NetworkProposalInitialized
- type NetworkProposalInitializedIterator
- type NetworkProposalProposalExecuted
- type NetworkProposalProposalExecutedIterator
- type NetworkProposalRaw
- func (_NetworkProposal *NetworkProposalRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_NetworkProposal *NetworkProposalRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type NetworkProposalSession
- func (_NetworkProposal *NetworkProposalSession) AddVoter(_voter common.Address) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalSession) Admin() (common.Address, error)
- func (_NetworkProposal *NetworkProposalSession) BatchExecProposals(_tos []common.Address, _callDatas [][]byte, _proposalFactors []*big.Int) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalSession) ChangeThreshold(_newThreshold *big.Int) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalSession) ExecProposal(_to common.Address, _callData []byte, _proposalFactor *big.Int) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalSession) GetVoterIndex(_voter common.Address) (*big.Int, error)
- func (_NetworkProposal *NetworkProposalSession) GetVoters() ([]common.Address, error)
- func (_NetworkProposal *NetworkProposalSession) HasVoted(_proposalId [32]byte, _voter common.Address) (bool, error)
- func (_NetworkProposal *NetworkProposalSession) Init(_voters []common.Address, _initialThreshold *big.Int, ...) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalSession) IsAdmin(_sender common.Address) (bool, error)
- func (_NetworkProposal *NetworkProposalSession) IsVoter(_sender common.Address) (bool, error)
- func (_NetworkProposal *NetworkProposalSession) Proposals(arg0 [32]byte) (struct{ ... }, error)
- func (_NetworkProposal *NetworkProposalSession) ProxiableUUID() ([32]byte, error)
- func (_NetworkProposal *NetworkProposalSession) Reinit() (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalSession) RemoveVoter(_voter common.Address) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalSession) ReplaceVoters(_newVoters []common.Address, _threshold *big.Int) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalSession) TakeoverVoterManagement(_newVoterManager common.Address, _newVoters []common.Address, ...) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalSession) Threshold() (uint8, error)
- func (_NetworkProposal *NetworkProposalSession) TransferAdmin(_newAdmin common.Address) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalSession) TransferVoterManager(_newVoterManager common.Address) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalSession) Version() (uint8, error)
- func (_NetworkProposal *NetworkProposalSession) VoterManager() (common.Address, error)
- type NetworkProposalTransactor
- func (_NetworkProposal *NetworkProposalTransactor) AddVoter(opts *bind.TransactOpts, _voter common.Address) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactor) BatchExecProposals(opts *bind.TransactOpts, _tos []common.Address, _callDatas [][]byte, ...) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactor) ChangeThreshold(opts *bind.TransactOpts, _newThreshold *big.Int) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactor) ExecProposal(opts *bind.TransactOpts, _to common.Address, _callData []byte, ...) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactor) Init(opts *bind.TransactOpts, _voters []common.Address, _initialThreshold *big.Int, ...) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactor) Reinit(opts *bind.TransactOpts) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactor) RemoveVoter(opts *bind.TransactOpts, _voter common.Address) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactor) ReplaceVoters(opts *bind.TransactOpts, _newVoters []common.Address, _threshold *big.Int) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactor) TakeoverVoterManagement(opts *bind.TransactOpts, _newVoterManager common.Address, ...) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactor) TransferAdmin(opts *bind.TransactOpts, _newAdmin common.Address) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactor) TransferVoterManager(opts *bind.TransactOpts, _newVoterManager common.Address) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
- type NetworkProposalTransactorRaw
- type NetworkProposalTransactorSession
- func (_NetworkProposal *NetworkProposalTransactorSession) AddVoter(_voter common.Address) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactorSession) BatchExecProposals(_tos []common.Address, _callDatas [][]byte, _proposalFactors []*big.Int) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactorSession) ChangeThreshold(_newThreshold *big.Int) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactorSession) ExecProposal(_to common.Address, _callData []byte, _proposalFactor *big.Int) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactorSession) Init(_voters []common.Address, _initialThreshold *big.Int, ...) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactorSession) Reinit() (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactorSession) RemoveVoter(_voter common.Address) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactorSession) ReplaceVoters(_newVoters []common.Address, _threshold *big.Int) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactorSession) TakeoverVoterManagement(_newVoterManager common.Address, _newVoters []common.Address, ...) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactorSession) TransferAdmin(_newAdmin common.Address) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactorSession) TransferVoterManager(_newVoterManager common.Address) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
- func (_NetworkProposal *NetworkProposalTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
- type NetworkProposalUpgraded
- type NetworkProposalUpgradedIterator
- type NetworkProposalVoteProposal
- type NetworkProposalVoteProposalIterator
- type NetworkProposalVoterManagementTakenOver
- type NetworkProposalVoterManagementTakenOverIterator
Constants ¶
This section is empty.
Variables ¶
var NetworkProposalABI = NetworkProposalMetaData.ABI
NetworkProposalABI is the input ABI used to generate the binding from. Deprecated: Use NetworkProposalMetaData.ABI instead.
var NetworkProposalMetaData = &bind.MetaData{
ABI: "[{\"inputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"constructor\"},{\"inputs\":[],\"name\":\"AddressNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyClaimed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyDealedEpoch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyDealedHeight\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyInitialized\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyNotifiedCycle\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AlreadyVoted\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountNotZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountUnmatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"AmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BalanceNotEnough\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"BlockNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CallerNotAllowed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableDepositZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableRewardZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ClaimableWithdrawIndexOverflow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CommissionRateInvalid\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"CycleNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositAmountGTMaxAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"DepositAmountLTMinAmount\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EmptyEntrustedVoters\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"EthAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"FailedToCall\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidMerkleProof\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"InvalidThreshold\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LengthNotMatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LsdTokenAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"LsdTokenCanOnlyUseOnce\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NodeAlreadyExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NodeAlreadyRemoved\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NodeNotClaimable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotAuthorizedLsdToken\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotClaimable\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotPubkeyOwner\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"NotTrustNode\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"ProposalExecFailed\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyAlreadyExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyNumberOverLimit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"PubkeyStatusUnmatch\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"RateChangeOverLimit\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SoloNodeDepositAmountZero\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SoloNodeDepositDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"SubmitBalancesDisabled\",\"type\":\"error\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"min\",\"type\":\"uint256\"}],\"name\":\"TooLow\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"TrustNodeDepositDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"UserDepositDisabled\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VotersDuplicate\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VotersNotEnough\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"VotersNotExist\",\"type\":\"error\"},{\"inputs\":[],\"name\":\"WithdrawIndexEmpty\",\"type\":\"error\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"address\",\"name\":\"previousAdmin\",\"type\":\"address\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"newAdmin\",\"type\":\"address\"}],\"name\":\"AdminChanged\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"beacon\",\"type\":\"address\"}],\"name\":\"BeaconUpgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":false,\"internalType\":\"uint8\",\"name\":\"version\",\"type\":\"uint8\"}],\"name\":\"Initialized\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"}],\"name\":\"ProposalExecuted\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"implementation\",\"type\":\"address\"}],\"name\":\"Upgraded\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"indexed\":false,\"internalType\":\"address\",\"name\":\"_voter\",\"type\":\"address\"}],\"name\":\"VoteProposal\",\"type\":\"event\"},{\"anonymous\":false,\"inputs\":[{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_oldManager\",\"type\":\"address\"},{\"indexed\":true,\"internalType\":\"address\",\"name\":\"_newManager\",\"type\":\"address\"}],\"name\":\"VoterManagementTakenOver\",\"type\":\"event\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_voter\",\"type\":\"address\"}],\"name\":\"addVoter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"admin\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_tos\",\"type\":\"address[]\"},{\"internalType\":\"bytes[]\",\"name\":\"_callDatas\",\"type\":\"bytes[]\"},{\"internalType\":\"uint256[]\",\"name\":\"_proposalFactors\",\"type\":\"uint256[]\"}],\"name\":\"batchExecProposals\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"uint256\",\"name\":\"_newThreshold\",\"type\":\"uint256\"}],\"name\":\"changeThreshold\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_to\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"_callData\",\"type\":\"bytes\"},{\"internalType\":\"uint256\",\"name\":\"_proposalFactor\",\"type\":\"uint256\"}],\"name\":\"execProposal\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_voter\",\"type\":\"address\"}],\"name\":\"getVoterIndex\",\"outputs\":[{\"internalType\":\"uint256\",\"name\":\"\",\"type\":\"uint256\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"getVoters\",\"outputs\":[{\"internalType\":\"address[]\",\"name\":\"\",\"type\":\"address[]\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"_proposalId\",\"type\":\"bytes32\"},{\"internalType\":\"address\",\"name\":\"_voter\",\"type\":\"address\"}],\"name\":\"hasVoted\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_voters\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"_initialThreshold\",\"type\":\"uint256\"},{\"internalType\":\"address\",\"name\":\"_adminAddress\",\"type\":\"address\"},{\"internalType\":\"address\",\"name\":\"_voterManagerAddress\",\"type\":\"address\"}],\"name\":\"init\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"}],\"name\":\"isAdmin\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_sender\",\"type\":\"address\"}],\"name\":\"isVoter\",\"outputs\":[{\"internalType\":\"bool\",\"name\":\"\",\"type\":\"bool\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"name\":\"proposals\",\"outputs\":[{\"internalType\":\"enumINetworkProposal.ProposalStatus\",\"name\":\"_status\",\"type\":\"uint8\"},{\"internalType\":\"uint16\",\"name\":\"_yesVotes\",\"type\":\"uint16\"},{\"internalType\":\"uint8\",\"name\":\"_yesVotesTotal\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"proxiableUUID\",\"outputs\":[{\"internalType\":\"bytes32\",\"name\":\"\",\"type\":\"bytes32\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"reinit\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_voter\",\"type\":\"address\"}],\"name\":\"removeVoter\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address[]\",\"name\":\"_newVoters\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"_threshold\",\"type\":\"uint256\"}],\"name\":\"replaceVoters\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newVoterManager\",\"type\":\"address\"},{\"internalType\":\"address[]\",\"name\":\"_newVoters\",\"type\":\"address[]\"},{\"internalType\":\"uint256\",\"name\":\"_threshold\",\"type\":\"uint256\"}],\"name\":\"takeoverVoterManagement\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"threshold\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newAdmin\",\"type\":\"address\"}],\"name\":\"transferAdmin\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"_newVoterManager\",\"type\":\"address\"}],\"name\":\"transferVoterManager\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"}],\"name\":\"upgradeTo\",\"outputs\":[],\"stateMutability\":\"nonpayable\",\"type\":\"function\"},{\"inputs\":[{\"internalType\":\"address\",\"name\":\"newImplementation\",\"type\":\"address\"},{\"internalType\":\"bytes\",\"name\":\"data\",\"type\":\"bytes\"}],\"name\":\"upgradeToAndCall\",\"outputs\":[],\"stateMutability\":\"payable\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"version\",\"outputs\":[{\"internalType\":\"uint8\",\"name\":\"\",\"type\":\"uint8\"}],\"stateMutability\":\"view\",\"type\":\"function\"},{\"inputs\":[],\"name\":\"voterManager\",\"outputs\":[{\"internalType\":\"address\",\"name\":\"\",\"type\":\"address\"}],\"stateMutability\":\"view\",\"type\":\"function\"}]",
}
NetworkProposalMetaData contains all meta data concerning the NetworkProposal contract.
Functions ¶
This section is empty.
Types ¶
type NetworkProposal ¶
type NetworkProposal struct { NetworkProposalCaller // Read-only binding to the contract NetworkProposalTransactor // Write-only binding to the contract NetworkProposalFilterer // Log filterer for contract events }
NetworkProposal is an auto generated Go binding around an Ethereum contract.
func NewNetworkProposal ¶
func NewNetworkProposal(address common.Address, backend bind.ContractBackend) (*NetworkProposal, error)
NewNetworkProposal creates a new instance of NetworkProposal, bound to a specific deployed contract.
type NetworkProposalAdminChanged ¶
type NetworkProposalAdminChanged struct { PreviousAdmin common.Address NewAdmin common.Address Raw types.Log // Blockchain specific contextual infos }
NetworkProposalAdminChanged represents a AdminChanged event raised by the NetworkProposal contract.
type NetworkProposalAdminChangedIterator ¶
type NetworkProposalAdminChangedIterator struct { Event *NetworkProposalAdminChanged // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NetworkProposalAdminChangedIterator is returned from FilterAdminChanged and is used to iterate over the raw logs and unpacked data for AdminChanged events raised by the NetworkProposal contract.
func (*NetworkProposalAdminChangedIterator) Close ¶
func (it *NetworkProposalAdminChangedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NetworkProposalAdminChangedIterator) Error ¶
func (it *NetworkProposalAdminChangedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NetworkProposalAdminChangedIterator) Next ¶
func (it *NetworkProposalAdminChangedIterator) 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 NetworkProposalBeaconUpgraded ¶
type NetworkProposalBeaconUpgraded struct { Beacon common.Address Raw types.Log // Blockchain specific contextual infos }
NetworkProposalBeaconUpgraded represents a BeaconUpgraded event raised by the NetworkProposal contract.
type NetworkProposalBeaconUpgradedIterator ¶
type NetworkProposalBeaconUpgradedIterator struct { Event *NetworkProposalBeaconUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NetworkProposalBeaconUpgradedIterator is returned from FilterBeaconUpgraded and is used to iterate over the raw logs and unpacked data for BeaconUpgraded events raised by the NetworkProposal contract.
func (*NetworkProposalBeaconUpgradedIterator) Close ¶
func (it *NetworkProposalBeaconUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NetworkProposalBeaconUpgradedIterator) Error ¶
func (it *NetworkProposalBeaconUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NetworkProposalBeaconUpgradedIterator) Next ¶
func (it *NetworkProposalBeaconUpgradedIterator) 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 NetworkProposalCaller ¶
type NetworkProposalCaller struct {
// contains filtered or unexported fields
}
NetworkProposalCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewNetworkProposalCaller ¶
func NewNetworkProposalCaller(address common.Address, caller bind.ContractCaller) (*NetworkProposalCaller, error)
NewNetworkProposalCaller creates a new read-only instance of NetworkProposal, bound to a specific deployed contract.
func (*NetworkProposalCaller) Admin ¶
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*NetworkProposalCaller) GetVoterIndex ¶
func (_NetworkProposal *NetworkProposalCaller) GetVoterIndex(opts *bind.CallOpts, _voter common.Address) (*big.Int, error)
GetVoterIndex is a free data retrieval call binding the contract method 0x7941743a.
Solidity: function getVoterIndex(address _voter) view returns(uint256)
func (*NetworkProposalCaller) GetVoters ¶
func (_NetworkProposal *NetworkProposalCaller) GetVoters(opts *bind.CallOpts) ([]common.Address, error)
GetVoters is a free data retrieval call binding the contract method 0xcdd72253.
Solidity: function getVoters() view returns(address[])
func (*NetworkProposalCaller) HasVoted ¶
func (_NetworkProposal *NetworkProposalCaller) HasVoted(opts *bind.CallOpts, _proposalId [32]byte, _voter common.Address) (bool, error)
HasVoted is a free data retrieval call binding the contract method 0xaadc3b72.
Solidity: function hasVoted(bytes32 _proposalId, address _voter) view returns(bool)
func (*NetworkProposalCaller) IsAdmin ¶
func (_NetworkProposal *NetworkProposalCaller) IsAdmin(opts *bind.CallOpts, _sender common.Address) (bool, error)
IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.
Solidity: function isAdmin(address _sender) view returns(bool)
func (*NetworkProposalCaller) IsVoter ¶
func (_NetworkProposal *NetworkProposalCaller) IsVoter(opts *bind.CallOpts, _sender common.Address) (bool, error)
IsVoter is a free data retrieval call binding the contract method 0xa7771ee3.
Solidity: function isVoter(address _sender) view returns(bool)
func (*NetworkProposalCaller) Proposals ¶
func (_NetworkProposal *NetworkProposalCaller) Proposals(opts *bind.CallOpts, arg0 [32]byte) (struct { Status uint8 YesVotes uint16 YesVotesTotal uint8 }, error)
Proposals is a free data retrieval call binding the contract method 0x32ed5b12.
Solidity: function proposals(bytes32 ) view returns(uint8 _status, uint16 _yesVotes, uint8 _yesVotesTotal)
func (*NetworkProposalCaller) ProxiableUUID ¶
func (_NetworkProposal *NetworkProposalCaller) ProxiableUUID(opts *bind.CallOpts) ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*NetworkProposalCaller) Threshold ¶
func (_NetworkProposal *NetworkProposalCaller) Threshold(opts *bind.CallOpts) (uint8, error)
Threshold is a free data retrieval call binding the contract method 0x42cde4e8.
Solidity: function threshold() view returns(uint8)
func (*NetworkProposalCaller) Version ¶
func (_NetworkProposal *NetworkProposalCaller) Version(opts *bind.CallOpts) (uint8, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(uint8)
func (*NetworkProposalCaller) VoterManager ¶
func (_NetworkProposal *NetworkProposalCaller) VoterManager(opts *bind.CallOpts) (common.Address, error)
VoterManager is a free data retrieval call binding the contract method 0x65910a4f.
Solidity: function voterManager() view returns(address)
type NetworkProposalCallerRaw ¶
type NetworkProposalCallerRaw struct {
Contract *NetworkProposalCaller // Generic read-only contract binding to access the raw methods on
}
NetworkProposalCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*NetworkProposalCallerRaw) Call ¶
func (_NetworkProposal *NetworkProposalCallerRaw) 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 NetworkProposalCallerSession ¶
type NetworkProposalCallerSession struct { Contract *NetworkProposalCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
NetworkProposalCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*NetworkProposalCallerSession) Admin ¶
func (_NetworkProposal *NetworkProposalCallerSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*NetworkProposalCallerSession) GetVoterIndex ¶
func (_NetworkProposal *NetworkProposalCallerSession) GetVoterIndex(_voter common.Address) (*big.Int, error)
GetVoterIndex is a free data retrieval call binding the contract method 0x7941743a.
Solidity: function getVoterIndex(address _voter) view returns(uint256)
func (*NetworkProposalCallerSession) GetVoters ¶
func (_NetworkProposal *NetworkProposalCallerSession) GetVoters() ([]common.Address, error)
GetVoters is a free data retrieval call binding the contract method 0xcdd72253.
Solidity: function getVoters() view returns(address[])
func (*NetworkProposalCallerSession) HasVoted ¶
func (_NetworkProposal *NetworkProposalCallerSession) HasVoted(_proposalId [32]byte, _voter common.Address) (bool, error)
HasVoted is a free data retrieval call binding the contract method 0xaadc3b72.
Solidity: function hasVoted(bytes32 _proposalId, address _voter) view returns(bool)
func (*NetworkProposalCallerSession) IsAdmin ¶
func (_NetworkProposal *NetworkProposalCallerSession) IsAdmin(_sender common.Address) (bool, error)
IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.
Solidity: function isAdmin(address _sender) view returns(bool)
func (*NetworkProposalCallerSession) IsVoter ¶
func (_NetworkProposal *NetworkProposalCallerSession) IsVoter(_sender common.Address) (bool, error)
IsVoter is a free data retrieval call binding the contract method 0xa7771ee3.
Solidity: function isVoter(address _sender) view returns(bool)
func (*NetworkProposalCallerSession) Proposals ¶
func (_NetworkProposal *NetworkProposalCallerSession) Proposals(arg0 [32]byte) (struct { Status uint8 YesVotes uint16 YesVotesTotal uint8 }, error)
Proposals is a free data retrieval call binding the contract method 0x32ed5b12.
Solidity: function proposals(bytes32 ) view returns(uint8 _status, uint16 _yesVotes, uint8 _yesVotesTotal)
func (*NetworkProposalCallerSession) ProxiableUUID ¶
func (_NetworkProposal *NetworkProposalCallerSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*NetworkProposalCallerSession) Threshold ¶
func (_NetworkProposal *NetworkProposalCallerSession) Threshold() (uint8, error)
Threshold is a free data retrieval call binding the contract method 0x42cde4e8.
Solidity: function threshold() view returns(uint8)
func (*NetworkProposalCallerSession) Version ¶
func (_NetworkProposal *NetworkProposalCallerSession) Version() (uint8, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(uint8)
func (*NetworkProposalCallerSession) VoterManager ¶
func (_NetworkProposal *NetworkProposalCallerSession) VoterManager() (common.Address, error)
VoterManager is a free data retrieval call binding the contract method 0x65910a4f.
Solidity: function voterManager() view returns(address)
type NetworkProposalFilterer ¶
type NetworkProposalFilterer struct {
// contains filtered or unexported fields
}
NetworkProposalFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewNetworkProposalFilterer ¶
func NewNetworkProposalFilterer(address common.Address, filterer bind.ContractFilterer) (*NetworkProposalFilterer, error)
NewNetworkProposalFilterer creates a new log filterer instance of NetworkProposal, bound to a specific deployed contract.
func (*NetworkProposalFilterer) FilterAdminChanged ¶
func (_NetworkProposal *NetworkProposalFilterer) FilterAdminChanged(opts *bind.FilterOpts) (*NetworkProposalAdminChangedIterator, error)
FilterAdminChanged is a free log retrieval operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*NetworkProposalFilterer) FilterBeaconUpgraded ¶
func (_NetworkProposal *NetworkProposalFilterer) FilterBeaconUpgraded(opts *bind.FilterOpts, beacon []common.Address) (*NetworkProposalBeaconUpgradedIterator, error)
FilterBeaconUpgraded is a free log retrieval operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*NetworkProposalFilterer) FilterInitialized ¶
func (_NetworkProposal *NetworkProposalFilterer) FilterInitialized(opts *bind.FilterOpts) (*NetworkProposalInitializedIterator, error)
FilterInitialized is a free log retrieval operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*NetworkProposalFilterer) FilterProposalExecuted ¶
func (_NetworkProposal *NetworkProposalFilterer) FilterProposalExecuted(opts *bind.FilterOpts, _proposalId [][32]byte) (*NetworkProposalProposalExecutedIterator, error)
FilterProposalExecuted is a free log retrieval operation binding the contract event 0x7b1bcf1ccf901a11589afff5504d59fd0a53780eed2a952adade0348985139e0.
Solidity: event ProposalExecuted(bytes32 indexed _proposalId)
func (*NetworkProposalFilterer) FilterUpgraded ¶
func (_NetworkProposal *NetworkProposalFilterer) FilterUpgraded(opts *bind.FilterOpts, implementation []common.Address) (*NetworkProposalUpgradedIterator, error)
FilterUpgraded is a free log retrieval operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*NetworkProposalFilterer) FilterVoteProposal ¶
func (_NetworkProposal *NetworkProposalFilterer) FilterVoteProposal(opts *bind.FilterOpts, _proposalId [][32]byte) (*NetworkProposalVoteProposalIterator, error)
FilterVoteProposal is a free log retrieval operation binding the contract event 0x3b58f01618556cdc5e9f7b0f1f6dccbac40024bc1043f589bd4a324e3414cfad.
Solidity: event VoteProposal(bytes32 indexed _proposalId, address _voter)
func (*NetworkProposalFilterer) FilterVoterManagementTakenOver ¶
func (_NetworkProposal *NetworkProposalFilterer) FilterVoterManagementTakenOver(opts *bind.FilterOpts, _oldManager []common.Address, _newManager []common.Address) (*NetworkProposalVoterManagementTakenOverIterator, error)
FilterVoterManagementTakenOver is a free log retrieval operation binding the contract event 0x77cc016861b4e095bccd1c6d24dce5f502f9906d955ddb2b96fb9ea44be9f8a7.
Solidity: event VoterManagementTakenOver(address indexed _oldManager, address indexed _newManager)
func (*NetworkProposalFilterer) ParseAdminChanged ¶
func (_NetworkProposal *NetworkProposalFilterer) ParseAdminChanged(log types.Log) (*NetworkProposalAdminChanged, error)
ParseAdminChanged is a log parse operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*NetworkProposalFilterer) ParseBeaconUpgraded ¶
func (_NetworkProposal *NetworkProposalFilterer) ParseBeaconUpgraded(log types.Log) (*NetworkProposalBeaconUpgraded, error)
ParseBeaconUpgraded is a log parse operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*NetworkProposalFilterer) ParseInitialized ¶
func (_NetworkProposal *NetworkProposalFilterer) ParseInitialized(log types.Log) (*NetworkProposalInitialized, error)
ParseInitialized is a log parse operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*NetworkProposalFilterer) ParseProposalExecuted ¶
func (_NetworkProposal *NetworkProposalFilterer) ParseProposalExecuted(log types.Log) (*NetworkProposalProposalExecuted, error)
ParseProposalExecuted is a log parse operation binding the contract event 0x7b1bcf1ccf901a11589afff5504d59fd0a53780eed2a952adade0348985139e0.
Solidity: event ProposalExecuted(bytes32 indexed _proposalId)
func (*NetworkProposalFilterer) ParseUpgraded ¶
func (_NetworkProposal *NetworkProposalFilterer) ParseUpgraded(log types.Log) (*NetworkProposalUpgraded, error)
ParseUpgraded is a log parse operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*NetworkProposalFilterer) ParseVoteProposal ¶
func (_NetworkProposal *NetworkProposalFilterer) ParseVoteProposal(log types.Log) (*NetworkProposalVoteProposal, error)
ParseVoteProposal is a log parse operation binding the contract event 0x3b58f01618556cdc5e9f7b0f1f6dccbac40024bc1043f589bd4a324e3414cfad.
Solidity: event VoteProposal(bytes32 indexed _proposalId, address _voter)
func (*NetworkProposalFilterer) ParseVoterManagementTakenOver ¶
func (_NetworkProposal *NetworkProposalFilterer) ParseVoterManagementTakenOver(log types.Log) (*NetworkProposalVoterManagementTakenOver, error)
ParseVoterManagementTakenOver is a log parse operation binding the contract event 0x77cc016861b4e095bccd1c6d24dce5f502f9906d955ddb2b96fb9ea44be9f8a7.
Solidity: event VoterManagementTakenOver(address indexed _oldManager, address indexed _newManager)
func (*NetworkProposalFilterer) WatchAdminChanged ¶
func (_NetworkProposal *NetworkProposalFilterer) WatchAdminChanged(opts *bind.WatchOpts, sink chan<- *NetworkProposalAdminChanged) (event.Subscription, error)
WatchAdminChanged is a free log subscription operation binding the contract event 0x7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f.
Solidity: event AdminChanged(address previousAdmin, address newAdmin)
func (*NetworkProposalFilterer) WatchBeaconUpgraded ¶
func (_NetworkProposal *NetworkProposalFilterer) WatchBeaconUpgraded(opts *bind.WatchOpts, sink chan<- *NetworkProposalBeaconUpgraded, beacon []common.Address) (event.Subscription, error)
WatchBeaconUpgraded is a free log subscription operation binding the contract event 0x1cf3b03a6cf19fa2baba4df148e9dcabedea7f8a5c07840e207e5c089be95d3e.
Solidity: event BeaconUpgraded(address indexed beacon)
func (*NetworkProposalFilterer) WatchInitialized ¶
func (_NetworkProposal *NetworkProposalFilterer) WatchInitialized(opts *bind.WatchOpts, sink chan<- *NetworkProposalInitialized) (event.Subscription, error)
WatchInitialized is a free log subscription operation binding the contract event 0x7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498.
Solidity: event Initialized(uint8 version)
func (*NetworkProposalFilterer) WatchProposalExecuted ¶
func (_NetworkProposal *NetworkProposalFilterer) WatchProposalExecuted(opts *bind.WatchOpts, sink chan<- *NetworkProposalProposalExecuted, _proposalId [][32]byte) (event.Subscription, error)
WatchProposalExecuted is a free log subscription operation binding the contract event 0x7b1bcf1ccf901a11589afff5504d59fd0a53780eed2a952adade0348985139e0.
Solidity: event ProposalExecuted(bytes32 indexed _proposalId)
func (*NetworkProposalFilterer) WatchUpgraded ¶
func (_NetworkProposal *NetworkProposalFilterer) WatchUpgraded(opts *bind.WatchOpts, sink chan<- *NetworkProposalUpgraded, implementation []common.Address) (event.Subscription, error)
WatchUpgraded is a free log subscription operation binding the contract event 0xbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b.
Solidity: event Upgraded(address indexed implementation)
func (*NetworkProposalFilterer) WatchVoteProposal ¶
func (_NetworkProposal *NetworkProposalFilterer) WatchVoteProposal(opts *bind.WatchOpts, sink chan<- *NetworkProposalVoteProposal, _proposalId [][32]byte) (event.Subscription, error)
WatchVoteProposal is a free log subscription operation binding the contract event 0x3b58f01618556cdc5e9f7b0f1f6dccbac40024bc1043f589bd4a324e3414cfad.
Solidity: event VoteProposal(bytes32 indexed _proposalId, address _voter)
func (*NetworkProposalFilterer) WatchVoterManagementTakenOver ¶
func (_NetworkProposal *NetworkProposalFilterer) WatchVoterManagementTakenOver(opts *bind.WatchOpts, sink chan<- *NetworkProposalVoterManagementTakenOver, _oldManager []common.Address, _newManager []common.Address) (event.Subscription, error)
WatchVoterManagementTakenOver is a free log subscription operation binding the contract event 0x77cc016861b4e095bccd1c6d24dce5f502f9906d955ddb2b96fb9ea44be9f8a7.
Solidity: event VoterManagementTakenOver(address indexed _oldManager, address indexed _newManager)
type NetworkProposalInitialized ¶
type NetworkProposalInitialized struct { Version uint8 Raw types.Log // Blockchain specific contextual infos }
NetworkProposalInitialized represents a Initialized event raised by the NetworkProposal contract.
type NetworkProposalInitializedIterator ¶
type NetworkProposalInitializedIterator struct { Event *NetworkProposalInitialized // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NetworkProposalInitializedIterator is returned from FilterInitialized and is used to iterate over the raw logs and unpacked data for Initialized events raised by the NetworkProposal contract.
func (*NetworkProposalInitializedIterator) Close ¶
func (it *NetworkProposalInitializedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NetworkProposalInitializedIterator) Error ¶
func (it *NetworkProposalInitializedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NetworkProposalInitializedIterator) Next ¶
func (it *NetworkProposalInitializedIterator) 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 NetworkProposalProposalExecuted ¶
type NetworkProposalProposalExecuted struct { ProposalId [32]byte Raw types.Log // Blockchain specific contextual infos }
NetworkProposalProposalExecuted represents a ProposalExecuted event raised by the NetworkProposal contract.
type NetworkProposalProposalExecutedIterator ¶
type NetworkProposalProposalExecutedIterator struct { Event *NetworkProposalProposalExecuted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NetworkProposalProposalExecutedIterator is returned from FilterProposalExecuted and is used to iterate over the raw logs and unpacked data for ProposalExecuted events raised by the NetworkProposal contract.
func (*NetworkProposalProposalExecutedIterator) Close ¶
func (it *NetworkProposalProposalExecutedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NetworkProposalProposalExecutedIterator) Error ¶
func (it *NetworkProposalProposalExecutedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NetworkProposalProposalExecutedIterator) Next ¶
func (it *NetworkProposalProposalExecutedIterator) 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 NetworkProposalRaw ¶
type NetworkProposalRaw struct {
Contract *NetworkProposal // Generic contract binding to access the raw methods on
}
NetworkProposalRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*NetworkProposalRaw) Call ¶
func (_NetworkProposal *NetworkProposalRaw) 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 (*NetworkProposalRaw) Transact ¶
func (_NetworkProposal *NetworkProposalRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NetworkProposalRaw) Transfer ¶
func (_NetworkProposal *NetworkProposalRaw) 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 NetworkProposalSession ¶
type NetworkProposalSession struct { Contract *NetworkProposal // 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 }
NetworkProposalSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*NetworkProposalSession) AddVoter ¶
func (_NetworkProposal *NetworkProposalSession) AddVoter(_voter common.Address) (*types.Transaction, error)
AddVoter is a paid mutator transaction binding the contract method 0xf4ab9adf.
Solidity: function addVoter(address _voter) returns()
func (*NetworkProposalSession) Admin ¶
func (_NetworkProposal *NetworkProposalSession) Admin() (common.Address, error)
Admin is a free data retrieval call binding the contract method 0xf851a440.
Solidity: function admin() view returns(address)
func (*NetworkProposalSession) BatchExecProposals ¶
func (_NetworkProposal *NetworkProposalSession) BatchExecProposals(_tos []common.Address, _callDatas [][]byte, _proposalFactors []*big.Int) (*types.Transaction, error)
BatchExecProposals is a paid mutator transaction binding the contract method 0x6a32390d.
Solidity: function batchExecProposals(address[] _tos, bytes[] _callDatas, uint256[] _proposalFactors) returns()
func (*NetworkProposalSession) ChangeThreshold ¶
func (_NetworkProposal *NetworkProposalSession) ChangeThreshold(_newThreshold *big.Int) (*types.Transaction, error)
ChangeThreshold is a paid mutator transaction binding the contract method 0x694e80c3.
Solidity: function changeThreshold(uint256 _newThreshold) returns()
func (*NetworkProposalSession) ExecProposal ¶
func (_NetworkProposal *NetworkProposalSession) ExecProposal(_to common.Address, _callData []byte, _proposalFactor *big.Int) (*types.Transaction, error)
ExecProposal is a paid mutator transaction binding the contract method 0x5eb80ef6.
Solidity: function execProposal(address _to, bytes _callData, uint256 _proposalFactor) returns()
func (*NetworkProposalSession) GetVoterIndex ¶
func (_NetworkProposal *NetworkProposalSession) GetVoterIndex(_voter common.Address) (*big.Int, error)
GetVoterIndex is a free data retrieval call binding the contract method 0x7941743a.
Solidity: function getVoterIndex(address _voter) view returns(uint256)
func (*NetworkProposalSession) GetVoters ¶
func (_NetworkProposal *NetworkProposalSession) GetVoters() ([]common.Address, error)
GetVoters is a free data retrieval call binding the contract method 0xcdd72253.
Solidity: function getVoters() view returns(address[])
func (*NetworkProposalSession) HasVoted ¶
func (_NetworkProposal *NetworkProposalSession) HasVoted(_proposalId [32]byte, _voter common.Address) (bool, error)
HasVoted is a free data retrieval call binding the contract method 0xaadc3b72.
Solidity: function hasVoted(bytes32 _proposalId, address _voter) view returns(bool)
func (*NetworkProposalSession) Init ¶
func (_NetworkProposal *NetworkProposalSession) Init(_voters []common.Address, _initialThreshold *big.Int, _adminAddress common.Address, _voterManagerAddress common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x6d844b5c.
Solidity: function init(address[] _voters, uint256 _initialThreshold, address _adminAddress, address _voterManagerAddress) returns()
func (*NetworkProposalSession) IsAdmin ¶
func (_NetworkProposal *NetworkProposalSession) IsAdmin(_sender common.Address) (bool, error)
IsAdmin is a free data retrieval call binding the contract method 0x24d7806c.
Solidity: function isAdmin(address _sender) view returns(bool)
func (*NetworkProposalSession) IsVoter ¶
func (_NetworkProposal *NetworkProposalSession) IsVoter(_sender common.Address) (bool, error)
IsVoter is a free data retrieval call binding the contract method 0xa7771ee3.
Solidity: function isVoter(address _sender) view returns(bool)
func (*NetworkProposalSession) Proposals ¶
func (_NetworkProposal *NetworkProposalSession) Proposals(arg0 [32]byte) (struct { Status uint8 YesVotes uint16 YesVotesTotal uint8 }, error)
Proposals is a free data retrieval call binding the contract method 0x32ed5b12.
Solidity: function proposals(bytes32 ) view returns(uint8 _status, uint16 _yesVotes, uint8 _yesVotesTotal)
func (*NetworkProposalSession) ProxiableUUID ¶
func (_NetworkProposal *NetworkProposalSession) ProxiableUUID() ([32]byte, error)
ProxiableUUID is a free data retrieval call binding the contract method 0x52d1902d.
Solidity: function proxiableUUID() view returns(bytes32)
func (*NetworkProposalSession) Reinit ¶
func (_NetworkProposal *NetworkProposalSession) Reinit() (*types.Transaction, error)
Reinit is a paid mutator transaction binding the contract method 0xc482ceaf.
Solidity: function reinit() returns()
func (*NetworkProposalSession) RemoveVoter ¶
func (_NetworkProposal *NetworkProposalSession) RemoveVoter(_voter common.Address) (*types.Transaction, error)
RemoveVoter is a paid mutator transaction binding the contract method 0x86c1ff68.
Solidity: function removeVoter(address _voter) returns()
func (*NetworkProposalSession) ReplaceVoters ¶
func (_NetworkProposal *NetworkProposalSession) ReplaceVoters(_newVoters []common.Address, _threshold *big.Int) (*types.Transaction, error)
ReplaceVoters is a paid mutator transaction binding the contract method 0x02126d4a.
Solidity: function replaceVoters(address[] _newVoters, uint256 _threshold) returns()
func (*NetworkProposalSession) TakeoverVoterManagement ¶
func (_NetworkProposal *NetworkProposalSession) TakeoverVoterManagement(_newVoterManager common.Address, _newVoters []common.Address, _threshold *big.Int) (*types.Transaction, error)
TakeoverVoterManagement is a paid mutator transaction binding the contract method 0x07ed5464.
Solidity: function takeoverVoterManagement(address _newVoterManager, address[] _newVoters, uint256 _threshold) returns()
func (*NetworkProposalSession) Threshold ¶
func (_NetworkProposal *NetworkProposalSession) Threshold() (uint8, error)
Threshold is a free data retrieval call binding the contract method 0x42cde4e8.
Solidity: function threshold() view returns(uint8)
func (*NetworkProposalSession) TransferAdmin ¶
func (_NetworkProposal *NetworkProposalSession) TransferAdmin(_newAdmin common.Address) (*types.Transaction, error)
TransferAdmin is a paid mutator transaction binding the contract method 0x75829def.
Solidity: function transferAdmin(address _newAdmin) returns()
func (*NetworkProposalSession) TransferVoterManager ¶
func (_NetworkProposal *NetworkProposalSession) TransferVoterManager(_newVoterManager common.Address) (*types.Transaction, error)
TransferVoterManager is a paid mutator transaction binding the contract method 0xb88c35be.
Solidity: function transferVoterManager(address _newVoterManager) returns()
func (*NetworkProposalSession) UpgradeTo ¶
func (_NetworkProposal *NetworkProposalSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*NetworkProposalSession) UpgradeToAndCall ¶
func (_NetworkProposal *NetworkProposalSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
func (*NetworkProposalSession) Version ¶
func (_NetworkProposal *NetworkProposalSession) Version() (uint8, error)
Version is a free data retrieval call binding the contract method 0x54fd4d50.
Solidity: function version() view returns(uint8)
func (*NetworkProposalSession) VoterManager ¶
func (_NetworkProposal *NetworkProposalSession) VoterManager() (common.Address, error)
VoterManager is a free data retrieval call binding the contract method 0x65910a4f.
Solidity: function voterManager() view returns(address)
type NetworkProposalTransactor ¶
type NetworkProposalTransactor struct {
// contains filtered or unexported fields
}
NetworkProposalTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewNetworkProposalTransactor ¶
func NewNetworkProposalTransactor(address common.Address, transactor bind.ContractTransactor) (*NetworkProposalTransactor, error)
NewNetworkProposalTransactor creates a new write-only instance of NetworkProposal, bound to a specific deployed contract.
func (*NetworkProposalTransactor) AddVoter ¶
func (_NetworkProposal *NetworkProposalTransactor) AddVoter(opts *bind.TransactOpts, _voter common.Address) (*types.Transaction, error)
AddVoter is a paid mutator transaction binding the contract method 0xf4ab9adf.
Solidity: function addVoter(address _voter) returns()
func (*NetworkProposalTransactor) BatchExecProposals ¶
func (_NetworkProposal *NetworkProposalTransactor) BatchExecProposals(opts *bind.TransactOpts, _tos []common.Address, _callDatas [][]byte, _proposalFactors []*big.Int) (*types.Transaction, error)
BatchExecProposals is a paid mutator transaction binding the contract method 0x6a32390d.
Solidity: function batchExecProposals(address[] _tos, bytes[] _callDatas, uint256[] _proposalFactors) returns()
func (*NetworkProposalTransactor) ChangeThreshold ¶
func (_NetworkProposal *NetworkProposalTransactor) ChangeThreshold(opts *bind.TransactOpts, _newThreshold *big.Int) (*types.Transaction, error)
ChangeThreshold is a paid mutator transaction binding the contract method 0x694e80c3.
Solidity: function changeThreshold(uint256 _newThreshold) returns()
func (*NetworkProposalTransactor) ExecProposal ¶
func (_NetworkProposal *NetworkProposalTransactor) ExecProposal(opts *bind.TransactOpts, _to common.Address, _callData []byte, _proposalFactor *big.Int) (*types.Transaction, error)
ExecProposal is a paid mutator transaction binding the contract method 0x5eb80ef6.
Solidity: function execProposal(address _to, bytes _callData, uint256 _proposalFactor) returns()
func (*NetworkProposalTransactor) Init ¶
func (_NetworkProposal *NetworkProposalTransactor) Init(opts *bind.TransactOpts, _voters []common.Address, _initialThreshold *big.Int, _adminAddress common.Address, _voterManagerAddress common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x6d844b5c.
Solidity: function init(address[] _voters, uint256 _initialThreshold, address _adminAddress, address _voterManagerAddress) returns()
func (*NetworkProposalTransactor) Reinit ¶
func (_NetworkProposal *NetworkProposalTransactor) Reinit(opts *bind.TransactOpts) (*types.Transaction, error)
Reinit is a paid mutator transaction binding the contract method 0xc482ceaf.
Solidity: function reinit() returns()
func (*NetworkProposalTransactor) RemoveVoter ¶
func (_NetworkProposal *NetworkProposalTransactor) RemoveVoter(opts *bind.TransactOpts, _voter common.Address) (*types.Transaction, error)
RemoveVoter is a paid mutator transaction binding the contract method 0x86c1ff68.
Solidity: function removeVoter(address _voter) returns()
func (*NetworkProposalTransactor) ReplaceVoters ¶
func (_NetworkProposal *NetworkProposalTransactor) ReplaceVoters(opts *bind.TransactOpts, _newVoters []common.Address, _threshold *big.Int) (*types.Transaction, error)
ReplaceVoters is a paid mutator transaction binding the contract method 0x02126d4a.
Solidity: function replaceVoters(address[] _newVoters, uint256 _threshold) returns()
func (*NetworkProposalTransactor) TakeoverVoterManagement ¶
func (_NetworkProposal *NetworkProposalTransactor) TakeoverVoterManagement(opts *bind.TransactOpts, _newVoterManager common.Address, _newVoters []common.Address, _threshold *big.Int) (*types.Transaction, error)
TakeoverVoterManagement is a paid mutator transaction binding the contract method 0x07ed5464.
Solidity: function takeoverVoterManagement(address _newVoterManager, address[] _newVoters, uint256 _threshold) returns()
func (*NetworkProposalTransactor) TransferAdmin ¶
func (_NetworkProposal *NetworkProposalTransactor) TransferAdmin(opts *bind.TransactOpts, _newAdmin common.Address) (*types.Transaction, error)
TransferAdmin is a paid mutator transaction binding the contract method 0x75829def.
Solidity: function transferAdmin(address _newAdmin) returns()
func (*NetworkProposalTransactor) TransferVoterManager ¶
func (_NetworkProposal *NetworkProposalTransactor) TransferVoterManager(opts *bind.TransactOpts, _newVoterManager common.Address) (*types.Transaction, error)
TransferVoterManager is a paid mutator transaction binding the contract method 0xb88c35be.
Solidity: function transferVoterManager(address _newVoterManager) returns()
func (*NetworkProposalTransactor) UpgradeTo ¶
func (_NetworkProposal *NetworkProposalTransactor) UpgradeTo(opts *bind.TransactOpts, newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*NetworkProposalTransactor) UpgradeToAndCall ¶
func (_NetworkProposal *NetworkProposalTransactor) UpgradeToAndCall(opts *bind.TransactOpts, newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type NetworkProposalTransactorRaw ¶
type NetworkProposalTransactorRaw struct {
Contract *NetworkProposalTransactor // Generic write-only contract binding to access the raw methods on
}
NetworkProposalTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*NetworkProposalTransactorRaw) Transact ¶
func (_NetworkProposal *NetworkProposalTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*NetworkProposalTransactorRaw) Transfer ¶
func (_NetworkProposal *NetworkProposalTransactorRaw) 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 NetworkProposalTransactorSession ¶
type NetworkProposalTransactorSession struct { Contract *NetworkProposalTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
NetworkProposalTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*NetworkProposalTransactorSession) AddVoter ¶
func (_NetworkProposal *NetworkProposalTransactorSession) AddVoter(_voter common.Address) (*types.Transaction, error)
AddVoter is a paid mutator transaction binding the contract method 0xf4ab9adf.
Solidity: function addVoter(address _voter) returns()
func (*NetworkProposalTransactorSession) BatchExecProposals ¶
func (_NetworkProposal *NetworkProposalTransactorSession) BatchExecProposals(_tos []common.Address, _callDatas [][]byte, _proposalFactors []*big.Int) (*types.Transaction, error)
BatchExecProposals is a paid mutator transaction binding the contract method 0x6a32390d.
Solidity: function batchExecProposals(address[] _tos, bytes[] _callDatas, uint256[] _proposalFactors) returns()
func (*NetworkProposalTransactorSession) ChangeThreshold ¶
func (_NetworkProposal *NetworkProposalTransactorSession) ChangeThreshold(_newThreshold *big.Int) (*types.Transaction, error)
ChangeThreshold is a paid mutator transaction binding the contract method 0x694e80c3.
Solidity: function changeThreshold(uint256 _newThreshold) returns()
func (*NetworkProposalTransactorSession) ExecProposal ¶
func (_NetworkProposal *NetworkProposalTransactorSession) ExecProposal(_to common.Address, _callData []byte, _proposalFactor *big.Int) (*types.Transaction, error)
ExecProposal is a paid mutator transaction binding the contract method 0x5eb80ef6.
Solidity: function execProposal(address _to, bytes _callData, uint256 _proposalFactor) returns()
func (*NetworkProposalTransactorSession) Init ¶
func (_NetworkProposal *NetworkProposalTransactorSession) Init(_voters []common.Address, _initialThreshold *big.Int, _adminAddress common.Address, _voterManagerAddress common.Address) (*types.Transaction, error)
Init is a paid mutator transaction binding the contract method 0x6d844b5c.
Solidity: function init(address[] _voters, uint256 _initialThreshold, address _adminAddress, address _voterManagerAddress) returns()
func (*NetworkProposalTransactorSession) Reinit ¶
func (_NetworkProposal *NetworkProposalTransactorSession) Reinit() (*types.Transaction, error)
Reinit is a paid mutator transaction binding the contract method 0xc482ceaf.
Solidity: function reinit() returns()
func (*NetworkProposalTransactorSession) RemoveVoter ¶
func (_NetworkProposal *NetworkProposalTransactorSession) RemoveVoter(_voter common.Address) (*types.Transaction, error)
RemoveVoter is a paid mutator transaction binding the contract method 0x86c1ff68.
Solidity: function removeVoter(address _voter) returns()
func (*NetworkProposalTransactorSession) ReplaceVoters ¶
func (_NetworkProposal *NetworkProposalTransactorSession) ReplaceVoters(_newVoters []common.Address, _threshold *big.Int) (*types.Transaction, error)
ReplaceVoters is a paid mutator transaction binding the contract method 0x02126d4a.
Solidity: function replaceVoters(address[] _newVoters, uint256 _threshold) returns()
func (*NetworkProposalTransactorSession) TakeoverVoterManagement ¶
func (_NetworkProposal *NetworkProposalTransactorSession) TakeoverVoterManagement(_newVoterManager common.Address, _newVoters []common.Address, _threshold *big.Int) (*types.Transaction, error)
TakeoverVoterManagement is a paid mutator transaction binding the contract method 0x07ed5464.
Solidity: function takeoverVoterManagement(address _newVoterManager, address[] _newVoters, uint256 _threshold) returns()
func (*NetworkProposalTransactorSession) TransferAdmin ¶
func (_NetworkProposal *NetworkProposalTransactorSession) TransferAdmin(_newAdmin common.Address) (*types.Transaction, error)
TransferAdmin is a paid mutator transaction binding the contract method 0x75829def.
Solidity: function transferAdmin(address _newAdmin) returns()
func (*NetworkProposalTransactorSession) TransferVoterManager ¶
func (_NetworkProposal *NetworkProposalTransactorSession) TransferVoterManager(_newVoterManager common.Address) (*types.Transaction, error)
TransferVoterManager is a paid mutator transaction binding the contract method 0xb88c35be.
Solidity: function transferVoterManager(address _newVoterManager) returns()
func (*NetworkProposalTransactorSession) UpgradeTo ¶
func (_NetworkProposal *NetworkProposalTransactorSession) UpgradeTo(newImplementation common.Address) (*types.Transaction, error)
UpgradeTo is a paid mutator transaction binding the contract method 0x3659cfe6.
Solidity: function upgradeTo(address newImplementation) returns()
func (*NetworkProposalTransactorSession) UpgradeToAndCall ¶
func (_NetworkProposal *NetworkProposalTransactorSession) UpgradeToAndCall(newImplementation common.Address, data []byte) (*types.Transaction, error)
UpgradeToAndCall is a paid mutator transaction binding the contract method 0x4f1ef286.
Solidity: function upgradeToAndCall(address newImplementation, bytes data) payable returns()
type NetworkProposalUpgraded ¶
type NetworkProposalUpgraded struct { Implementation common.Address Raw types.Log // Blockchain specific contextual infos }
NetworkProposalUpgraded represents a Upgraded event raised by the NetworkProposal contract.
type NetworkProposalUpgradedIterator ¶
type NetworkProposalUpgradedIterator struct { Event *NetworkProposalUpgraded // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NetworkProposalUpgradedIterator is returned from FilterUpgraded and is used to iterate over the raw logs and unpacked data for Upgraded events raised by the NetworkProposal contract.
func (*NetworkProposalUpgradedIterator) Close ¶
func (it *NetworkProposalUpgradedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NetworkProposalUpgradedIterator) Error ¶
func (it *NetworkProposalUpgradedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NetworkProposalUpgradedIterator) Next ¶
func (it *NetworkProposalUpgradedIterator) 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 NetworkProposalVoteProposal ¶
type NetworkProposalVoteProposal struct { ProposalId [32]byte Voter common.Address Raw types.Log // Blockchain specific contextual infos }
NetworkProposalVoteProposal represents a VoteProposal event raised by the NetworkProposal contract.
type NetworkProposalVoteProposalIterator ¶
type NetworkProposalVoteProposalIterator struct { Event *NetworkProposalVoteProposal // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NetworkProposalVoteProposalIterator is returned from FilterVoteProposal and is used to iterate over the raw logs and unpacked data for VoteProposal events raised by the NetworkProposal contract.
func (*NetworkProposalVoteProposalIterator) Close ¶
func (it *NetworkProposalVoteProposalIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NetworkProposalVoteProposalIterator) Error ¶
func (it *NetworkProposalVoteProposalIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NetworkProposalVoteProposalIterator) Next ¶
func (it *NetworkProposalVoteProposalIterator) 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 NetworkProposalVoterManagementTakenOver ¶
type NetworkProposalVoterManagementTakenOver struct { OldManager common.Address NewManager common.Address Raw types.Log // Blockchain specific contextual infos }
NetworkProposalVoterManagementTakenOver represents a VoterManagementTakenOver event raised by the NetworkProposal contract.
type NetworkProposalVoterManagementTakenOverIterator ¶
type NetworkProposalVoterManagementTakenOverIterator struct { Event *NetworkProposalVoterManagementTakenOver // Event containing the contract specifics and raw log // contains filtered or unexported fields }
NetworkProposalVoterManagementTakenOverIterator is returned from FilterVoterManagementTakenOver and is used to iterate over the raw logs and unpacked data for VoterManagementTakenOver events raised by the NetworkProposal contract.
func (*NetworkProposalVoterManagementTakenOverIterator) Close ¶
func (it *NetworkProposalVoterManagementTakenOverIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*NetworkProposalVoterManagementTakenOverIterator) Error ¶
func (it *NetworkProposalVoterManagementTakenOverIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*NetworkProposalVoterManagementTakenOverIterator) Next ¶
func (it *NetworkProposalVoterManagementTakenOverIterator) 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.