Documentation
¶
Overview ¶
Package walletoperation owns wallet task inputs and recovery checkpoints.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrIdentityChanged = errors.New("wallet request belongs to another wallet, network, or payment contract")
Functions ¶
func ValidateInput ¶
Types ¶
type Checkpoint ¶
type Checkpoint struct {
ExecutionIdentity
BroadcastAttempted bool `json:"broadcast_attempted"`
TransactionHash string `json:"transaction_hash,omitempty"`
}
type ExecutionIdentity ¶
type ExecutionIdentity struct {
Identity *storage.ContextIdentity `json:"identity,omitempty"`
Payments *common.Address `json:"payments,omitempty"`
USDFC *common.Address `json:"usdfc,omitempty"`
}
func NewExecutionIdentity ¶
func NewExecutionIdentity(identity storage.ContextIdentity, payments, usdfc common.Address) ExecutionIdentity
func (ExecutionIdentity) Complete ¶
func (identity ExecutionIdentity) Complete() bool
func (ExecutionIdentity) Match ¶
func (identity ExecutionIdentity) Match(other ExecutionIdentity) error
type Input ¶
type Input struct {
ExecutionIdentity
OperationID int64 `json:"operation_id"`
}
Click to show internal directories.
Click to hide internal directories.