You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: delegation-toolkit/guides/delegation/use-delegation-scopes/function-call.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,7 +5,7 @@ description: Learn how to use the function call scope for a delegation.
5
5
# Use the function call scope
6
6
7
7
The function call scope defines the specific methods, contract addresses, and calldata that are allowed for the delegation.
8
-
For example, Alice delegates to Bob the ability to call the approve function on the USDC contract, with the approval amount set to `0`.
8
+
For example, Alice delegates to Bob the ability to call the `approve` function on the USDC contract, with the approval amount set to `0`.
9
9
10
10
Internally, this scope uses the [`allowedTargets`](../../../reference/caveats.md#allowedtargets) and [`allowedMethods`](../../../reference/caveats.md#allowedmethods) caveat enforcers, and
11
11
optionally uses the [`allowedCalldata`](../../../reference/caveats.md#allowedcalldata) or [`exactCalldata`](../../../reference/caveats.md#exactcalldata) caveat enforcers when those parameters are specified.
Copy file name to clipboardExpand all lines: delegation-toolkit/guides/delegation/use-delegation-scopes/refine-scope.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,8 +9,8 @@ import TabItem from "@theme/TabItem";
9
9
10
10
# Refine a delegation scope
11
11
12
-
You can apply [caveat enforcers](../../concepts/delegation/caveat-enforcers.md) to a delegation, refining the initial authority specified by a[delegation scope](index.md).
13
-
Caveat enforcers enable you to apply specific rules and restrictions, ensuring that delegated executions are only performed under predefined circumstances.
12
+
Apply [caveat enforcers](../../concepts/delegation/caveat-enforcers.md) to a delegation to refine the initial authority defined by its[delegation scope](index.md).
13
+
Caveat enforcers ensure delegated executions are only performed under specific, predefined circumstances.
14
14
15
15
A delegation has a `caveats` property, which is an array of `Caveat` objects.
0 commit comments