@somnia-chain/markets-sdk / index / Executed
Interface: Executed
Defined in: packages/sdk/src/executor/types.ts:56
What an executor hands back: the receipt it already holds, fetched once by whoever sent the transaction, plus any INNER failure it detected that the receipt's own status does not show.
Details
failure is how a safe reports a swallowed revert: the outer transaction
mines with status: "success" while the safe's failure event says the
inner call reverted. The writer throws it exactly as it throws a reverted
receipt, so a caller never has to know which actor sent the write.
Properties
hash
hash:
`0x${string}`
Defined in: packages/sdk/src/executor/types.ts:58
Hash of the transaction the executor sent (the OUTER transaction for a safe).
receipt
receipt:
TransactionReceipt
Defined in: packages/sdk/src/executor/types.ts:60
The mined receipt, as the executor received it.
failure?
optionalfailure?:ContractRevertError
Defined in: packages/sdk/src/executor/types.ts:62
An inner failure the executor detected on a receipt whose status is success.