Documentation ¶
Index ¶
- Constants
- Variables
- func AsyncDeployCommittee(auth *bind.TransactOpts, handler func(*types.Receipt, error), ...) (*types.Transaction, error)
- func AsyncDeployCommitteeManager(auth *bind.TransactOpts, handler func(*types.Receipt, error), ...) (*types.Transaction, error)
- func AsyncDeployContractAuthPrecompiled(auth *bind.TransactOpts, handler func(*types.Receipt, error), ...) (*types.Transaction, error)
- func AsyncDeployProposalManager(auth *bind.TransactOpts, handler func(*types.Receipt, error), ...) (*types.Transaction, error)
- type AccountManager
- type AccountManagerCaller
- type AccountManagerCallerRaw
- type AccountManagerCallerSession
- type AccountManagerFilterer
- type AccountManagerRaw
- func (_AccountManager *AccountManagerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_AccountManager *AccountManagerRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, ...) (*types.Transaction, *types.Receipt, error)
- func (_AccountManager *AccountManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
- type AccountManagerSession
- func (_AccountManager *AccountManagerSession) AsyncSetAccountStatus(handler func(*types.Receipt, error), addr common.Address, status uint8) (*types.Transaction, error)
- func (_AccountManager *AccountManagerSession) GetAccountStatus(addr common.Address) (uint8, error)
- func (_AccountManager *AccountManagerSession) SetAccountStatus(addr common.Address, status uint8) (int32, *types.Transaction, *types.Receipt, error)
- type AccountManagerTransactor
- func (_AccountManager *AccountManagerTransactor) AsyncSetAccountStatus(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_AccountManager *AccountManagerTransactor) SetAccountStatus(opts *bind.TransactOpts, addr common.Address, status uint8) (int32, *types.Transaction, *types.Receipt, error)
- type AccountManagerTransactorRaw
- func (_AccountManager *AccountManagerTransactorRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, ...) (*types.Transaction, *types.Receipt, error)
- func (_AccountManager *AccountManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
- type AccountManagerTransactorSession
- func (_AccountManager *AccountManagerTransactorSession) AsyncSetAccountStatus(handler func(*types.Receipt, error), addr common.Address, status uint8) (*types.Transaction, error)
- func (_AccountManager *AccountManagerTransactorSession) SetAccountStatus(addr common.Address, status uint8) (int32, *types.Transaction, *types.Receipt, error)
- type AuthManagerService
- func (service *AuthManagerService) CheckDeployAuth(account common.Address) (*bool, error)
- func (service *AuthManagerService) CheckMethodAuth(contractAddr common.Address, funcSelector [4]byte, account common.Address) (*bool, error)
- func (service *AuthManagerService) GetAccountStatus(addr common.Address) (uint8, error)
- func (service *AuthManagerService) GetAdmin(contractAddr common.Address) (account *common.Address, err error)
- func (service *AuthManagerService) GetCommitteeInfo() (c *CommitteeInfo, err error)
- func (service *AuthManagerService) GetDeployAuthType() (*big.Int, error)
- func (service *AuthManagerService) GetProposalInfo(proposalId *big.Int) (proposalInfo *ProposalInfo, err error)
- func (service *AuthManagerService) GetProposalStatus(proposalId *big.Int) (uint8, error)
- func (service *AuthManagerService) ModifyDeployAuth(account common.Address, openFlag bool) (proposalId *big.Int, err error)
- func (service *AuthManagerService) ProposalCount() (*big.Int, error)
- func (service *AuthManagerService) ResetAdmin(newAdmin common.Address, contractAddr common.Address) (proposalId *big.Int, err error)
- func (service *AuthManagerService) RevokeProposal(proposalId big.Int) (receipt *types.Receipt, err error)
- func (service *AuthManagerService) SetAccountStatus(addr common.Address, status uint8) (int64, error)
- func (service *AuthManagerService) SetDeployAuthType(deployAuthType uint8) (proposalId *big.Int, err error)
- func (service *AuthManagerService) SetMethodAuth(contractAddr common.Address, funcSelector [4]byte, account common.Address, ...) (rtCode *big.Int, err error)
- func (service *AuthManagerService) SetMethodAuthType(contractAddr common.Address, funcSelector [4]byte, authType uint8) (rtCode *big.Int, err error)
- func (service *AuthManagerService) SetRate(participatesRate uint8, winRate uint8) (proposalId *big.Int, err error)
- func (service *AuthManagerService) UpdateGovernor(account common.Address, weight uint32) (proposalId *big.Int, err error)
- func (service *AuthManagerService) VoteProposal(proposalId big.Int, agree bool) (receipt *types.Receipt, err error)
- type Committee
- type CommitteeCaller
- func (_Committee *CommitteeCaller) Auth(opts *bind.CallOpts, src common.Address) (bool, error)
- func (_Committee *CommitteeCaller) GetCommitteeInfo(opts *bind.CallOpts) (struct{ ... }, error)
- func (_Committee *CommitteeCaller) GetWeight(opts *bind.CallOpts, governor common.Address) (uint32, error)
- func (_Committee *CommitteeCaller) GetWeights(opts *bind.CallOpts) (uint32, error)
- func (_Committee *CommitteeCaller) GetWeights0(opts *bind.CallOpts, votes []common.Address) (uint32, error)
- func (_Committee *CommitteeCaller) IsGovernor(opts *bind.CallOpts, governor common.Address) (bool, error)
- func (_Committee *CommitteeCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_Committee *CommitteeCaller) ParticipatesRate(opts *bind.CallOpts) (uint8, error)
- func (_Committee *CommitteeCaller) WinRate(opts *bind.CallOpts) (uint8, error)
- type CommitteeCallerRaw
- type CommitteeCallerSession
- func (_Committee *CommitteeCallerSession) Auth(src common.Address) (bool, error)
- func (_Committee *CommitteeCallerSession) GetCommitteeInfo() (struct{ ... }, error)
- func (_Committee *CommitteeCallerSession) GetWeight(governor common.Address) (uint32, error)
- func (_Committee *CommitteeCallerSession) GetWeights() (uint32, error)
- func (_Committee *CommitteeCallerSession) GetWeights0(votes []common.Address) (uint32, error)
- func (_Committee *CommitteeCallerSession) IsGovernor(governor common.Address) (bool, error)
- func (_Committee *CommitteeCallerSession) Owner() (common.Address, error)
- func (_Committee *CommitteeCallerSession) ParticipatesRate() (uint8, error)
- func (_Committee *CommitteeCallerSession) WinRate() (uint8, error)
- type CommitteeFilterer
- type CommitteeInfo
- type CommitteeManager
- type CommitteeManagerCaller
- func (_CommitteeManager *CommitteeManagerCaller) Committee(opts *bind.CallOpts) (common.Address, error)
- func (_CommitteeManager *CommitteeManagerCaller) GetProposalType(opts *bind.CallOpts, proposalId *big.Int) (uint8, error)
- func (_CommitteeManager *CommitteeManagerCaller) IsGovernor(opts *bind.CallOpts, account common.Address) (bool, error)
- func (_CommitteeManager *CommitteeManagerCaller) ProposalMgr(opts *bind.CallOpts) (common.Address, error)
- type CommitteeManagerCallerRaw
- type CommitteeManagerCallerSession
- func (_CommitteeManager *CommitteeManagerCallerSession) Committee() (common.Address, error)
- func (_CommitteeManager *CommitteeManagerCallerSession) GetProposalType(proposalId *big.Int) (uint8, error)
- func (_CommitteeManager *CommitteeManagerCallerSession) IsGovernor(account common.Address) (bool, error)
- func (_CommitteeManager *CommitteeManagerCallerSession) ProposalMgr() (common.Address, error)
- type CommitteeManagerExecResult
- type CommitteeManagerFilterer
- func (_CommitteeManager *CommitteeManagerFilterer) ParseExecResult(log types.Log) (*CommitteeManagerExecResult, error)
- func (_CommitteeManager *CommitteeManagerFilterer) WatchAllExecResult(fromBlock *uint64, handler func(int, []types.Log)) (string, error)
- func (_CommitteeManager *CommitteeManagerFilterer) WatchExecResult(fromBlock *uint64, handler func(int, []types.Log)) (string, error)
- type CommitteeManagerRaw
- func (_CommitteeManager *CommitteeManagerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_CommitteeManager *CommitteeManagerRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, ...) (*types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
- type CommitteeManagerSession
- func (_CommitteeManager *CommitteeManagerSession) AsyncCreateModifyDeployAuthProposal(handler func(*types.Receipt, error), account common.Address, openFlag bool, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerSession) AsyncCreateResetAdminProposal(handler func(*types.Receipt, error), newAdmin common.Address, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerSession) AsyncCreateRmNodeProposal(handler func(*types.Receipt, error), node string, blockNumberInterval *big.Int) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerSession) AsyncCreateSetConsensusWeightProposal(handler func(*types.Receipt, error), node string, weight uint32, addFlag bool, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerSession) AsyncCreateSetDeployAuthTypeProposal(handler func(*types.Receipt, error), deployAuthType uint8, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerSession) AsyncCreateSetRateProposal(handler func(*types.Receipt, error), participatesRate uint8, winRate uint8, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerSession) AsyncCreateSetSysConfigProposal(handler func(*types.Receipt, error), key string, value string, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerSession) AsyncCreateUpdateGovernorProposal(handler func(*types.Receipt, error), account common.Address, weight uint32, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerSession) AsyncCreateUpgradeVoteComputerProposal(handler func(*types.Receipt, error), newAddr common.Address, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerSession) AsyncRevokeProposal(handler func(*types.Receipt, error), proposalId *big.Int) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerSession) AsyncVoteProposal(handler func(*types.Receipt, error), proposalId *big.Int, agree bool) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerSession) Committee() (common.Address, error)
- func (_CommitteeManager *CommitteeManagerSession) CreateModifyDeployAuthProposal(account common.Address, openFlag bool, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerSession) CreateResetAdminProposal(newAdmin common.Address, contractAddr common.Address, ...) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerSession) CreateRmNodeProposal(node string, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerSession) CreateSetConsensusWeightProposal(node string, weight uint32, addFlag bool, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerSession) CreateSetDeployAuthTypeProposal(deployAuthType uint8, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerSession) CreateSetRateProposal(participatesRate uint8, winRate uint8, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerSession) CreateSetSysConfigProposal(key string, value string, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerSession) CreateUpdateGovernorProposal(account common.Address, weight uint32, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerSession) CreateUpgradeVoteComputerProposal(newAddr common.Address, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerSession) GetProposalType(proposalId *big.Int) (uint8, error)
- func (_CommitteeManager *CommitteeManagerSession) IsGovernor(account common.Address) (bool, error)
- func (_CommitteeManager *CommitteeManagerSession) ParseExecResult(log types.Log) (*CommitteeManagerExecResult, error)
- func (_CommitteeManager *CommitteeManagerSession) ProposalMgr() (common.Address, error)
- func (_CommitteeManager *CommitteeManagerSession) RevokeProposal(proposalId *big.Int) (*types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerSession) VoteProposal(proposalId *big.Int, agree bool) (*types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerSession) WatchAllExecResult(fromBlock *uint64, handler func(int, []types.Log)) (string, error)
- func (_CommitteeManager *CommitteeManagerSession) WatchExecResult(fromBlock *uint64, handler func(int, []types.Log)) (string, error)
- type CommitteeManagerTransactor
- func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateModifyDeployAuthProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateResetAdminProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateRmNodeProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, node string, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateSetConsensusWeightProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, node string, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateSetDeployAuthTypeProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateSetRateProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateSetSysConfigProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, key string, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateUpdateGovernorProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateUpgradeVoteComputerProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactor) AsyncRevokeProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactor) AsyncVoteProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactor) CreateModifyDeployAuthProposal(opts *bind.TransactOpts, account common.Address, openFlag bool, ...) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactor) CreateResetAdminProposal(opts *bind.TransactOpts, newAdmin common.Address, contractAddr common.Address, ...) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactor) CreateRmNodeProposal(opts *bind.TransactOpts, node string, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactor) CreateSetConsensusWeightProposal(opts *bind.TransactOpts, node string, weight uint32, addFlag bool, ...) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactor) CreateSetDeployAuthTypeProposal(opts *bind.TransactOpts, deployAuthType uint8, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactor) CreateSetRateProposal(opts *bind.TransactOpts, participatesRate uint8, winRate uint8, ...) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactor) CreateSetSysConfigProposal(opts *bind.TransactOpts, key string, value string, ...) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactor) CreateUpdateGovernorProposal(opts *bind.TransactOpts, account common.Address, weight uint32, ...) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactor) CreateUpgradeVoteComputerProposal(opts *bind.TransactOpts, newAddr common.Address, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactor) RevokeProposal(opts *bind.TransactOpts, proposalId *big.Int) (*types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactor) VoteProposal(opts *bind.TransactOpts, proposalId *big.Int, agree bool) (*types.Transaction, *types.Receipt, error)
- type CommitteeManagerTransactorRaw
- func (_CommitteeManager *CommitteeManagerTransactorRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, ...) (*types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
- type CommitteeManagerTransactorSession
- func (_CommitteeManager *CommitteeManagerTransactorSession) AsyncCreateModifyDeployAuthProposal(handler func(*types.Receipt, error), account common.Address, openFlag bool, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) AsyncCreateResetAdminProposal(handler func(*types.Receipt, error), newAdmin common.Address, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) AsyncCreateRmNodeProposal(handler func(*types.Receipt, error), node string, blockNumberInterval *big.Int) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) AsyncCreateSetConsensusWeightProposal(handler func(*types.Receipt, error), node string, weight uint32, addFlag bool, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) AsyncCreateSetDeployAuthTypeProposal(handler func(*types.Receipt, error), deployAuthType uint8, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) AsyncCreateSetRateProposal(handler func(*types.Receipt, error), participatesRate uint8, winRate uint8, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) AsyncCreateSetSysConfigProposal(handler func(*types.Receipt, error), key string, value string, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) AsyncCreateUpdateGovernorProposal(handler func(*types.Receipt, error), account common.Address, weight uint32, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) AsyncCreateUpgradeVoteComputerProposal(handler func(*types.Receipt, error), newAddr common.Address, ...) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) AsyncRevokeProposal(handler func(*types.Receipt, error), proposalId *big.Int) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) AsyncVoteProposal(handler func(*types.Receipt, error), proposalId *big.Int, agree bool) (*types.Transaction, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) CreateModifyDeployAuthProposal(account common.Address, openFlag bool, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) CreateResetAdminProposal(newAdmin common.Address, contractAddr common.Address, ...) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) CreateRmNodeProposal(node string, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) CreateSetConsensusWeightProposal(node string, weight uint32, addFlag bool, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) CreateSetDeployAuthTypeProposal(deployAuthType uint8, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) CreateSetRateProposal(participatesRate uint8, winRate uint8, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) CreateSetSysConfigProposal(key string, value string, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) CreateUpdateGovernorProposal(account common.Address, weight uint32, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) CreateUpgradeVoteComputerProposal(newAddr common.Address, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) RevokeProposal(proposalId *big.Int) (*types.Transaction, *types.Receipt, error)
- func (_CommitteeManager *CommitteeManagerTransactorSession) VoteProposal(proposalId *big.Int, agree bool) (*types.Transaction, *types.Receipt, error)
- type CommitteeRaw
- func (_Committee *CommitteeRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_Committee *CommitteeRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, ...) (*types.Transaction, *types.Receipt, error)
- func (_Committee *CommitteeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
- type CommitteeSession
- func (_Committee *CommitteeSession) AsyncSetOwner(handler func(*types.Receipt, error), owner common.Address) (*types.Transaction, error)
- func (_Committee *CommitteeSession) AsyncSetRate(handler func(*types.Receipt, error), participatesRate uint8, winRate uint8) (*types.Transaction, error)
- func (_Committee *CommitteeSession) AsyncSetWeight(handler func(*types.Receipt, error), governor common.Address, weight uint32) (*types.Transaction, error)
- func (_Committee *CommitteeSession) Auth(src common.Address) (bool, error)
- func (_Committee *CommitteeSession) GetCommitteeInfo() (struct{ ... }, error)
- func (_Committee *CommitteeSession) GetWeight(governor common.Address) (uint32, error)
- func (_Committee *CommitteeSession) GetWeights() (uint32, error)
- func (_Committee *CommitteeSession) GetWeights0(votes []common.Address) (uint32, error)
- func (_Committee *CommitteeSession) IsGovernor(governor common.Address) (bool, error)
- func (_Committee *CommitteeSession) Owner() (common.Address, error)
- func (_Committee *CommitteeSession) ParticipatesRate() (uint8, error)
- func (_Committee *CommitteeSession) SetOwner(owner common.Address) (*types.Transaction, *types.Receipt, error)
- func (_Committee *CommitteeSession) SetRate(participatesRate uint8, winRate uint8) (*types.Transaction, *types.Receipt, error)
- func (_Committee *CommitteeSession) SetWeight(governor common.Address, weight uint32) (*types.Transaction, *types.Receipt, error)
- func (_Committee *CommitteeSession) WinRate() (uint8, error)
- type CommitteeTransactor
- func (_Committee *CommitteeTransactor) AsyncSetOwner(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_Committee *CommitteeTransactor) AsyncSetRate(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_Committee *CommitteeTransactor) AsyncSetWeight(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_Committee *CommitteeTransactor) SetOwner(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, *types.Receipt, error)
- func (_Committee *CommitteeTransactor) SetRate(opts *bind.TransactOpts, participatesRate uint8, winRate uint8) (*types.Transaction, *types.Receipt, error)
- func (_Committee *CommitteeTransactor) SetWeight(opts *bind.TransactOpts, governor common.Address, weight uint32) (*types.Transaction, *types.Receipt, error)
- type CommitteeTransactorRaw
- type CommitteeTransactorSession
- func (_Committee *CommitteeTransactorSession) AsyncSetOwner(handler func(*types.Receipt, error), owner common.Address) (*types.Transaction, error)
- func (_Committee *CommitteeTransactorSession) AsyncSetRate(handler func(*types.Receipt, error), participatesRate uint8, winRate uint8) (*types.Transaction, error)
- func (_Committee *CommitteeTransactorSession) AsyncSetWeight(handler func(*types.Receipt, error), governor common.Address, weight uint32) (*types.Transaction, error)
- func (_Committee *CommitteeTransactorSession) SetOwner(owner common.Address) (*types.Transaction, *types.Receipt, error)
- func (_Committee *CommitteeTransactorSession) SetRate(participatesRate uint8, winRate uint8) (*types.Transaction, *types.Receipt, error)
- func (_Committee *CommitteeTransactorSession) SetWeight(governor common.Address, weight uint32) (*types.Transaction, *types.Receipt, error)
- type ContractAuth
- type ContractAuthCaller
- func (_ContractAuth *ContractAuthCaller) CheckMethodAuth(opts *bind.CallOpts, contractAddr common.Address, _func [4]byte, ...) (bool, error)
- func (_ContractAuth *ContractAuthCaller) ContractAvailable(opts *bind.CallOpts, _address common.Address) (bool, error)
- func (_ContractAuth *ContractAuthCaller) DeployType(opts *bind.CallOpts) (*big.Int, error)
- func (_ContractAuth *ContractAuthCaller) GetAdmin(opts *bind.CallOpts, contractAddr common.Address) (common.Address, error)
- func (_ContractAuth *ContractAuthCaller) GetMethodAuth(opts *bind.CallOpts, contractAddr common.Address, _func [4]byte) (uint8, []string, []string, error)
- func (_ContractAuth *ContractAuthCaller) HasDeployAuth(opts *bind.CallOpts, account common.Address) (bool, error)
- type ContractAuthCallerRaw
- type ContractAuthCallerSession
- func (_ContractAuth *ContractAuthCallerSession) CheckMethodAuth(contractAddr common.Address, _func [4]byte, account common.Address) (bool, error)
- func (_ContractAuth *ContractAuthCallerSession) ContractAvailable(_address common.Address) (bool, error)
- func (_ContractAuth *ContractAuthCallerSession) DeployType() (*big.Int, error)
- func (_ContractAuth *ContractAuthCallerSession) GetAdmin(contractAddr common.Address) (common.Address, error)
- func (_ContractAuth *ContractAuthCallerSession) GetMethodAuth(contractAddr common.Address, _func [4]byte) (uint8, []string, []string, error)
- func (_ContractAuth *ContractAuthCallerSession) HasDeployAuth(account common.Address) (bool, error)
- type ContractAuthFilterer
- type ContractAuthPrecompiled
- type ContractAuthPrecompiledCaller
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledCaller) CheckMethodAuth(opts *bind.CallOpts, contractAddr common.Address, funcSelector [4]byte, ...) (bool, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledCaller) ContractAvailable(opts *bind.CallOpts, _address common.Address) (bool, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledCaller) DeployType(opts *bind.CallOpts) (*big.Int, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledCaller) GetAdmin(opts *bind.CallOpts, contractAddr common.Address) (common.Address, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledCaller) GetMethodAuth(opts *bind.CallOpts, path common.Address, funcSelector [4]byte) (uint8, []string, []string, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledCaller) HasDeployAuth(opts *bind.CallOpts, account common.Address) (bool, error)
- type ContractAuthPrecompiledCallerRaw
- type ContractAuthPrecompiledCallerSession
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledCallerSession) CheckMethodAuth(contractAddr common.Address, funcSelector [4]byte, account common.Address) (bool, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledCallerSession) ContractAvailable(_address common.Address) (bool, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledCallerSession) DeployType() (*big.Int, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledCallerSession) GetAdmin(contractAddr common.Address) (common.Address, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledCallerSession) GetMethodAuth(path common.Address, funcSelector [4]byte) (uint8, []string, []string, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledCallerSession) HasDeployAuth(account common.Address) (bool, error)
- type ContractAuthPrecompiledFilterer
- type ContractAuthPrecompiledRaw
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
- type ContractAuthPrecompiledSession
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) AsyncCloseDeployAuth(handler func(*types.Receipt, error), account common.Address) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) AsyncCloseMethodAuth(handler func(*types.Receipt, error), contractAddr common.Address, ...) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) AsyncOpenDeployAuth(handler func(*types.Receipt, error), account common.Address) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) AsyncOpenMethodAuth(handler func(*types.Receipt, error), contractAddr common.Address, ...) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) AsyncResetAdmin(handler func(*types.Receipt, error), contractAddr common.Address, ...) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) AsyncSetContractStatus(handler func(*types.Receipt, error), _address common.Address, isFreeze bool) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) AsyncSetDeployAuthType(handler func(*types.Receipt, error), _type uint8) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) AsyncSetMethodAuthType(handler func(*types.Receipt, error), contractAddr common.Address, ...) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) CheckMethodAuth(contractAddr common.Address, funcSelector [4]byte, account common.Address) (bool, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) CloseDeployAuth(account common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) CloseMethodAuth(contractAddr common.Address, funcSelector [4]byte, account common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) ContractAvailable(_address common.Address) (bool, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) DeployType() (*big.Int, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) GetAdmin(contractAddr common.Address) (common.Address, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) GetMethodAuth(path common.Address, funcSelector [4]byte) (uint8, []string, []string, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) HasDeployAuth(account common.Address) (bool, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) OpenDeployAuth(account common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) OpenMethodAuth(contractAddr common.Address, funcSelector [4]byte, account common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) ResetAdmin(contractAddr common.Address, admin common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) SetContractStatus(_address common.Address, isFreeze bool) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) SetDeployAuthType(_type uint8) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) SetMethodAuthType(contractAddr common.Address, funcSelector [4]byte, authType uint8) (*types.Transaction, *types.Receipt, error)
- type ContractAuthPrecompiledTransactor
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) AsyncCloseDeployAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) AsyncCloseMethodAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) AsyncOpenDeployAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) AsyncOpenMethodAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) AsyncResetAdmin(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) AsyncSetContractStatus(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) AsyncSetDeployAuthType(handler func(*types.Receipt, error), opts *bind.TransactOpts, _type uint8) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) AsyncSetMethodAuthType(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) CloseDeployAuth(opts *bind.TransactOpts, account common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) CloseMethodAuth(opts *bind.TransactOpts, contractAddr common.Address, funcSelector [4]byte, ...) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) OpenDeployAuth(opts *bind.TransactOpts, account common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) OpenMethodAuth(opts *bind.TransactOpts, contractAddr common.Address, funcSelector [4]byte, ...) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) ResetAdmin(opts *bind.TransactOpts, contractAddr common.Address, admin common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) SetContractStatus(opts *bind.TransactOpts, _address common.Address, isFreeze bool) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) SetDeployAuthType(opts *bind.TransactOpts, _type uint8) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) SetMethodAuthType(opts *bind.TransactOpts, contractAddr common.Address, funcSelector [4]byte, ...) (*types.Transaction, *types.Receipt, error)
- type ContractAuthPrecompiledTransactorRaw
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
- type ContractAuthPrecompiledTransactorSession
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) AsyncCloseDeployAuth(handler func(*types.Receipt, error), account common.Address) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) AsyncCloseMethodAuth(handler func(*types.Receipt, error), contractAddr common.Address, ...) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) AsyncOpenDeployAuth(handler func(*types.Receipt, error), account common.Address) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) AsyncOpenMethodAuth(handler func(*types.Receipt, error), contractAddr common.Address, ...) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) AsyncResetAdmin(handler func(*types.Receipt, error), contractAddr common.Address, ...) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) AsyncSetContractStatus(handler func(*types.Receipt, error), _address common.Address, isFreeze bool) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) AsyncSetDeployAuthType(handler func(*types.Receipt, error), _type uint8) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) AsyncSetMethodAuthType(handler func(*types.Receipt, error), contractAddr common.Address, ...) (*types.Transaction, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) CloseDeployAuth(account common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) CloseMethodAuth(contractAddr common.Address, funcSelector [4]byte, account common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) OpenDeployAuth(account common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) OpenMethodAuth(contractAddr common.Address, funcSelector [4]byte, account common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) ResetAdmin(contractAddr common.Address, admin common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) SetContractStatus(_address common.Address, isFreeze bool) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) SetDeployAuthType(_type uint8) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) SetMethodAuthType(contractAddr common.Address, funcSelector [4]byte, authType uint8) (*types.Transaction, *types.Receipt, error)
- type ContractAuthRaw
- func (_ContractAuth *ContractAuthRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ContractAuth *ContractAuthRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, ...) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
- type ContractAuthSession
- func (_ContractAuth *ContractAuthSession) AsyncCloseDeployAuth(handler func(*types.Receipt, error), account common.Address) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthSession) AsyncCloseMethodAuth(handler func(*types.Receipt, error), contractAddr common.Address, ...) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthSession) AsyncInitAuth(handler func(*types.Receipt, error), account string) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthSession) AsyncOpenDeployAuth(handler func(*types.Receipt, error), account common.Address) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthSession) AsyncOpenMethodAuth(handler func(*types.Receipt, error), contractAddr common.Address, ...) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthSession) AsyncResetAdmin(handler func(*types.Receipt, error), contractAddr common.Address, ...) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthSession) AsyncSetContractStatus(handler func(*types.Receipt, error), _address common.Address, isFreeze bool) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthSession) AsyncSetContractStatus0(handler func(*types.Receipt, error), _address common.Address, _status uint8) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthSession) AsyncSetDeployAuthType(handler func(*types.Receipt, error), _type uint8) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthSession) AsyncSetMethodAuthType(handler func(*types.Receipt, error), contractAddr common.Address, ...) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthSession) CheckMethodAuth(contractAddr common.Address, _func [4]byte, account common.Address) (bool, error)
- func (_ContractAuth *ContractAuthSession) CloseDeployAuth(account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthSession) CloseMethodAuth(contractAddr common.Address, _func [4]byte, account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthSession) ContractAvailable(_address common.Address) (bool, error)
- func (_ContractAuth *ContractAuthSession) DeployType() (*big.Int, error)
- func (_ContractAuth *ContractAuthSession) GetAdmin(contractAddr common.Address) (common.Address, error)
- func (_ContractAuth *ContractAuthSession) GetMethodAuth(contractAddr common.Address, _func [4]byte) (uint8, []string, []string, error)
- func (_ContractAuth *ContractAuthSession) HasDeployAuth(account common.Address) (bool, error)
- func (_ContractAuth *ContractAuthSession) InitAuth(account string) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthSession) OpenDeployAuth(account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthSession) OpenMethodAuth(contractAddr common.Address, _func [4]byte, account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthSession) ResetAdmin(contractAddr common.Address, admin common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthSession) SetContractStatus(_address common.Address, isFreeze bool) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthSession) SetContractStatus0(_address common.Address, _status uint8) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthSession) SetDeployAuthType(_type uint8) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthSession) SetMethodAuthType(contractAddr common.Address, _func [4]byte, authType uint8) (*big.Int, *types.Transaction, *types.Receipt, error)
- type ContractAuthTransactor
- func (_ContractAuth *ContractAuthTransactor) AsyncCloseDeployAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactor) AsyncCloseMethodAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactor) AsyncInitAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, account string) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactor) AsyncOpenDeployAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactor) AsyncOpenMethodAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactor) AsyncResetAdmin(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactor) AsyncSetContractStatus(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactor) AsyncSetContractStatus0(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactor) AsyncSetDeployAuthType(handler func(*types.Receipt, error), opts *bind.TransactOpts, _type uint8) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactor) AsyncSetMethodAuthType(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactor) CloseDeployAuth(opts *bind.TransactOpts, account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactor) CloseMethodAuth(opts *bind.TransactOpts, contractAddr common.Address, _func [4]byte, ...) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactor) InitAuth(opts *bind.TransactOpts, account string) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactor) OpenDeployAuth(opts *bind.TransactOpts, account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactor) OpenMethodAuth(opts *bind.TransactOpts, contractAddr common.Address, _func [4]byte, ...) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactor) ResetAdmin(opts *bind.TransactOpts, contractAddr common.Address, admin common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactor) SetContractStatus(opts *bind.TransactOpts, _address common.Address, isFreeze bool) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactor) SetContractStatus0(opts *bind.TransactOpts, _address common.Address, _status uint8) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactor) SetDeployAuthType(opts *bind.TransactOpts, _type uint8) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactor) SetMethodAuthType(opts *bind.TransactOpts, contractAddr common.Address, _func [4]byte, ...) (*big.Int, *types.Transaction, *types.Receipt, error)
- type ContractAuthTransactorRaw
- func (_ContractAuth *ContractAuthTransactorRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, ...) (*types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
- type ContractAuthTransactorSession
- func (_ContractAuth *ContractAuthTransactorSession) AsyncCloseDeployAuth(handler func(*types.Receipt, error), account common.Address) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactorSession) AsyncCloseMethodAuth(handler func(*types.Receipt, error), contractAddr common.Address, ...) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactorSession) AsyncInitAuth(handler func(*types.Receipt, error), account string) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactorSession) AsyncOpenDeployAuth(handler func(*types.Receipt, error), account common.Address) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactorSession) AsyncOpenMethodAuth(handler func(*types.Receipt, error), contractAddr common.Address, ...) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactorSession) AsyncResetAdmin(handler func(*types.Receipt, error), contractAddr common.Address, ...) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactorSession) AsyncSetContractStatus(handler func(*types.Receipt, error), _address common.Address, isFreeze bool) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactorSession) AsyncSetContractStatus0(handler func(*types.Receipt, error), _address common.Address, _status uint8) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactorSession) AsyncSetDeployAuthType(handler func(*types.Receipt, error), _type uint8) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactorSession) AsyncSetMethodAuthType(handler func(*types.Receipt, error), contractAddr common.Address, ...) (*types.Transaction, error)
- func (_ContractAuth *ContractAuthTransactorSession) CloseDeployAuth(account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactorSession) CloseMethodAuth(contractAddr common.Address, _func [4]byte, account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactorSession) InitAuth(account string) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactorSession) OpenDeployAuth(account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactorSession) OpenMethodAuth(contractAddr common.Address, _func [4]byte, account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactorSession) ResetAdmin(contractAddr common.Address, admin common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactorSession) SetContractStatus(_address common.Address, isFreeze bool) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactorSession) SetContractStatus0(_address common.Address, _status uint8) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactorSession) SetDeployAuthType(_type uint8) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ContractAuth *ContractAuthTransactorSession) SetMethodAuthType(contractAddr common.Address, _func [4]byte, authType uint8) (*big.Int, *types.Transaction, *types.Receipt, error)
- type ProposalInfo
- type ProposalManager
- type ProposalManagerCaller
- func (_ProposalManager *ProposalManagerCaller) Auth(opts *bind.CallOpts, src common.Address) (bool, error)
- func (_ProposalManager *ProposalManagerCaller) GetIdByTypeAndResourceId(opts *bind.CallOpts, proposalType uint8, resourceId common.Address) (*big.Int, error)
- func (_ProposalManager *ProposalManagerCaller) GetProposalInfo(opts *bind.CallOpts, proposalId *big.Int) (struct{ ... }, error)
- func (_ProposalManager *ProposalManagerCaller) GetProposalInfoList(opts *bind.CallOpts, from *big.Int, to *big.Int) ([]ProposalManagerProposalInfo, error)
- func (_ProposalManager *ProposalManagerCaller) GetProposalStatus(opts *bind.CallOpts, proposalId *big.Int) (uint8, error)
- func (_ProposalManager *ProposalManagerCaller) Owner(opts *bind.CallOpts) (common.Address, error)
- func (_ProposalManager *ProposalManagerCaller) ProposalCount(opts *bind.CallOpts) (*big.Int, error)
- func (_ProposalManager *ProposalManagerCaller) ProposalIndex(opts *bind.CallOpts, arg0 uint8, arg1 common.Address) (*big.Int, error)
- func (_ProposalManager *ProposalManagerCaller) Proposals(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_ProposalManager *ProposalManagerCaller) VoteComputer(opts *bind.CallOpts) (common.Address, error)
- type ProposalManagerCallerRaw
- type ProposalManagerCallerSession
- func (_ProposalManager *ProposalManagerCallerSession) Auth(src common.Address) (bool, error)
- func (_ProposalManager *ProposalManagerCallerSession) GetIdByTypeAndResourceId(proposalType uint8, resourceId common.Address) (*big.Int, error)
- func (_ProposalManager *ProposalManagerCallerSession) GetProposalInfo(proposalId *big.Int) (struct{ ... }, error)
- func (_ProposalManager *ProposalManagerCallerSession) GetProposalInfoList(from *big.Int, to *big.Int) ([]ProposalManagerProposalInfo, error)
- func (_ProposalManager *ProposalManagerCallerSession) GetProposalStatus(proposalId *big.Int) (uint8, error)
- func (_ProposalManager *ProposalManagerCallerSession) Owner() (common.Address, error)
- func (_ProposalManager *ProposalManagerCallerSession) ProposalCount() (*big.Int, error)
- func (_ProposalManager *ProposalManagerCallerSession) ProposalIndex(arg0 uint8, arg1 common.Address) (*big.Int, error)
- func (_ProposalManager *ProposalManagerCallerSession) Proposals(arg0 *big.Int) (struct{ ... }, error)
- func (_ProposalManager *ProposalManagerCallerSession) VoteComputer() (common.Address, error)
- type ProposalManagerFilterer
- type ProposalManagerProposalInfo
- type ProposalManagerRaw
- func (_ProposalManager *ProposalManagerRaw) Call(opts *bind.CallOpts, result interface{}, method string, params ...interface{}) error
- func (_ProposalManager *ProposalManagerRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, ...) (*types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
- type ProposalManagerSession
- func (_ProposalManager *ProposalManagerSession) AsyncCreate(handler func(*types.Receipt, error), proposer common.Address, ...) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerSession) AsyncRefreshProposalStatus(handler func(*types.Receipt, error), proposalId *big.Int) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerSession) AsyncRevoke(handler func(*types.Receipt, error), proposalId *big.Int, ...) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerSession) AsyncSetOwner(handler func(*types.Receipt, error), owner common.Address) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerSession) AsyncSetVoteComputer(handler func(*types.Receipt, error), addr common.Address) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerSession) AsyncVote(handler func(*types.Receipt, error), proposalId *big.Int, agree bool, ...) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerSession) Auth(src common.Address) (bool, error)
- func (_ProposalManager *ProposalManagerSession) Create(proposer common.Address, proposalType uint8, resourceId common.Address, ...) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerSession) GetIdByTypeAndResourceId(proposalType uint8, resourceId common.Address) (*big.Int, error)
- func (_ProposalManager *ProposalManagerSession) GetProposalInfo(proposalId *big.Int) (struct{ ... }, error)
- func (_ProposalManager *ProposalManagerSession) GetProposalInfoList(from *big.Int, to *big.Int) ([]ProposalManagerProposalInfo, error)
- func (_ProposalManager *ProposalManagerSession) GetProposalStatus(proposalId *big.Int) (uint8, error)
- func (_ProposalManager *ProposalManagerSession) Owner() (common.Address, error)
- func (_ProposalManager *ProposalManagerSession) ProposalCount() (*big.Int, error)
- func (_ProposalManager *ProposalManagerSession) ProposalIndex(arg0 uint8, arg1 common.Address) (*big.Int, error)
- func (_ProposalManager *ProposalManagerSession) Proposals(arg0 *big.Int) (struct{ ... }, error)
- func (_ProposalManager *ProposalManagerSession) RefreshProposalStatus(proposalId *big.Int) (uint8, *types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerSession) Revoke(proposalId *big.Int, voterAddress common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerSession) SetOwner(owner common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerSession) SetVoteComputer(addr common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerSession) Vote(proposalId *big.Int, agree bool, voterAddress common.Address) (uint8, *types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerSession) VoteComputer() (common.Address, error)
- type ProposalManagerTransactor
- func (_ProposalManager *ProposalManagerTransactor) AsyncCreate(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerTransactor) AsyncRefreshProposalStatus(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerTransactor) AsyncRevoke(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerTransactor) AsyncSetOwner(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerTransactor) AsyncSetVoteComputer(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerTransactor) AsyncVote(handler func(*types.Receipt, error), opts *bind.TransactOpts, ...) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerTransactor) Create(opts *bind.TransactOpts, proposer common.Address, proposalType uint8, ...) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerTransactor) RefreshProposalStatus(opts *bind.TransactOpts, proposalId *big.Int) (uint8, *types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerTransactor) Revoke(opts *bind.TransactOpts, proposalId *big.Int, voterAddress common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerTransactor) SetOwner(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerTransactor) SetVoteComputer(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerTransactor) Vote(opts *bind.TransactOpts, proposalId *big.Int, agree bool, ...) (uint8, *types.Transaction, *types.Receipt, error)
- type ProposalManagerTransactorRaw
- func (_ProposalManager *ProposalManagerTransactorRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, ...) (*types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
- type ProposalManagerTransactorSession
- func (_ProposalManager *ProposalManagerTransactorSession) AsyncCreate(handler func(*types.Receipt, error), proposer common.Address, ...) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerTransactorSession) AsyncRefreshProposalStatus(handler func(*types.Receipt, error), proposalId *big.Int) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerTransactorSession) AsyncRevoke(handler func(*types.Receipt, error), proposalId *big.Int, ...) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerTransactorSession) AsyncSetOwner(handler func(*types.Receipt, error), owner common.Address) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerTransactorSession) AsyncSetVoteComputer(handler func(*types.Receipt, error), addr common.Address) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerTransactorSession) AsyncVote(handler func(*types.Receipt, error), proposalId *big.Int, agree bool, ...) (*types.Transaction, error)
- func (_ProposalManager *ProposalManagerTransactorSession) Create(proposer common.Address, proposalType uint8, resourceId common.Address, ...) (*big.Int, *types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerTransactorSession) RefreshProposalStatus(proposalId *big.Int) (uint8, *types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerTransactorSession) Revoke(proposalId *big.Int, voterAddress common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerTransactorSession) SetOwner(owner common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerTransactorSession) SetVoteComputer(addr common.Address) (*types.Transaction, *types.Receipt, error)
- func (_ProposalManager *ProposalManagerTransactorSession) Vote(proposalId *big.Int, agree bool, voterAddress common.Address) (uint8, *types.Transaction, *types.Receipt, error)
Constants ¶
const AccountManagerABI = "" /* 583-byte string literal not displayed */
AccountManagerABI is the input ABI used to generate the binding from.
const CommitteeABI = "" /* 3108-byte string literal not displayed */
CommitteeABI is the input ABI used to generate the binding from.
const CommitteeManagerABI = "" /* 5638-byte string literal not displayed */
CommitteeManagerABI is the input ABI used to generate the binding from.
const ContractAuthABI = "" /* 4908-byte string literal not displayed */
ContractAuthABI is the input ABI used to generate the binding from.
const ContractAuthPrecompiledABI = "" /* 4363-byte string literal not displayed */
ContractAuthPrecompiledABI is the input ABI used to generate the binding from.
const ProposalManagerABI = "" /* 5821-byte string literal not displayed */
ProposalManagerABI is the input ABI used to generate the binding from.
Variables ¶
var CommitteeBin = "" /* 21290-byte string literal not displayed */
CommitteeBin is the compiled bytecode used for deploying new contracts.
var CommitteeManagerBin = "" /* 88894-byte string literal not displayed */
CommitteeManagerBin is the compiled bytecode used for deploying new contracts.
var ContractAuthPrecompiledBin = "" /* 4854-byte string literal not displayed */
ContractAuthPrecompiledBin is the compiled bytecode used for deploying new contracts.
var DEFAULT_BLOCK_NUMBER_INTERVAL = big.NewInt(3600 * 24 * 7)
var ProposalManagerBin = "" /* 31114-byte string literal not displayed */
ProposalManagerBin is the compiled bytecode used for deploying new contracts.
Functions ¶
func AsyncDeployCommittee ¶
func AsyncDeployCommittee(auth *bind.TransactOpts, handler func(*types.Receipt, error), backend bind.ContractBackend, governorList []common.Address, weightList []uint32, participatesRate uint8, winRate uint8) (*types.Transaction, error)
func AsyncDeployCommitteeManager ¶
func AsyncDeployCommitteeManager(auth *bind.TransactOpts, handler func(*types.Receipt, error), backend bind.ContractBackend, initGovernors []common.Address, weights []uint32, participatesRate uint8, winRate uint8) (*types.Transaction, error)
func AsyncDeployContractAuthPrecompiled ¶
func AsyncDeployContractAuthPrecompiled(auth *bind.TransactOpts, handler func(*types.Receipt, error), backend bind.ContractBackend) (*types.Transaction, error)
func AsyncDeployProposalManager ¶
func AsyncDeployProposalManager(auth *bind.TransactOpts, handler func(*types.Receipt, error), backend bind.ContractBackend, committeeMgrAddress common.Address, committeeAddress common.Address) (*types.Transaction, error)
Types ¶
type AccountManager ¶
type AccountManager struct { AccountManagerCaller // Read-only binding to the contract AccountManagerTransactor // Write-only binding to the contract AccountManagerFilterer // Log filterer for contract events }
AccountManager is an auto generated Go binding around a Solidity contract.
func NewAccountManager ¶
func NewAccountManager(address common.Address, backend bind.ContractBackend) (*AccountManager, error)
NewAccountManager creates a new instance of AccountManager, bound to a specific deployed contract.
type AccountManagerCaller ¶
type AccountManagerCaller struct {
// contains filtered or unexported fields
}
AccountManagerCaller is an auto generated read-only Go binding around a Solidity contract.
func NewAccountManagerCaller ¶
func NewAccountManagerCaller(address common.Address, caller bind.ContractCaller) (*AccountManagerCaller, error)
NewAccountManagerCaller creates a new read-only instance of AccountManager, bound to a specific deployed contract.
func (*AccountManagerCaller) GetAccountStatus ¶
func (_AccountManager *AccountManagerCaller) GetAccountStatus(opts *bind.CallOpts, addr common.Address) (uint8, error)
GetAccountStatus is a free data retrieval call binding the contract method 0xfd4fa05a.
Solidity: function getAccountStatus(address addr) constant returns(uint8)
type AccountManagerCallerRaw ¶
type AccountManagerCallerRaw struct {
Contract *AccountManagerCaller // Generic read-only contract binding to access the raw methods on
}
AccountManagerCallerRaw is an auto generated low-level read-only Go binding around a Solidity contract.
func (*AccountManagerCallerRaw) Call ¶
func (_AccountManager *AccountManagerCallerRaw) 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 AccountManagerCallerSession ¶
type AccountManagerCallerSession struct { Contract *AccountManagerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
AccountManagerCallerSession is an auto generated read-only Go binding around a Solidity contract, with pre-set call options.
func (*AccountManagerCallerSession) GetAccountStatus ¶
func (_AccountManager *AccountManagerCallerSession) GetAccountStatus(addr common.Address) (uint8, error)
GetAccountStatus is a free data retrieval call binding the contract method 0xfd4fa05a.
Solidity: function getAccountStatus(address addr) constant returns(uint8)
type AccountManagerFilterer ¶
type AccountManagerFilterer struct {
// contains filtered or unexported fields
}
AccountManagerFilterer is an auto generated log filtering Go binding around a Solidity contract events.
func NewAccountManagerFilterer ¶
func NewAccountManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*AccountManagerFilterer, error)
NewAccountManagerFilterer creates a new log filterer instance of AccountManager, bound to a specific deployed contract.
type AccountManagerRaw ¶
type AccountManagerRaw struct {
Contract *AccountManager // Generic contract binding to access the raw methods on
}
AccountManagerRaw is an auto generated low-level Go binding around a Solidity contract.
func (*AccountManagerRaw) Call ¶
func (_AccountManager *AccountManagerRaw) 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 (*AccountManagerRaw) TransactWithResult ¶
func (_AccountManager *AccountManagerRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
Transact invokes the (paid) contract method with params as input values.
func (*AccountManagerRaw) Transfer ¶
func (_AccountManager *AccountManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type AccountManagerSession ¶
type AccountManagerSession struct { Contract *AccountManager // 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 }
AccountManagerSession is an auto generated Go binding around a Solidity contract, with pre-set call and transact options.
func (*AccountManagerSession) AsyncSetAccountStatus ¶
func (_AccountManager *AccountManagerSession) AsyncSetAccountStatus(handler func(*types.Receipt, error), addr common.Address, status uint8) (*types.Transaction, error)
func (*AccountManagerSession) GetAccountStatus ¶
func (_AccountManager *AccountManagerSession) GetAccountStatus(addr common.Address) (uint8, error)
GetAccountStatus is a free data retrieval call binding the contract method 0xfd4fa05a.
Solidity: function getAccountStatus(address addr) constant returns(uint8)
func (*AccountManagerSession) SetAccountStatus ¶
func (_AccountManager *AccountManagerSession) SetAccountStatus(addr common.Address, status uint8) (int32, *types.Transaction, *types.Receipt, error)
SetAccountStatus is a paid mutator transaction binding the contract method 0x0ad2b0a1.
Solidity: function setAccountStatus(address addr, uint8 status) returns(int32)
type AccountManagerTransactor ¶
type AccountManagerTransactor struct {
// contains filtered or unexported fields
}
AccountManagerTransactor is an auto generated write-only Go binding around a Solidity contract.
func NewAccountManagerTransactor ¶
func NewAccountManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*AccountManagerTransactor, error)
NewAccountManagerTransactor creates a new write-only instance of AccountManager, bound to a specific deployed contract.
func (*AccountManagerTransactor) AsyncSetAccountStatus ¶
func (_AccountManager *AccountManagerTransactor) AsyncSetAccountStatus(handler func(*types.Receipt, error), opts *bind.TransactOpts, addr common.Address, status uint8) (*types.Transaction, error)
func (*AccountManagerTransactor) SetAccountStatus ¶
func (_AccountManager *AccountManagerTransactor) SetAccountStatus(opts *bind.TransactOpts, addr common.Address, status uint8) (int32, *types.Transaction, *types.Receipt, error)
SetAccountStatus is a paid mutator transaction binding the contract method 0x0ad2b0a1.
Solidity: function setAccountStatus(address addr, uint8 status) returns(int32)
type AccountManagerTransactorRaw ¶
type AccountManagerTransactorRaw struct {
Contract *AccountManagerTransactor // Generic write-only contract binding to access the raw methods on
}
AccountManagerTransactorRaw is an auto generated low-level write-only Go binding around a Solidity contract.
func (*AccountManagerTransactorRaw) TransactWithResult ¶
func (_AccountManager *AccountManagerTransactorRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
Transact invokes the (paid) contract method with params as input values.
func (*AccountManagerTransactorRaw) Transfer ¶
func (_AccountManager *AccountManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type AccountManagerTransactorSession ¶
type AccountManagerTransactorSession struct { Contract *AccountManagerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
AccountManagerTransactorSession is an auto generated write-only Go binding around a Solidity contract, with pre-set transact options.
func (*AccountManagerTransactorSession) AsyncSetAccountStatus ¶
func (_AccountManager *AccountManagerTransactorSession) AsyncSetAccountStatus(handler func(*types.Receipt, error), addr common.Address, status uint8) (*types.Transaction, error)
func (*AccountManagerTransactorSession) SetAccountStatus ¶
func (_AccountManager *AccountManagerTransactorSession) SetAccountStatus(addr common.Address, status uint8) (int32, *types.Transaction, *types.Receipt, error)
SetAccountStatus is a paid mutator transaction binding the contract method 0x0ad2b0a1.
Solidity: function setAccountStatus(address addr, uint8 status) returns(int32)
type AuthManagerService ¶
type AuthManagerService struct {
// contains filtered or unexported fields
}
func NewAuthManagerService ¶
func NewAuthManagerService(client *client.Client) (services *AuthManagerService, err error)
func (*AuthManagerService) CheckDeployAuth ¶
func (service *AuthManagerService) CheckDeployAuth(account common.Address) (*bool, error)
check the account whether this account can deploy contract
func (*AuthManagerService) CheckMethodAuth ¶
func (service *AuthManagerService) CheckMethodAuth(contractAddr common.Address, funcSelector [4]byte, account common.Address) (*bool, error)
check the contract interface func whether this account can call
func (*AuthManagerService) GetAccountStatus ¶
func (service *AuthManagerService) GetAccountStatus(addr common.Address) (uint8, error)
func (*AuthManagerService) GetAdmin ¶
func (service *AuthManagerService) GetAdmin(contractAddr common.Address) (account *common.Address, err error)
get a specific contract admin
func (*AuthManagerService) GetCommitteeInfo ¶
func (service *AuthManagerService) GetCommitteeInfo() (c *CommitteeInfo, err error)
func (*AuthManagerService) GetDeployAuthType ¶
func (service *AuthManagerService) GetDeployAuthType() (*big.Int, error)
get global deploy auth type
func (*AuthManagerService) GetProposalInfo ¶
func (service *AuthManagerService) GetProposalInfo(proposalId *big.Int) (proposalInfo *ProposalInfo, err error)
func (*AuthManagerService) GetProposalStatus ¶
func (service *AuthManagerService) GetProposalStatus(proposalId *big.Int) (uint8, error)
func (*AuthManagerService) ModifyDeployAuth ¶
func (service *AuthManagerService) ModifyDeployAuth(account common.Address, openFlag bool) (proposalId *big.Int, err error)
submit a proposal of adding deploy contract auth for account, only governor can call it openFlag true-open; false-close
func (*AuthManagerService) ProposalCount ¶
func (service *AuthManagerService) ProposalCount() (*big.Int, error)
func (*AuthManagerService) ResetAdmin ¶
func (service *AuthManagerService) ResetAdmin(newAdmin common.Address, contractAddr common.Address) (proposalId *big.Int, err error)
submit a proposal of resetting contract admin, only governor can call it
func (*AuthManagerService) RevokeProposal ¶
func (service *AuthManagerService) RevokeProposal(proposalId big.Int) (receipt *types.Receipt, err error)
revoke proposal, only governor can call it
func (*AuthManagerService) SetAccountStatus ¶
func (*AuthManagerService) SetDeployAuthType ¶
func (service *AuthManagerService) SetDeployAuthType(deployAuthType uint8) (proposalId *big.Int, err error)
submit a proposal of setting deploy contract auth type, only governor can call it deployAuthType 1-whitelist; 2-blacklist
func (*AuthManagerService) SetMethodAuth ¶
func (service *AuthManagerService) SetMethodAuth(contractAddr common.Address, funcSelector [4]byte, account common.Address, isOpen bool) (rtCode *big.Int, err error)
set a specific contract's method ACL, only contract admin can call it isOpen if open, then white_list type is true, black_list is false; if close, then white_list type is false, black_list is true
func (*AuthManagerService) SetMethodAuthType ¶
func (service *AuthManagerService) SetMethodAuthType(contractAddr common.Address, funcSelector [4]byte, authType uint8) (rtCode *big.Int, err error)
set a specific contract's method auth type, only contract admin can call it authType white_list or black_list
func (*AuthManagerService) SetRate ¶
func (service *AuthManagerService) SetRate(participatesRate uint8, winRate uint8) (proposalId *big.Int, err error)
apply set participate rate and win rate. only governor can call it participatesRate [0,100]. if 0, always succeed. winRate [0,100].
func (*AuthManagerService) UpdateGovernor ¶
func (service *AuthManagerService) UpdateGovernor(account common.Address, weight uint32) (proposalId *big.Int, err error)
apply for update governor, only governor can call it account new governor address weight 0 == delete, bigger than 0 == update or insert
func (*AuthManagerService) VoteProposal ¶
func (service *AuthManagerService) VoteProposal(proposalId big.Int, agree bool) (receipt *types.Receipt, err error)
unified vote, only governor can call it
type Committee ¶
type Committee struct { CommitteeCaller // Read-only binding to the contract CommitteeTransactor // Write-only binding to the contract CommitteeFilterer // Log filterer for contract events }
Committee is an auto generated Go binding around a Solidity contract.
func DeployCommittee ¶
func DeployCommittee(auth *bind.TransactOpts, backend bind.ContractBackend, governorList []common.Address, weightList []uint32, participatesRate uint8, winRate uint8) (common.Address, *types.Receipt, *Committee, error)
DeployCommittee deploys a new contract, binding an instance of Committee to it.
func NewCommittee ¶
NewCommittee creates a new instance of Committee, bound to a specific deployed contract.
type CommitteeCaller ¶
type CommitteeCaller struct {
// contains filtered or unexported fields
}
CommitteeCaller is an auto generated read-only Go binding around a Solidity contract.
func NewCommitteeCaller ¶
func NewCommitteeCaller(address common.Address, caller bind.ContractCaller) (*CommitteeCaller, error)
NewCommitteeCaller creates a new read-only instance of Committee, bound to a specific deployed contract.
func (*CommitteeCaller) Auth ¶
Auth is a free data retrieval call binding the contract method 0xcd5d2118.
Solidity: function auth(address src) constant returns(bool)
func (*CommitteeCaller) GetCommitteeInfo ¶
func (_Committee *CommitteeCaller) GetCommitteeInfo(opts *bind.CallOpts) (struct { ParticipatesRate uint8 WinRate uint8 Governors []common.Address Weights []uint32 }, error)
GetCommitteeInfo is a free data retrieval call binding the contract method 0x5e77fe20.
Solidity: function getCommitteeInfo() constant returns(uint8 participatesRate, uint8 winRate, address[] governors, uint32[] weights)
func (*CommitteeCaller) GetWeight ¶
func (_Committee *CommitteeCaller) GetWeight(opts *bind.CallOpts, governor common.Address) (uint32, error)
GetWeight is a free data retrieval call binding the contract method 0xac6c5251.
Solidity: function getWeight(address governor) constant returns(uint32)
func (*CommitteeCaller) GetWeights ¶
func (_Committee *CommitteeCaller) GetWeights(opts *bind.CallOpts) (uint32, error)
GetWeights is a free data retrieval call binding the contract method 0x22acb867.
Solidity: function getWeights() constant returns(uint32)
func (*CommitteeCaller) GetWeights0 ¶
func (_Committee *CommitteeCaller) GetWeights0(opts *bind.CallOpts, votes []common.Address) (uint32, error)
GetWeights0 is a free data retrieval call binding the contract method 0x965b9ff1.
Solidity: function getWeights(address[] votes) constant returns(uint32)
func (*CommitteeCaller) IsGovernor ¶
func (_Committee *CommitteeCaller) IsGovernor(opts *bind.CallOpts, governor common.Address) (bool, error)
IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.
Solidity: function isGovernor(address governor) constant returns(bool)
func (*CommitteeCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0xb2bdfa7b.
Solidity: function _owner() constant returns(address)
func (*CommitteeCaller) ParticipatesRate ¶
func (_Committee *CommitteeCaller) ParticipatesRate(opts *bind.CallOpts) (uint8, error)
ParticipatesRate is a free data retrieval call binding the contract method 0x5615696f.
Solidity: function _participatesRate() constant returns(uint8)
type CommitteeCallerRaw ¶
type CommitteeCallerRaw struct {
Contract *CommitteeCaller // Generic read-only contract binding to access the raw methods on
}
CommitteeCallerRaw is an auto generated low-level read-only Go binding around a Solidity contract.
func (*CommitteeCallerRaw) Call ¶
func (_Committee *CommitteeCallerRaw) 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 CommitteeCallerSession ¶
type CommitteeCallerSession struct { Contract *CommitteeCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CommitteeCallerSession is an auto generated read-only Go binding around a Solidity contract, with pre-set call options.
func (*CommitteeCallerSession) Auth ¶
func (_Committee *CommitteeCallerSession) Auth(src common.Address) (bool, error)
Auth is a free data retrieval call binding the contract method 0xcd5d2118.
Solidity: function auth(address src) constant returns(bool)
func (*CommitteeCallerSession) GetCommitteeInfo ¶
func (_Committee *CommitteeCallerSession) GetCommitteeInfo() (struct { ParticipatesRate uint8 WinRate uint8 Governors []common.Address Weights []uint32 }, error)
GetCommitteeInfo is a free data retrieval call binding the contract method 0x5e77fe20.
Solidity: function getCommitteeInfo() constant returns(uint8 participatesRate, uint8 winRate, address[] governors, uint32[] weights)
func (*CommitteeCallerSession) GetWeight ¶
func (_Committee *CommitteeCallerSession) GetWeight(governor common.Address) (uint32, error)
GetWeight is a free data retrieval call binding the contract method 0xac6c5251.
Solidity: function getWeight(address governor) constant returns(uint32)
func (*CommitteeCallerSession) GetWeights ¶
func (_Committee *CommitteeCallerSession) GetWeights() (uint32, error)
GetWeights is a free data retrieval call binding the contract method 0x22acb867.
Solidity: function getWeights() constant returns(uint32)
func (*CommitteeCallerSession) GetWeights0 ¶
func (_Committee *CommitteeCallerSession) GetWeights0(votes []common.Address) (uint32, error)
GetWeights0 is a free data retrieval call binding the contract method 0x965b9ff1.
Solidity: function getWeights(address[] votes) constant returns(uint32)
func (*CommitteeCallerSession) IsGovernor ¶
func (_Committee *CommitteeCallerSession) IsGovernor(governor common.Address) (bool, error)
IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.
Solidity: function isGovernor(address governor) constant returns(bool)
func (*CommitteeCallerSession) Owner ¶
func (_Committee *CommitteeCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0xb2bdfa7b.
Solidity: function _owner() constant returns(address)
func (*CommitteeCallerSession) ParticipatesRate ¶
func (_Committee *CommitteeCallerSession) ParticipatesRate() (uint8, error)
ParticipatesRate is a free data retrieval call binding the contract method 0x5615696f.
Solidity: function _participatesRate() constant returns(uint8)
func (*CommitteeCallerSession) WinRate ¶
func (_Committee *CommitteeCallerSession) WinRate() (uint8, error)
WinRate is a free data retrieval call binding the contract method 0xb6fd9067.
Solidity: function _winRate() constant returns(uint8)
type CommitteeFilterer ¶
type CommitteeFilterer struct {
// contains filtered or unexported fields
}
CommitteeFilterer is an auto generated log filtering Go binding around a Solidity contract events.
func NewCommitteeFilterer ¶
func NewCommitteeFilterer(address common.Address, filterer bind.ContractFilterer) (*CommitteeFilterer, error)
NewCommitteeFilterer creates a new log filterer instance of Committee, bound to a specific deployed contract.
type CommitteeInfo ¶
type CommitteeManager ¶
type CommitteeManager struct { CommitteeManagerCaller // Read-only binding to the contract CommitteeManagerTransactor // Write-only binding to the contract CommitteeManagerFilterer // Log filterer for contract events }
CommitteeManager is an auto generated Go binding around a Solidity contract.
func DeployCommitteeManager ¶
func DeployCommitteeManager(auth *bind.TransactOpts, backend bind.ContractBackend, initGovernors []common.Address, weights []uint32, participatesRate uint8, winRate uint8) (common.Address, *types.Receipt, *CommitteeManager, error)
DeployCommitteeManager deploys a new contract, binding an instance of CommitteeManager to it.
func NewCommitteeManager ¶
func NewCommitteeManager(address common.Address, backend bind.ContractBackend) (*CommitteeManager, error)
NewCommitteeManager creates a new instance of CommitteeManager, bound to a specific deployed contract.
type CommitteeManagerCaller ¶
type CommitteeManagerCaller struct {
// contains filtered or unexported fields
}
CommitteeManagerCaller is an auto generated read-only Go binding around a Solidity contract.
func NewCommitteeManagerCaller ¶
func NewCommitteeManagerCaller(address common.Address, caller bind.ContractCaller) (*CommitteeManagerCaller, error)
NewCommitteeManagerCaller creates a new read-only instance of CommitteeManager, bound to a specific deployed contract.
func (*CommitteeManagerCaller) Committee ¶
func (_CommitteeManager *CommitteeManagerCaller) Committee(opts *bind.CallOpts) (common.Address, error)
Committee is a free data retrieval call binding the contract method 0x185c1587.
Solidity: function _committee() constant returns(address)
func (*CommitteeManagerCaller) GetProposalType ¶
func (_CommitteeManager *CommitteeManagerCaller) GetProposalType(opts *bind.CallOpts, proposalId *big.Int) (uint8, error)
GetProposalType is a free data retrieval call binding the contract method 0xd978ffba.
Solidity: function getProposalType(uint256 proposalId) constant returns(uint8)
func (*CommitteeManagerCaller) IsGovernor ¶
func (_CommitteeManager *CommitteeManagerCaller) IsGovernor(opts *bind.CallOpts, account common.Address) (bool, error)
IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.
Solidity: function isGovernor(address account) constant returns(bool)
func (*CommitteeManagerCaller) ProposalMgr ¶
func (_CommitteeManager *CommitteeManagerCaller) ProposalMgr(opts *bind.CallOpts) (common.Address, error)
ProposalMgr is a free data retrieval call binding the contract method 0xf675fdaa.
Solidity: function _proposalMgr() constant returns(address)
type CommitteeManagerCallerRaw ¶
type CommitteeManagerCallerRaw struct {
Contract *CommitteeManagerCaller // Generic read-only contract binding to access the raw methods on
}
CommitteeManagerCallerRaw is an auto generated low-level read-only Go binding around a Solidity contract.
func (*CommitteeManagerCallerRaw) Call ¶
func (_CommitteeManager *CommitteeManagerCallerRaw) 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 CommitteeManagerCallerSession ¶
type CommitteeManagerCallerSession struct { Contract *CommitteeManagerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
CommitteeManagerCallerSession is an auto generated read-only Go binding around a Solidity contract, with pre-set call options.
func (*CommitteeManagerCallerSession) Committee ¶
func (_CommitteeManager *CommitteeManagerCallerSession) Committee() (common.Address, error)
Committee is a free data retrieval call binding the contract method 0x185c1587.
Solidity: function _committee() constant returns(address)
func (*CommitteeManagerCallerSession) GetProposalType ¶
func (_CommitteeManager *CommitteeManagerCallerSession) GetProposalType(proposalId *big.Int) (uint8, error)
GetProposalType is a free data retrieval call binding the contract method 0xd978ffba.
Solidity: function getProposalType(uint256 proposalId) constant returns(uint8)
func (*CommitteeManagerCallerSession) IsGovernor ¶
func (_CommitteeManager *CommitteeManagerCallerSession) IsGovernor(account common.Address) (bool, error)
IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.
Solidity: function isGovernor(address account) constant returns(bool)
func (*CommitteeManagerCallerSession) ProposalMgr ¶
func (_CommitteeManager *CommitteeManagerCallerSession) ProposalMgr() (common.Address, error)
ProposalMgr is a free data retrieval call binding the contract method 0xf675fdaa.
Solidity: function _proposalMgr() constant returns(address)
type CommitteeManagerExecResult ¶
type CommitteeManagerExecResult struct { Arg0 *big.Int Raw types.Log // Blockchain specific contextual infos }
CommitteeManagerExecResult represents a ExecResult event raised by the CommitteeManager contract.
type CommitteeManagerFilterer ¶
type CommitteeManagerFilterer struct {
// contains filtered or unexported fields
}
CommitteeManagerFilterer is an auto generated log filtering Go binding around a Solidity contract events.
func NewCommitteeManagerFilterer ¶
func NewCommitteeManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*CommitteeManagerFilterer, error)
NewCommitteeManagerFilterer creates a new log filterer instance of CommitteeManager, bound to a specific deployed contract.
func (*CommitteeManagerFilterer) ParseExecResult ¶
func (_CommitteeManager *CommitteeManagerFilterer) ParseExecResult(log types.Log) (*CommitteeManagerExecResult, error)
ParseExecResult is a log parse operation binding the contract event 0x7251e13f6f51fdfe60094817f80310366d2e1148fe8a46cb475b582d35bfdea8.
Solidity: event execResult(int256 )
func (*CommitteeManagerFilterer) WatchAllExecResult ¶
func (*CommitteeManagerFilterer) WatchExecResult ¶
func (_CommitteeManager *CommitteeManagerFilterer) WatchExecResult(fromBlock *uint64, handler func(int, []types.Log)) (string, error)
WatchExecResult is a free log subscription operation binding the contract event 0x7251e13f6f51fdfe60094817f80310366d2e1148fe8a46cb475b582d35bfdea8.
Solidity: event execResult(int256 )
type CommitteeManagerRaw ¶
type CommitteeManagerRaw struct {
Contract *CommitteeManager // Generic contract binding to access the raw methods on
}
CommitteeManagerRaw is an auto generated low-level Go binding around a Solidity contract.
func (*CommitteeManagerRaw) Call ¶
func (_CommitteeManager *CommitteeManagerRaw) 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 (*CommitteeManagerRaw) TransactWithResult ¶
func (_CommitteeManager *CommitteeManagerRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
Transact invokes the (paid) contract method with params as input values.
func (*CommitteeManagerRaw) Transfer ¶
func (_CommitteeManager *CommitteeManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type CommitteeManagerSession ¶
type CommitteeManagerSession struct { Contract *CommitteeManager // 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 }
CommitteeManagerSession is an auto generated Go binding around a Solidity contract, with pre-set call and transact options.
func (*CommitteeManagerSession) AsyncCreateModifyDeployAuthProposal ¶
func (*CommitteeManagerSession) AsyncCreateResetAdminProposal ¶
func (*CommitteeManagerSession) AsyncCreateRmNodeProposal ¶
func (_CommitteeManager *CommitteeManagerSession) AsyncCreateRmNodeProposal(handler func(*types.Receipt, error), node string, blockNumberInterval *big.Int) (*types.Transaction, error)
func (*CommitteeManagerSession) AsyncCreateSetConsensusWeightProposal ¶
func (*CommitteeManagerSession) AsyncCreateSetDeployAuthTypeProposal ¶
func (_CommitteeManager *CommitteeManagerSession) AsyncCreateSetDeployAuthTypeProposal(handler func(*types.Receipt, error), deployAuthType uint8, blockNumberInterval *big.Int) (*types.Transaction, error)
func (*CommitteeManagerSession) AsyncCreateSetRateProposal ¶
func (*CommitteeManagerSession) AsyncCreateSetSysConfigProposal ¶
func (*CommitteeManagerSession) AsyncCreateUpdateGovernorProposal ¶
func (*CommitteeManagerSession) AsyncCreateUpgradeVoteComputerProposal ¶
func (*CommitteeManagerSession) AsyncRevokeProposal ¶
func (_CommitteeManager *CommitteeManagerSession) AsyncRevokeProposal(handler func(*types.Receipt, error), proposalId *big.Int) (*types.Transaction, error)
func (*CommitteeManagerSession) AsyncVoteProposal ¶
func (_CommitteeManager *CommitteeManagerSession) AsyncVoteProposal(handler func(*types.Receipt, error), proposalId *big.Int, agree bool) (*types.Transaction, error)
func (*CommitteeManagerSession) Committee ¶
func (_CommitteeManager *CommitteeManagerSession) Committee() (common.Address, error)
Committee is a free data retrieval call binding the contract method 0x185c1587.
Solidity: function _committee() constant returns(address)
func (*CommitteeManagerSession) CreateModifyDeployAuthProposal ¶
func (_CommitteeManager *CommitteeManagerSession) CreateModifyDeployAuthProposal(account common.Address, openFlag bool, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateModifyDeployAuthProposal is a paid mutator transaction binding the contract method 0x6ba4790c.
Solidity: function createModifyDeployAuthProposal(address account, bool openFlag, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerSession) CreateResetAdminProposal ¶
func (_CommitteeManager *CommitteeManagerSession) CreateResetAdminProposal(newAdmin common.Address, contractAddr common.Address, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateResetAdminProposal is a paid mutator transaction binding the contract method 0x7475f00f.
Solidity: function createResetAdminProposal(address newAdmin, address contractAddr, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerSession) CreateRmNodeProposal ¶
func (_CommitteeManager *CommitteeManagerSession) CreateRmNodeProposal(node string, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateRmNodeProposal is a paid mutator transaction binding the contract method 0x65012582.
Solidity: function createRmNodeProposal(string node, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerSession) CreateSetConsensusWeightProposal ¶
func (_CommitteeManager *CommitteeManagerSession) CreateSetConsensusWeightProposal(node string, weight uint32, addFlag bool, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateSetConsensusWeightProposal is a paid mutator transaction binding the contract method 0x9e3f4f4e.
Solidity: function createSetConsensusWeightProposal(string node, uint32 weight, bool addFlag, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerSession) CreateSetDeployAuthTypeProposal ¶
func (_CommitteeManager *CommitteeManagerSession) CreateSetDeployAuthTypeProposal(deployAuthType uint8, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateSetDeployAuthTypeProposal is a paid mutator transaction binding the contract method 0x614235f3.
Solidity: function createSetDeployAuthTypeProposal(uint8 deployAuthType, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerSession) CreateSetRateProposal ¶
func (_CommitteeManager *CommitteeManagerSession) CreateSetRateProposal(participatesRate uint8, winRate uint8, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateSetRateProposal is a paid mutator transaction binding the contract method 0x03f19159.
Solidity: function createSetRateProposal(uint8 participatesRate, uint8 winRate, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerSession) CreateSetSysConfigProposal ¶
func (_CommitteeManager *CommitteeManagerSession) CreateSetSysConfigProposal(key string, value string, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateSetSysConfigProposal is a paid mutator transaction binding the contract method 0x7a25132d.
Solidity: function createSetSysConfigProposal(string key, string value, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerSession) CreateUpdateGovernorProposal ¶
func (_CommitteeManager *CommitteeManagerSession) CreateUpdateGovernorProposal(account common.Address, weight uint32, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateUpdateGovernorProposal is a paid mutator transaction binding the contract method 0x3234f0e6.
Solidity: function createUpdateGovernorProposal(address account, uint32 weight, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerSession) CreateUpgradeVoteComputerProposal ¶
func (_CommitteeManager *CommitteeManagerSession) CreateUpgradeVoteComputerProposal(newAddr common.Address, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateUpgradeVoteComputerProposal is a paid mutator transaction binding the contract method 0x7222b4a8.
Solidity: function createUpgradeVoteComputerProposal(address newAddr, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerSession) GetProposalType ¶
func (_CommitteeManager *CommitteeManagerSession) GetProposalType(proposalId *big.Int) (uint8, error)
GetProposalType is a free data retrieval call binding the contract method 0xd978ffba.
Solidity: function getProposalType(uint256 proposalId) constant returns(uint8)
func (*CommitteeManagerSession) IsGovernor ¶
func (_CommitteeManager *CommitteeManagerSession) IsGovernor(account common.Address) (bool, error)
IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.
Solidity: function isGovernor(address account) constant returns(bool)
func (*CommitteeManagerSession) ParseExecResult ¶
func (_CommitteeManager *CommitteeManagerSession) ParseExecResult(log types.Log) (*CommitteeManagerExecResult, error)
ParseExecResult is a log parse operation binding the contract event 0x7251e13f6f51fdfe60094817f80310366d2e1148fe8a46cb475b582d35bfdea8.
Solidity: event execResult(int256 )
func (*CommitteeManagerSession) ProposalMgr ¶
func (_CommitteeManager *CommitteeManagerSession) ProposalMgr() (common.Address, error)
ProposalMgr is a free data retrieval call binding the contract method 0xf675fdaa.
Solidity: function _proposalMgr() constant returns(address)
func (*CommitteeManagerSession) RevokeProposal ¶
func (_CommitteeManager *CommitteeManagerSession) RevokeProposal(proposalId *big.Int) (*types.Transaction, *types.Receipt, error)
RevokeProposal is a paid mutator transaction binding the contract method 0x85a6a091.
Solidity: function revokeProposal(uint256 proposalId) returns()
func (*CommitteeManagerSession) VoteProposal ¶
func (_CommitteeManager *CommitteeManagerSession) VoteProposal(proposalId *big.Int, agree bool) (*types.Transaction, *types.Receipt, error)
VoteProposal is a paid mutator transaction binding the contract method 0xbcfb9b61.
Solidity: function voteProposal(uint256 proposalId, bool agree) returns()
func (*CommitteeManagerSession) WatchAllExecResult ¶
func (*CommitteeManagerSession) WatchExecResult ¶
func (_CommitteeManager *CommitteeManagerSession) WatchExecResult(fromBlock *uint64, handler func(int, []types.Log)) (string, error)
WatchExecResult is a free log subscription operation binding the contract event 0x7251e13f6f51fdfe60094817f80310366d2e1148fe8a46cb475b582d35bfdea8.
Solidity: event execResult(int256 )
type CommitteeManagerTransactor ¶
type CommitteeManagerTransactor struct {
// contains filtered or unexported fields
}
CommitteeManagerTransactor is an auto generated write-only Go binding around a Solidity contract.
func NewCommitteeManagerTransactor ¶
func NewCommitteeManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*CommitteeManagerTransactor, error)
NewCommitteeManagerTransactor creates a new write-only instance of CommitteeManager, bound to a specific deployed contract.
func (*CommitteeManagerTransactor) AsyncCreateModifyDeployAuthProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateModifyDeployAuthProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, account common.Address, openFlag bool, blockNumberInterval *big.Int) (*types.Transaction, error)
func (*CommitteeManagerTransactor) AsyncCreateResetAdminProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateResetAdminProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, newAdmin common.Address, contractAddr common.Address, blockNumberInterval *big.Int) (*types.Transaction, error)
func (*CommitteeManagerTransactor) AsyncCreateRmNodeProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateRmNodeProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, node string, blockNumberInterval *big.Int) (*types.Transaction, error)
func (*CommitteeManagerTransactor) AsyncCreateSetConsensusWeightProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateSetConsensusWeightProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, node string, weight uint32, addFlag bool, blockNumberInterval *big.Int) (*types.Transaction, error)
func (*CommitteeManagerTransactor) AsyncCreateSetDeployAuthTypeProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateSetDeployAuthTypeProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, deployAuthType uint8, blockNumberInterval *big.Int) (*types.Transaction, error)
func (*CommitteeManagerTransactor) AsyncCreateSetRateProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateSetRateProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, participatesRate uint8, winRate uint8, blockNumberInterval *big.Int) (*types.Transaction, error)
func (*CommitteeManagerTransactor) AsyncCreateSetSysConfigProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateSetSysConfigProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, key string, value string, blockNumberInterval *big.Int) (*types.Transaction, error)
func (*CommitteeManagerTransactor) AsyncCreateUpdateGovernorProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateUpdateGovernorProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, account common.Address, weight uint32, blockNumberInterval *big.Int) (*types.Transaction, error)
func (*CommitteeManagerTransactor) AsyncCreateUpgradeVoteComputerProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) AsyncCreateUpgradeVoteComputerProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, newAddr common.Address, blockNumberInterval *big.Int) (*types.Transaction, error)
func (*CommitteeManagerTransactor) AsyncRevokeProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) AsyncRevokeProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, proposalId *big.Int) (*types.Transaction, error)
func (*CommitteeManagerTransactor) AsyncVoteProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) AsyncVoteProposal(handler func(*types.Receipt, error), opts *bind.TransactOpts, proposalId *big.Int, agree bool) (*types.Transaction, error)
func (*CommitteeManagerTransactor) CreateModifyDeployAuthProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) CreateModifyDeployAuthProposal(opts *bind.TransactOpts, account common.Address, openFlag bool, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateModifyDeployAuthProposal is a paid mutator transaction binding the contract method 0x6ba4790c.
Solidity: function createModifyDeployAuthProposal(address account, bool openFlag, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactor) CreateResetAdminProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) CreateResetAdminProposal(opts *bind.TransactOpts, newAdmin common.Address, contractAddr common.Address, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateResetAdminProposal is a paid mutator transaction binding the contract method 0x7475f00f.
Solidity: function createResetAdminProposal(address newAdmin, address contractAddr, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactor) CreateRmNodeProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) CreateRmNodeProposal(opts *bind.TransactOpts, node string, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateRmNodeProposal is a paid mutator transaction binding the contract method 0x65012582.
Solidity: function createRmNodeProposal(string node, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactor) CreateSetConsensusWeightProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) CreateSetConsensusWeightProposal(opts *bind.TransactOpts, node string, weight uint32, addFlag bool, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateSetConsensusWeightProposal is a paid mutator transaction binding the contract method 0x9e3f4f4e.
Solidity: function createSetConsensusWeightProposal(string node, uint32 weight, bool addFlag, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactor) CreateSetDeployAuthTypeProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) CreateSetDeployAuthTypeProposal(opts *bind.TransactOpts, deployAuthType uint8, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateSetDeployAuthTypeProposal is a paid mutator transaction binding the contract method 0x614235f3.
Solidity: function createSetDeployAuthTypeProposal(uint8 deployAuthType, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactor) CreateSetRateProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) CreateSetRateProposal(opts *bind.TransactOpts, participatesRate uint8, winRate uint8, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateSetRateProposal is a paid mutator transaction binding the contract method 0x03f19159.
Solidity: function createSetRateProposal(uint8 participatesRate, uint8 winRate, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactor) CreateSetSysConfigProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) CreateSetSysConfigProposal(opts *bind.TransactOpts, key string, value string, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateSetSysConfigProposal is a paid mutator transaction binding the contract method 0x7a25132d.
Solidity: function createSetSysConfigProposal(string key, string value, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactor) CreateUpdateGovernorProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) CreateUpdateGovernorProposal(opts *bind.TransactOpts, account common.Address, weight uint32, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateUpdateGovernorProposal is a paid mutator transaction binding the contract method 0x3234f0e6.
Solidity: function createUpdateGovernorProposal(address account, uint32 weight, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactor) CreateUpgradeVoteComputerProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) CreateUpgradeVoteComputerProposal(opts *bind.TransactOpts, newAddr common.Address, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateUpgradeVoteComputerProposal is a paid mutator transaction binding the contract method 0x7222b4a8.
Solidity: function createUpgradeVoteComputerProposal(address newAddr, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactor) RevokeProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) RevokeProposal(opts *bind.TransactOpts, proposalId *big.Int) (*types.Transaction, *types.Receipt, error)
RevokeProposal is a paid mutator transaction binding the contract method 0x85a6a091.
Solidity: function revokeProposal(uint256 proposalId) returns()
func (*CommitteeManagerTransactor) VoteProposal ¶
func (_CommitteeManager *CommitteeManagerTransactor) VoteProposal(opts *bind.TransactOpts, proposalId *big.Int, agree bool) (*types.Transaction, *types.Receipt, error)
VoteProposal is a paid mutator transaction binding the contract method 0xbcfb9b61.
Solidity: function voteProposal(uint256 proposalId, bool agree) returns()
type CommitteeManagerTransactorRaw ¶
type CommitteeManagerTransactorRaw struct {
Contract *CommitteeManagerTransactor // Generic write-only contract binding to access the raw methods on
}
CommitteeManagerTransactorRaw is an auto generated low-level write-only Go binding around a Solidity contract.
func (*CommitteeManagerTransactorRaw) TransactWithResult ¶
func (_CommitteeManager *CommitteeManagerTransactorRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
Transact invokes the (paid) contract method with params as input values.
func (*CommitteeManagerTransactorRaw) Transfer ¶
func (_CommitteeManager *CommitteeManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type CommitteeManagerTransactorSession ¶
type CommitteeManagerTransactorSession struct { Contract *CommitteeManagerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CommitteeManagerTransactorSession is an auto generated write-only Go binding around a Solidity contract, with pre-set transact options.
func (*CommitteeManagerTransactorSession) AsyncCreateModifyDeployAuthProposal ¶
func (*CommitteeManagerTransactorSession) AsyncCreateResetAdminProposal ¶
func (*CommitteeManagerTransactorSession) AsyncCreateRmNodeProposal ¶
func (_CommitteeManager *CommitteeManagerTransactorSession) AsyncCreateRmNodeProposal(handler func(*types.Receipt, error), node string, blockNumberInterval *big.Int) (*types.Transaction, error)
func (*CommitteeManagerTransactorSession) AsyncCreateSetConsensusWeightProposal ¶
func (*CommitteeManagerTransactorSession) AsyncCreateSetDeployAuthTypeProposal ¶
func (_CommitteeManager *CommitteeManagerTransactorSession) AsyncCreateSetDeployAuthTypeProposal(handler func(*types.Receipt, error), deployAuthType uint8, blockNumberInterval *big.Int) (*types.Transaction, error)
func (*CommitteeManagerTransactorSession) AsyncCreateSetRateProposal ¶
func (*CommitteeManagerTransactorSession) AsyncCreateSetSysConfigProposal ¶
func (*CommitteeManagerTransactorSession) AsyncCreateUpdateGovernorProposal ¶
func (*CommitteeManagerTransactorSession) AsyncCreateUpgradeVoteComputerProposal ¶
func (*CommitteeManagerTransactorSession) AsyncRevokeProposal ¶
func (_CommitteeManager *CommitteeManagerTransactorSession) AsyncRevokeProposal(handler func(*types.Receipt, error), proposalId *big.Int) (*types.Transaction, error)
func (*CommitteeManagerTransactorSession) AsyncVoteProposal ¶
func (_CommitteeManager *CommitteeManagerTransactorSession) AsyncVoteProposal(handler func(*types.Receipt, error), proposalId *big.Int, agree bool) (*types.Transaction, error)
func (*CommitteeManagerTransactorSession) CreateModifyDeployAuthProposal ¶
func (_CommitteeManager *CommitteeManagerTransactorSession) CreateModifyDeployAuthProposal(account common.Address, openFlag bool, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateModifyDeployAuthProposal is a paid mutator transaction binding the contract method 0x6ba4790c.
Solidity: function createModifyDeployAuthProposal(address account, bool openFlag, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactorSession) CreateResetAdminProposal ¶
func (_CommitteeManager *CommitteeManagerTransactorSession) CreateResetAdminProposal(newAdmin common.Address, contractAddr common.Address, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateResetAdminProposal is a paid mutator transaction binding the contract method 0x7475f00f.
Solidity: function createResetAdminProposal(address newAdmin, address contractAddr, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactorSession) CreateRmNodeProposal ¶
func (_CommitteeManager *CommitteeManagerTransactorSession) CreateRmNodeProposal(node string, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateRmNodeProposal is a paid mutator transaction binding the contract method 0x65012582.
Solidity: function createRmNodeProposal(string node, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactorSession) CreateSetConsensusWeightProposal ¶
func (_CommitteeManager *CommitteeManagerTransactorSession) CreateSetConsensusWeightProposal(node string, weight uint32, addFlag bool, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateSetConsensusWeightProposal is a paid mutator transaction binding the contract method 0x9e3f4f4e.
Solidity: function createSetConsensusWeightProposal(string node, uint32 weight, bool addFlag, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactorSession) CreateSetDeployAuthTypeProposal ¶
func (_CommitteeManager *CommitteeManagerTransactorSession) CreateSetDeployAuthTypeProposal(deployAuthType uint8, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateSetDeployAuthTypeProposal is a paid mutator transaction binding the contract method 0x614235f3.
Solidity: function createSetDeployAuthTypeProposal(uint8 deployAuthType, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactorSession) CreateSetRateProposal ¶
func (_CommitteeManager *CommitteeManagerTransactorSession) CreateSetRateProposal(participatesRate uint8, winRate uint8, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateSetRateProposal is a paid mutator transaction binding the contract method 0x03f19159.
Solidity: function createSetRateProposal(uint8 participatesRate, uint8 winRate, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactorSession) CreateSetSysConfigProposal ¶
func (_CommitteeManager *CommitteeManagerTransactorSession) CreateSetSysConfigProposal(key string, value string, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateSetSysConfigProposal is a paid mutator transaction binding the contract method 0x7a25132d.
Solidity: function createSetSysConfigProposal(string key, string value, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactorSession) CreateUpdateGovernorProposal ¶
func (_CommitteeManager *CommitteeManagerTransactorSession) CreateUpdateGovernorProposal(account common.Address, weight uint32, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateUpdateGovernorProposal is a paid mutator transaction binding the contract method 0x3234f0e6.
Solidity: function createUpdateGovernorProposal(address account, uint32 weight, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactorSession) CreateUpgradeVoteComputerProposal ¶
func (_CommitteeManager *CommitteeManagerTransactorSession) CreateUpgradeVoteComputerProposal(newAddr common.Address, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
CreateUpgradeVoteComputerProposal is a paid mutator transaction binding the contract method 0x7222b4a8.
Solidity: function createUpgradeVoteComputerProposal(address newAddr, uint256 blockNumberInterval) returns(uint256 currentproposalId)
func (*CommitteeManagerTransactorSession) RevokeProposal ¶
func (_CommitteeManager *CommitteeManagerTransactorSession) RevokeProposal(proposalId *big.Int) (*types.Transaction, *types.Receipt, error)
RevokeProposal is a paid mutator transaction binding the contract method 0x85a6a091.
Solidity: function revokeProposal(uint256 proposalId) returns()
func (*CommitteeManagerTransactorSession) VoteProposal ¶
func (_CommitteeManager *CommitteeManagerTransactorSession) VoteProposal(proposalId *big.Int, agree bool) (*types.Transaction, *types.Receipt, error)
VoteProposal is a paid mutator transaction binding the contract method 0xbcfb9b61.
Solidity: function voteProposal(uint256 proposalId, bool agree) returns()
type CommitteeRaw ¶
type CommitteeRaw struct {
Contract *Committee // Generic contract binding to access the raw methods on
}
CommitteeRaw is an auto generated low-level Go binding around a Solidity contract.
func (*CommitteeRaw) Call ¶
func (_Committee *CommitteeRaw) 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 (*CommitteeRaw) TransactWithResult ¶
func (_Committee *CommitteeRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
Transact invokes the (paid) contract method with params as input values.
func (*CommitteeRaw) Transfer ¶
func (_Committee *CommitteeRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type CommitteeSession ¶
type CommitteeSession struct { Contract *Committee // 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 }
CommitteeSession is an auto generated Go binding around a Solidity contract, with pre-set call and transact options.
func (*CommitteeSession) AsyncSetOwner ¶
func (_Committee *CommitteeSession) AsyncSetOwner(handler func(*types.Receipt, error), owner common.Address) (*types.Transaction, error)
func (*CommitteeSession) AsyncSetRate ¶
func (_Committee *CommitteeSession) AsyncSetRate(handler func(*types.Receipt, error), participatesRate uint8, winRate uint8) (*types.Transaction, error)
func (*CommitteeSession) AsyncSetWeight ¶
func (_Committee *CommitteeSession) AsyncSetWeight(handler func(*types.Receipt, error), governor common.Address, weight uint32) (*types.Transaction, error)
func (*CommitteeSession) Auth ¶
func (_Committee *CommitteeSession) Auth(src common.Address) (bool, error)
Auth is a free data retrieval call binding the contract method 0xcd5d2118.
Solidity: function auth(address src) constant returns(bool)
func (*CommitteeSession) GetCommitteeInfo ¶
func (_Committee *CommitteeSession) GetCommitteeInfo() (struct { ParticipatesRate uint8 WinRate uint8 Governors []common.Address Weights []uint32 }, error)
GetCommitteeInfo is a free data retrieval call binding the contract method 0x5e77fe20.
Solidity: function getCommitteeInfo() constant returns(uint8 participatesRate, uint8 winRate, address[] governors, uint32[] weights)
func (*CommitteeSession) GetWeight ¶
func (_Committee *CommitteeSession) GetWeight(governor common.Address) (uint32, error)
GetWeight is a free data retrieval call binding the contract method 0xac6c5251.
Solidity: function getWeight(address governor) constant returns(uint32)
func (*CommitteeSession) GetWeights ¶
func (_Committee *CommitteeSession) GetWeights() (uint32, error)
GetWeights is a free data retrieval call binding the contract method 0x22acb867.
Solidity: function getWeights() constant returns(uint32)
func (*CommitteeSession) GetWeights0 ¶
func (_Committee *CommitteeSession) GetWeights0(votes []common.Address) (uint32, error)
GetWeights0 is a free data retrieval call binding the contract method 0x965b9ff1.
Solidity: function getWeights(address[] votes) constant returns(uint32)
func (*CommitteeSession) IsGovernor ¶
func (_Committee *CommitteeSession) IsGovernor(governor common.Address) (bool, error)
IsGovernor is a free data retrieval call binding the contract method 0xe43581b8.
Solidity: function isGovernor(address governor) constant returns(bool)
func (*CommitteeSession) Owner ¶
func (_Committee *CommitteeSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0xb2bdfa7b.
Solidity: function _owner() constant returns(address)
func (*CommitteeSession) ParticipatesRate ¶
func (_Committee *CommitteeSession) ParticipatesRate() (uint8, error)
ParticipatesRate is a free data retrieval call binding the contract method 0x5615696f.
Solidity: function _participatesRate() constant returns(uint8)
func (*CommitteeSession) SetOwner ¶
func (_Committee *CommitteeSession) SetOwner(owner common.Address) (*types.Transaction, *types.Receipt, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address owner) returns()
func (*CommitteeSession) SetRate ¶
func (_Committee *CommitteeSession) SetRate(participatesRate uint8, winRate uint8) (*types.Transaction, *types.Receipt, error)
SetRate is a paid mutator transaction binding the contract method 0x99bc9c1b.
Solidity: function setRate(uint8 participatesRate, uint8 winRate) returns()
func (*CommitteeSession) SetWeight ¶
func (_Committee *CommitteeSession) SetWeight(governor common.Address, weight uint32) (*types.Transaction, *types.Receipt, error)
SetWeight is a paid mutator transaction binding the contract method 0xf437695a.
Solidity: function setWeight(address governor, uint32 weight) returns()
func (*CommitteeSession) WinRate ¶
func (_Committee *CommitteeSession) WinRate() (uint8, error)
WinRate is a free data retrieval call binding the contract method 0xb6fd9067.
Solidity: function _winRate() constant returns(uint8)
type CommitteeTransactor ¶
type CommitteeTransactor struct {
// contains filtered or unexported fields
}
CommitteeTransactor is an auto generated write-only Go binding around a Solidity contract.
func NewCommitteeTransactor ¶
func NewCommitteeTransactor(address common.Address, transactor bind.ContractTransactor) (*CommitteeTransactor, error)
NewCommitteeTransactor creates a new write-only instance of Committee, bound to a specific deployed contract.
func (*CommitteeTransactor) AsyncSetOwner ¶
func (_Committee *CommitteeTransactor) AsyncSetOwner(handler func(*types.Receipt, error), opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)
func (*CommitteeTransactor) AsyncSetRate ¶
func (_Committee *CommitteeTransactor) AsyncSetRate(handler func(*types.Receipt, error), opts *bind.TransactOpts, participatesRate uint8, winRate uint8) (*types.Transaction, error)
func (*CommitteeTransactor) AsyncSetWeight ¶
func (_Committee *CommitteeTransactor) AsyncSetWeight(handler func(*types.Receipt, error), opts *bind.TransactOpts, governor common.Address, weight uint32) (*types.Transaction, error)
func (*CommitteeTransactor) SetOwner ¶
func (_Committee *CommitteeTransactor) SetOwner(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, *types.Receipt, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address owner) returns()
func (*CommitteeTransactor) SetRate ¶
func (_Committee *CommitteeTransactor) SetRate(opts *bind.TransactOpts, participatesRate uint8, winRate uint8) (*types.Transaction, *types.Receipt, error)
SetRate is a paid mutator transaction binding the contract method 0x99bc9c1b.
Solidity: function setRate(uint8 participatesRate, uint8 winRate) returns()
func (*CommitteeTransactor) SetWeight ¶
func (_Committee *CommitteeTransactor) SetWeight(opts *bind.TransactOpts, governor common.Address, weight uint32) (*types.Transaction, *types.Receipt, error)
SetWeight is a paid mutator transaction binding the contract method 0xf437695a.
Solidity: function setWeight(address governor, uint32 weight) returns()
type CommitteeTransactorRaw ¶
type CommitteeTransactorRaw struct {
Contract *CommitteeTransactor // Generic write-only contract binding to access the raw methods on
}
CommitteeTransactorRaw is an auto generated low-level write-only Go binding around a Solidity contract.
func (*CommitteeTransactorRaw) TransactWithResult ¶
func (_Committee *CommitteeTransactorRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
Transact invokes the (paid) contract method with params as input values.
func (*CommitteeTransactorRaw) Transfer ¶
func (_Committee *CommitteeTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type CommitteeTransactorSession ¶
type CommitteeTransactorSession struct { Contract *CommitteeTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
CommitteeTransactorSession is an auto generated write-only Go binding around a Solidity contract, with pre-set transact options.
func (*CommitteeTransactorSession) AsyncSetOwner ¶
func (_Committee *CommitteeTransactorSession) AsyncSetOwner(handler func(*types.Receipt, error), owner common.Address) (*types.Transaction, error)
func (*CommitteeTransactorSession) AsyncSetRate ¶
func (_Committee *CommitteeTransactorSession) AsyncSetRate(handler func(*types.Receipt, error), participatesRate uint8, winRate uint8) (*types.Transaction, error)
func (*CommitteeTransactorSession) AsyncSetWeight ¶
func (_Committee *CommitteeTransactorSession) AsyncSetWeight(handler func(*types.Receipt, error), governor common.Address, weight uint32) (*types.Transaction, error)
func (*CommitteeTransactorSession) SetOwner ¶
func (_Committee *CommitteeTransactorSession) SetOwner(owner common.Address) (*types.Transaction, *types.Receipt, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address owner) returns()
func (*CommitteeTransactorSession) SetRate ¶
func (_Committee *CommitteeTransactorSession) SetRate(participatesRate uint8, winRate uint8) (*types.Transaction, *types.Receipt, error)
SetRate is a paid mutator transaction binding the contract method 0x99bc9c1b.
Solidity: function setRate(uint8 participatesRate, uint8 winRate) returns()
func (*CommitteeTransactorSession) SetWeight ¶
func (_Committee *CommitteeTransactorSession) SetWeight(governor common.Address, weight uint32) (*types.Transaction, *types.Receipt, error)
SetWeight is a paid mutator transaction binding the contract method 0xf437695a.
Solidity: function setWeight(address governor, uint32 weight) returns()
type ContractAuth ¶
type ContractAuth struct { ContractAuthCaller // Read-only binding to the contract ContractAuthTransactor // Write-only binding to the contract ContractAuthFilterer // Log filterer for contract events }
ContractAuth is an auto generated Go binding around a Solidity contract.
func NewContractAuth ¶
func NewContractAuth(address common.Address, backend bind.ContractBackend) (*ContractAuth, error)
NewContractAuth creates a new instance of ContractAuth, bound to a specific deployed contract.
type ContractAuthCaller ¶
type ContractAuthCaller struct {
// contains filtered or unexported fields
}
ContractAuthCaller is an auto generated read-only Go binding around a Solidity contract.
func NewContractAuthCaller ¶
func NewContractAuthCaller(address common.Address, caller bind.ContractCaller) (*ContractAuthCaller, error)
NewContractAuthCaller creates a new read-only instance of ContractAuth, bound to a specific deployed contract.
func (*ContractAuthCaller) CheckMethodAuth ¶
func (_ContractAuth *ContractAuthCaller) CheckMethodAuth(opts *bind.CallOpts, contractAddr common.Address, _func [4]byte, account common.Address) (bool, error)
CheckMethodAuth is a free data retrieval call binding the contract method 0xd8662aa4.
Solidity: function checkMethodAuth(address contractAddr, bytes4 _func, address account) constant returns(bool)
func (*ContractAuthCaller) ContractAvailable ¶
func (_ContractAuth *ContractAuthCaller) ContractAvailable(opts *bind.CallOpts, _address common.Address) (bool, error)
ContractAvailable is a free data retrieval call binding the contract method 0x2c8c4a4f.
Solidity: function contractAvailable(address _address) constant returns(bool)
func (*ContractAuthCaller) DeployType ¶
DeployType is a free data retrieval call binding the contract method 0x1749bea9.
Solidity: function deployType() constant returns(uint256)
func (*ContractAuthCaller) GetAdmin ¶
func (_ContractAuth *ContractAuthCaller) GetAdmin(opts *bind.CallOpts, contractAddr common.Address) (common.Address, error)
GetAdmin is a free data retrieval call binding the contract method 0x64efb22b.
Solidity: function getAdmin(address contractAddr) constant returns(address)
func (*ContractAuthCaller) GetMethodAuth ¶
func (_ContractAuth *ContractAuthCaller) GetMethodAuth(opts *bind.CallOpts, contractAddr common.Address, _func [4]byte) (uint8, []string, []string, error)
GetMethodAuth is a free data retrieval call binding the contract method 0x0578519a.
Solidity: function getMethodAuth(address contractAddr, bytes4 _func) constant returns(uint8, string[], string[])
func (*ContractAuthCaller) HasDeployAuth ¶
func (_ContractAuth *ContractAuthCaller) HasDeployAuth(opts *bind.CallOpts, account common.Address) (bool, error)
HasDeployAuth is a free data retrieval call binding the contract method 0x630577e5.
Solidity: function hasDeployAuth(address account) constant returns(bool)
type ContractAuthCallerRaw ¶
type ContractAuthCallerRaw struct {
Contract *ContractAuthCaller // Generic read-only contract binding to access the raw methods on
}
ContractAuthCallerRaw is an auto generated low-level read-only Go binding around a Solidity contract.
func (*ContractAuthCallerRaw) Call ¶
func (_ContractAuth *ContractAuthCallerRaw) 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 ContractAuthCallerSession ¶
type ContractAuthCallerSession struct { Contract *ContractAuthCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContractAuthCallerSession is an auto generated read-only Go binding around a Solidity contract, with pre-set call options.
func (*ContractAuthCallerSession) CheckMethodAuth ¶
func (_ContractAuth *ContractAuthCallerSession) CheckMethodAuth(contractAddr common.Address, _func [4]byte, account common.Address) (bool, error)
CheckMethodAuth is a free data retrieval call binding the contract method 0xd8662aa4.
Solidity: function checkMethodAuth(address contractAddr, bytes4 _func, address account) constant returns(bool)
func (*ContractAuthCallerSession) ContractAvailable ¶
func (_ContractAuth *ContractAuthCallerSession) ContractAvailable(_address common.Address) (bool, error)
ContractAvailable is a free data retrieval call binding the contract method 0x2c8c4a4f.
Solidity: function contractAvailable(address _address) constant returns(bool)
func (*ContractAuthCallerSession) DeployType ¶
func (_ContractAuth *ContractAuthCallerSession) DeployType() (*big.Int, error)
DeployType is a free data retrieval call binding the contract method 0x1749bea9.
Solidity: function deployType() constant returns(uint256)
func (*ContractAuthCallerSession) GetAdmin ¶
func (_ContractAuth *ContractAuthCallerSession) GetAdmin(contractAddr common.Address) (common.Address, error)
GetAdmin is a free data retrieval call binding the contract method 0x64efb22b.
Solidity: function getAdmin(address contractAddr) constant returns(address)
func (*ContractAuthCallerSession) GetMethodAuth ¶
func (_ContractAuth *ContractAuthCallerSession) GetMethodAuth(contractAddr common.Address, _func [4]byte) (uint8, []string, []string, error)
GetMethodAuth is a free data retrieval call binding the contract method 0x0578519a.
Solidity: function getMethodAuth(address contractAddr, bytes4 _func) constant returns(uint8, string[], string[])
func (*ContractAuthCallerSession) HasDeployAuth ¶
func (_ContractAuth *ContractAuthCallerSession) HasDeployAuth(account common.Address) (bool, error)
HasDeployAuth is a free data retrieval call binding the contract method 0x630577e5.
Solidity: function hasDeployAuth(address account) constant returns(bool)
type ContractAuthFilterer ¶
type ContractAuthFilterer struct {
// contains filtered or unexported fields
}
ContractAuthFilterer is an auto generated log filtering Go binding around a Solidity contract events.
func NewContractAuthFilterer ¶
func NewContractAuthFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractAuthFilterer, error)
NewContractAuthFilterer creates a new log filterer instance of ContractAuth, bound to a specific deployed contract.
type ContractAuthPrecompiled ¶
type ContractAuthPrecompiled struct { ContractAuthPrecompiledCaller // Read-only binding to the contract ContractAuthPrecompiledTransactor // Write-only binding to the contract ContractAuthPrecompiledFilterer // Log filterer for contract events }
ContractAuthPrecompiled is an auto generated Go binding around a Solidity contract.
func DeployContractAuthPrecompiled ¶
func DeployContractAuthPrecompiled(auth *bind.TransactOpts, backend bind.ContractBackend) (common.Address, *types.Receipt, *ContractAuthPrecompiled, error)
DeployContractAuthPrecompiled deploys a new contract, binding an instance of ContractAuthPrecompiled to it.
func NewContractAuthPrecompiled ¶
func NewContractAuthPrecompiled(address common.Address, backend bind.ContractBackend) (*ContractAuthPrecompiled, error)
NewContractAuthPrecompiled creates a new instance of ContractAuthPrecompiled, bound to a specific deployed contract.
type ContractAuthPrecompiledCaller ¶
type ContractAuthPrecompiledCaller struct {
// contains filtered or unexported fields
}
ContractAuthPrecompiledCaller is an auto generated read-only Go binding around a Solidity contract.
func NewContractAuthPrecompiledCaller ¶
func NewContractAuthPrecompiledCaller(address common.Address, caller bind.ContractCaller) (*ContractAuthPrecompiledCaller, error)
NewContractAuthPrecompiledCaller creates a new read-only instance of ContractAuthPrecompiled, bound to a specific deployed contract.
func (*ContractAuthPrecompiledCaller) CheckMethodAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledCaller) CheckMethodAuth(opts *bind.CallOpts, contractAddr common.Address, funcSelector [4]byte, account common.Address) (bool, error)
CheckMethodAuth is a free data retrieval call binding the contract method 0xd8662aa4.
Solidity: function checkMethodAuth(address contractAddr, bytes4 funcSelector, address account) constant returns(bool)
func (*ContractAuthPrecompiledCaller) ContractAvailable ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledCaller) ContractAvailable(opts *bind.CallOpts, _address common.Address) (bool, error)
ContractAvailable is a free data retrieval call binding the contract method 0x2c8c4a4f.
Solidity: function contractAvailable(address _address) constant returns(bool)
func (*ContractAuthPrecompiledCaller) DeployType ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledCaller) DeployType(opts *bind.CallOpts) (*big.Int, error)
DeployType is a free data retrieval call binding the contract method 0x1749bea9.
Solidity: function deployType() constant returns(uint256)
func (*ContractAuthPrecompiledCaller) GetAdmin ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledCaller) GetAdmin(opts *bind.CallOpts, contractAddr common.Address) (common.Address, error)
GetAdmin is a free data retrieval call binding the contract method 0x64efb22b.
Solidity: function getAdmin(address contractAddr) constant returns(address)
func (*ContractAuthPrecompiledCaller) GetMethodAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledCaller) GetMethodAuth(opts *bind.CallOpts, path common.Address, funcSelector [4]byte) (uint8, []string, []string, error)
GetMethodAuth is a free data retrieval call binding the contract method 0x0578519a.
Solidity: function getMethodAuth(address path, bytes4 funcSelector) constant returns(uint8, string[], string[])
func (*ContractAuthPrecompiledCaller) HasDeployAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledCaller) HasDeployAuth(opts *bind.CallOpts, account common.Address) (bool, error)
HasDeployAuth is a free data retrieval call binding the contract method 0x630577e5.
Solidity: function hasDeployAuth(address account) constant returns(bool)
type ContractAuthPrecompiledCallerRaw ¶
type ContractAuthPrecompiledCallerRaw struct {
Contract *ContractAuthPrecompiledCaller // Generic read-only contract binding to access the raw methods on
}
ContractAuthPrecompiledCallerRaw is an auto generated low-level read-only Go binding around a Solidity contract.
func (*ContractAuthPrecompiledCallerRaw) Call ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledCallerRaw) 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 ContractAuthPrecompiledCallerSession ¶
type ContractAuthPrecompiledCallerSession struct { Contract *ContractAuthPrecompiledCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ContractAuthPrecompiledCallerSession is an auto generated read-only Go binding around a Solidity contract, with pre-set call options.
func (*ContractAuthPrecompiledCallerSession) CheckMethodAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledCallerSession) CheckMethodAuth(contractAddr common.Address, funcSelector [4]byte, account common.Address) (bool, error)
CheckMethodAuth is a free data retrieval call binding the contract method 0xd8662aa4.
Solidity: function checkMethodAuth(address contractAddr, bytes4 funcSelector, address account) constant returns(bool)
func (*ContractAuthPrecompiledCallerSession) ContractAvailable ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledCallerSession) ContractAvailable(_address common.Address) (bool, error)
ContractAvailable is a free data retrieval call binding the contract method 0x2c8c4a4f.
Solidity: function contractAvailable(address _address) constant returns(bool)
func (*ContractAuthPrecompiledCallerSession) DeployType ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledCallerSession) DeployType() (*big.Int, error)
DeployType is a free data retrieval call binding the contract method 0x1749bea9.
Solidity: function deployType() constant returns(uint256)
func (*ContractAuthPrecompiledCallerSession) GetAdmin ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledCallerSession) GetAdmin(contractAddr common.Address) (common.Address, error)
GetAdmin is a free data retrieval call binding the contract method 0x64efb22b.
Solidity: function getAdmin(address contractAddr) constant returns(address)
func (*ContractAuthPrecompiledCallerSession) GetMethodAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledCallerSession) GetMethodAuth(path common.Address, funcSelector [4]byte) (uint8, []string, []string, error)
GetMethodAuth is a free data retrieval call binding the contract method 0x0578519a.
Solidity: function getMethodAuth(address path, bytes4 funcSelector) constant returns(uint8, string[], string[])
func (*ContractAuthPrecompiledCallerSession) HasDeployAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledCallerSession) HasDeployAuth(account common.Address) (bool, error)
HasDeployAuth is a free data retrieval call binding the contract method 0x630577e5.
Solidity: function hasDeployAuth(address account) constant returns(bool)
type ContractAuthPrecompiledFilterer ¶
type ContractAuthPrecompiledFilterer struct {
// contains filtered or unexported fields
}
ContractAuthPrecompiledFilterer is an auto generated log filtering Go binding around a Solidity contract events.
func NewContractAuthPrecompiledFilterer ¶
func NewContractAuthPrecompiledFilterer(address common.Address, filterer bind.ContractFilterer) (*ContractAuthPrecompiledFilterer, error)
NewContractAuthPrecompiledFilterer creates a new log filterer instance of ContractAuthPrecompiled, bound to a specific deployed contract.
type ContractAuthPrecompiledRaw ¶
type ContractAuthPrecompiledRaw struct {
Contract *ContractAuthPrecompiled // Generic contract binding to access the raw methods on
}
ContractAuthPrecompiledRaw is an auto generated low-level Go binding around a Solidity contract.
func (*ContractAuthPrecompiledRaw) Call ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledRaw) 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 (*ContractAuthPrecompiledRaw) Transact ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractAuthPrecompiledRaw) Transfer ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ContractAuthPrecompiledSession ¶
type ContractAuthPrecompiledSession struct { Contract *ContractAuthPrecompiled // 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 }
ContractAuthPrecompiledSession is an auto generated Go binding around a Solidity contract, with pre-set call and transact options.
func (*ContractAuthPrecompiledSession) AsyncCloseDeployAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) AsyncCloseDeployAuth(handler func(*types.Receipt, error), account common.Address) (*types.Transaction, error)
func (*ContractAuthPrecompiledSession) AsyncCloseMethodAuth ¶
func (*ContractAuthPrecompiledSession) AsyncOpenDeployAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) AsyncOpenDeployAuth(handler func(*types.Receipt, error), account common.Address) (*types.Transaction, error)
func (*ContractAuthPrecompiledSession) AsyncOpenMethodAuth ¶
func (*ContractAuthPrecompiledSession) AsyncResetAdmin ¶
func (*ContractAuthPrecompiledSession) AsyncSetContractStatus ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) AsyncSetContractStatus(handler func(*types.Receipt, error), _address common.Address, isFreeze bool) (*types.Transaction, error)
func (*ContractAuthPrecompiledSession) AsyncSetDeployAuthType ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) AsyncSetDeployAuthType(handler func(*types.Receipt, error), _type uint8) (*types.Transaction, error)
func (*ContractAuthPrecompiledSession) AsyncSetMethodAuthType ¶
func (*ContractAuthPrecompiledSession) CheckMethodAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) CheckMethodAuth(contractAddr common.Address, funcSelector [4]byte, account common.Address) (bool, error)
CheckMethodAuth is a free data retrieval call binding the contract method 0xd8662aa4.
Solidity: function checkMethodAuth(address contractAddr, bytes4 funcSelector, address account) constant returns(bool)
func (*ContractAuthPrecompiledSession) CloseDeployAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) CloseDeployAuth(account common.Address) (*types.Transaction, *types.Receipt, error)
CloseDeployAuth is a paid mutator transaction binding the contract method 0x56bd7084.
Solidity: function closeDeployAuth(address account) returns(int256)
func (*ContractAuthPrecompiledSession) CloseMethodAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) CloseMethodAuth(contractAddr common.Address, funcSelector [4]byte, account common.Address) (*types.Transaction, *types.Receipt, error)
CloseMethodAuth is a paid mutator transaction binding the contract method 0xcb7c5c11.
Solidity: function closeMethodAuth(address contractAddr, bytes4 funcSelector, address account) returns(int256)
func (*ContractAuthPrecompiledSession) ContractAvailable ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) ContractAvailable(_address common.Address) (bool, error)
ContractAvailable is a free data retrieval call binding the contract method 0x2c8c4a4f.
Solidity: function contractAvailable(address _address) constant returns(bool)
func (*ContractAuthPrecompiledSession) DeployType ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) DeployType() (*big.Int, error)
DeployType is a free data retrieval call binding the contract method 0x1749bea9.
Solidity: function deployType() constant returns(uint256)
func (*ContractAuthPrecompiledSession) GetAdmin ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) GetAdmin(contractAddr common.Address) (common.Address, error)
GetAdmin is a free data retrieval call binding the contract method 0x64efb22b.
Solidity: function getAdmin(address contractAddr) constant returns(address)
func (*ContractAuthPrecompiledSession) GetMethodAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) GetMethodAuth(path common.Address, funcSelector [4]byte) (uint8, []string, []string, error)
GetMethodAuth is a free data retrieval call binding the contract method 0x0578519a.
Solidity: function getMethodAuth(address path, bytes4 funcSelector) constant returns(uint8, string[], string[])
func (*ContractAuthPrecompiledSession) HasDeployAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) HasDeployAuth(account common.Address) (bool, error)
HasDeployAuth is a free data retrieval call binding the contract method 0x630577e5.
Solidity: function hasDeployAuth(address account) constant returns(bool)
func (*ContractAuthPrecompiledSession) OpenDeployAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) OpenDeployAuth(account common.Address) (*types.Transaction, *types.Receipt, error)
OpenDeployAuth is a paid mutator transaction binding the contract method 0x61548099.
Solidity: function openDeployAuth(address account) returns(int256)
func (*ContractAuthPrecompiledSession) OpenMethodAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) OpenMethodAuth(contractAddr common.Address, funcSelector [4]byte, account common.Address) (*types.Transaction, *types.Receipt, error)
OpenMethodAuth is a paid mutator transaction binding the contract method 0x0c82b73d.
Solidity: function openMethodAuth(address contractAddr, bytes4 funcSelector, address account) returns(int256)
func (*ContractAuthPrecompiledSession) ResetAdmin ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) ResetAdmin(contractAddr common.Address, admin common.Address) (*types.Transaction, *types.Receipt, error)
ResetAdmin is a paid mutator transaction binding the contract method 0xc53057b4.
Solidity: function resetAdmin(address contractAddr, address admin) returns(int256)
func (*ContractAuthPrecompiledSession) SetContractStatus ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) SetContractStatus(_address common.Address, isFreeze bool) (*types.Transaction, *types.Receipt, error)
SetContractStatus is a paid mutator transaction binding the contract method 0x81c81cdc.
Solidity: function setContractStatus(address _address, bool isFreeze) returns(int256)
func (*ContractAuthPrecompiledSession) SetDeployAuthType ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) SetDeployAuthType(_type uint8) (*types.Transaction, *types.Receipt, error)
SetDeployAuthType is a paid mutator transaction binding the contract method 0xbb0aa40c.
Solidity: function setDeployAuthType(uint8 _type) returns(int256)
func (*ContractAuthPrecompiledSession) SetMethodAuthType ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledSession) SetMethodAuthType(contractAddr common.Address, funcSelector [4]byte, authType uint8) (*types.Transaction, *types.Receipt, error)
SetMethodAuthType is a paid mutator transaction binding the contract method 0x9cc3ca0f.
Solidity: function setMethodAuthType(address contractAddr, bytes4 funcSelector, uint8 authType) returns(int256)
type ContractAuthPrecompiledTransactor ¶
type ContractAuthPrecompiledTransactor struct {
// contains filtered or unexported fields
}
ContractAuthPrecompiledTransactor is an auto generated write-only Go binding around a Solidity contract.
func NewContractAuthPrecompiledTransactor ¶
func NewContractAuthPrecompiledTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractAuthPrecompiledTransactor, error)
NewContractAuthPrecompiledTransactor creates a new write-only instance of ContractAuthPrecompiled, bound to a specific deployed contract.
func (*ContractAuthPrecompiledTransactor) AsyncCloseDeployAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) AsyncCloseDeployAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
func (*ContractAuthPrecompiledTransactor) AsyncCloseMethodAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) AsyncCloseMethodAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, contractAddr common.Address, funcSelector [4]byte, account common.Address) (*types.Transaction, error)
func (*ContractAuthPrecompiledTransactor) AsyncOpenDeployAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) AsyncOpenDeployAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
func (*ContractAuthPrecompiledTransactor) AsyncOpenMethodAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) AsyncOpenMethodAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, contractAddr common.Address, funcSelector [4]byte, account common.Address) (*types.Transaction, error)
func (*ContractAuthPrecompiledTransactor) AsyncResetAdmin ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) AsyncResetAdmin(handler func(*types.Receipt, error), opts *bind.TransactOpts, contractAddr common.Address, admin common.Address) (*types.Transaction, error)
func (*ContractAuthPrecompiledTransactor) AsyncSetContractStatus ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) AsyncSetContractStatus(handler func(*types.Receipt, error), opts *bind.TransactOpts, _address common.Address, isFreeze bool) (*types.Transaction, error)
func (*ContractAuthPrecompiledTransactor) AsyncSetDeployAuthType ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) AsyncSetDeployAuthType(handler func(*types.Receipt, error), opts *bind.TransactOpts, _type uint8) (*types.Transaction, error)
func (*ContractAuthPrecompiledTransactor) AsyncSetMethodAuthType ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) AsyncSetMethodAuthType(handler func(*types.Receipt, error), opts *bind.TransactOpts, contractAddr common.Address, funcSelector [4]byte, authType uint8) (*types.Transaction, error)
func (*ContractAuthPrecompiledTransactor) CloseDeployAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) CloseDeployAuth(opts *bind.TransactOpts, account common.Address) (*types.Transaction, *types.Receipt, error)
CloseDeployAuth is a paid mutator transaction binding the contract method 0x56bd7084.
Solidity: function closeDeployAuth(address account) returns(int256)
func (*ContractAuthPrecompiledTransactor) CloseMethodAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) CloseMethodAuth(opts *bind.TransactOpts, contractAddr common.Address, funcSelector [4]byte, account common.Address) (*types.Transaction, *types.Receipt, error)
CloseMethodAuth is a paid mutator transaction binding the contract method 0xcb7c5c11.
Solidity: function closeMethodAuth(address contractAddr, bytes4 funcSelector, address account) returns(int256)
func (*ContractAuthPrecompiledTransactor) OpenDeployAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) OpenDeployAuth(opts *bind.TransactOpts, account common.Address) (*types.Transaction, *types.Receipt, error)
OpenDeployAuth is a paid mutator transaction binding the contract method 0x61548099.
Solidity: function openDeployAuth(address account) returns(int256)
func (*ContractAuthPrecompiledTransactor) OpenMethodAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) OpenMethodAuth(opts *bind.TransactOpts, contractAddr common.Address, funcSelector [4]byte, account common.Address) (*types.Transaction, *types.Receipt, error)
OpenMethodAuth is a paid mutator transaction binding the contract method 0x0c82b73d.
Solidity: function openMethodAuth(address contractAddr, bytes4 funcSelector, address account) returns(int256)
func (*ContractAuthPrecompiledTransactor) ResetAdmin ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) ResetAdmin(opts *bind.TransactOpts, contractAddr common.Address, admin common.Address) (*types.Transaction, *types.Receipt, error)
ResetAdmin is a paid mutator transaction binding the contract method 0xc53057b4.
Solidity: function resetAdmin(address contractAddr, address admin) returns(int256)
func (*ContractAuthPrecompiledTransactor) SetContractStatus ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) SetContractStatus(opts *bind.TransactOpts, _address common.Address, isFreeze bool) (*types.Transaction, *types.Receipt, error)
SetContractStatus is a paid mutator transaction binding the contract method 0x81c81cdc.
Solidity: function setContractStatus(address _address, bool isFreeze) returns(int256)
func (*ContractAuthPrecompiledTransactor) SetDeployAuthType ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) SetDeployAuthType(opts *bind.TransactOpts, _type uint8) (*types.Transaction, *types.Receipt, error)
SetDeployAuthType is a paid mutator transaction binding the contract method 0xbb0aa40c.
Solidity: function setDeployAuthType(uint8 _type) returns(int256)
func (*ContractAuthPrecompiledTransactor) SetMethodAuthType ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactor) SetMethodAuthType(opts *bind.TransactOpts, contractAddr common.Address, funcSelector [4]byte, authType uint8) (*types.Transaction, *types.Receipt, error)
SetMethodAuthType is a paid mutator transaction binding the contract method 0x9cc3ca0f.
Solidity: function setMethodAuthType(address contractAddr, bytes4 funcSelector, uint8 authType) returns(int256)
type ContractAuthPrecompiledTransactorRaw ¶
type ContractAuthPrecompiledTransactorRaw struct {
Contract *ContractAuthPrecompiledTransactor // Generic write-only contract binding to access the raw methods on
}
ContractAuthPrecompiledTransactorRaw is an auto generated low-level write-only Go binding around a Solidity contract.
func (*ContractAuthPrecompiledTransactorRaw) Transact ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractAuthPrecompiledTransactorRaw) Transfer ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ContractAuthPrecompiledTransactorSession ¶
type ContractAuthPrecompiledTransactorSession struct { Contract *ContractAuthPrecompiledTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractAuthPrecompiledTransactorSession is an auto generated write-only Go binding around a Solidity contract, with pre-set transact options.
func (*ContractAuthPrecompiledTransactorSession) AsyncCloseDeployAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) AsyncCloseDeployAuth(handler func(*types.Receipt, error), account common.Address) (*types.Transaction, error)
func (*ContractAuthPrecompiledTransactorSession) AsyncCloseMethodAuth ¶
func (*ContractAuthPrecompiledTransactorSession) AsyncOpenDeployAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) AsyncOpenDeployAuth(handler func(*types.Receipt, error), account common.Address) (*types.Transaction, error)
func (*ContractAuthPrecompiledTransactorSession) AsyncOpenMethodAuth ¶
func (*ContractAuthPrecompiledTransactorSession) AsyncResetAdmin ¶
func (*ContractAuthPrecompiledTransactorSession) AsyncSetContractStatus ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) AsyncSetContractStatus(handler func(*types.Receipt, error), _address common.Address, isFreeze bool) (*types.Transaction, error)
func (*ContractAuthPrecompiledTransactorSession) AsyncSetDeployAuthType ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) AsyncSetDeployAuthType(handler func(*types.Receipt, error), _type uint8) (*types.Transaction, error)
func (*ContractAuthPrecompiledTransactorSession) AsyncSetMethodAuthType ¶
func (*ContractAuthPrecompiledTransactorSession) CloseDeployAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) CloseDeployAuth(account common.Address) (*types.Transaction, *types.Receipt, error)
CloseDeployAuth is a paid mutator transaction binding the contract method 0x56bd7084.
Solidity: function closeDeployAuth(address account) returns(int256)
func (*ContractAuthPrecompiledTransactorSession) CloseMethodAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) CloseMethodAuth(contractAddr common.Address, funcSelector [4]byte, account common.Address) (*types.Transaction, *types.Receipt, error)
CloseMethodAuth is a paid mutator transaction binding the contract method 0xcb7c5c11.
Solidity: function closeMethodAuth(address contractAddr, bytes4 funcSelector, address account) returns(int256)
func (*ContractAuthPrecompiledTransactorSession) OpenDeployAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) OpenDeployAuth(account common.Address) (*types.Transaction, *types.Receipt, error)
OpenDeployAuth is a paid mutator transaction binding the contract method 0x61548099.
Solidity: function openDeployAuth(address account) returns(int256)
func (*ContractAuthPrecompiledTransactorSession) OpenMethodAuth ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) OpenMethodAuth(contractAddr common.Address, funcSelector [4]byte, account common.Address) (*types.Transaction, *types.Receipt, error)
OpenMethodAuth is a paid mutator transaction binding the contract method 0x0c82b73d.
Solidity: function openMethodAuth(address contractAddr, bytes4 funcSelector, address account) returns(int256)
func (*ContractAuthPrecompiledTransactorSession) ResetAdmin ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) ResetAdmin(contractAddr common.Address, admin common.Address) (*types.Transaction, *types.Receipt, error)
ResetAdmin is a paid mutator transaction binding the contract method 0xc53057b4.
Solidity: function resetAdmin(address contractAddr, address admin) returns(int256)
func (*ContractAuthPrecompiledTransactorSession) SetContractStatus ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) SetContractStatus(_address common.Address, isFreeze bool) (*types.Transaction, *types.Receipt, error)
SetContractStatus is a paid mutator transaction binding the contract method 0x81c81cdc.
Solidity: function setContractStatus(address _address, bool isFreeze) returns(int256)
func (*ContractAuthPrecompiledTransactorSession) SetDeployAuthType ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) SetDeployAuthType(_type uint8) (*types.Transaction, *types.Receipt, error)
SetDeployAuthType is a paid mutator transaction binding the contract method 0xbb0aa40c.
Solidity: function setDeployAuthType(uint8 _type) returns(int256)
func (*ContractAuthPrecompiledTransactorSession) SetMethodAuthType ¶
func (_ContractAuthPrecompiled *ContractAuthPrecompiledTransactorSession) SetMethodAuthType(contractAddr common.Address, funcSelector [4]byte, authType uint8) (*types.Transaction, *types.Receipt, error)
SetMethodAuthType is a paid mutator transaction binding the contract method 0x9cc3ca0f.
Solidity: function setMethodAuthType(address contractAddr, bytes4 funcSelector, uint8 authType) returns(int256)
type ContractAuthRaw ¶
type ContractAuthRaw struct {
Contract *ContractAuth // Generic contract binding to access the raw methods on
}
ContractAuthRaw is an auto generated low-level Go binding around a Solidity contract.
func (*ContractAuthRaw) Call ¶
func (_ContractAuth *ContractAuthRaw) 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 (*ContractAuthRaw) TransactWithResult ¶
func (_ContractAuth *ContractAuthRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractAuthRaw) Transfer ¶
func (_ContractAuth *ContractAuthRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ContractAuthSession ¶
type ContractAuthSession struct { Contract *ContractAuth // 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 }
ContractAuthSession is an auto generated Go binding around a Solidity contract, with pre-set call and transact options.
func (*ContractAuthSession) AsyncCloseDeployAuth ¶
func (_ContractAuth *ContractAuthSession) AsyncCloseDeployAuth(handler func(*types.Receipt, error), account common.Address) (*types.Transaction, error)
func (*ContractAuthSession) AsyncCloseMethodAuth ¶
func (*ContractAuthSession) AsyncInitAuth ¶
func (_ContractAuth *ContractAuthSession) AsyncInitAuth(handler func(*types.Receipt, error), account string) (*types.Transaction, error)
func (*ContractAuthSession) AsyncOpenDeployAuth ¶
func (_ContractAuth *ContractAuthSession) AsyncOpenDeployAuth(handler func(*types.Receipt, error), account common.Address) (*types.Transaction, error)
func (*ContractAuthSession) AsyncOpenMethodAuth ¶
func (*ContractAuthSession) AsyncResetAdmin ¶
func (*ContractAuthSession) AsyncSetContractStatus ¶
func (_ContractAuth *ContractAuthSession) AsyncSetContractStatus(handler func(*types.Receipt, error), _address common.Address, isFreeze bool) (*types.Transaction, error)
func (*ContractAuthSession) AsyncSetContractStatus0 ¶
func (_ContractAuth *ContractAuthSession) AsyncSetContractStatus0(handler func(*types.Receipt, error), _address common.Address, _status uint8) (*types.Transaction, error)
func (*ContractAuthSession) AsyncSetDeployAuthType ¶
func (_ContractAuth *ContractAuthSession) AsyncSetDeployAuthType(handler func(*types.Receipt, error), _type uint8) (*types.Transaction, error)
func (*ContractAuthSession) AsyncSetMethodAuthType ¶
func (*ContractAuthSession) CheckMethodAuth ¶
func (_ContractAuth *ContractAuthSession) CheckMethodAuth(contractAddr common.Address, _func [4]byte, account common.Address) (bool, error)
CheckMethodAuth is a free data retrieval call binding the contract method 0xd8662aa4.
Solidity: function checkMethodAuth(address contractAddr, bytes4 _func, address account) constant returns(bool)
func (*ContractAuthSession) CloseDeployAuth ¶
func (_ContractAuth *ContractAuthSession) CloseDeployAuth(account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
CloseDeployAuth is a paid mutator transaction binding the contract method 0x56bd7084.
Solidity: function closeDeployAuth(address account) returns(int256)
func (*ContractAuthSession) CloseMethodAuth ¶
func (_ContractAuth *ContractAuthSession) CloseMethodAuth(contractAddr common.Address, _func [4]byte, account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
CloseMethodAuth is a paid mutator transaction binding the contract method 0xcb7c5c11.
Solidity: function closeMethodAuth(address contractAddr, bytes4 _func, address account) returns(int256)
func (*ContractAuthSession) ContractAvailable ¶
func (_ContractAuth *ContractAuthSession) ContractAvailable(_address common.Address) (bool, error)
ContractAvailable is a free data retrieval call binding the contract method 0x2c8c4a4f.
Solidity: function contractAvailable(address _address) constant returns(bool)
func (*ContractAuthSession) DeployType ¶
func (_ContractAuth *ContractAuthSession) DeployType() (*big.Int, error)
DeployType is a free data retrieval call binding the contract method 0x1749bea9.
Solidity: function deployType() constant returns(uint256)
func (*ContractAuthSession) GetAdmin ¶
func (_ContractAuth *ContractAuthSession) GetAdmin(contractAddr common.Address) (common.Address, error)
GetAdmin is a free data retrieval call binding the contract method 0x64efb22b.
Solidity: function getAdmin(address contractAddr) constant returns(address)
func (*ContractAuthSession) GetMethodAuth ¶
func (_ContractAuth *ContractAuthSession) GetMethodAuth(contractAddr common.Address, _func [4]byte) (uint8, []string, []string, error)
GetMethodAuth is a free data retrieval call binding the contract method 0x0578519a.
Solidity: function getMethodAuth(address contractAddr, bytes4 _func) constant returns(uint8, string[], string[])
func (*ContractAuthSession) HasDeployAuth ¶
func (_ContractAuth *ContractAuthSession) HasDeployAuth(account common.Address) (bool, error)
HasDeployAuth is a free data retrieval call binding the contract method 0x630577e5.
Solidity: function hasDeployAuth(address account) constant returns(bool)
func (*ContractAuthSession) InitAuth ¶
func (_ContractAuth *ContractAuthSession) InitAuth(account string) (*big.Int, *types.Transaction, *types.Receipt, error)
InitAuth is a paid mutator transaction binding the contract method 0x8805dd3c.
Solidity: function initAuth(string account) returns(int256)
func (*ContractAuthSession) OpenDeployAuth ¶
func (_ContractAuth *ContractAuthSession) OpenDeployAuth(account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
OpenDeployAuth is a paid mutator transaction binding the contract method 0x61548099.
Solidity: function openDeployAuth(address account) returns(int256)
func (*ContractAuthSession) OpenMethodAuth ¶
func (_ContractAuth *ContractAuthSession) OpenMethodAuth(contractAddr common.Address, _func [4]byte, account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
OpenMethodAuth is a paid mutator transaction binding the contract method 0x0c82b73d.
Solidity: function openMethodAuth(address contractAddr, bytes4 _func, address account) returns(int256)
func (*ContractAuthSession) ResetAdmin ¶
func (_ContractAuth *ContractAuthSession) ResetAdmin(contractAddr common.Address, admin common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
ResetAdmin is a paid mutator transaction binding the contract method 0xc53057b4.
Solidity: function resetAdmin(address contractAddr, address admin) returns(int256)
func (*ContractAuthSession) SetContractStatus ¶
func (_ContractAuth *ContractAuthSession) SetContractStatus(_address common.Address, isFreeze bool) (*big.Int, *types.Transaction, *types.Receipt, error)
SetContractStatus is a paid mutator transaction binding the contract method 0x81c81cdc.
Solidity: function setContractStatus(address _address, bool isFreeze) returns(int256)
func (*ContractAuthSession) SetContractStatus0 ¶
func (_ContractAuth *ContractAuthSession) SetContractStatus0(_address common.Address, _status uint8) (*big.Int, *types.Transaction, *types.Receipt, error)
SetContractStatus0 is a paid mutator transaction binding the contract method 0xf67f8dcc.
Solidity: function setContractStatus(address _address, uint8 _status) returns(int256)
func (*ContractAuthSession) SetDeployAuthType ¶
func (_ContractAuth *ContractAuthSession) SetDeployAuthType(_type uint8) (*big.Int, *types.Transaction, *types.Receipt, error)
SetDeployAuthType is a paid mutator transaction binding the contract method 0xbb0aa40c.
Solidity: function setDeployAuthType(uint8 _type) returns(int256)
func (*ContractAuthSession) SetMethodAuthType ¶
func (_ContractAuth *ContractAuthSession) SetMethodAuthType(contractAddr common.Address, _func [4]byte, authType uint8) (*big.Int, *types.Transaction, *types.Receipt, error)
SetMethodAuthType is a paid mutator transaction binding the contract method 0x9cc3ca0f.
Solidity: function setMethodAuthType(address contractAddr, bytes4 _func, uint8 authType) returns(int256)
type ContractAuthTransactor ¶
type ContractAuthTransactor struct {
// contains filtered or unexported fields
}
ContractAuthTransactor is an auto generated write-only Go binding around a Solidity contract.
func NewContractAuthTransactor ¶
func NewContractAuthTransactor(address common.Address, transactor bind.ContractTransactor) (*ContractAuthTransactor, error)
NewContractAuthTransactor creates a new write-only instance of ContractAuth, bound to a specific deployed contract.
func (*ContractAuthTransactor) AsyncCloseDeployAuth ¶
func (_ContractAuth *ContractAuthTransactor) AsyncCloseDeployAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
func (*ContractAuthTransactor) AsyncCloseMethodAuth ¶
func (_ContractAuth *ContractAuthTransactor) AsyncCloseMethodAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, contractAddr common.Address, _func [4]byte, account common.Address) (*types.Transaction, error)
func (*ContractAuthTransactor) AsyncInitAuth ¶
func (_ContractAuth *ContractAuthTransactor) AsyncInitAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, account string) (*types.Transaction, error)
func (*ContractAuthTransactor) AsyncOpenDeployAuth ¶
func (_ContractAuth *ContractAuthTransactor) AsyncOpenDeployAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, account common.Address) (*types.Transaction, error)
func (*ContractAuthTransactor) AsyncOpenMethodAuth ¶
func (_ContractAuth *ContractAuthTransactor) AsyncOpenMethodAuth(handler func(*types.Receipt, error), opts *bind.TransactOpts, contractAddr common.Address, _func [4]byte, account common.Address) (*types.Transaction, error)
func (*ContractAuthTransactor) AsyncResetAdmin ¶
func (_ContractAuth *ContractAuthTransactor) AsyncResetAdmin(handler func(*types.Receipt, error), opts *bind.TransactOpts, contractAddr common.Address, admin common.Address) (*types.Transaction, error)
func (*ContractAuthTransactor) AsyncSetContractStatus ¶
func (_ContractAuth *ContractAuthTransactor) AsyncSetContractStatus(handler func(*types.Receipt, error), opts *bind.TransactOpts, _address common.Address, isFreeze bool) (*types.Transaction, error)
func (*ContractAuthTransactor) AsyncSetContractStatus0 ¶
func (_ContractAuth *ContractAuthTransactor) AsyncSetContractStatus0(handler func(*types.Receipt, error), opts *bind.TransactOpts, _address common.Address, _status uint8) (*types.Transaction, error)
func (*ContractAuthTransactor) AsyncSetDeployAuthType ¶
func (_ContractAuth *ContractAuthTransactor) AsyncSetDeployAuthType(handler func(*types.Receipt, error), opts *bind.TransactOpts, _type uint8) (*types.Transaction, error)
func (*ContractAuthTransactor) AsyncSetMethodAuthType ¶
func (_ContractAuth *ContractAuthTransactor) AsyncSetMethodAuthType(handler func(*types.Receipt, error), opts *bind.TransactOpts, contractAddr common.Address, _func [4]byte, authType uint8) (*types.Transaction, error)
func (*ContractAuthTransactor) CloseDeployAuth ¶
func (_ContractAuth *ContractAuthTransactor) CloseDeployAuth(opts *bind.TransactOpts, account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
CloseDeployAuth is a paid mutator transaction binding the contract method 0x56bd7084.
Solidity: function closeDeployAuth(address account) returns(int256)
func (*ContractAuthTransactor) CloseMethodAuth ¶
func (_ContractAuth *ContractAuthTransactor) CloseMethodAuth(opts *bind.TransactOpts, contractAddr common.Address, _func [4]byte, account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
CloseMethodAuth is a paid mutator transaction binding the contract method 0xcb7c5c11.
Solidity: function closeMethodAuth(address contractAddr, bytes4 _func, address account) returns(int256)
func (*ContractAuthTransactor) InitAuth ¶
func (_ContractAuth *ContractAuthTransactor) InitAuth(opts *bind.TransactOpts, account string) (*big.Int, *types.Transaction, *types.Receipt, error)
InitAuth is a paid mutator transaction binding the contract method 0x8805dd3c.
Solidity: function initAuth(string account) returns(int256)
func (*ContractAuthTransactor) OpenDeployAuth ¶
func (_ContractAuth *ContractAuthTransactor) OpenDeployAuth(opts *bind.TransactOpts, account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
OpenDeployAuth is a paid mutator transaction binding the contract method 0x61548099.
Solidity: function openDeployAuth(address account) returns(int256)
func (*ContractAuthTransactor) OpenMethodAuth ¶
func (_ContractAuth *ContractAuthTransactor) OpenMethodAuth(opts *bind.TransactOpts, contractAddr common.Address, _func [4]byte, account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
OpenMethodAuth is a paid mutator transaction binding the contract method 0x0c82b73d.
Solidity: function openMethodAuth(address contractAddr, bytes4 _func, address account) returns(int256)
func (*ContractAuthTransactor) ResetAdmin ¶
func (_ContractAuth *ContractAuthTransactor) ResetAdmin(opts *bind.TransactOpts, contractAddr common.Address, admin common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
ResetAdmin is a paid mutator transaction binding the contract method 0xc53057b4.
Solidity: function resetAdmin(address contractAddr, address admin) returns(int256)
func (*ContractAuthTransactor) SetContractStatus ¶
func (_ContractAuth *ContractAuthTransactor) SetContractStatus(opts *bind.TransactOpts, _address common.Address, isFreeze bool) (*big.Int, *types.Transaction, *types.Receipt, error)
SetContractStatus is a paid mutator transaction binding the contract method 0x81c81cdc.
Solidity: function setContractStatus(address _address, bool isFreeze) returns(int256)
func (*ContractAuthTransactor) SetContractStatus0 ¶
func (_ContractAuth *ContractAuthTransactor) SetContractStatus0(opts *bind.TransactOpts, _address common.Address, _status uint8) (*big.Int, *types.Transaction, *types.Receipt, error)
SetContractStatus0 is a paid mutator transaction binding the contract method 0xf67f8dcc.
Solidity: function setContractStatus(address _address, uint8 _status) returns(int256)
func (*ContractAuthTransactor) SetDeployAuthType ¶
func (_ContractAuth *ContractAuthTransactor) SetDeployAuthType(opts *bind.TransactOpts, _type uint8) (*big.Int, *types.Transaction, *types.Receipt, error)
SetDeployAuthType is a paid mutator transaction binding the contract method 0xbb0aa40c.
Solidity: function setDeployAuthType(uint8 _type) returns(int256)
func (*ContractAuthTransactor) SetMethodAuthType ¶
func (_ContractAuth *ContractAuthTransactor) SetMethodAuthType(opts *bind.TransactOpts, contractAddr common.Address, _func [4]byte, authType uint8) (*big.Int, *types.Transaction, *types.Receipt, error)
SetMethodAuthType is a paid mutator transaction binding the contract method 0x9cc3ca0f.
Solidity: function setMethodAuthType(address contractAddr, bytes4 _func, uint8 authType) returns(int256)
type ContractAuthTransactorRaw ¶
type ContractAuthTransactorRaw struct {
Contract *ContractAuthTransactor // Generic write-only contract binding to access the raw methods on
}
ContractAuthTransactorRaw is an auto generated low-level write-only Go binding around a Solidity contract.
func (*ContractAuthTransactorRaw) TransactWithResult ¶
func (_ContractAuth *ContractAuthTransactorRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
Transact invokes the (paid) contract method with params as input values.
func (*ContractAuthTransactorRaw) Transfer ¶
func (_ContractAuth *ContractAuthTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ContractAuthTransactorSession ¶
type ContractAuthTransactorSession struct { Contract *ContractAuthTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ContractAuthTransactorSession is an auto generated write-only Go binding around a Solidity contract, with pre-set transact options.
func (*ContractAuthTransactorSession) AsyncCloseDeployAuth ¶
func (_ContractAuth *ContractAuthTransactorSession) AsyncCloseDeployAuth(handler func(*types.Receipt, error), account common.Address) (*types.Transaction, error)
func (*ContractAuthTransactorSession) AsyncCloseMethodAuth ¶
func (*ContractAuthTransactorSession) AsyncInitAuth ¶
func (_ContractAuth *ContractAuthTransactorSession) AsyncInitAuth(handler func(*types.Receipt, error), account string) (*types.Transaction, error)
func (*ContractAuthTransactorSession) AsyncOpenDeployAuth ¶
func (_ContractAuth *ContractAuthTransactorSession) AsyncOpenDeployAuth(handler func(*types.Receipt, error), account common.Address) (*types.Transaction, error)
func (*ContractAuthTransactorSession) AsyncOpenMethodAuth ¶
func (*ContractAuthTransactorSession) AsyncResetAdmin ¶
func (*ContractAuthTransactorSession) AsyncSetContractStatus ¶
func (_ContractAuth *ContractAuthTransactorSession) AsyncSetContractStatus(handler func(*types.Receipt, error), _address common.Address, isFreeze bool) (*types.Transaction, error)
func (*ContractAuthTransactorSession) AsyncSetContractStatus0 ¶
func (_ContractAuth *ContractAuthTransactorSession) AsyncSetContractStatus0(handler func(*types.Receipt, error), _address common.Address, _status uint8) (*types.Transaction, error)
func (*ContractAuthTransactorSession) AsyncSetDeployAuthType ¶
func (_ContractAuth *ContractAuthTransactorSession) AsyncSetDeployAuthType(handler func(*types.Receipt, error), _type uint8) (*types.Transaction, error)
func (*ContractAuthTransactorSession) AsyncSetMethodAuthType ¶
func (*ContractAuthTransactorSession) CloseDeployAuth ¶
func (_ContractAuth *ContractAuthTransactorSession) CloseDeployAuth(account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
CloseDeployAuth is a paid mutator transaction binding the contract method 0x56bd7084.
Solidity: function closeDeployAuth(address account) returns(int256)
func (*ContractAuthTransactorSession) CloseMethodAuth ¶
func (_ContractAuth *ContractAuthTransactorSession) CloseMethodAuth(contractAddr common.Address, _func [4]byte, account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
CloseMethodAuth is a paid mutator transaction binding the contract method 0xcb7c5c11.
Solidity: function closeMethodAuth(address contractAddr, bytes4 _func, address account) returns(int256)
func (*ContractAuthTransactorSession) InitAuth ¶
func (_ContractAuth *ContractAuthTransactorSession) InitAuth(account string) (*big.Int, *types.Transaction, *types.Receipt, error)
InitAuth is a paid mutator transaction binding the contract method 0x8805dd3c.
Solidity: function initAuth(string account) returns(int256)
func (*ContractAuthTransactorSession) OpenDeployAuth ¶
func (_ContractAuth *ContractAuthTransactorSession) OpenDeployAuth(account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
OpenDeployAuth is a paid mutator transaction binding the contract method 0x61548099.
Solidity: function openDeployAuth(address account) returns(int256)
func (*ContractAuthTransactorSession) OpenMethodAuth ¶
func (_ContractAuth *ContractAuthTransactorSession) OpenMethodAuth(contractAddr common.Address, _func [4]byte, account common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
OpenMethodAuth is a paid mutator transaction binding the contract method 0x0c82b73d.
Solidity: function openMethodAuth(address contractAddr, bytes4 _func, address account) returns(int256)
func (*ContractAuthTransactorSession) ResetAdmin ¶
func (_ContractAuth *ContractAuthTransactorSession) ResetAdmin(contractAddr common.Address, admin common.Address) (*big.Int, *types.Transaction, *types.Receipt, error)
ResetAdmin is a paid mutator transaction binding the contract method 0xc53057b4.
Solidity: function resetAdmin(address contractAddr, address admin) returns(int256)
func (*ContractAuthTransactorSession) SetContractStatus ¶
func (_ContractAuth *ContractAuthTransactorSession) SetContractStatus(_address common.Address, isFreeze bool) (*big.Int, *types.Transaction, *types.Receipt, error)
SetContractStatus is a paid mutator transaction binding the contract method 0x81c81cdc.
Solidity: function setContractStatus(address _address, bool isFreeze) returns(int256)
func (*ContractAuthTransactorSession) SetContractStatus0 ¶
func (_ContractAuth *ContractAuthTransactorSession) SetContractStatus0(_address common.Address, _status uint8) (*big.Int, *types.Transaction, *types.Receipt, error)
SetContractStatus0 is a paid mutator transaction binding the contract method 0xf67f8dcc.
Solidity: function setContractStatus(address _address, uint8 _status) returns(int256)
func (*ContractAuthTransactorSession) SetDeployAuthType ¶
func (_ContractAuth *ContractAuthTransactorSession) SetDeployAuthType(_type uint8) (*big.Int, *types.Transaction, *types.Receipt, error)
SetDeployAuthType is a paid mutator transaction binding the contract method 0xbb0aa40c.
Solidity: function setDeployAuthType(uint8 _type) returns(int256)
func (*ContractAuthTransactorSession) SetMethodAuthType ¶
func (_ContractAuth *ContractAuthTransactorSession) SetMethodAuthType(contractAddr common.Address, _func [4]byte, authType uint8) (*big.Int, *types.Transaction, *types.Receipt, error)
SetMethodAuthType is a paid mutator transaction binding the contract method 0x9cc3ca0f.
Solidity: function setMethodAuthType(address contractAddr, bytes4 _func, uint8 authType) returns(int256)
type ProposalInfo ¶
type ProposalManager ¶
type ProposalManager struct { ProposalManagerCaller // Read-only binding to the contract ProposalManagerTransactor // Write-only binding to the contract ProposalManagerFilterer // Log filterer for contract events }
ProposalManager is an auto generated Go binding around a Solidity contract.
func DeployProposalManager ¶
func DeployProposalManager(auth *bind.TransactOpts, backend bind.ContractBackend, committeeMgrAddress common.Address, committeeAddress common.Address) (common.Address, *types.Receipt, *ProposalManager, error)
DeployProposalManager deploys a new contract, binding an instance of ProposalManager to it.
func NewProposalManager ¶
func NewProposalManager(address common.Address, backend bind.ContractBackend) (*ProposalManager, error)
NewProposalManager creates a new instance of ProposalManager, bound to a specific deployed contract.
type ProposalManagerCaller ¶
type ProposalManagerCaller struct {
// contains filtered or unexported fields
}
ProposalManagerCaller is an auto generated read-only Go binding around a Solidity contract.
func NewProposalManagerCaller ¶
func NewProposalManagerCaller(address common.Address, caller bind.ContractCaller) (*ProposalManagerCaller, error)
NewProposalManagerCaller creates a new read-only instance of ProposalManager, bound to a specific deployed contract.
func (*ProposalManagerCaller) Auth ¶
func (_ProposalManager *ProposalManagerCaller) Auth(opts *bind.CallOpts, src common.Address) (bool, error)
Auth is a free data retrieval call binding the contract method 0xcd5d2118.
Solidity: function auth(address src) constant returns(bool)
func (*ProposalManagerCaller) GetIdByTypeAndResourceId ¶
func (_ProposalManager *ProposalManagerCaller) GetIdByTypeAndResourceId(opts *bind.CallOpts, proposalType uint8, resourceId common.Address) (*big.Int, error)
GetIdByTypeAndResourceId is a free data retrieval call binding the contract method 0x6d23cd58.
Solidity: function getIdByTypeAndResourceId(uint8 proposalType, address resourceId) constant returns(uint256)
func (*ProposalManagerCaller) GetProposalInfo ¶
func (_ProposalManager *ProposalManagerCaller) GetProposalInfo(opts *bind.CallOpts, proposalId *big.Int) (struct { ResourceId common.Address Proposer common.Address ProposalType uint8 BlockNumberInterval *big.Int Status uint8 AgreeVoters []common.Address AgainstVoters []common.Address }, error)
GetProposalInfo is a free data retrieval call binding the contract method 0xbc903cb8.
Solidity: function getProposalInfo(uint256 proposalId) constant returns(address resourceId, address proposer, uint8 proposalType, uint256 blockNumberInterval, uint8 status, address[] agreeVoters, address[] againstVoters)
func (*ProposalManagerCaller) GetProposalInfoList ¶
func (_ProposalManager *ProposalManagerCaller) GetProposalInfoList(opts *bind.CallOpts, from *big.Int, to *big.Int) ([]ProposalManagerProposalInfo, error)
GetProposalInfoList is a free data retrieval call binding the contract method 0xdde248e3.
Solidity: function getProposalInfoList(uint256 from, uint256 to) constant returns([]ProposalManagerProposalInfo)
func (*ProposalManagerCaller) GetProposalStatus ¶
func (_ProposalManager *ProposalManagerCaller) GetProposalStatus(opts *bind.CallOpts, proposalId *big.Int) (uint8, error)
GetProposalStatus is a free data retrieval call binding the contract method 0x401853b7.
Solidity: function getProposalStatus(uint256 proposalId) constant returns(uint8)
func (*ProposalManagerCaller) Owner ¶
Owner is a free data retrieval call binding the contract method 0xb2bdfa7b.
Solidity: function _owner() constant returns(address)
func (*ProposalManagerCaller) ProposalCount ¶
ProposalCount is a free data retrieval call binding the contract method 0x6f2904cc.
Solidity: function _proposalCount() constant returns(uint256)
func (*ProposalManagerCaller) ProposalIndex ¶
func (_ProposalManager *ProposalManagerCaller) ProposalIndex(opts *bind.CallOpts, arg0 uint8, arg1 common.Address) (*big.Int, error)
ProposalIndex is a free data retrieval call binding the contract method 0x1cc05cbc.
Solidity: function _proposalIndex(uint8 , address ) constant returns(uint256)
func (*ProposalManagerCaller) Proposals ¶
func (_ProposalManager *ProposalManagerCaller) Proposals(opts *bind.CallOpts, arg0 *big.Int) (struct { ResourceId common.Address Proposer common.Address ProposalType uint8 BlockNumberInterval *big.Int Status uint8 }, error)
Proposals is a free data retrieval call binding the contract method 0x0a494840.
Solidity: function _proposals(uint256 ) constant returns(address resourceId, address proposer, uint8 proposalType, uint256 blockNumberInterval, uint8 status)
func (*ProposalManagerCaller) VoteComputer ¶
func (_ProposalManager *ProposalManagerCaller) VoteComputer(opts *bind.CallOpts) (common.Address, error)
VoteComputer is a free data retrieval call binding the contract method 0xfcf81c14.
Solidity: function _voteComputer() constant returns(address)
type ProposalManagerCallerRaw ¶
type ProposalManagerCallerRaw struct {
Contract *ProposalManagerCaller // Generic read-only contract binding to access the raw methods on
}
ProposalManagerCallerRaw is an auto generated low-level read-only Go binding around a Solidity contract.
func (*ProposalManagerCallerRaw) Call ¶
func (_ProposalManager *ProposalManagerCallerRaw) 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 ProposalManagerCallerSession ¶
type ProposalManagerCallerSession struct { Contract *ProposalManagerCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
ProposalManagerCallerSession is an auto generated read-only Go binding around a Solidity contract, with pre-set call options.
func (*ProposalManagerCallerSession) Auth ¶
func (_ProposalManager *ProposalManagerCallerSession) Auth(src common.Address) (bool, error)
Auth is a free data retrieval call binding the contract method 0xcd5d2118.
Solidity: function auth(address src) constant returns(bool)
func (*ProposalManagerCallerSession) GetIdByTypeAndResourceId ¶
func (_ProposalManager *ProposalManagerCallerSession) GetIdByTypeAndResourceId(proposalType uint8, resourceId common.Address) (*big.Int, error)
GetIdByTypeAndResourceId is a free data retrieval call binding the contract method 0x6d23cd58.
Solidity: function getIdByTypeAndResourceId(uint8 proposalType, address resourceId) constant returns(uint256)
func (*ProposalManagerCallerSession) GetProposalInfo ¶
func (_ProposalManager *ProposalManagerCallerSession) GetProposalInfo(proposalId *big.Int) (struct { ResourceId common.Address Proposer common.Address ProposalType uint8 BlockNumberInterval *big.Int Status uint8 AgreeVoters []common.Address AgainstVoters []common.Address }, error)
GetProposalInfo is a free data retrieval call binding the contract method 0xbc903cb8.
Solidity: function getProposalInfo(uint256 proposalId) constant returns(address resourceId, address proposer, uint8 proposalType, uint256 blockNumberInterval, uint8 status, address[] agreeVoters, address[] againstVoters)
func (*ProposalManagerCallerSession) GetProposalInfoList ¶
func (_ProposalManager *ProposalManagerCallerSession) GetProposalInfoList(from *big.Int, to *big.Int) ([]ProposalManagerProposalInfo, error)
GetProposalInfoList is a free data retrieval call binding the contract method 0xdde248e3.
Solidity: function getProposalInfoList(uint256 from, uint256 to) constant returns([]ProposalManagerProposalInfo)
func (*ProposalManagerCallerSession) GetProposalStatus ¶
func (_ProposalManager *ProposalManagerCallerSession) GetProposalStatus(proposalId *big.Int) (uint8, error)
GetProposalStatus is a free data retrieval call binding the contract method 0x401853b7.
Solidity: function getProposalStatus(uint256 proposalId) constant returns(uint8)
func (*ProposalManagerCallerSession) Owner ¶
func (_ProposalManager *ProposalManagerCallerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0xb2bdfa7b.
Solidity: function _owner() constant returns(address)
func (*ProposalManagerCallerSession) ProposalCount ¶
func (_ProposalManager *ProposalManagerCallerSession) ProposalCount() (*big.Int, error)
ProposalCount is a free data retrieval call binding the contract method 0x6f2904cc.
Solidity: function _proposalCount() constant returns(uint256)
func (*ProposalManagerCallerSession) ProposalIndex ¶
func (_ProposalManager *ProposalManagerCallerSession) ProposalIndex(arg0 uint8, arg1 common.Address) (*big.Int, error)
ProposalIndex is a free data retrieval call binding the contract method 0x1cc05cbc.
Solidity: function _proposalIndex(uint8 , address ) constant returns(uint256)
func (*ProposalManagerCallerSession) Proposals ¶
func (_ProposalManager *ProposalManagerCallerSession) Proposals(arg0 *big.Int) (struct { ResourceId common.Address Proposer common.Address ProposalType uint8 BlockNumberInterval *big.Int Status uint8 }, error)
Proposals is a free data retrieval call binding the contract method 0x0a494840.
Solidity: function _proposals(uint256 ) constant returns(address resourceId, address proposer, uint8 proposalType, uint256 blockNumberInterval, uint8 status)
func (*ProposalManagerCallerSession) VoteComputer ¶
func (_ProposalManager *ProposalManagerCallerSession) VoteComputer() (common.Address, error)
VoteComputer is a free data retrieval call binding the contract method 0xfcf81c14.
Solidity: function _voteComputer() constant returns(address)
type ProposalManagerFilterer ¶
type ProposalManagerFilterer struct {
// contains filtered or unexported fields
}
ProposalManagerFilterer is an auto generated log filtering Go binding around a Solidity contract events.
func NewProposalManagerFilterer ¶
func NewProposalManagerFilterer(address common.Address, filterer bind.ContractFilterer) (*ProposalManagerFilterer, error)
NewProposalManagerFilterer creates a new log filterer instance of ProposalManager, bound to a specific deployed contract.
type ProposalManagerProposalInfo ¶
type ProposalManagerProposalInfo struct { ResourceId common.Address Proposer common.Address ProposalType uint8 BlockNumberInterval *big.Int Status uint8 AgreeVoters []common.Address AgainstVoters []common.Address }
ProposalManagerProposalInfo is an auto generated low-level Go binding around an user-defined struct.
type ProposalManagerRaw ¶
type ProposalManagerRaw struct {
Contract *ProposalManager // Generic contract binding to access the raw methods on
}
ProposalManagerRaw is an auto generated low-level Go binding around a Solidity contract.
func (*ProposalManagerRaw) Call ¶
func (_ProposalManager *ProposalManagerRaw) 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 (*ProposalManagerRaw) TransactWithResult ¶
func (_ProposalManager *ProposalManagerRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProposalManagerRaw) Transfer ¶
func (_ProposalManager *ProposalManagerRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ProposalManagerSession ¶
type ProposalManagerSession struct { Contract *ProposalManager // 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 }
ProposalManagerSession is an auto generated Go binding around a Solidity contract, with pre-set call and transact options.
func (*ProposalManagerSession) AsyncCreate ¶
func (*ProposalManagerSession) AsyncRefreshProposalStatus ¶
func (_ProposalManager *ProposalManagerSession) AsyncRefreshProposalStatus(handler func(*types.Receipt, error), proposalId *big.Int) (*types.Transaction, error)
func (*ProposalManagerSession) AsyncRevoke ¶
func (*ProposalManagerSession) AsyncSetOwner ¶
func (_ProposalManager *ProposalManagerSession) AsyncSetOwner(handler func(*types.Receipt, error), owner common.Address) (*types.Transaction, error)
func (*ProposalManagerSession) AsyncSetVoteComputer ¶
func (_ProposalManager *ProposalManagerSession) AsyncSetVoteComputer(handler func(*types.Receipt, error), addr common.Address) (*types.Transaction, error)
func (*ProposalManagerSession) Auth ¶
func (_ProposalManager *ProposalManagerSession) Auth(src common.Address) (bool, error)
Auth is a free data retrieval call binding the contract method 0xcd5d2118.
Solidity: function auth(address src) constant returns(bool)
func (*ProposalManagerSession) Create ¶
func (_ProposalManager *ProposalManagerSession) Create(proposer common.Address, proposalType uint8, resourceId common.Address, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
Create is a paid mutator transaction binding the contract method 0x2c3956fe.
Solidity: function create(address proposer, uint8 proposalType, address resourceId, uint256 blockNumberInterval) returns(uint256)
func (*ProposalManagerSession) GetIdByTypeAndResourceId ¶
func (_ProposalManager *ProposalManagerSession) GetIdByTypeAndResourceId(proposalType uint8, resourceId common.Address) (*big.Int, error)
GetIdByTypeAndResourceId is a free data retrieval call binding the contract method 0x6d23cd58.
Solidity: function getIdByTypeAndResourceId(uint8 proposalType, address resourceId) constant returns(uint256)
func (*ProposalManagerSession) GetProposalInfo ¶
func (_ProposalManager *ProposalManagerSession) GetProposalInfo(proposalId *big.Int) (struct { ResourceId common.Address Proposer common.Address ProposalType uint8 BlockNumberInterval *big.Int Status uint8 AgreeVoters []common.Address AgainstVoters []common.Address }, error)
GetProposalInfo is a free data retrieval call binding the contract method 0xbc903cb8.
Solidity: function getProposalInfo(uint256 proposalId) constant returns(address resourceId, address proposer, uint8 proposalType, uint256 blockNumberInterval, uint8 status, address[] agreeVoters, address[] againstVoters)
func (*ProposalManagerSession) GetProposalInfoList ¶
func (_ProposalManager *ProposalManagerSession) GetProposalInfoList(from *big.Int, to *big.Int) ([]ProposalManagerProposalInfo, error)
GetProposalInfoList is a free data retrieval call binding the contract method 0xdde248e3.
Solidity: function getProposalInfoList(uint256 from, uint256 to) constant returns([]ProposalManagerProposalInfo)
func (*ProposalManagerSession) GetProposalStatus ¶
func (_ProposalManager *ProposalManagerSession) GetProposalStatus(proposalId *big.Int) (uint8, error)
GetProposalStatus is a free data retrieval call binding the contract method 0x401853b7.
Solidity: function getProposalStatus(uint256 proposalId) constant returns(uint8)
func (*ProposalManagerSession) Owner ¶
func (_ProposalManager *ProposalManagerSession) Owner() (common.Address, error)
Owner is a free data retrieval call binding the contract method 0xb2bdfa7b.
Solidity: function _owner() constant returns(address)
func (*ProposalManagerSession) ProposalCount ¶
func (_ProposalManager *ProposalManagerSession) ProposalCount() (*big.Int, error)
ProposalCount is a free data retrieval call binding the contract method 0x6f2904cc.
Solidity: function _proposalCount() constant returns(uint256)
func (*ProposalManagerSession) ProposalIndex ¶
func (_ProposalManager *ProposalManagerSession) ProposalIndex(arg0 uint8, arg1 common.Address) (*big.Int, error)
ProposalIndex is a free data retrieval call binding the contract method 0x1cc05cbc.
Solidity: function _proposalIndex(uint8 , address ) constant returns(uint256)
func (*ProposalManagerSession) Proposals ¶
func (_ProposalManager *ProposalManagerSession) Proposals(arg0 *big.Int) (struct { ResourceId common.Address Proposer common.Address ProposalType uint8 BlockNumberInterval *big.Int Status uint8 }, error)
Proposals is a free data retrieval call binding the contract method 0x0a494840.
Solidity: function _proposals(uint256 ) constant returns(address resourceId, address proposer, uint8 proposalType, uint256 blockNumberInterval, uint8 status)
func (*ProposalManagerSession) RefreshProposalStatus ¶
func (_ProposalManager *ProposalManagerSession) RefreshProposalStatus(proposalId *big.Int) (uint8, *types.Transaction, *types.Receipt, error)
RefreshProposalStatus is a paid mutator transaction binding the contract method 0x19dcd07e.
Solidity: function refreshProposalStatus(uint256 proposalId) returns(uint8)
func (*ProposalManagerSession) Revoke ¶
func (_ProposalManager *ProposalManagerSession) Revoke(proposalId *big.Int, voterAddress common.Address) (*types.Transaction, *types.Receipt, error)
Revoke is a paid mutator transaction binding the contract method 0x20d154da.
Solidity: function revoke(uint256 proposalId, address voterAddress) returns()
func (*ProposalManagerSession) SetOwner ¶
func (_ProposalManager *ProposalManagerSession) SetOwner(owner common.Address) (*types.Transaction, *types.Receipt, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address owner) returns()
func (*ProposalManagerSession) SetVoteComputer ¶
func (_ProposalManager *ProposalManagerSession) SetVoteComputer(addr common.Address) (*types.Transaction, *types.Receipt, error)
SetVoteComputer is a paid mutator transaction binding the contract method 0x290bc797.
Solidity: function setVoteComputer(address addr) returns()
func (*ProposalManagerSession) Vote ¶
func (_ProposalManager *ProposalManagerSession) Vote(proposalId *big.Int, agree bool, voterAddress common.Address) (uint8, *types.Transaction, *types.Receipt, error)
Vote is a paid mutator transaction binding the contract method 0x315ce5e2.
Solidity: function vote(uint256 proposalId, bool agree, address voterAddress) returns(uint8)
func (*ProposalManagerSession) VoteComputer ¶
func (_ProposalManager *ProposalManagerSession) VoteComputer() (common.Address, error)
VoteComputer is a free data retrieval call binding the contract method 0xfcf81c14.
Solidity: function _voteComputer() constant returns(address)
type ProposalManagerTransactor ¶
type ProposalManagerTransactor struct {
// contains filtered or unexported fields
}
ProposalManagerTransactor is an auto generated write-only Go binding around a Solidity contract.
func NewProposalManagerTransactor ¶
func NewProposalManagerTransactor(address common.Address, transactor bind.ContractTransactor) (*ProposalManagerTransactor, error)
NewProposalManagerTransactor creates a new write-only instance of ProposalManager, bound to a specific deployed contract.
func (*ProposalManagerTransactor) AsyncCreate ¶
func (*ProposalManagerTransactor) AsyncRefreshProposalStatus ¶
func (_ProposalManager *ProposalManagerTransactor) AsyncRefreshProposalStatus(handler func(*types.Receipt, error), opts *bind.TransactOpts, proposalId *big.Int) (*types.Transaction, error)
func (*ProposalManagerTransactor) AsyncRevoke ¶
func (_ProposalManager *ProposalManagerTransactor) AsyncRevoke(handler func(*types.Receipt, error), opts *bind.TransactOpts, proposalId *big.Int, voterAddress common.Address) (*types.Transaction, error)
func (*ProposalManagerTransactor) AsyncSetOwner ¶
func (_ProposalManager *ProposalManagerTransactor) AsyncSetOwner(handler func(*types.Receipt, error), opts *bind.TransactOpts, owner common.Address) (*types.Transaction, error)
func (*ProposalManagerTransactor) AsyncSetVoteComputer ¶
func (_ProposalManager *ProposalManagerTransactor) AsyncSetVoteComputer(handler func(*types.Receipt, error), opts *bind.TransactOpts, addr common.Address) (*types.Transaction, error)
func (*ProposalManagerTransactor) AsyncVote ¶
func (_ProposalManager *ProposalManagerTransactor) AsyncVote(handler func(*types.Receipt, error), opts *bind.TransactOpts, proposalId *big.Int, agree bool, voterAddress common.Address) (*types.Transaction, error)
func (*ProposalManagerTransactor) Create ¶
func (_ProposalManager *ProposalManagerTransactor) Create(opts *bind.TransactOpts, proposer common.Address, proposalType uint8, resourceId common.Address, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
Create is a paid mutator transaction binding the contract method 0x2c3956fe.
Solidity: function create(address proposer, uint8 proposalType, address resourceId, uint256 blockNumberInterval) returns(uint256)
func (*ProposalManagerTransactor) RefreshProposalStatus ¶
func (_ProposalManager *ProposalManagerTransactor) RefreshProposalStatus(opts *bind.TransactOpts, proposalId *big.Int) (uint8, *types.Transaction, *types.Receipt, error)
RefreshProposalStatus is a paid mutator transaction binding the contract method 0x19dcd07e.
Solidity: function refreshProposalStatus(uint256 proposalId) returns(uint8)
func (*ProposalManagerTransactor) Revoke ¶
func (_ProposalManager *ProposalManagerTransactor) Revoke(opts *bind.TransactOpts, proposalId *big.Int, voterAddress common.Address) (*types.Transaction, *types.Receipt, error)
Revoke is a paid mutator transaction binding the contract method 0x20d154da.
Solidity: function revoke(uint256 proposalId, address voterAddress) returns()
func (*ProposalManagerTransactor) SetOwner ¶
func (_ProposalManager *ProposalManagerTransactor) SetOwner(opts *bind.TransactOpts, owner common.Address) (*types.Transaction, *types.Receipt, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address owner) returns()
func (*ProposalManagerTransactor) SetVoteComputer ¶
func (_ProposalManager *ProposalManagerTransactor) SetVoteComputer(opts *bind.TransactOpts, addr common.Address) (*types.Transaction, *types.Receipt, error)
SetVoteComputer is a paid mutator transaction binding the contract method 0x290bc797.
Solidity: function setVoteComputer(address addr) returns()
func (*ProposalManagerTransactor) Vote ¶
func (_ProposalManager *ProposalManagerTransactor) Vote(opts *bind.TransactOpts, proposalId *big.Int, agree bool, voterAddress common.Address) (uint8, *types.Transaction, *types.Receipt, error)
Vote is a paid mutator transaction binding the contract method 0x315ce5e2.
Solidity: function vote(uint256 proposalId, bool agree, address voterAddress) returns(uint8)
type ProposalManagerTransactorRaw ¶
type ProposalManagerTransactorRaw struct {
Contract *ProposalManagerTransactor // Generic write-only contract binding to access the raw methods on
}
ProposalManagerTransactorRaw is an auto generated low-level write-only Go binding around a Solidity contract.
func (*ProposalManagerTransactorRaw) TransactWithResult ¶
func (_ProposalManager *ProposalManagerTransactorRaw) TransactWithResult(opts *bind.TransactOpts, result interface{}, method string, params ...interface{}) (*types.Transaction, *types.Receipt, error)
Transact invokes the (paid) contract method with params as input values.
func (*ProposalManagerTransactorRaw) Transfer ¶
func (_ProposalManager *ProposalManagerTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, *types.Receipt, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type ProposalManagerTransactorSession ¶
type ProposalManagerTransactorSession struct { Contract *ProposalManagerTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
ProposalManagerTransactorSession is an auto generated write-only Go binding around a Solidity contract, with pre-set transact options.
func (*ProposalManagerTransactorSession) AsyncCreate ¶
func (*ProposalManagerTransactorSession) AsyncRefreshProposalStatus ¶
func (_ProposalManager *ProposalManagerTransactorSession) AsyncRefreshProposalStatus(handler func(*types.Receipt, error), proposalId *big.Int) (*types.Transaction, error)
func (*ProposalManagerTransactorSession) AsyncRevoke ¶
func (*ProposalManagerTransactorSession) AsyncSetOwner ¶
func (_ProposalManager *ProposalManagerTransactorSession) AsyncSetOwner(handler func(*types.Receipt, error), owner common.Address) (*types.Transaction, error)
func (*ProposalManagerTransactorSession) AsyncSetVoteComputer ¶
func (_ProposalManager *ProposalManagerTransactorSession) AsyncSetVoteComputer(handler func(*types.Receipt, error), addr common.Address) (*types.Transaction, error)
func (*ProposalManagerTransactorSession) Create ¶
func (_ProposalManager *ProposalManagerTransactorSession) Create(proposer common.Address, proposalType uint8, resourceId common.Address, blockNumberInterval *big.Int) (*big.Int, *types.Transaction, *types.Receipt, error)
Create is a paid mutator transaction binding the contract method 0x2c3956fe.
Solidity: function create(address proposer, uint8 proposalType, address resourceId, uint256 blockNumberInterval) returns(uint256)
func (*ProposalManagerTransactorSession) RefreshProposalStatus ¶
func (_ProposalManager *ProposalManagerTransactorSession) RefreshProposalStatus(proposalId *big.Int) (uint8, *types.Transaction, *types.Receipt, error)
RefreshProposalStatus is a paid mutator transaction binding the contract method 0x19dcd07e.
Solidity: function refreshProposalStatus(uint256 proposalId) returns(uint8)
func (*ProposalManagerTransactorSession) Revoke ¶
func (_ProposalManager *ProposalManagerTransactorSession) Revoke(proposalId *big.Int, voterAddress common.Address) (*types.Transaction, *types.Receipt, error)
Revoke is a paid mutator transaction binding the contract method 0x20d154da.
Solidity: function revoke(uint256 proposalId, address voterAddress) returns()
func (*ProposalManagerTransactorSession) SetOwner ¶
func (_ProposalManager *ProposalManagerTransactorSession) SetOwner(owner common.Address) (*types.Transaction, *types.Receipt, error)
SetOwner is a paid mutator transaction binding the contract method 0x13af4035.
Solidity: function setOwner(address owner) returns()
func (*ProposalManagerTransactorSession) SetVoteComputer ¶
func (_ProposalManager *ProposalManagerTransactorSession) SetVoteComputer(addr common.Address) (*types.Transaction, *types.Receipt, error)
SetVoteComputer is a paid mutator transaction binding the contract method 0x290bc797.
Solidity: function setVoteComputer(address addr) returns()
func (*ProposalManagerTransactorSession) Vote ¶
func (_ProposalManager *ProposalManagerTransactorSession) Vote(proposalId *big.Int, agree bool, voterAddress common.Address) (uint8, *types.Transaction, *types.Receipt, error)
Vote is a paid mutator transaction binding the contract method 0x315ce5e2.
Solidity: function vote(uint256 proposalId, bool agree, address voterAddress) returns(uint8)