Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var TestTimeout = time.Second * 600
Functions ¶
func IsExecuted ¶
func IsFinalized ¶
Types ¶
type Client ¶
type Client interface {
LatestBlock() (*big.Int, error)
SubscribeFilterLogs(ctx context.Context, q ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error)
FetchEventLogs(ctx context.Context, contractAddress common.Address, event string, startBlock *big.Int, endBlock *big.Int) ([]types.Log, error)
}
type ProposalStatus ¶
type ProposalStatus int
const ( Inactive ProposalStatus = iota Active Passed Executed Cancelled )
Click to show internal directories.
Click to hide internal directories.