Types
Operation
Execution data for a Hats Account operation.
{
to: Address;
value: bigint;
data: Hex;
operation: OperationType;
}
to - The target address of the operation.
value - The Ether value to be sent to the target.
data - The encoded operation calldata.
operation - A value of type OperationType, indicating the type of operation to perform (call or delegate-call).
OperationType
Enum describing the operation to execute.
enum OperationType {
Call,
DelegateCall,
}
CreateAccountResult
Account creation result.
enum OperationType {
status: "success" | "reverted";
transactionHash: Address;
newAccount: Address;
}
ExecutionResult
Hats Account execution result.
enum OperationType {
status: "success" | "reverted";
transactionHash: Address;
}
Last updated