Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var MaxWaitError = &tracer.Error{
Kind: "MaxWaitError",
Desc: "The maximum amount of time to wait passed, returning this error.",
}
View Source
var TransactionFailedError = &tracer.Error{
Kind: "TransactionFailedError",
Desc: "The transaction was mined, but failed with a status code other than 1, which implies that the transaction reverted.",
}
Functions ¶
This section is empty.
Types ¶
type Interface ¶
type Interface interface { // UVX returns a Claims contract interface for the given address and the // underlying RPC configured. Claims(string) claimscontract.Interface // Client is the underlying go-ethereum client interacting with the configured // RPC. Client() *ethclient.Client // UVX returns a UVX contract interface for the given address and the // underlying RPC configured. UVX(string) uvxcontract.Interface // Wait allows the caller to wait for the given transaction to be mined // onchain, but only for the maximum amount of time provided. Should the // provided transaction not be mined successfully within "max", then Wait will // return MaxWaitError. Should the provided transaction fail in time, then // TransactionFailedError is returned. Wait(txn *types.Transaction, max time.Duration) error }
Click to show internal directories.
Click to hide internal directories.