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: README.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -92,17 +92,17 @@ onlyFallback: false
92
92
93
93
All functions are able to be used from the `TrailsUtils` context via a call from the Intent Address via a `delegatecall`.
94
94
95
-
Delegatecall via the Intent Address is only able to access `hydrateExecute`. This is due to the Sequence Wallet wrapping of delegatecalls within `handleSequenceDelegateCall`.
95
+
`TrailsUtils` supports the `handleSequenceDelegateCall` interface, allowing an Intent to interact within it's own context. This interface is required to support the Sequence Wallet wrapping of delegatecalls. This pattern exposes all functions on `TrailsUtils`.
96
96
97
-
Delegatecalls are only allowed in a nested delegatecall context. The `TrailsUtils` will not process a delegatecall when executing from the context of it's own address.
97
+
Delegatecalls from `TrailsUtils` via the `HydrateProxy` execution logic, are only allowed in a nested delegatecall context. The `TrailsUtils` will not process a delegatecall when executing from the context of it's own address.
98
98
99
99
Any funds accumulated in the `TrailsUtils` context, via a `call` should be swept during batched execution. Remaining funds are to be considered lost.
100
100
101
101
### Intent Security
102
102
103
103
The Trails contracts are flexible in what they allow a configuration to represent. Misuse can cause an Intent to be exploitable.
104
104
105
-
`RequireUtils`, `Hydrate` and `MalleableSapient` are tools to help create functionally complete and secure Intent configurations. The actual creation of the configuration must be done with care and is out of scope of this repository.
105
+
`RequireUtils`, `HydrateProxy` and `MalleableSapient` are tools to help create functionally complete and secure Intent configurations. The actual creation of the configuration must be done with care and is out of scope of this repository.
0 commit comments