Documentation ¶
Index ¶
- Constants
- type GovernorAlphaReceipt
- type Governoralpha
- type GovernoralphaCaller
- func (_Governoralpha *GovernoralphaCaller) BALLOTTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_Governoralpha *GovernoralphaCaller) DOMAINTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
- func (_Governoralpha *GovernoralphaCaller) GetActions(opts *bind.CallOpts, proposalId *big.Int) (struct{ ... }, error)
- func (_Governoralpha *GovernoralphaCaller) GetReceipt(opts *bind.CallOpts, proposalId *big.Int, voter common.Address) (GovernorAlphaReceipt, error)
- func (_Governoralpha *GovernoralphaCaller) LatestProposalIds(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
- func (_Governoralpha *GovernoralphaCaller) Name(opts *bind.CallOpts) (string, error)
- func (_Governoralpha *GovernoralphaCaller) Ndx(opts *bind.CallOpts) (common.Address, error)
- func (_Governoralpha *GovernoralphaCaller) PermanentVotingPeriod(opts *bind.CallOpts) (*big.Int, error)
- func (_Governoralpha *GovernoralphaCaller) ProposalCount(opts *bind.CallOpts) (*big.Int, error)
- func (_Governoralpha *GovernoralphaCaller) ProposalMaxOperations(opts *bind.CallOpts) (*big.Int, error)
- func (_Governoralpha *GovernoralphaCaller) ProposalThreshold(opts *bind.CallOpts) (*big.Int, error)
- func (_Governoralpha *GovernoralphaCaller) Proposals(opts *bind.CallOpts, arg0 *big.Int) (struct{ ... }, error)
- func (_Governoralpha *GovernoralphaCaller) QuorumVotes(opts *bind.CallOpts) (*big.Int, error)
- func (_Governoralpha *GovernoralphaCaller) SetVotingPeriodAfter(opts *bind.CallOpts) (*big.Int, error)
- func (_Governoralpha *GovernoralphaCaller) State(opts *bind.CallOpts, proposalId *big.Int) (uint8, error)
- func (_Governoralpha *GovernoralphaCaller) Timelock(opts *bind.CallOpts) (common.Address, error)
- func (_Governoralpha *GovernoralphaCaller) VotingDelay(opts *bind.CallOpts) (*big.Int, error)
- func (_Governoralpha *GovernoralphaCaller) VotingPeriod(opts *bind.CallOpts) (*big.Int, error)
- type GovernoralphaCallerRaw
- type GovernoralphaCallerSession
- func (_Governoralpha *GovernoralphaCallerSession) BALLOTTYPEHASH() ([32]byte, error)
- func (_Governoralpha *GovernoralphaCallerSession) DOMAINTYPEHASH() ([32]byte, error)
- func (_Governoralpha *GovernoralphaCallerSession) GetActions(proposalId *big.Int) (struct{ ... }, error)
- func (_Governoralpha *GovernoralphaCallerSession) GetReceipt(proposalId *big.Int, voter common.Address) (GovernorAlphaReceipt, error)
- func (_Governoralpha *GovernoralphaCallerSession) LatestProposalIds(arg0 common.Address) (*big.Int, error)
- func (_Governoralpha *GovernoralphaCallerSession) Name() (string, error)
- func (_Governoralpha *GovernoralphaCallerSession) Ndx() (common.Address, error)
- func (_Governoralpha *GovernoralphaCallerSession) PermanentVotingPeriod() (*big.Int, error)
- func (_Governoralpha *GovernoralphaCallerSession) ProposalCount() (*big.Int, error)
- func (_Governoralpha *GovernoralphaCallerSession) ProposalMaxOperations() (*big.Int, error)
- func (_Governoralpha *GovernoralphaCallerSession) ProposalThreshold() (*big.Int, error)
- func (_Governoralpha *GovernoralphaCallerSession) Proposals(arg0 *big.Int) (struct{ ... }, error)
- func (_Governoralpha *GovernoralphaCallerSession) QuorumVotes() (*big.Int, error)
- func (_Governoralpha *GovernoralphaCallerSession) SetVotingPeriodAfter() (*big.Int, error)
- func (_Governoralpha *GovernoralphaCallerSession) State(proposalId *big.Int) (uint8, error)
- func (_Governoralpha *GovernoralphaCallerSession) Timelock() (common.Address, error)
- func (_Governoralpha *GovernoralphaCallerSession) VotingDelay() (*big.Int, error)
- func (_Governoralpha *GovernoralphaCallerSession) VotingPeriod() (*big.Int, error)
- type GovernoralphaFilterer
- func (_Governoralpha *GovernoralphaFilterer) FilterProposalCanceled(opts *bind.FilterOpts) (*GovernoralphaProposalCanceledIterator, error)
- func (_Governoralpha *GovernoralphaFilterer) FilterProposalCreated(opts *bind.FilterOpts) (*GovernoralphaProposalCreatedIterator, error)
- func (_Governoralpha *GovernoralphaFilterer) FilterProposalExecuted(opts *bind.FilterOpts) (*GovernoralphaProposalExecutedIterator, error)
- func (_Governoralpha *GovernoralphaFilterer) FilterProposalQueued(opts *bind.FilterOpts) (*GovernoralphaProposalQueuedIterator, error)
- func (_Governoralpha *GovernoralphaFilterer) FilterVoteCast(opts *bind.FilterOpts) (*GovernoralphaVoteCastIterator, error)
- func (_Governoralpha *GovernoralphaFilterer) ParseProposalCanceled(log types.Log) (*GovernoralphaProposalCanceled, error)
- func (_Governoralpha *GovernoralphaFilterer) ParseProposalCreated(log types.Log) (*GovernoralphaProposalCreated, error)
- func (_Governoralpha *GovernoralphaFilterer) ParseProposalExecuted(log types.Log) (*GovernoralphaProposalExecuted, error)
- func (_Governoralpha *GovernoralphaFilterer) ParseProposalQueued(log types.Log) (*GovernoralphaProposalQueued, error)
- func (_Governoralpha *GovernoralphaFilterer) ParseVoteCast(log types.Log) (*GovernoralphaVoteCast, error)
- func (_Governoralpha *GovernoralphaFilterer) WatchProposalCanceled(opts *bind.WatchOpts, sink chan<- *GovernoralphaProposalCanceled) (event.Subscription, error)
- func (_Governoralpha *GovernoralphaFilterer) WatchProposalCreated(opts *bind.WatchOpts, sink chan<- *GovernoralphaProposalCreated) (event.Subscription, error)
- func (_Governoralpha *GovernoralphaFilterer) WatchProposalExecuted(opts *bind.WatchOpts, sink chan<- *GovernoralphaProposalExecuted) (event.Subscription, error)
- func (_Governoralpha *GovernoralphaFilterer) WatchProposalQueued(opts *bind.WatchOpts, sink chan<- *GovernoralphaProposalQueued) (event.Subscription, error)
- func (_Governoralpha *GovernoralphaFilterer) WatchVoteCast(opts *bind.WatchOpts, sink chan<- *GovernoralphaVoteCast) (event.Subscription, error)
- type GovernoralphaProposalCanceled
- type GovernoralphaProposalCanceledIterator
- type GovernoralphaProposalCreated
- type GovernoralphaProposalCreatedIterator
- type GovernoralphaProposalExecuted
- type GovernoralphaProposalExecutedIterator
- type GovernoralphaProposalQueued
- type GovernoralphaProposalQueuedIterator
- type GovernoralphaRaw
- func (_Governoralpha *GovernoralphaRaw) Call(opts *bind.CallOpts, result *[]interface{}, method string, ...) error
- func (_Governoralpha *GovernoralphaRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
- type GovernoralphaSession
- func (_Governoralpha *GovernoralphaSession) BALLOTTYPEHASH() ([32]byte, error)
- func (_Governoralpha *GovernoralphaSession) Cancel(proposalId *big.Int) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaSession) CastVote(proposalId *big.Int, support bool) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaSession) CastVoteBySig(proposalId *big.Int, support bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaSession) DOMAINTYPEHASH() ([32]byte, error)
- func (_Governoralpha *GovernoralphaSession) Execute(proposalId *big.Int) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaSession) GetActions(proposalId *big.Int) (struct{ ... }, error)
- func (_Governoralpha *GovernoralphaSession) GetReceipt(proposalId *big.Int, voter common.Address) (GovernorAlphaReceipt, error)
- func (_Governoralpha *GovernoralphaSession) LatestProposalIds(arg0 common.Address) (*big.Int, error)
- func (_Governoralpha *GovernoralphaSession) Name() (string, error)
- func (_Governoralpha *GovernoralphaSession) Ndx() (common.Address, error)
- func (_Governoralpha *GovernoralphaSession) PermanentVotingPeriod() (*big.Int, error)
- func (_Governoralpha *GovernoralphaSession) ProposalCount() (*big.Int, error)
- func (_Governoralpha *GovernoralphaSession) ProposalMaxOperations() (*big.Int, error)
- func (_Governoralpha *GovernoralphaSession) ProposalThreshold() (*big.Int, error)
- func (_Governoralpha *GovernoralphaSession) Proposals(arg0 *big.Int) (struct{ ... }, error)
- func (_Governoralpha *GovernoralphaSession) Propose(targets []common.Address, values []*big.Int, signatures []string, ...) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaSession) Queue(proposalId *big.Int) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaSession) QuorumVotes() (*big.Int, error)
- func (_Governoralpha *GovernoralphaSession) SetPermanentVotingPeriod() (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaSession) SetVotingPeriodAfter() (*big.Int, error)
- func (_Governoralpha *GovernoralphaSession) State(proposalId *big.Int) (uint8, error)
- func (_Governoralpha *GovernoralphaSession) Timelock() (common.Address, error)
- func (_Governoralpha *GovernoralphaSession) VotingDelay() (*big.Int, error)
- func (_Governoralpha *GovernoralphaSession) VotingPeriod() (*big.Int, error)
- type GovernoralphaTransactor
- func (_Governoralpha *GovernoralphaTransactor) Cancel(opts *bind.TransactOpts, proposalId *big.Int) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaTransactor) CastVote(opts *bind.TransactOpts, proposalId *big.Int, support bool) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaTransactor) CastVoteBySig(opts *bind.TransactOpts, proposalId *big.Int, support bool, v uint8, ...) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaTransactor) Execute(opts *bind.TransactOpts, proposalId *big.Int) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaTransactor) Propose(opts *bind.TransactOpts, targets []common.Address, values []*big.Int, ...) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaTransactor) Queue(opts *bind.TransactOpts, proposalId *big.Int) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaTransactor) SetPermanentVotingPeriod(opts *bind.TransactOpts) (*types.Transaction, error)
- type GovernoralphaTransactorRaw
- type GovernoralphaTransactorSession
- func (_Governoralpha *GovernoralphaTransactorSession) Cancel(proposalId *big.Int) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaTransactorSession) CastVote(proposalId *big.Int, support bool) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaTransactorSession) CastVoteBySig(proposalId *big.Int, support bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaTransactorSession) Execute(proposalId *big.Int) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaTransactorSession) Propose(targets []common.Address, values []*big.Int, signatures []string, ...) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaTransactorSession) Queue(proposalId *big.Int) (*types.Transaction, error)
- func (_Governoralpha *GovernoralphaTransactorSession) SetPermanentVotingPeriod() (*types.Transaction, error)
- type GovernoralphaVoteCast
- type GovernoralphaVoteCastIterator
Constants ¶
const GovernoralphaABI = "" /* 8837-byte string literal not displayed */
GovernoralphaABI is the input ABI used to generate the binding from.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GovernorAlphaReceipt ¶
GovernorAlphaReceipt is an auto generated low-level Go binding around an user-defined struct.
type Governoralpha ¶
type Governoralpha struct { GovernoralphaCaller // Read-only binding to the contract GovernoralphaTransactor // Write-only binding to the contract GovernoralphaFilterer // Log filterer for contract events }
Governoralpha is an auto generated Go binding around an Ethereum contract.
func NewGovernoralpha ¶
func NewGovernoralpha(address common.Address, backend bind.ContractBackend) (*Governoralpha, error)
NewGovernoralpha creates a new instance of Governoralpha, bound to a specific deployed contract.
type GovernoralphaCaller ¶
type GovernoralphaCaller struct {
// contains filtered or unexported fields
}
GovernoralphaCaller is an auto generated read-only Go binding around an Ethereum contract.
func NewGovernoralphaCaller ¶
func NewGovernoralphaCaller(address common.Address, caller bind.ContractCaller) (*GovernoralphaCaller, error)
NewGovernoralphaCaller creates a new read-only instance of Governoralpha, bound to a specific deployed contract.
func (*GovernoralphaCaller) BALLOTTYPEHASH ¶
func (_Governoralpha *GovernoralphaCaller) BALLOTTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
BALLOTTYPEHASH is a free data retrieval call binding the contract method 0xdeaaa7cc.
Solidity: function BALLOT_TYPEHASH() view returns(bytes32)
func (*GovernoralphaCaller) DOMAINTYPEHASH ¶
func (_Governoralpha *GovernoralphaCaller) DOMAINTYPEHASH(opts *bind.CallOpts) ([32]byte, error)
DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.
Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)
func (*GovernoralphaCaller) GetActions ¶
func (_Governoralpha *GovernoralphaCaller) GetActions(opts *bind.CallOpts, proposalId *big.Int) (struct { Targets []common.Address Values []*big.Int Signatures []string Calldatas [][]byte }, error)
GetActions is a free data retrieval call binding the contract method 0x328dd982.
Solidity: function getActions(uint256 proposalId) view returns(address[] targets, uint256[] values, string[] signatures, bytes[] calldatas)
func (*GovernoralphaCaller) GetReceipt ¶
func (_Governoralpha *GovernoralphaCaller) GetReceipt(opts *bind.CallOpts, proposalId *big.Int, voter common.Address) (GovernorAlphaReceipt, error)
GetReceipt is a free data retrieval call binding the contract method 0xe23a9a52.
Solidity: function getReceipt(uint256 proposalId, address voter) view returns((bool,bool,uint96))
func (*GovernoralphaCaller) LatestProposalIds ¶
func (_Governoralpha *GovernoralphaCaller) LatestProposalIds(opts *bind.CallOpts, arg0 common.Address) (*big.Int, error)
LatestProposalIds is a free data retrieval call binding the contract method 0x17977c61.
Solidity: function latestProposalIds(address ) view returns(uint256)
func (*GovernoralphaCaller) Name ¶
func (_Governoralpha *GovernoralphaCaller) Name(opts *bind.CallOpts) (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*GovernoralphaCaller) Ndx ¶
Ndx is a free data retrieval call binding the contract method 0x79521b2c.
Solidity: function ndx() view returns(address)
func (*GovernoralphaCaller) PermanentVotingPeriod ¶
func (_Governoralpha *GovernoralphaCaller) PermanentVotingPeriod(opts *bind.CallOpts) (*big.Int, error)
PermanentVotingPeriod is a free data retrieval call binding the contract method 0xec1e0e03.
Solidity: function permanentVotingPeriod() view returns(uint256)
func (*GovernoralphaCaller) ProposalCount ¶
ProposalCount is a free data retrieval call binding the contract method 0xda35c664.
Solidity: function proposalCount() view returns(uint256)
func (*GovernoralphaCaller) ProposalMaxOperations ¶
func (_Governoralpha *GovernoralphaCaller) ProposalMaxOperations(opts *bind.CallOpts) (*big.Int, error)
ProposalMaxOperations is a free data retrieval call binding the contract method 0x7bdbe4d0.
Solidity: function proposalMaxOperations() pure returns(uint256)
func (*GovernoralphaCaller) ProposalThreshold ¶
ProposalThreshold is a free data retrieval call binding the contract method 0xb58131b0.
Solidity: function proposalThreshold() pure returns(uint256)
func (*GovernoralphaCaller) Proposals ¶
func (_Governoralpha *GovernoralphaCaller) Proposals(opts *bind.CallOpts, arg0 *big.Int) (struct { Id *big.Int Proposer common.Address Eta *big.Int StartBlock *big.Int EndBlock *big.Int ForVotes *big.Int AgainstVotes *big.Int Canceled bool Executed bool }, error)
Proposals is a free data retrieval call binding the contract method 0x013cf08b.
Solidity: function proposals(uint256 ) view returns(uint256 id, address proposer, uint256 eta, uint256 startBlock, uint256 endBlock, uint256 forVotes, uint256 againstVotes, bool canceled, bool executed)
func (*GovernoralphaCaller) QuorumVotes ¶
QuorumVotes is a free data retrieval call binding the contract method 0x24bc1a64.
Solidity: function quorumVotes() pure returns(uint256)
func (*GovernoralphaCaller) SetVotingPeriodAfter ¶
func (_Governoralpha *GovernoralphaCaller) SetVotingPeriodAfter(opts *bind.CallOpts) (*big.Int, error)
SetVotingPeriodAfter is a free data retrieval call binding the contract method 0x1a5b534e.
Solidity: function setVotingPeriodAfter() view returns(uint256)
func (*GovernoralphaCaller) State ¶
func (_Governoralpha *GovernoralphaCaller) State(opts *bind.CallOpts, proposalId *big.Int) (uint8, error)
State is a free data retrieval call binding the contract method 0x3e4f49e6.
Solidity: function state(uint256 proposalId) view returns(uint8)
func (*GovernoralphaCaller) Timelock ¶
Timelock is a free data retrieval call binding the contract method 0xd33219b4.
Solidity: function timelock() view returns(address)
func (*GovernoralphaCaller) VotingDelay ¶
VotingDelay is a free data retrieval call binding the contract method 0x3932abb1.
Solidity: function votingDelay() pure returns(uint256)
func (*GovernoralphaCaller) VotingPeriod ¶
VotingPeriod is a free data retrieval call binding the contract method 0x02a251a3.
Solidity: function votingPeriod() view returns(uint256)
type GovernoralphaCallerRaw ¶
type GovernoralphaCallerRaw struct {
Contract *GovernoralphaCaller // Generic read-only contract binding to access the raw methods on
}
GovernoralphaCallerRaw is an auto generated low-level read-only Go binding around an Ethereum contract.
func (*GovernoralphaCallerRaw) Call ¶
func (_Governoralpha *GovernoralphaCallerRaw) 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 GovernoralphaCallerSession ¶
type GovernoralphaCallerSession struct { Contract *GovernoralphaCaller // Generic contract caller binding to set the session for CallOpts bind.CallOpts // Call options to use throughout this session }
GovernoralphaCallerSession is an auto generated read-only Go binding around an Ethereum contract, with pre-set call options.
func (*GovernoralphaCallerSession) BALLOTTYPEHASH ¶
func (_Governoralpha *GovernoralphaCallerSession) BALLOTTYPEHASH() ([32]byte, error)
BALLOTTYPEHASH is a free data retrieval call binding the contract method 0xdeaaa7cc.
Solidity: function BALLOT_TYPEHASH() view returns(bytes32)
func (*GovernoralphaCallerSession) DOMAINTYPEHASH ¶
func (_Governoralpha *GovernoralphaCallerSession) DOMAINTYPEHASH() ([32]byte, error)
DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.
Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)
func (*GovernoralphaCallerSession) GetActions ¶
func (_Governoralpha *GovernoralphaCallerSession) GetActions(proposalId *big.Int) (struct { Targets []common.Address Values []*big.Int Signatures []string Calldatas [][]byte }, error)
GetActions is a free data retrieval call binding the contract method 0x328dd982.
Solidity: function getActions(uint256 proposalId) view returns(address[] targets, uint256[] values, string[] signatures, bytes[] calldatas)
func (*GovernoralphaCallerSession) GetReceipt ¶
func (_Governoralpha *GovernoralphaCallerSession) GetReceipt(proposalId *big.Int, voter common.Address) (GovernorAlphaReceipt, error)
GetReceipt is a free data retrieval call binding the contract method 0xe23a9a52.
Solidity: function getReceipt(uint256 proposalId, address voter) view returns((bool,bool,uint96))
func (*GovernoralphaCallerSession) LatestProposalIds ¶
func (_Governoralpha *GovernoralphaCallerSession) LatestProposalIds(arg0 common.Address) (*big.Int, error)
LatestProposalIds is a free data retrieval call binding the contract method 0x17977c61.
Solidity: function latestProposalIds(address ) view returns(uint256)
func (*GovernoralphaCallerSession) Name ¶
func (_Governoralpha *GovernoralphaCallerSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*GovernoralphaCallerSession) Ndx ¶
func (_Governoralpha *GovernoralphaCallerSession) Ndx() (common.Address, error)
Ndx is a free data retrieval call binding the contract method 0x79521b2c.
Solidity: function ndx() view returns(address)
func (*GovernoralphaCallerSession) PermanentVotingPeriod ¶
func (_Governoralpha *GovernoralphaCallerSession) PermanentVotingPeriod() (*big.Int, error)
PermanentVotingPeriod is a free data retrieval call binding the contract method 0xec1e0e03.
Solidity: function permanentVotingPeriod() view returns(uint256)
func (*GovernoralphaCallerSession) ProposalCount ¶
func (_Governoralpha *GovernoralphaCallerSession) ProposalCount() (*big.Int, error)
ProposalCount is a free data retrieval call binding the contract method 0xda35c664.
Solidity: function proposalCount() view returns(uint256)
func (*GovernoralphaCallerSession) ProposalMaxOperations ¶
func (_Governoralpha *GovernoralphaCallerSession) ProposalMaxOperations() (*big.Int, error)
ProposalMaxOperations is a free data retrieval call binding the contract method 0x7bdbe4d0.
Solidity: function proposalMaxOperations() pure returns(uint256)
func (*GovernoralphaCallerSession) ProposalThreshold ¶
func (_Governoralpha *GovernoralphaCallerSession) ProposalThreshold() (*big.Int, error)
ProposalThreshold is a free data retrieval call binding the contract method 0xb58131b0.
Solidity: function proposalThreshold() pure returns(uint256)
func (*GovernoralphaCallerSession) Proposals ¶
func (_Governoralpha *GovernoralphaCallerSession) Proposals(arg0 *big.Int) (struct { Id *big.Int Proposer common.Address Eta *big.Int StartBlock *big.Int EndBlock *big.Int ForVotes *big.Int AgainstVotes *big.Int Canceled bool Executed bool }, error)
Proposals is a free data retrieval call binding the contract method 0x013cf08b.
Solidity: function proposals(uint256 ) view returns(uint256 id, address proposer, uint256 eta, uint256 startBlock, uint256 endBlock, uint256 forVotes, uint256 againstVotes, bool canceled, bool executed)
func (*GovernoralphaCallerSession) QuorumVotes ¶
func (_Governoralpha *GovernoralphaCallerSession) QuorumVotes() (*big.Int, error)
QuorumVotes is a free data retrieval call binding the contract method 0x24bc1a64.
Solidity: function quorumVotes() pure returns(uint256)
func (*GovernoralphaCallerSession) SetVotingPeriodAfter ¶
func (_Governoralpha *GovernoralphaCallerSession) SetVotingPeriodAfter() (*big.Int, error)
SetVotingPeriodAfter is a free data retrieval call binding the contract method 0x1a5b534e.
Solidity: function setVotingPeriodAfter() view returns(uint256)
func (*GovernoralphaCallerSession) State ¶
func (_Governoralpha *GovernoralphaCallerSession) State(proposalId *big.Int) (uint8, error)
State is a free data retrieval call binding the contract method 0x3e4f49e6.
Solidity: function state(uint256 proposalId) view returns(uint8)
func (*GovernoralphaCallerSession) Timelock ¶
func (_Governoralpha *GovernoralphaCallerSession) Timelock() (common.Address, error)
Timelock is a free data retrieval call binding the contract method 0xd33219b4.
Solidity: function timelock() view returns(address)
func (*GovernoralphaCallerSession) VotingDelay ¶
func (_Governoralpha *GovernoralphaCallerSession) VotingDelay() (*big.Int, error)
VotingDelay is a free data retrieval call binding the contract method 0x3932abb1.
Solidity: function votingDelay() pure returns(uint256)
func (*GovernoralphaCallerSession) VotingPeriod ¶
func (_Governoralpha *GovernoralphaCallerSession) VotingPeriod() (*big.Int, error)
VotingPeriod is a free data retrieval call binding the contract method 0x02a251a3.
Solidity: function votingPeriod() view returns(uint256)
type GovernoralphaFilterer ¶
type GovernoralphaFilterer struct {
// contains filtered or unexported fields
}
GovernoralphaFilterer is an auto generated log filtering Go binding around an Ethereum contract events.
func NewGovernoralphaFilterer ¶
func NewGovernoralphaFilterer(address common.Address, filterer bind.ContractFilterer) (*GovernoralphaFilterer, error)
NewGovernoralphaFilterer creates a new log filterer instance of Governoralpha, bound to a specific deployed contract.
func (*GovernoralphaFilterer) FilterProposalCanceled ¶
func (_Governoralpha *GovernoralphaFilterer) FilterProposalCanceled(opts *bind.FilterOpts) (*GovernoralphaProposalCanceledIterator, error)
FilterProposalCanceled is a free log retrieval operation binding the contract event 0x789cf55be980739dad1d0699b93b58e806b51c9d96619bfa8fe0a28abaa7b30c.
Solidity: event ProposalCanceled(uint256 id)
func (*GovernoralphaFilterer) FilterProposalCreated ¶
func (_Governoralpha *GovernoralphaFilterer) FilterProposalCreated(opts *bind.FilterOpts) (*GovernoralphaProposalCreatedIterator, error)
FilterProposalCreated is a free log retrieval operation binding the contract event 0x7d84a6263ae0d98d3329bd7b46bb4e8d6f98cd35a7adb45c274c8b7fd5ebd5e0.
Solidity: event ProposalCreated(uint256 id, address proposer, address[] targets, uint256[] values, string[] signatures, bytes[] calldatas, uint256 startBlock, uint256 endBlock, string description)
func (*GovernoralphaFilterer) FilterProposalExecuted ¶
func (_Governoralpha *GovernoralphaFilterer) FilterProposalExecuted(opts *bind.FilterOpts) (*GovernoralphaProposalExecutedIterator, error)
FilterProposalExecuted is a free log retrieval operation binding the contract event 0x712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f.
Solidity: event ProposalExecuted(uint256 id)
func (*GovernoralphaFilterer) FilterProposalQueued ¶
func (_Governoralpha *GovernoralphaFilterer) FilterProposalQueued(opts *bind.FilterOpts) (*GovernoralphaProposalQueuedIterator, error)
FilterProposalQueued is a free log retrieval operation binding the contract event 0x9a2e42fd6722813d69113e7d0079d3d940171428df7373df9c7f7617cfda2892.
Solidity: event ProposalQueued(uint256 id, uint256 eta)
func (*GovernoralphaFilterer) FilterVoteCast ¶
func (_Governoralpha *GovernoralphaFilterer) FilterVoteCast(opts *bind.FilterOpts) (*GovernoralphaVoteCastIterator, error)
FilterVoteCast is a free log retrieval operation binding the contract event 0x877856338e13f63d0c36822ff0ef736b80934cd90574a3a5bc9262c39d217c46.
Solidity: event VoteCast(address voter, uint256 proposalId, bool support, uint256 votes)
func (*GovernoralphaFilterer) ParseProposalCanceled ¶
func (_Governoralpha *GovernoralphaFilterer) ParseProposalCanceled(log types.Log) (*GovernoralphaProposalCanceled, error)
ParseProposalCanceled is a log parse operation binding the contract event 0x789cf55be980739dad1d0699b93b58e806b51c9d96619bfa8fe0a28abaa7b30c.
Solidity: event ProposalCanceled(uint256 id)
func (*GovernoralphaFilterer) ParseProposalCreated ¶
func (_Governoralpha *GovernoralphaFilterer) ParseProposalCreated(log types.Log) (*GovernoralphaProposalCreated, error)
ParseProposalCreated is a log parse operation binding the contract event 0x7d84a6263ae0d98d3329bd7b46bb4e8d6f98cd35a7adb45c274c8b7fd5ebd5e0.
Solidity: event ProposalCreated(uint256 id, address proposer, address[] targets, uint256[] values, string[] signatures, bytes[] calldatas, uint256 startBlock, uint256 endBlock, string description)
func (*GovernoralphaFilterer) ParseProposalExecuted ¶
func (_Governoralpha *GovernoralphaFilterer) ParseProposalExecuted(log types.Log) (*GovernoralphaProposalExecuted, error)
ParseProposalExecuted is a log parse operation binding the contract event 0x712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f.
Solidity: event ProposalExecuted(uint256 id)
func (*GovernoralphaFilterer) ParseProposalQueued ¶
func (_Governoralpha *GovernoralphaFilterer) ParseProposalQueued(log types.Log) (*GovernoralphaProposalQueued, error)
ParseProposalQueued is a log parse operation binding the contract event 0x9a2e42fd6722813d69113e7d0079d3d940171428df7373df9c7f7617cfda2892.
Solidity: event ProposalQueued(uint256 id, uint256 eta)
func (*GovernoralphaFilterer) ParseVoteCast ¶
func (_Governoralpha *GovernoralphaFilterer) ParseVoteCast(log types.Log) (*GovernoralphaVoteCast, error)
ParseVoteCast is a log parse operation binding the contract event 0x877856338e13f63d0c36822ff0ef736b80934cd90574a3a5bc9262c39d217c46.
Solidity: event VoteCast(address voter, uint256 proposalId, bool support, uint256 votes)
func (*GovernoralphaFilterer) WatchProposalCanceled ¶
func (_Governoralpha *GovernoralphaFilterer) WatchProposalCanceled(opts *bind.WatchOpts, sink chan<- *GovernoralphaProposalCanceled) (event.Subscription, error)
WatchProposalCanceled is a free log subscription operation binding the contract event 0x789cf55be980739dad1d0699b93b58e806b51c9d96619bfa8fe0a28abaa7b30c.
Solidity: event ProposalCanceled(uint256 id)
func (*GovernoralphaFilterer) WatchProposalCreated ¶
func (_Governoralpha *GovernoralphaFilterer) WatchProposalCreated(opts *bind.WatchOpts, sink chan<- *GovernoralphaProposalCreated) (event.Subscription, error)
WatchProposalCreated is a free log subscription operation binding the contract event 0x7d84a6263ae0d98d3329bd7b46bb4e8d6f98cd35a7adb45c274c8b7fd5ebd5e0.
Solidity: event ProposalCreated(uint256 id, address proposer, address[] targets, uint256[] values, string[] signatures, bytes[] calldatas, uint256 startBlock, uint256 endBlock, string description)
func (*GovernoralphaFilterer) WatchProposalExecuted ¶
func (_Governoralpha *GovernoralphaFilterer) WatchProposalExecuted(opts *bind.WatchOpts, sink chan<- *GovernoralphaProposalExecuted) (event.Subscription, error)
WatchProposalExecuted is a free log subscription operation binding the contract event 0x712ae1383f79ac853f8d882153778e0260ef8f03b504e2866e0593e04d2b291f.
Solidity: event ProposalExecuted(uint256 id)
func (*GovernoralphaFilterer) WatchProposalQueued ¶
func (_Governoralpha *GovernoralphaFilterer) WatchProposalQueued(opts *bind.WatchOpts, sink chan<- *GovernoralphaProposalQueued) (event.Subscription, error)
WatchProposalQueued is a free log subscription operation binding the contract event 0x9a2e42fd6722813d69113e7d0079d3d940171428df7373df9c7f7617cfda2892.
Solidity: event ProposalQueued(uint256 id, uint256 eta)
func (*GovernoralphaFilterer) WatchVoteCast ¶
func (_Governoralpha *GovernoralphaFilterer) WatchVoteCast(opts *bind.WatchOpts, sink chan<- *GovernoralphaVoteCast) (event.Subscription, error)
WatchVoteCast is a free log subscription operation binding the contract event 0x877856338e13f63d0c36822ff0ef736b80934cd90574a3a5bc9262c39d217c46.
Solidity: event VoteCast(address voter, uint256 proposalId, bool support, uint256 votes)
type GovernoralphaProposalCanceled ¶
type GovernoralphaProposalCanceled struct { Id *big.Int Raw types.Log // Blockchain specific contextual infos }
GovernoralphaProposalCanceled represents a ProposalCanceled event raised by the Governoralpha contract.
type GovernoralphaProposalCanceledIterator ¶
type GovernoralphaProposalCanceledIterator struct { Event *GovernoralphaProposalCanceled // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernoralphaProposalCanceledIterator is returned from FilterProposalCanceled and is used to iterate over the raw logs and unpacked data for ProposalCanceled events raised by the Governoralpha contract.
func (*GovernoralphaProposalCanceledIterator) Close ¶
func (it *GovernoralphaProposalCanceledIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernoralphaProposalCanceledIterator) Error ¶
func (it *GovernoralphaProposalCanceledIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernoralphaProposalCanceledIterator) Next ¶
func (it *GovernoralphaProposalCanceledIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type GovernoralphaProposalCreated ¶
type GovernoralphaProposalCreated struct { Id *big.Int Proposer common.Address Targets []common.Address Values []*big.Int Signatures []string Calldatas [][]byte StartBlock *big.Int EndBlock *big.Int Description string Raw types.Log // Blockchain specific contextual infos }
GovernoralphaProposalCreated represents a ProposalCreated event raised by the Governoralpha contract.
type GovernoralphaProposalCreatedIterator ¶
type GovernoralphaProposalCreatedIterator struct { Event *GovernoralphaProposalCreated // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernoralphaProposalCreatedIterator is returned from FilterProposalCreated and is used to iterate over the raw logs and unpacked data for ProposalCreated events raised by the Governoralpha contract.
func (*GovernoralphaProposalCreatedIterator) Close ¶
func (it *GovernoralphaProposalCreatedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernoralphaProposalCreatedIterator) Error ¶
func (it *GovernoralphaProposalCreatedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernoralphaProposalCreatedIterator) Next ¶
func (it *GovernoralphaProposalCreatedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type GovernoralphaProposalExecuted ¶
type GovernoralphaProposalExecuted struct { Id *big.Int Raw types.Log // Blockchain specific contextual infos }
GovernoralphaProposalExecuted represents a ProposalExecuted event raised by the Governoralpha contract.
type GovernoralphaProposalExecutedIterator ¶
type GovernoralphaProposalExecutedIterator struct { Event *GovernoralphaProposalExecuted // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernoralphaProposalExecutedIterator is returned from FilterProposalExecuted and is used to iterate over the raw logs and unpacked data for ProposalExecuted events raised by the Governoralpha contract.
func (*GovernoralphaProposalExecutedIterator) Close ¶
func (it *GovernoralphaProposalExecutedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernoralphaProposalExecutedIterator) Error ¶
func (it *GovernoralphaProposalExecutedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernoralphaProposalExecutedIterator) Next ¶
func (it *GovernoralphaProposalExecutedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type GovernoralphaProposalQueued ¶
type GovernoralphaProposalQueued struct { Id *big.Int Eta *big.Int Raw types.Log // Blockchain specific contextual infos }
GovernoralphaProposalQueued represents a ProposalQueued event raised by the Governoralpha contract.
type GovernoralphaProposalQueuedIterator ¶
type GovernoralphaProposalQueuedIterator struct { Event *GovernoralphaProposalQueued // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernoralphaProposalQueuedIterator is returned from FilterProposalQueued and is used to iterate over the raw logs and unpacked data for ProposalQueued events raised by the Governoralpha contract.
func (*GovernoralphaProposalQueuedIterator) Close ¶
func (it *GovernoralphaProposalQueuedIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernoralphaProposalQueuedIterator) Error ¶
func (it *GovernoralphaProposalQueuedIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernoralphaProposalQueuedIterator) Next ¶
func (it *GovernoralphaProposalQueuedIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.
type GovernoralphaRaw ¶
type GovernoralphaRaw struct {
Contract *Governoralpha // Generic contract binding to access the raw methods on
}
GovernoralphaRaw is an auto generated low-level Go binding around an Ethereum contract.
func (*GovernoralphaRaw) Call ¶
func (_Governoralpha *GovernoralphaRaw) 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 (*GovernoralphaRaw) Transact ¶
func (_Governoralpha *GovernoralphaRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GovernoralphaRaw) Transfer ¶
func (_Governoralpha *GovernoralphaRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type GovernoralphaSession ¶
type GovernoralphaSession struct { Contract *Governoralpha // 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 }
GovernoralphaSession is an auto generated Go binding around an Ethereum contract, with pre-set call and transact options.
func (*GovernoralphaSession) BALLOTTYPEHASH ¶
func (_Governoralpha *GovernoralphaSession) BALLOTTYPEHASH() ([32]byte, error)
BALLOTTYPEHASH is a free data retrieval call binding the contract method 0xdeaaa7cc.
Solidity: function BALLOT_TYPEHASH() view returns(bytes32)
func (*GovernoralphaSession) Cancel ¶
func (_Governoralpha *GovernoralphaSession) Cancel(proposalId *big.Int) (*types.Transaction, error)
Cancel is a paid mutator transaction binding the contract method 0x40e58ee5.
Solidity: function cancel(uint256 proposalId) returns()
func (*GovernoralphaSession) CastVote ¶
func (_Governoralpha *GovernoralphaSession) CastVote(proposalId *big.Int, support bool) (*types.Transaction, error)
CastVote is a paid mutator transaction binding the contract method 0x15373e3d.
Solidity: function castVote(uint256 proposalId, bool support) returns()
func (*GovernoralphaSession) CastVoteBySig ¶
func (_Governoralpha *GovernoralphaSession) CastVoteBySig(proposalId *big.Int, support bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
CastVoteBySig is a paid mutator transaction binding the contract method 0x4634c61f.
Solidity: function castVoteBySig(uint256 proposalId, bool support, uint8 v, bytes32 r, bytes32 s) returns()
func (*GovernoralphaSession) DOMAINTYPEHASH ¶
func (_Governoralpha *GovernoralphaSession) DOMAINTYPEHASH() ([32]byte, error)
DOMAINTYPEHASH is a free data retrieval call binding the contract method 0x20606b70.
Solidity: function DOMAIN_TYPEHASH() view returns(bytes32)
func (*GovernoralphaSession) Execute ¶
func (_Governoralpha *GovernoralphaSession) Execute(proposalId *big.Int) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0xfe0d94c1.
Solidity: function execute(uint256 proposalId) payable returns()
func (*GovernoralphaSession) GetActions ¶
func (_Governoralpha *GovernoralphaSession) GetActions(proposalId *big.Int) (struct { Targets []common.Address Values []*big.Int Signatures []string Calldatas [][]byte }, error)
GetActions is a free data retrieval call binding the contract method 0x328dd982.
Solidity: function getActions(uint256 proposalId) view returns(address[] targets, uint256[] values, string[] signatures, bytes[] calldatas)
func (*GovernoralphaSession) GetReceipt ¶
func (_Governoralpha *GovernoralphaSession) GetReceipt(proposalId *big.Int, voter common.Address) (GovernorAlphaReceipt, error)
GetReceipt is a free data retrieval call binding the contract method 0xe23a9a52.
Solidity: function getReceipt(uint256 proposalId, address voter) view returns((bool,bool,uint96))
func (*GovernoralphaSession) LatestProposalIds ¶
func (_Governoralpha *GovernoralphaSession) LatestProposalIds(arg0 common.Address) (*big.Int, error)
LatestProposalIds is a free data retrieval call binding the contract method 0x17977c61.
Solidity: function latestProposalIds(address ) view returns(uint256)
func (*GovernoralphaSession) Name ¶
func (_Governoralpha *GovernoralphaSession) Name() (string, error)
Name is a free data retrieval call binding the contract method 0x06fdde03.
Solidity: function name() view returns(string)
func (*GovernoralphaSession) Ndx ¶
func (_Governoralpha *GovernoralphaSession) Ndx() (common.Address, error)
Ndx is a free data retrieval call binding the contract method 0x79521b2c.
Solidity: function ndx() view returns(address)
func (*GovernoralphaSession) PermanentVotingPeriod ¶
func (_Governoralpha *GovernoralphaSession) PermanentVotingPeriod() (*big.Int, error)
PermanentVotingPeriod is a free data retrieval call binding the contract method 0xec1e0e03.
Solidity: function permanentVotingPeriod() view returns(uint256)
func (*GovernoralphaSession) ProposalCount ¶
func (_Governoralpha *GovernoralphaSession) ProposalCount() (*big.Int, error)
ProposalCount is a free data retrieval call binding the contract method 0xda35c664.
Solidity: function proposalCount() view returns(uint256)
func (*GovernoralphaSession) ProposalMaxOperations ¶
func (_Governoralpha *GovernoralphaSession) ProposalMaxOperations() (*big.Int, error)
ProposalMaxOperations is a free data retrieval call binding the contract method 0x7bdbe4d0.
Solidity: function proposalMaxOperations() pure returns(uint256)
func (*GovernoralphaSession) ProposalThreshold ¶
func (_Governoralpha *GovernoralphaSession) ProposalThreshold() (*big.Int, error)
ProposalThreshold is a free data retrieval call binding the contract method 0xb58131b0.
Solidity: function proposalThreshold() pure returns(uint256)
func (*GovernoralphaSession) Proposals ¶
func (_Governoralpha *GovernoralphaSession) Proposals(arg0 *big.Int) (struct { Id *big.Int Proposer common.Address Eta *big.Int StartBlock *big.Int EndBlock *big.Int ForVotes *big.Int AgainstVotes *big.Int Canceled bool Executed bool }, error)
Proposals is a free data retrieval call binding the contract method 0x013cf08b.
Solidity: function proposals(uint256 ) view returns(uint256 id, address proposer, uint256 eta, uint256 startBlock, uint256 endBlock, uint256 forVotes, uint256 againstVotes, bool canceled, bool executed)
func (*GovernoralphaSession) Propose ¶
func (_Governoralpha *GovernoralphaSession) Propose(targets []common.Address, values []*big.Int, signatures []string, calldatas [][]byte, description string) (*types.Transaction, error)
Propose is a paid mutator transaction binding the contract method 0xda95691a.
Solidity: function propose(address[] targets, uint256[] values, string[] signatures, bytes[] calldatas, string description) returns(uint256)
func (*GovernoralphaSession) Queue ¶
func (_Governoralpha *GovernoralphaSession) Queue(proposalId *big.Int) (*types.Transaction, error)
Queue is a paid mutator transaction binding the contract method 0xddf0b009.
Solidity: function queue(uint256 proposalId) returns()
func (*GovernoralphaSession) QuorumVotes ¶
func (_Governoralpha *GovernoralphaSession) QuorumVotes() (*big.Int, error)
QuorumVotes is a free data retrieval call binding the contract method 0x24bc1a64.
Solidity: function quorumVotes() pure returns(uint256)
func (*GovernoralphaSession) SetPermanentVotingPeriod ¶
func (_Governoralpha *GovernoralphaSession) SetPermanentVotingPeriod() (*types.Transaction, error)
SetPermanentVotingPeriod is a paid mutator transaction binding the contract method 0x7fd9a857.
Solidity: function setPermanentVotingPeriod() returns()
func (*GovernoralphaSession) SetVotingPeriodAfter ¶
func (_Governoralpha *GovernoralphaSession) SetVotingPeriodAfter() (*big.Int, error)
SetVotingPeriodAfter is a free data retrieval call binding the contract method 0x1a5b534e.
Solidity: function setVotingPeriodAfter() view returns(uint256)
func (*GovernoralphaSession) State ¶
func (_Governoralpha *GovernoralphaSession) State(proposalId *big.Int) (uint8, error)
State is a free data retrieval call binding the contract method 0x3e4f49e6.
Solidity: function state(uint256 proposalId) view returns(uint8)
func (*GovernoralphaSession) Timelock ¶
func (_Governoralpha *GovernoralphaSession) Timelock() (common.Address, error)
Timelock is a free data retrieval call binding the contract method 0xd33219b4.
Solidity: function timelock() view returns(address)
func (*GovernoralphaSession) VotingDelay ¶
func (_Governoralpha *GovernoralphaSession) VotingDelay() (*big.Int, error)
VotingDelay is a free data retrieval call binding the contract method 0x3932abb1.
Solidity: function votingDelay() pure returns(uint256)
func (*GovernoralphaSession) VotingPeriod ¶
func (_Governoralpha *GovernoralphaSession) VotingPeriod() (*big.Int, error)
VotingPeriod is a free data retrieval call binding the contract method 0x02a251a3.
Solidity: function votingPeriod() view returns(uint256)
type GovernoralphaTransactor ¶
type GovernoralphaTransactor struct {
// contains filtered or unexported fields
}
GovernoralphaTransactor is an auto generated write-only Go binding around an Ethereum contract.
func NewGovernoralphaTransactor ¶
func NewGovernoralphaTransactor(address common.Address, transactor bind.ContractTransactor) (*GovernoralphaTransactor, error)
NewGovernoralphaTransactor creates a new write-only instance of Governoralpha, bound to a specific deployed contract.
func (*GovernoralphaTransactor) Cancel ¶
func (_Governoralpha *GovernoralphaTransactor) Cancel(opts *bind.TransactOpts, proposalId *big.Int) (*types.Transaction, error)
Cancel is a paid mutator transaction binding the contract method 0x40e58ee5.
Solidity: function cancel(uint256 proposalId) returns()
func (*GovernoralphaTransactor) CastVote ¶
func (_Governoralpha *GovernoralphaTransactor) CastVote(opts *bind.TransactOpts, proposalId *big.Int, support bool) (*types.Transaction, error)
CastVote is a paid mutator transaction binding the contract method 0x15373e3d.
Solidity: function castVote(uint256 proposalId, bool support) returns()
func (*GovernoralphaTransactor) CastVoteBySig ¶
func (_Governoralpha *GovernoralphaTransactor) CastVoteBySig(opts *bind.TransactOpts, proposalId *big.Int, support bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
CastVoteBySig is a paid mutator transaction binding the contract method 0x4634c61f.
Solidity: function castVoteBySig(uint256 proposalId, bool support, uint8 v, bytes32 r, bytes32 s) returns()
func (*GovernoralphaTransactor) Execute ¶
func (_Governoralpha *GovernoralphaTransactor) Execute(opts *bind.TransactOpts, proposalId *big.Int) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0xfe0d94c1.
Solidity: function execute(uint256 proposalId) payable returns()
func (*GovernoralphaTransactor) Propose ¶
func (_Governoralpha *GovernoralphaTransactor) Propose(opts *bind.TransactOpts, targets []common.Address, values []*big.Int, signatures []string, calldatas [][]byte, description string) (*types.Transaction, error)
Propose is a paid mutator transaction binding the contract method 0xda95691a.
Solidity: function propose(address[] targets, uint256[] values, string[] signatures, bytes[] calldatas, string description) returns(uint256)
func (*GovernoralphaTransactor) Queue ¶
func (_Governoralpha *GovernoralphaTransactor) Queue(opts *bind.TransactOpts, proposalId *big.Int) (*types.Transaction, error)
Queue is a paid mutator transaction binding the contract method 0xddf0b009.
Solidity: function queue(uint256 proposalId) returns()
func (*GovernoralphaTransactor) SetPermanentVotingPeriod ¶
func (_Governoralpha *GovernoralphaTransactor) SetPermanentVotingPeriod(opts *bind.TransactOpts) (*types.Transaction, error)
SetPermanentVotingPeriod is a paid mutator transaction binding the contract method 0x7fd9a857.
Solidity: function setPermanentVotingPeriod() returns()
type GovernoralphaTransactorRaw ¶
type GovernoralphaTransactorRaw struct {
Contract *GovernoralphaTransactor // Generic write-only contract binding to access the raw methods on
}
GovernoralphaTransactorRaw is an auto generated low-level write-only Go binding around an Ethereum contract.
func (*GovernoralphaTransactorRaw) Transact ¶
func (_Governoralpha *GovernoralphaTransactorRaw) Transact(opts *bind.TransactOpts, method string, params ...interface{}) (*types.Transaction, error)
Transact invokes the (paid) contract method with params as input values.
func (*GovernoralphaTransactorRaw) Transfer ¶
func (_Governoralpha *GovernoralphaTransactorRaw) Transfer(opts *bind.TransactOpts) (*types.Transaction, error)
Transfer initiates a plain transaction to move funds to the contract, calling its default method if one is available.
type GovernoralphaTransactorSession ¶
type GovernoralphaTransactorSession struct { Contract *GovernoralphaTransactor // Generic contract transactor binding to set the session for TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session }
GovernoralphaTransactorSession is an auto generated write-only Go binding around an Ethereum contract, with pre-set transact options.
func (*GovernoralphaTransactorSession) Cancel ¶
func (_Governoralpha *GovernoralphaTransactorSession) Cancel(proposalId *big.Int) (*types.Transaction, error)
Cancel is a paid mutator transaction binding the contract method 0x40e58ee5.
Solidity: function cancel(uint256 proposalId) returns()
func (*GovernoralphaTransactorSession) CastVote ¶
func (_Governoralpha *GovernoralphaTransactorSession) CastVote(proposalId *big.Int, support bool) (*types.Transaction, error)
CastVote is a paid mutator transaction binding the contract method 0x15373e3d.
Solidity: function castVote(uint256 proposalId, bool support) returns()
func (*GovernoralphaTransactorSession) CastVoteBySig ¶
func (_Governoralpha *GovernoralphaTransactorSession) CastVoteBySig(proposalId *big.Int, support bool, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error)
CastVoteBySig is a paid mutator transaction binding the contract method 0x4634c61f.
Solidity: function castVoteBySig(uint256 proposalId, bool support, uint8 v, bytes32 r, bytes32 s) returns()
func (*GovernoralphaTransactorSession) Execute ¶
func (_Governoralpha *GovernoralphaTransactorSession) Execute(proposalId *big.Int) (*types.Transaction, error)
Execute is a paid mutator transaction binding the contract method 0xfe0d94c1.
Solidity: function execute(uint256 proposalId) payable returns()
func (*GovernoralphaTransactorSession) Propose ¶
func (_Governoralpha *GovernoralphaTransactorSession) Propose(targets []common.Address, values []*big.Int, signatures []string, calldatas [][]byte, description string) (*types.Transaction, error)
Propose is a paid mutator transaction binding the contract method 0xda95691a.
Solidity: function propose(address[] targets, uint256[] values, string[] signatures, bytes[] calldatas, string description) returns(uint256)
func (*GovernoralphaTransactorSession) Queue ¶
func (_Governoralpha *GovernoralphaTransactorSession) Queue(proposalId *big.Int) (*types.Transaction, error)
Queue is a paid mutator transaction binding the contract method 0xddf0b009.
Solidity: function queue(uint256 proposalId) returns()
func (*GovernoralphaTransactorSession) SetPermanentVotingPeriod ¶
func (_Governoralpha *GovernoralphaTransactorSession) SetPermanentVotingPeriod() (*types.Transaction, error)
SetPermanentVotingPeriod is a paid mutator transaction binding the contract method 0x7fd9a857.
Solidity: function setPermanentVotingPeriod() returns()
type GovernoralphaVoteCast ¶
type GovernoralphaVoteCast struct { Voter common.Address ProposalId *big.Int Support bool Votes *big.Int Raw types.Log // Blockchain specific contextual infos }
GovernoralphaVoteCast represents a VoteCast event raised by the Governoralpha contract.
type GovernoralphaVoteCastIterator ¶
type GovernoralphaVoteCastIterator struct { Event *GovernoralphaVoteCast // Event containing the contract specifics and raw log // contains filtered or unexported fields }
GovernoralphaVoteCastIterator is returned from FilterVoteCast and is used to iterate over the raw logs and unpacked data for VoteCast events raised by the Governoralpha contract.
func (*GovernoralphaVoteCastIterator) Close ¶
func (it *GovernoralphaVoteCastIterator) Close() error
Close terminates the iteration process, releasing any pending underlying resources.
func (*GovernoralphaVoteCastIterator) Error ¶
func (it *GovernoralphaVoteCastIterator) Error() error
Error returns any retrieval or parsing error occurred during filtering.
func (*GovernoralphaVoteCastIterator) Next ¶
func (it *GovernoralphaVoteCastIterator) Next() bool
Next advances the iterator to the subsequent event, returning whether there are any more events found. In case of a retrieval or parsing error, false is returned and Error() can be queried for the exact failure.