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
@@ -85,17 +29,13 @@ export type BasePermission = {
85
29
86
30
/**
87
31
* A base rule type that all rules must extend.
88
-
* `isAdjustmentAllowed` defines a boolean value that allows DApp to define whether the "rule" can be attenuated–adjusted to meet the user's terms.
89
32
*
90
33
* type - is an enum defined by the ERCs
91
34
*
92
-
* isAdjustmentAllowed - is a boolean that indicates whether the rule can be adjusted.
93
-
*
94
35
* data - is a record of the data that is associated with the rule, and the structure is defined by the ERCs.
95
36
*/
96
37
exporttypeRule={
97
38
type: string;
98
-
isAdjustmentAllowed: boolean;
99
39
data: Record<string,any>;
100
40
};
101
41
@@ -236,19 +176,16 @@ export type PermissionTypes =
236
176
*
237
177
* address - address identifies the account being targetted for this permission request which is useful when a connection has been established and multiple accounts have been exposed. It is optional to let the user choose which account to grant permission for.
238
178
*
239
-
* signer - signer is a field that identifies the key or account associated with the permission or alternatively the wallet will manage the session. See the "Signers" section for details.
179
+
* to - is a field that identifies the DApp session account associated with the permission.
240
180
*
241
181
* permission - permission defines the allowed behavior the signer can do on behalf of the account. See the "Permission" section for details.
242
182
*
243
183
* rules - rules defined the restrictions or conditions that a signer MUST abide by when using a permission to act on behalf of an account. See the "Rule" section for details.
@@ -259,26 +196,19 @@ export type PermissionRequest<
259
196
*
260
197
* context - is a catch-all to identify a permission for revoking permissions or submitting userOps, and can contain non-identifying data as well. It MAY be the `context` as defined in ERC-7679 and ERC-7710.
261
198
*
262
-
* dependencyInfo - is an array of objects, each containing fields for `factory` and `factoryData` as defined in ERC-4337. Either both `factory` and `factoryData` must be specified in an entry, or neither. This array is used describe accounts that are not yet deployed but MUST be deployed in order for a permission to be successfully redeemed.
199
+
* dependencies - is an array of objects, each containing fields for `factory` and `factoryData` as defined in ERC-4337. Either both `factory` and `factoryData` must be specified in an entry, or neither. This array is used describe accounts that are not yet deployed but MUST be deployed in order for a permission to be successfully redeemed.
263
200
*
264
-
* signerMeta - is dependent on the account type. If the signer type is `wallet` then it's not required. If the signer type is `key` or `keys` then `userOpBuilder` is required as defined in ERC-7679. If the signer type is `account` then `delegationManager` is required as defined in ERC-7710.
201
+
* delegationManager - is required as defined in ERC-7710.
0 commit comments