Skip to content

Commit 7d2733e

Browse files
AyushBherwani1998Ayush Bherwani
andauthored
fix caveats reference (#2333)
Co-authored-by: Ayush Bherwani <“[email protected]”>
1 parent c2f35b0 commit 7d2733e

File tree

2 files changed

+4
-4
lines changed
  • delegation-toolkit/reference/delegation
  • gator_versioned_docs/version-0.13.0/reference/delegation

2 files changed

+4
-4
lines changed

delegation-toolkit/reference/delegation/caveats.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,14 +399,14 @@ Caveat enforcer contract: [`ExactCalldataEnforcer.sol`](https://github.com/MetaM
399399

400400
| Name | Type | Required | Description |
401401
| ----------------- | -------------------------------- | -------- | ----------------------------------------------------- |
402-
| `exactCalldata` | `calldata` | Yes | The `calldata` that the delegate is allowed to call. |
402+
| `calldata` | `Hex` | Yes | The `calldata` that the delegate is allowed to call. |
403403

404404
### Example
405405

406406
```typescript
407407
const caveats = [{
408408
type: "exactCalldata",
409-
exactCalldata: "0x1234567890abcdef",
409+
calldata: "0x1234567890abcdef",
410410
}];
411411
```
412412

gator_versioned_docs/version-0.13.0/reference/delegation/caveats.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,14 +398,14 @@ Caveat enforcer contract: [`ExactCalldataEnforcer.sol`](https://github.com/MetaM
398398

399399
| Name | Type | Required | Description |
400400
| ----------------- | -------------------------------- | -------- | ----------------------------------------------------- |
401-
| `exactCalldata` | `calldata` | Yes | The `calldata` that the delegate is allowed to call. |
401+
| `calldata` | `Hex` | Yes | The `calldata` that the delegate is allowed to call. |
402402

403403
### Example
404404

405405
```typescript
406406
const caveats = [{
407407
type: "exactCalldata",
408-
exactCalldata: "0x1234567890abcdef",
408+
calldata: "0x1234567890abcdef",
409409
}];
410410
```
411411

0 commit comments

Comments
 (0)