Skip to content

Commit

Permalink
Document executionMeta parameter value (#37)
Browse files Browse the repository at this point in the history
* [#10] Document executionMeta parameter value

* [#10] Update executionMeta value description

* [#10] Fix extra whitespace
  • Loading branch information
akshay-ap authored Sep 22, 2023
1 parent aad7187 commit fd2da5a
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions modules/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ interface ISafeProtocolHooks {
}
```

### Parameter `executionMeta` value

| Execution Type | Value |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| Multisignature Flow (for accounts that use [Guard interface](https://github.com/safe-global/safe-contracts/blob/8ffae95faa815acf86ec8b50021ebe9f96abde10/contracts/base/GuardManager.sol#L10)) | Encoded data created from parameter values received from `checkTransaction(...)` i.e. `abi.encode(to, value, data, gas, baseGas, gasPrice, gasToken, refundReceiver, signatures, msgSender)` |
| Plugin Flow | Encoded address of the Plugin i.e. `abi.encode(pluginAddress)` |

### Parameter `executionType` value

| Execution Type | Value |
|---------------------|-------|
| Multisignature Flow | `0` |
Expand Down

0 comments on commit fd2da5a

Please sign in to comment.