Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Target ¶
type Target interface {
// ChainID returns the chain ID of the target contract.
ChainID() uint64
// Address returns the address of the target contract.
Address() common.Address
// IsAllowedCall returns true if the call is allowed.
IsAllowedCall(call bindings.SolveCall) bool
// TokenPrereqs returns the token prerequisites required for the call.
TokenPrereqs(call bindings.SolveCall) ([]bindings.SolveTokenPrereq, error)
// Verify returns an error if the call should not be fulfilled.
Verify(srcChainID uint64, call bindings.SolveCall, deposits []bindings.SolveDeposit) error
}
Target is the interface for a target contract the solver can interact with.
Click to show internal directories.
Click to hide internal directories.