@ensforge/contracts 0.1.1 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/deployments/sepolia-v2.d.ts +4 -5
- package/dist/deployments/sepolia-v2.js +4 -5
- package/dist/deployments/sepolia-v2.js.map +1 -1
- package/dist/deployments/types.d.ts +0 -1
- package/dist/deployments/types.d.ts.map +1 -1
- package/dist/index.d.ts +4 -12
- package/dist/index.js +4 -12
- package/dist/v2/constants/registry-interfaces.d.ts +2 -2
- package/dist/v2/constants/registry-interfaces.js +2 -2
- package/dist/v2/constants/registry-interfaces.js.map +1 -1
- package/dist/v2/constants/resolver-interfaces.d.ts +1 -1
- package/dist/v2/constants/resolver-interfaces.js +1 -1
- package/dist/v2/constants/resolver-interfaces.js.map +1 -1
- package/dist/v2/experimental/hca.d.ts +1 -2
- package/dist/v2/experimental/hca.js +1 -2
- package/dist/v2/fragments/permissioned-resolver.d.ts +8 -13
- package/dist/v2/fragments/permissioned-resolver.d.ts.map +1 -1
- package/dist/v2/fragments/permissioned-resolver.js +12 -13
- package/dist/v2/fragments/permissioned-resolver.js.map +1 -1
- package/dist/v2/fragments/public-resolver.d.ts +23 -0
- package/dist/v2/fragments/public-resolver.d.ts.map +1 -0
- package/dist/v2/fragments/public-resolver.js +24 -0
- package/dist/v2/fragments/public-resolver.js.map +1 -0
- package/dist/v2/fragments/user-registry.d.ts +16 -1
- package/dist/v2/fragments/user-registry.d.ts.map +1 -1
- package/dist/v2/fragments/user-registry.js +16 -1
- package/dist/v2/fragments/user-registry.js.map +1 -1
- package/dist/v2/fragments/verifiable-factory.d.ts +12 -1
- package/dist/v2/fragments/verifiable-factory.d.ts.map +1 -1
- package/dist/v2/fragments/verifiable-factory.js +12 -1
- package/dist/v2/fragments/verifiable-factory.js.map +1 -1
- package/dist/v2/interfaces/address-set.d.ts +5 -5
- package/dist/v2/interfaces/address-set.js +8 -8
- package/dist/v2/interfaces/address-set.js.map +1 -1
- package/dist/v2/interfaces/contract-name.d.ts +4 -4
- package/dist/v2/interfaces/contract-name.js +6 -6
- package/dist/v2/interfaces/contract-name.js.map +1 -1
- package/dist/v2/interfaces/contract-namer.d.ts +5 -5
- package/dist/v2/interfaces/contract-namer.js +8 -8
- package/dist/v2/interfaces/contract-namer.js.map +1 -1
- package/dist/v2/interfaces/enhanced-access-control.d.ts +162 -162
- package/dist/v2/interfaces/enhanced-access-control.js +241 -241
- package/dist/v2/interfaces/enhanced-access-control.js.map +1 -1
- package/dist/v2/interfaces/erc1155-singleton.d.ts +135 -135
- package/dist/v2/interfaces/erc1155-singleton.js +190 -190
- package/dist/v2/interfaces/erc1155-singleton.js.map +1 -1
- package/dist/v2/interfaces/eth-registrar.d.ts +237 -269
- package/dist/v2/interfaces/eth-registrar.js +332 -368
- package/dist/v2/interfaces/eth-registrar.js.map +1 -1
- package/dist/v2/interfaces/eth-renewer.d.ts +86 -118
- package/dist/v2/interfaces/eth-renewer.js +114 -150
- package/dist/v2/interfaces/eth-renewer.js.map +1 -1
- package/dist/v2/interfaces/l2-reverse-registrar.d.ts +36 -36
- package/dist/v2/interfaces/l2-reverse-registrar.js +61 -61
- package/dist/v2/interfaces/l2-reverse-registrar.js.map +1 -1
- package/dist/v2/interfaces/label-store.d.ts +23 -23
- package/dist/v2/interfaces/label-store.js +29 -29
- package/dist/v2/interfaces/label-store.js.map +1 -1
- package/dist/v2/interfaces/owned-registry.d.ts +144 -144
- package/dist/v2/interfaces/owned-registry.js +181 -181
- package/dist/v2/interfaces/owned-registry.js.map +1 -1
- package/dist/v2/interfaces/permissioned-registry.d.ts +767 -795
- package/dist/v2/interfaces/permissioned-registry.js +1008 -1038
- package/dist/v2/interfaces/permissioned-registry.js.map +1 -1
- package/dist/v2/interfaces/permissioned-resolver.d.ts +249 -231
- package/dist/v2/interfaces/permissioned-resolver.js +345 -322
- package/dist/v2/interfaces/permissioned-resolver.js.map +1 -1
- package/dist/v2/interfaces/registry-events.d.ts +89 -89
- package/dist/v2/interfaces/registry-events.js +121 -121
- package/dist/v2/interfaces/registry-events.js.map +1 -1
- package/dist/v2/interfaces/registry-uri-renderer.d.ts +6 -6
- package/dist/v2/interfaces/registry-uri-renderer.js +10 -10
- package/dist/v2/interfaces/registry-uri-renderer.js.map +1 -1
- package/dist/v2/interfaces/registry.d.ts +130 -130
- package/dist/v2/interfaces/registry.js +166 -166
- package/dist/v2/interfaces/registry.js.map +1 -1
- package/dist/v2/interfaces/rent-price-oracle.d.ts +26 -40
- package/dist/v2/interfaces/rent-price-oracle.js +43 -58
- package/dist/v2/interfaces/rent-price-oracle.js.map +1 -1
- package/dist/v2/interfaces/standard-registry.d.ts +469 -469
- package/dist/v2/interfaces/standard-registry.js +572 -572
- package/dist/v2/interfaces/standard-registry.js.map +1 -1
- package/dist/v2/interfaces/temporal-registry.d.ts +144 -144
- package/dist/v2/interfaces/temporal-registry.js +181 -181
- package/dist/v2/interfaces/temporal-registry.js.map +1 -1
- package/dist/v2/interfaces/tokenized-registry.d.ts +344 -344
- package/dist/v2/interfaces/tokenized-registry.js +421 -421
- package/dist/v2/interfaces/tokenized-registry.js.map +1 -1
- package/dist/v2/interfaces/universal-resolver.d.ts +25 -25
- package/dist/v2/interfaces/universal-resolver.js +43 -43
- package/dist/v2/interfaces/universal-resolver.js.map +1 -1
- package/dist/v2/interfaces/universal-signature-validator.d.ts +7 -7
- package/dist/v2/interfaces/universal-signature-validator.js +12 -12
- package/dist/v2/interfaces/universal-signature-validator.js.map +1 -1
- package/dist/v2/interfaces/wrapper-registry.d.ts +829 -835
- package/dist/v2/interfaces/wrapper-registry.js +1063 -1065
- package/dist/v2/interfaces/wrapper-registry.js.map +1 -1
- package/dist/v2.d.ts +4 -12
- package/dist/v2.js +4 -12
- package/package.json +2 -2
- package/dist/v2/experimental/hca/default-reverse-registrar-hca-adapter.d.ts +0 -260
- package/dist/v2/experimental/hca/default-reverse-registrar-hca-adapter.d.ts.map +0 -1
- package/dist/v2/experimental/hca/default-reverse-registrar-hca-adapter.js +0 -291
- package/dist/v2/experimental/hca/default-reverse-registrar-hca-adapter.js.map +0 -1
- package/dist/v2/fragments/renewal-batch.d.ts +0 -148
- package/dist/v2/fragments/renewal-batch.d.ts.map +0 -1
- package/dist/v2/fragments/renewal-batch.js +0 -177
- package/dist/v2/fragments/renewal-batch.js.map +0 -1
- package/dist/v2/fragments/renewal.d.ts +0 -148
- package/dist/v2/fragments/renewal.d.ts.map +0 -1
- package/dist/v2/fragments/renewal.js +0 -177
- package/dist/v2/fragments/renewal.js.map +0 -1
- package/dist/v2/interfaces/default-reverse-registrar-adapter.d.ts +0 -44
- package/dist/v2/interfaces/default-reverse-registrar-adapter.d.ts.map +0 -1
- package/dist/v2/interfaces/default-reverse-registrar-adapter.js +0 -49
- package/dist/v2/interfaces/default-reverse-registrar-adapter.js.map +0 -1
- package/dist/v2/interfaces/eac-grant-initializable.d.ts +0 -25
- package/dist/v2/interfaces/eac-grant-initializable.d.ts.map +0 -1
- package/dist/v2/interfaces/eac-grant-initializable.js +0 -26
- package/dist/v2/interfaces/eac-grant-initializable.js.map +0 -1
- package/dist/v2/interfaces/permissioned-address-set.d.ts +0 -369
- package/dist/v2/interfaces/permissioned-address-set.d.ts.map +0 -1
- package/dist/v2/interfaces/permissioned-address-set.js +0 -427
- package/dist/v2/interfaces/permissioned-address-set.js.map +0 -1
- package/dist/v2/interfaces/permissioned-resolver-initializable.d.ts +0 -29
- package/dist/v2/interfaces/permissioned-resolver-initializable.d.ts.map +0 -1
- package/dist/v2/interfaces/permissioned-resolver-initializable.js +0 -30
- package/dist/v2/interfaces/permissioned-resolver-initializable.js.map +0 -1
- package/dist/v2/interfaces/rent-price-oracle-provider.d.ts +0 -16
- package/dist/v2/interfaces/rent-price-oracle-provider.d.ts.map +0 -1
- package/dist/v2/interfaces/rent-price-oracle-provider.js +0 -17
- package/dist/v2/interfaces/rent-price-oracle-provider.js.map +0 -1
- package/dist/v2/interfaces/reverse-registrar-adapter.d.ts +0 -52
- package/dist/v2/interfaces/reverse-registrar-adapter.d.ts.map +0 -1
- package/dist/v2/interfaces/reverse-registrar-adapter.js +0 -57
- package/dist/v2/interfaces/reverse-registrar-adapter.js.map +0 -1
- package/dist/v2/interfaces/wrapper-registry-initializable.d.ts +0 -28
- package/dist/v2/interfaces/wrapper-registry-initializable.d.ts.map +0 -1
- package/dist/v2/interfaces/wrapper-registry-initializable.js +0 -34
- package/dist/v2/interfaces/wrapper-registry-initializable.js.map +0 -1
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
//#region src/v2/interfaces/default-reverse-registrar-adapter.d.ts
|
|
2
|
-
/** Complete IDefaultReverseRegistrarAdapter ABI from ENSv2. */
|
|
3
|
-
declare const defaultReverseRegistrarAdapterV2InterfaceAbi: readonly [{
|
|
4
|
-
readonly inputs: readonly [];
|
|
5
|
-
readonly name: "DEFAULT_REVERSE_REGISTRAR";
|
|
6
|
-
readonly outputs: readonly [{
|
|
7
|
-
readonly internalType: "contract IDefaultReverseRegistrar";
|
|
8
|
-
readonly name: "";
|
|
9
|
-
readonly type: "address";
|
|
10
|
-
}];
|
|
11
|
-
readonly stateMutability: "view";
|
|
12
|
-
readonly type: "function";
|
|
13
|
-
}, {
|
|
14
|
-
readonly inputs: readonly [{
|
|
15
|
-
readonly internalType: "address";
|
|
16
|
-
readonly name: "account";
|
|
17
|
-
readonly type: "address";
|
|
18
|
-
}, {
|
|
19
|
-
readonly internalType: "string";
|
|
20
|
-
readonly name: "name";
|
|
21
|
-
readonly type: "string";
|
|
22
|
-
}];
|
|
23
|
-
readonly name: "setName";
|
|
24
|
-
readonly outputs: readonly [];
|
|
25
|
-
readonly stateMutability: "nonpayable";
|
|
26
|
-
readonly type: "function";
|
|
27
|
-
}, {
|
|
28
|
-
readonly inputs: readonly [{
|
|
29
|
-
readonly internalType: "address";
|
|
30
|
-
readonly name: "account";
|
|
31
|
-
readonly type: "address";
|
|
32
|
-
}, {
|
|
33
|
-
readonly internalType: "string";
|
|
34
|
-
readonly name: "name";
|
|
35
|
-
readonly type: "string";
|
|
36
|
-
}];
|
|
37
|
-
readonly name: "setNameWithHCA";
|
|
38
|
-
readonly outputs: readonly [];
|
|
39
|
-
readonly stateMutability: "nonpayable";
|
|
40
|
-
readonly type: "function";
|
|
41
|
-
}];
|
|
42
|
-
//#endregion
|
|
43
|
-
export { defaultReverseRegistrarAdapterV2InterfaceAbi };
|
|
44
|
-
//# sourceMappingURL=default-reverse-registrar-adapter.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"default-reverse-registrar-adapter.d.ts","names":[],"sources":["../../../src/v2/interfaces/default-reverse-registrar-adapter.ts"],"mappings":";;cACa"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
//#region src/v2/interfaces/default-reverse-registrar-adapter.ts
|
|
2
|
-
/** Complete IDefaultReverseRegistrarAdapter ABI from ENSv2. */
|
|
3
|
-
const defaultReverseRegistrarAdapterV2InterfaceAbi = [
|
|
4
|
-
{
|
|
5
|
-
inputs: [],
|
|
6
|
-
name: "DEFAULT_REVERSE_REGISTRAR",
|
|
7
|
-
outputs: [{
|
|
8
|
-
internalType: "contract IDefaultReverseRegistrar",
|
|
9
|
-
name: "",
|
|
10
|
-
type: "address"
|
|
11
|
-
}],
|
|
12
|
-
stateMutability: "view",
|
|
13
|
-
type: "function"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
inputs: [{
|
|
17
|
-
internalType: "address",
|
|
18
|
-
name: "account",
|
|
19
|
-
type: "address"
|
|
20
|
-
}, {
|
|
21
|
-
internalType: "string",
|
|
22
|
-
name: "name",
|
|
23
|
-
type: "string"
|
|
24
|
-
}],
|
|
25
|
-
name: "setName",
|
|
26
|
-
outputs: [],
|
|
27
|
-
stateMutability: "nonpayable",
|
|
28
|
-
type: "function"
|
|
29
|
-
},
|
|
30
|
-
{
|
|
31
|
-
inputs: [{
|
|
32
|
-
internalType: "address",
|
|
33
|
-
name: "account",
|
|
34
|
-
type: "address"
|
|
35
|
-
}, {
|
|
36
|
-
internalType: "string",
|
|
37
|
-
name: "name",
|
|
38
|
-
type: "string"
|
|
39
|
-
}],
|
|
40
|
-
name: "setNameWithHCA",
|
|
41
|
-
outputs: [],
|
|
42
|
-
stateMutability: "nonpayable",
|
|
43
|
-
type: "function"
|
|
44
|
-
}
|
|
45
|
-
];
|
|
46
|
-
|
|
47
|
-
//#endregion
|
|
48
|
-
export { defaultReverseRegistrarAdapterV2InterfaceAbi };
|
|
49
|
-
//# sourceMappingURL=default-reverse-registrar-adapter.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"default-reverse-registrar-adapter.js","names":[],"sources":["../../../src/v2/interfaces/default-reverse-registrar-adapter.ts"],"sourcesContent":["/** Complete IDefaultReverseRegistrarAdapter ABI from ENSv2. */\nexport const defaultReverseRegistrarAdapterV2InterfaceAbi = [\n {\n inputs: [],\n name: \"DEFAULT_REVERSE_REGISTRAR\",\n outputs: [\n {\n internalType: \"contract IDefaultReverseRegistrar\",\n name: \"\",\n type: \"address\",\n },\n ],\n stateMutability: \"view\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"account\",\n type: \"address\",\n },\n {\n internalType: \"string\",\n name: \"name\",\n type: \"string\",\n },\n ],\n name: \"setName\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n {\n inputs: [\n {\n internalType: \"address\",\n name: \"account\",\n type: \"address\",\n },\n {\n internalType: \"string\",\n name: \"name\",\n type: \"string\",\n },\n ],\n name: \"setNameWithHCA\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n] as const;\n"],"mappings":";;AACA,MAAa,+CAA+C;CAC1D;EACE,QAAQ,CAAC;EACT,MAAM;EACN,SAAS,CACP;GACE,cAAc;GACd,MAAM;GACN,MAAM;EACR,CACF;EACA,iBAAiB;EACjB,MAAM;CACR;CACA;EACE,QAAQ,CACN;GACE,cAAc;GACd,MAAM;GACN,MAAM;EACR,GACA;GACE,cAAc;GACd,MAAM;GACN,MAAM;EACR,CACF;EACA,MAAM;EACN,SAAS,CAAC;EACV,iBAAiB;EACjB,MAAM;CACR;CACA;EACE,QAAQ,CACN;GACE,cAAc;GACd,MAAM;GACN,MAAM;EACR,GACA;GACE,cAAc;GACd,MAAM;GACN,MAAM;EACR,CACF;EACA,MAAM;EACN,SAAS,CAAC;EACV,iBAAiB;EACjB,MAAM;CACR;AACF"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
//#region src/v2/interfaces/eac-grant-initializable.d.ts
|
|
2
|
-
/** Complete IEACGrantInitializable ABI from ENSv2. */
|
|
3
|
-
declare const eacGrantInitializableV2InterfaceAbi: readonly [{
|
|
4
|
-
readonly inputs: readonly [{
|
|
5
|
-
readonly components: readonly [{
|
|
6
|
-
readonly internalType: "address";
|
|
7
|
-
readonly name: "account";
|
|
8
|
-
readonly type: "address";
|
|
9
|
-
}, {
|
|
10
|
-
readonly internalType: "uint256";
|
|
11
|
-
readonly name: "roleBitmap";
|
|
12
|
-
readonly type: "uint256";
|
|
13
|
-
}];
|
|
14
|
-
readonly internalType: "struct Grant[]";
|
|
15
|
-
readonly name: "grants";
|
|
16
|
-
readonly type: "tuple[]";
|
|
17
|
-
}];
|
|
18
|
-
readonly name: "initialize";
|
|
19
|
-
readonly outputs: readonly [];
|
|
20
|
-
readonly stateMutability: "nonpayable";
|
|
21
|
-
readonly type: "function";
|
|
22
|
-
}];
|
|
23
|
-
//#endregion
|
|
24
|
-
export { eacGrantInitializableV2InterfaceAbi };
|
|
25
|
-
//# sourceMappingURL=eac-grant-initializable.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eac-grant-initializable.d.ts","names":[],"sources":["../../../src/v2/interfaces/eac-grant-initializable.ts"],"mappings":";;cACa"}
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
//#region src/v2/interfaces/eac-grant-initializable.ts
|
|
2
|
-
/** Complete IEACGrantInitializable ABI from ENSv2. */
|
|
3
|
-
const eacGrantInitializableV2InterfaceAbi = [{
|
|
4
|
-
inputs: [{
|
|
5
|
-
components: [{
|
|
6
|
-
internalType: "address",
|
|
7
|
-
name: "account",
|
|
8
|
-
type: "address"
|
|
9
|
-
}, {
|
|
10
|
-
internalType: "uint256",
|
|
11
|
-
name: "roleBitmap",
|
|
12
|
-
type: "uint256"
|
|
13
|
-
}],
|
|
14
|
-
internalType: "struct Grant[]",
|
|
15
|
-
name: "grants",
|
|
16
|
-
type: "tuple[]"
|
|
17
|
-
}],
|
|
18
|
-
name: "initialize",
|
|
19
|
-
outputs: [],
|
|
20
|
-
stateMutability: "nonpayable",
|
|
21
|
-
type: "function"
|
|
22
|
-
}];
|
|
23
|
-
|
|
24
|
-
//#endregion
|
|
25
|
-
export { eacGrantInitializableV2InterfaceAbi };
|
|
26
|
-
//# sourceMappingURL=eac-grant-initializable.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eac-grant-initializable.js","names":[],"sources":["../../../src/v2/interfaces/eac-grant-initializable.ts"],"sourcesContent":["/** Complete IEACGrantInitializable ABI from ENSv2. */\nexport const eacGrantInitializableV2InterfaceAbi = [\n {\n inputs: [\n {\n components: [\n {\n internalType: \"address\",\n name: \"account\",\n type: \"address\",\n },\n {\n internalType: \"uint256\",\n name: \"roleBitmap\",\n type: \"uint256\",\n },\n ],\n internalType: \"struct Grant[]\",\n name: \"grants\",\n type: \"tuple[]\",\n },\n ],\n name: \"initialize\",\n outputs: [],\n stateMutability: \"nonpayable\",\n type: \"function\",\n },\n] as const;\n"],"mappings":";;AACA,MAAa,sCAAsC,CACjD;CACE,QAAQ,CACN;EACE,YAAY,CACV;GACE,cAAc;GACd,MAAM;GACN,MAAM;EACR,GACA;GACE,cAAc;GACd,MAAM;GACN,MAAM;EACR,CACF;EACA,cAAc;EACd,MAAM;EACN,MAAM;CACR,CACF;CACA,MAAM;CACN,SAAS,CAAC;CACV,iBAAiB;CACjB,MAAM;AACR,CACF"}
|
|
@@ -1,369 +0,0 @@
|
|
|
1
|
-
//#region src/v2/interfaces/permissioned-address-set.d.ts
|
|
2
|
-
/** Complete IPermissionedAddressSet ABI from ENSv2. */
|
|
3
|
-
declare const permissionedAddressSetV2InterfaceAbi: readonly [{
|
|
4
|
-
readonly inputs: readonly [{
|
|
5
|
-
readonly internalType: "uint256";
|
|
6
|
-
readonly name: "resource";
|
|
7
|
-
readonly type: "uint256";
|
|
8
|
-
}, {
|
|
9
|
-
readonly internalType: "uint256";
|
|
10
|
-
readonly name: "roleBitmap";
|
|
11
|
-
readonly type: "uint256";
|
|
12
|
-
}, {
|
|
13
|
-
readonly internalType: "address";
|
|
14
|
-
readonly name: "account";
|
|
15
|
-
readonly type: "address";
|
|
16
|
-
}];
|
|
17
|
-
readonly name: "EACCannotGrantRoles";
|
|
18
|
-
readonly type: "error";
|
|
19
|
-
}, {
|
|
20
|
-
readonly inputs: readonly [{
|
|
21
|
-
readonly internalType: "uint256";
|
|
22
|
-
readonly name: "resource";
|
|
23
|
-
readonly type: "uint256";
|
|
24
|
-
}, {
|
|
25
|
-
readonly internalType: "uint256";
|
|
26
|
-
readonly name: "roleBitmap";
|
|
27
|
-
readonly type: "uint256";
|
|
28
|
-
}, {
|
|
29
|
-
readonly internalType: "address";
|
|
30
|
-
readonly name: "account";
|
|
31
|
-
readonly type: "address";
|
|
32
|
-
}];
|
|
33
|
-
readonly name: "EACCannotRevokeRoles";
|
|
34
|
-
readonly type: "error";
|
|
35
|
-
}, {
|
|
36
|
-
readonly inputs: readonly [];
|
|
37
|
-
readonly name: "EACInvalidAccount";
|
|
38
|
-
readonly type: "error";
|
|
39
|
-
}, {
|
|
40
|
-
readonly inputs: readonly [{
|
|
41
|
-
readonly internalType: "uint256";
|
|
42
|
-
readonly name: "roleBitmap";
|
|
43
|
-
readonly type: "uint256";
|
|
44
|
-
}];
|
|
45
|
-
readonly name: "EACInvalidRoleBitmap";
|
|
46
|
-
readonly type: "error";
|
|
47
|
-
}, {
|
|
48
|
-
readonly inputs: readonly [{
|
|
49
|
-
readonly internalType: "uint256";
|
|
50
|
-
readonly name: "resource";
|
|
51
|
-
readonly type: "uint256";
|
|
52
|
-
}, {
|
|
53
|
-
readonly internalType: "uint256";
|
|
54
|
-
readonly name: "role";
|
|
55
|
-
readonly type: "uint256";
|
|
56
|
-
}];
|
|
57
|
-
readonly name: "EACMaxAssignees";
|
|
58
|
-
readonly type: "error";
|
|
59
|
-
}, {
|
|
60
|
-
readonly inputs: readonly [{
|
|
61
|
-
readonly internalType: "uint256";
|
|
62
|
-
readonly name: "resource";
|
|
63
|
-
readonly type: "uint256";
|
|
64
|
-
}, {
|
|
65
|
-
readonly internalType: "uint256";
|
|
66
|
-
readonly name: "role";
|
|
67
|
-
readonly type: "uint256";
|
|
68
|
-
}];
|
|
69
|
-
readonly name: "EACMinAssignees";
|
|
70
|
-
readonly type: "error";
|
|
71
|
-
}, {
|
|
72
|
-
readonly inputs: readonly [];
|
|
73
|
-
readonly name: "EACRootResourceNotAllowed";
|
|
74
|
-
readonly type: "error";
|
|
75
|
-
}, {
|
|
76
|
-
readonly inputs: readonly [{
|
|
77
|
-
readonly internalType: "uint256";
|
|
78
|
-
readonly name: "resource";
|
|
79
|
-
readonly type: "uint256";
|
|
80
|
-
}, {
|
|
81
|
-
readonly internalType: "uint256";
|
|
82
|
-
readonly name: "roleBitmap";
|
|
83
|
-
readonly type: "uint256";
|
|
84
|
-
}, {
|
|
85
|
-
readonly internalType: "address";
|
|
86
|
-
readonly name: "account";
|
|
87
|
-
readonly type: "address";
|
|
88
|
-
}];
|
|
89
|
-
readonly name: "EACUnauthorizedAccountRoles";
|
|
90
|
-
readonly type: "error";
|
|
91
|
-
}, {
|
|
92
|
-
readonly anonymous: false;
|
|
93
|
-
readonly inputs: readonly [{
|
|
94
|
-
readonly indexed: true;
|
|
95
|
-
readonly internalType: "address";
|
|
96
|
-
readonly name: "addr";
|
|
97
|
-
readonly type: "address";
|
|
98
|
-
}, {
|
|
99
|
-
readonly indexed: false;
|
|
100
|
-
readonly internalType: "bool";
|
|
101
|
-
readonly name: "approved";
|
|
102
|
-
readonly type: "bool";
|
|
103
|
-
}, {
|
|
104
|
-
readonly indexed: true;
|
|
105
|
-
readonly internalType: "address";
|
|
106
|
-
readonly name: "sender";
|
|
107
|
-
readonly type: "address";
|
|
108
|
-
}];
|
|
109
|
-
readonly name: "ApprovalChanged";
|
|
110
|
-
readonly type: "event";
|
|
111
|
-
}, {
|
|
112
|
-
readonly anonymous: false;
|
|
113
|
-
readonly inputs: readonly [{
|
|
114
|
-
readonly indexed: true;
|
|
115
|
-
readonly internalType: "uint256";
|
|
116
|
-
readonly name: "resource";
|
|
117
|
-
readonly type: "uint256";
|
|
118
|
-
}, {
|
|
119
|
-
readonly indexed: true;
|
|
120
|
-
readonly internalType: "address";
|
|
121
|
-
readonly name: "account";
|
|
122
|
-
readonly type: "address";
|
|
123
|
-
}, {
|
|
124
|
-
readonly indexed: false;
|
|
125
|
-
readonly internalType: "uint256";
|
|
126
|
-
readonly name: "oldRoleBitmap";
|
|
127
|
-
readonly type: "uint256";
|
|
128
|
-
}, {
|
|
129
|
-
readonly indexed: false;
|
|
130
|
-
readonly internalType: "uint256";
|
|
131
|
-
readonly name: "newRoleBitmap";
|
|
132
|
-
readonly type: "uint256";
|
|
133
|
-
}];
|
|
134
|
-
readonly name: "EACRolesChanged";
|
|
135
|
-
readonly type: "event";
|
|
136
|
-
}, {
|
|
137
|
-
readonly inputs: readonly [];
|
|
138
|
-
readonly name: "ROOT_RESOURCE";
|
|
139
|
-
readonly outputs: readonly [{
|
|
140
|
-
readonly internalType: "uint256";
|
|
141
|
-
readonly name: "";
|
|
142
|
-
readonly type: "uint256";
|
|
143
|
-
}];
|
|
144
|
-
readonly stateMutability: "view";
|
|
145
|
-
readonly type: "function";
|
|
146
|
-
}, {
|
|
147
|
-
readonly inputs: readonly [{
|
|
148
|
-
readonly internalType: "address";
|
|
149
|
-
readonly name: "addr";
|
|
150
|
-
readonly type: "address";
|
|
151
|
-
}, {
|
|
152
|
-
readonly internalType: "bool";
|
|
153
|
-
readonly name: "approved";
|
|
154
|
-
readonly type: "bool";
|
|
155
|
-
}];
|
|
156
|
-
readonly name: "approve";
|
|
157
|
-
readonly outputs: readonly [];
|
|
158
|
-
readonly stateMutability: "nonpayable";
|
|
159
|
-
readonly type: "function";
|
|
160
|
-
}, {
|
|
161
|
-
readonly inputs: readonly [{
|
|
162
|
-
readonly internalType: "uint256";
|
|
163
|
-
readonly name: "resource";
|
|
164
|
-
readonly type: "uint256";
|
|
165
|
-
}, {
|
|
166
|
-
readonly internalType: "uint256";
|
|
167
|
-
readonly name: "roleBitmap";
|
|
168
|
-
readonly type: "uint256";
|
|
169
|
-
}];
|
|
170
|
-
readonly name: "getAssigneeCount";
|
|
171
|
-
readonly outputs: readonly [{
|
|
172
|
-
readonly internalType: "uint256";
|
|
173
|
-
readonly name: "counts";
|
|
174
|
-
readonly type: "uint256";
|
|
175
|
-
}, {
|
|
176
|
-
readonly internalType: "uint256";
|
|
177
|
-
readonly name: "mask";
|
|
178
|
-
readonly type: "uint256";
|
|
179
|
-
}];
|
|
180
|
-
readonly stateMutability: "view";
|
|
181
|
-
readonly type: "function";
|
|
182
|
-
}, {
|
|
183
|
-
readonly inputs: readonly [{
|
|
184
|
-
readonly internalType: "uint256";
|
|
185
|
-
readonly name: "resource";
|
|
186
|
-
readonly type: "uint256";
|
|
187
|
-
}, {
|
|
188
|
-
readonly internalType: "uint256";
|
|
189
|
-
readonly name: "roleBitmap";
|
|
190
|
-
readonly type: "uint256";
|
|
191
|
-
}, {
|
|
192
|
-
readonly internalType: "address";
|
|
193
|
-
readonly name: "account";
|
|
194
|
-
readonly type: "address";
|
|
195
|
-
}];
|
|
196
|
-
readonly name: "grantRoles";
|
|
197
|
-
readonly outputs: readonly [{
|
|
198
|
-
readonly internalType: "bool";
|
|
199
|
-
readonly name: "";
|
|
200
|
-
readonly type: "bool";
|
|
201
|
-
}];
|
|
202
|
-
readonly stateMutability: "nonpayable";
|
|
203
|
-
readonly type: "function";
|
|
204
|
-
}, {
|
|
205
|
-
readonly inputs: readonly [{
|
|
206
|
-
readonly internalType: "uint256";
|
|
207
|
-
readonly name: "roleBitmap";
|
|
208
|
-
readonly type: "uint256";
|
|
209
|
-
}, {
|
|
210
|
-
readonly internalType: "address";
|
|
211
|
-
readonly name: "account";
|
|
212
|
-
readonly type: "address";
|
|
213
|
-
}];
|
|
214
|
-
readonly name: "grantRootRoles";
|
|
215
|
-
readonly outputs: readonly [{
|
|
216
|
-
readonly internalType: "bool";
|
|
217
|
-
readonly name: "";
|
|
218
|
-
readonly type: "bool";
|
|
219
|
-
}];
|
|
220
|
-
readonly stateMutability: "nonpayable";
|
|
221
|
-
readonly type: "function";
|
|
222
|
-
}, {
|
|
223
|
-
readonly inputs: readonly [{
|
|
224
|
-
readonly internalType: "uint256";
|
|
225
|
-
readonly name: "resource";
|
|
226
|
-
readonly type: "uint256";
|
|
227
|
-
}, {
|
|
228
|
-
readonly internalType: "uint256";
|
|
229
|
-
readonly name: "roleBitmap";
|
|
230
|
-
readonly type: "uint256";
|
|
231
|
-
}];
|
|
232
|
-
readonly name: "hasAssignees";
|
|
233
|
-
readonly outputs: readonly [{
|
|
234
|
-
readonly internalType: "bool";
|
|
235
|
-
readonly name: "";
|
|
236
|
-
readonly type: "bool";
|
|
237
|
-
}];
|
|
238
|
-
readonly stateMutability: "view";
|
|
239
|
-
readonly type: "function";
|
|
240
|
-
}, {
|
|
241
|
-
readonly inputs: readonly [{
|
|
242
|
-
readonly internalType: "uint256";
|
|
243
|
-
readonly name: "resource";
|
|
244
|
-
readonly type: "uint256";
|
|
245
|
-
}, {
|
|
246
|
-
readonly internalType: "uint256";
|
|
247
|
-
readonly name: "roleBitmap";
|
|
248
|
-
readonly type: "uint256";
|
|
249
|
-
}, {
|
|
250
|
-
readonly internalType: "address";
|
|
251
|
-
readonly name: "account";
|
|
252
|
-
readonly type: "address";
|
|
253
|
-
}];
|
|
254
|
-
readonly name: "hasRoles";
|
|
255
|
-
readonly outputs: readonly [{
|
|
256
|
-
readonly internalType: "bool";
|
|
257
|
-
readonly name: "";
|
|
258
|
-
readonly type: "bool";
|
|
259
|
-
}];
|
|
260
|
-
readonly stateMutability: "view";
|
|
261
|
-
readonly type: "function";
|
|
262
|
-
}, {
|
|
263
|
-
readonly inputs: readonly [{
|
|
264
|
-
readonly internalType: "uint256";
|
|
265
|
-
readonly name: "roleBitmap";
|
|
266
|
-
readonly type: "uint256";
|
|
267
|
-
}, {
|
|
268
|
-
readonly internalType: "address";
|
|
269
|
-
readonly name: "account";
|
|
270
|
-
readonly type: "address";
|
|
271
|
-
}];
|
|
272
|
-
readonly name: "hasRootRoles";
|
|
273
|
-
readonly outputs: readonly [{
|
|
274
|
-
readonly internalType: "bool";
|
|
275
|
-
readonly name: "";
|
|
276
|
-
readonly type: "bool";
|
|
277
|
-
}];
|
|
278
|
-
readonly stateMutability: "view";
|
|
279
|
-
readonly type: "function";
|
|
280
|
-
}, {
|
|
281
|
-
readonly inputs: readonly [{
|
|
282
|
-
readonly internalType: "address";
|
|
283
|
-
readonly name: "addr";
|
|
284
|
-
readonly type: "address";
|
|
285
|
-
}];
|
|
286
|
-
readonly name: "includes";
|
|
287
|
-
readonly outputs: readonly [{
|
|
288
|
-
readonly internalType: "bool";
|
|
289
|
-
readonly name: "";
|
|
290
|
-
readonly type: "bool";
|
|
291
|
-
}];
|
|
292
|
-
readonly stateMutability: "view";
|
|
293
|
-
readonly type: "function";
|
|
294
|
-
}, {
|
|
295
|
-
readonly inputs: readonly [{
|
|
296
|
-
readonly internalType: "uint256";
|
|
297
|
-
readonly name: "resource";
|
|
298
|
-
readonly type: "uint256";
|
|
299
|
-
}, {
|
|
300
|
-
readonly internalType: "uint256";
|
|
301
|
-
readonly name: "roleBitmap";
|
|
302
|
-
readonly type: "uint256";
|
|
303
|
-
}, {
|
|
304
|
-
readonly internalType: "address";
|
|
305
|
-
readonly name: "account";
|
|
306
|
-
readonly type: "address";
|
|
307
|
-
}];
|
|
308
|
-
readonly name: "revokeRoles";
|
|
309
|
-
readonly outputs: readonly [{
|
|
310
|
-
readonly internalType: "bool";
|
|
311
|
-
readonly name: "";
|
|
312
|
-
readonly type: "bool";
|
|
313
|
-
}];
|
|
314
|
-
readonly stateMutability: "nonpayable";
|
|
315
|
-
readonly type: "function";
|
|
316
|
-
}, {
|
|
317
|
-
readonly inputs: readonly [{
|
|
318
|
-
readonly internalType: "uint256";
|
|
319
|
-
readonly name: "roleBitmap";
|
|
320
|
-
readonly type: "uint256";
|
|
321
|
-
}, {
|
|
322
|
-
readonly internalType: "address";
|
|
323
|
-
readonly name: "account";
|
|
324
|
-
readonly type: "address";
|
|
325
|
-
}];
|
|
326
|
-
readonly name: "revokeRootRoles";
|
|
327
|
-
readonly outputs: readonly [{
|
|
328
|
-
readonly internalType: "bool";
|
|
329
|
-
readonly name: "";
|
|
330
|
-
readonly type: "bool";
|
|
331
|
-
}];
|
|
332
|
-
readonly stateMutability: "nonpayable";
|
|
333
|
-
readonly type: "function";
|
|
334
|
-
}, {
|
|
335
|
-
readonly inputs: readonly [{
|
|
336
|
-
readonly internalType: "uint256";
|
|
337
|
-
readonly name: "resource";
|
|
338
|
-
readonly type: "uint256";
|
|
339
|
-
}];
|
|
340
|
-
readonly name: "roleCount";
|
|
341
|
-
readonly outputs: readonly [{
|
|
342
|
-
readonly internalType: "uint256";
|
|
343
|
-
readonly name: "";
|
|
344
|
-
readonly type: "uint256";
|
|
345
|
-
}];
|
|
346
|
-
readonly stateMutability: "view";
|
|
347
|
-
readonly type: "function";
|
|
348
|
-
}, {
|
|
349
|
-
readonly inputs: readonly [{
|
|
350
|
-
readonly internalType: "uint256";
|
|
351
|
-
readonly name: "resource";
|
|
352
|
-
readonly type: "uint256";
|
|
353
|
-
}, {
|
|
354
|
-
readonly internalType: "address";
|
|
355
|
-
readonly name: "account";
|
|
356
|
-
readonly type: "address";
|
|
357
|
-
}];
|
|
358
|
-
readonly name: "roles";
|
|
359
|
-
readonly outputs: readonly [{
|
|
360
|
-
readonly internalType: "uint256";
|
|
361
|
-
readonly name: "";
|
|
362
|
-
readonly type: "uint256";
|
|
363
|
-
}];
|
|
364
|
-
readonly stateMutability: "view";
|
|
365
|
-
readonly type: "function";
|
|
366
|
-
}];
|
|
367
|
-
//#endregion
|
|
368
|
-
export { permissionedAddressSetV2InterfaceAbi };
|
|
369
|
-
//# sourceMappingURL=permissioned-address-set.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"permissioned-address-set.d.ts","names":[],"sources":["../../../src/v2/interfaces/permissioned-address-set.ts"],"mappings":";;cACa"}
|