Documentation ¶
Index ¶
- func AbiFor(name string) *abi.ABI
- func BuildQuery(contract common.Address, sig EventSig, startBlock *big.Int, endBlock *big.Int) eth.FilterQuery
- func MustProxyAddressFor(name string) common.Address
- func PackInput(abi *abi.ABI, abiMethod string, params ...interface{}) []byte
- func ProxyAddressFor(name string) (common.Address, error)
- type EventSig
- type ProposalStatus
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildQuery ¶
func BuildQuery(contract common.Address, sig EventSig, startBlock *big.Int, endBlock *big.Int) eth.FilterQuery
buildQuery constructs a query for the bridgeContract by hashing sig to get the event topic
func MustProxyAddressFor ¶
Types ¶
type EventSig ¶
type EventSig string
const ( // event ValidatorEpochPaymentDistributed(address indexed validator, uint256 validatorPayment); ValidatorEpochPaymentDistributed EventSig = "ValidatorEpochPaymentDistributed(address,uint256)" // event EpochRewardsDistributedToVoters(address indexed voterAddress, uint256 value); EpochRewardsDistributedToVoters EventSig = "EpochRewardsDistributedToVoters(address,uint256)" )
type ProposalStatus ¶
type ProposalStatus int
Click to show internal directories.
Click to hide internal directories.