@libid/contracts 0.6.0 → 0.8.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/README.md +65 -26
- package/dist/abis/{googleIdentityVerifier.d.ts → ceremonyProofVerifier.d.ts} +146 -128
- package/dist/abis/{googleIdentityVerifier.d.ts.map → ceremonyProofVerifier.d.ts.map} +1 -1
- package/dist/abis/{googleIdentityVerifier.js → ceremonyProofVerifier.js} +182 -156
- package/dist/abis/ceremonyProofVerifier.js.map +1 -0
- package/dist/abis/{identityJwksRoots.d.ts → googleJwtRoots.d.ts} +273 -211
- package/dist/abis/{xZkVerifier.d.ts.map → googleJwtRoots.d.ts.map} +1 -1
- package/dist/abis/{identityJwksRoots.js → googleJwtRoots.js} +345 -253
- package/dist/abis/googleJwtRoots.js.map +1 -0
- package/dist/abis/{walletFactory.d.ts → handleResolver.d.ts} +185 -151
- package/dist/abis/handleResolver.d.ts.map +1 -0
- package/dist/abis/{walletFactory.js → handleResolver.js} +219 -170
- package/dist/abis/handleResolver.js.map +1 -0
- package/dist/abis/identityNames.d.ts +173 -219
- package/dist/abis/identityNames.d.ts.map +1 -1
- package/dist/abis/identityNames.js +210 -266
- package/dist/abis/identityNames.js.map +1 -1
- package/dist/abis/index.d.ts +4 -16
- package/dist/abis/index.d.ts.map +1 -1
- package/dist/abis/index.js +4 -16
- package/dist/abis/index.js.map +1 -1
- package/dist/abis/{xZkVerifier.d.ts → notaryService.d.ts} +237 -273
- package/dist/abis/{webWallet.d.ts.map → notaryService.d.ts.map} +1 -1
- package/dist/abis/{xZkVerifier.js → notaryService.js} +297 -337
- package/dist/abis/notaryService.js.map +1 -0
- package/dist/call.d.ts +7 -0
- package/dist/call.d.ts.map +1 -0
- package/dist/call.js +2 -0
- package/dist/call.js.map +1 -0
- package/dist/calls/ceremonyProofVerifier.d.ts +14 -0
- package/dist/calls/ceremonyProofVerifier.d.ts.map +1 -0
- package/dist/calls/ceremonyProofVerifier.js +55 -0
- package/dist/calls/ceremonyProofVerifier.js.map +1 -0
- package/dist/calls/googleJwtRoots.d.ts +14 -0
- package/dist/calls/googleJwtRoots.d.ts.map +1 -0
- package/dist/calls/googleJwtRoots.js +43 -0
- package/dist/calls/googleJwtRoots.js.map +1 -0
- package/dist/calls/handleResolver.d.ts +12 -0
- package/dist/calls/handleResolver.d.ts.map +1 -0
- package/dist/calls/handleResolver.js +29 -0
- package/dist/calls/handleResolver.js.map +1 -0
- package/dist/calls/identityNames.d.ts +16 -0
- package/dist/calls/identityNames.d.ts.map +1 -0
- package/dist/calls/identityNames.js +55 -0
- package/dist/calls/identityNames.js.map +1 -0
- package/dist/calls/index.d.ts +8 -0
- package/dist/calls/index.d.ts.map +1 -0
- package/dist/calls/index.js +10 -0
- package/dist/calls/index.js.map +1 -0
- package/dist/calls/libidFactory.d.ts +13 -0
- package/dist/calls/libidFactory.d.ts.map +1 -0
- package/dist/calls/libidFactory.js +36 -0
- package/dist/calls/libidFactory.js.map +1 -0
- package/dist/calls/notaryService.d.ts +16 -0
- package/dist/calls/notaryService.d.ts.map +1 -0
- package/dist/calls/notaryService.js +55 -0
- package/dist/calls/notaryService.js.map +1 -0
- package/dist/calls/wtia9.d.ts +13 -0
- package/dist/calls/wtia9.d.ts.map +1 -0
- package/dist/calls/wtia9.js +36 -0
- package/dist/calls/wtia9.js.map +1 -0
- package/dist/ceremony/index.d.ts +2 -0
- package/dist/ceremony/index.d.ts.map +1 -0
- package/dist/ceremony/index.js +13 -0
- package/dist/ceremony/index.js.map +1 -0
- package/dist/ceremony/profiles.d.ts +82 -0
- package/dist/ceremony/profiles.d.ts.map +1 -0
- package/dist/ceremony/profiles.js +86 -0
- package/dist/ceremony/profiles.js.map +1 -0
- package/dist/identity/handleVectors.d.ts +3 -3
- package/dist/identity/handleVectors.d.ts.map +1 -1
- package/dist/identity/handleVectors.js +3 -3
- package/dist/identity/handleVectors.js.map +1 -1
- package/dist/identity/index.d.ts +0 -1
- package/dist/identity/index.d.ts.map +1 -1
- package/dist/identity/index.js +7 -6
- package/dist/identity/index.js.map +1 -1
- package/dist/identity/resolve.js +4 -4
- package/dist/identity/resolve.js.map +1 -1
- package/dist/index.d.ts +3 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -3
- package/dist/index.js.map +1 -1
- package/package.json +12 -7
- package/src/abis/{googleIdentityVerifier.ts → ceremonyProofVerifier.ts} +181 -155
- package/src/abis/{identityJwksRoots.ts → googleJwtRoots.ts} +344 -252
- package/src/abis/{walletFactory.ts → handleResolver.ts} +218 -169
- package/src/abis/identityNames.ts +210 -266
- package/src/abis/index.ts +4 -16
- package/src/abis/{xZkVerifier.ts → notaryService.ts} +296 -336
- package/src/call.ts +15 -0
- package/src/calls/ceremonyProofVerifier.ts +90 -0
- package/src/calls/googleJwtRoots.ts +74 -0
- package/src/calls/handleResolver.ts +51 -0
- package/src/calls/identityNames.ts +88 -0
- package/src/calls/index.ts +9 -0
- package/src/calls/libidFactory.ts +63 -0
- package/src/calls/notaryService.ts +85 -0
- package/src/calls/wtia9.ts +52 -0
- package/src/ceremony/index.ts +13 -0
- package/src/ceremony/profiles.ts +151 -0
- package/src/identity/handleVectors.ts +3 -3
- package/src/identity/index.ts +7 -6
- package/src/identity/resolve.ts +4 -4
- package/src/index.ts +7 -3
- package/dist/abis/adminFacet.d.ts +0 -339
- package/dist/abis/adminFacet.d.ts.map +0 -1
- package/dist/abis/adminFacet.js +0 -442
- package/dist/abis/adminFacet.js.map +0 -1
- package/dist/abis/bank.d.ts +0 -916
- package/dist/abis/bank.d.ts.map +0 -1
- package/dist/abis/bank.js +0 -1184
- package/dist/abis/bank.js.map +0 -1
- package/dist/abis/diamondLoupeFacet.d.ts +0 -73
- package/dist/abis/diamondLoupeFacet.d.ts.map +0 -1
- package/dist/abis/diamondLoupeFacet.js +0 -100
- package/dist/abis/diamondLoupeFacet.js.map +0 -1
- package/dist/abis/gitHubIdentityVerifier.d.ts +0 -409
- package/dist/abis/gitHubIdentityVerifier.d.ts.map +0 -1
- package/dist/abis/gitHubIdentityVerifier.js +0 -531
- package/dist/abis/gitHubIdentityVerifier.js.map +0 -1
- package/dist/abis/googleIdentityVerifier.js.map +0 -1
- package/dist/abis/googleOidcVerifier.d.ts +0 -838
- package/dist/abis/googleOidcVerifier.d.ts.map +0 -1
- package/dist/abis/googleOidcVerifier.js +0 -1082
- package/dist/abis/googleOidcVerifier.js.map +0 -1
- package/dist/abis/identityJwksRoots.d.ts.map +0 -1
- package/dist/abis/identityJwksRoots.js.map +0 -1
- package/dist/abis/mockErc20.d.ts +0 -262
- package/dist/abis/mockErc20.d.ts.map +0 -1
- package/dist/abis/mockErc20.js +0 -347
- package/dist/abis/mockErc20.js.map +0 -1
- package/dist/abis/notary.d.ts +0 -263
- package/dist/abis/notary.d.ts.map +0 -1
- package/dist/abis/notary.js +0 -343
- package/dist/abis/notary.js.map +0 -1
- package/dist/abis/registry.d.ts +0 -1170
- package/dist/abis/registry.d.ts.map +0 -1
- package/dist/abis/registry.js +0 -1511
- package/dist/abis/registry.js.map +0 -1
- package/dist/abis/transferFacet.d.ts +0 -814
- package/dist/abis/transferFacet.d.ts.map +0 -1
- package/dist/abis/transferFacet.js +0 -1035
- package/dist/abis/transferFacet.js.map +0 -1
- package/dist/abis/vaultFacet.d.ts +0 -306
- package/dist/abis/vaultFacet.d.ts.map +0 -1
- package/dist/abis/vaultFacet.js +0 -398
- package/dist/abis/vaultFacet.js.map +0 -1
- package/dist/abis/walletFactory.d.ts.map +0 -1
- package/dist/abis/walletFactory.js.map +0 -1
- package/dist/abis/webWallet.d.ts +0 -523
- package/dist/abis/webWallet.js +0 -680
- package/dist/abis/webWallet.js.map +0 -1
- package/dist/abis/xIdentityVerifier.d.ts +0 -473
- package/dist/abis/xIdentityVerifier.d.ts.map +0 -1
- package/dist/abis/xIdentityVerifier.js +0 -612
- package/dist/abis/xIdentityVerifier.js.map +0 -1
- package/dist/abis/xZkVerifier.js.map +0 -1
- package/dist/identity/bind.d.ts +0 -59
- package/dist/identity/bind.d.ts.map +0 -1
- package/dist/identity/bind.fixtures.d.ts +0 -8
- package/dist/identity/bind.fixtures.d.ts.map +0 -1
- package/dist/identity/bind.fixtures.js +0 -55
- package/dist/identity/bind.fixtures.js.map +0 -1
- package/dist/identity/bind.js +0 -148
- package/dist/identity/bind.js.map +0 -1
- package/src/abis/adminFacet.ts +0 -444
- package/src/abis/bank.ts +0 -1186
- package/src/abis/diamondLoupeFacet.ts +0 -102
- package/src/abis/gitHubIdentityVerifier.ts +0 -533
- package/src/abis/googleOidcVerifier.ts +0 -1084
- package/src/abis/mockErc20.ts +0 -349
- package/src/abis/notary.ts +0 -345
- package/src/abis/registry.ts +0 -1513
- package/src/abis/transferFacet.ts +0 -1037
- package/src/abis/vaultFacet.ts +0 -400
- package/src/abis/webWallet.ts +0 -682
- package/src/abis/xIdentityVerifier.ts +0 -614
- package/src/identity/bind.fixtures.ts +0 -63
- package/src/identity/bind.ts +0 -243
|
@@ -13,11 +13,11 @@ export interface HandleVector {
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/** keccak256 of this string is the platform id. */
|
|
16
|
-
export const PLATFORM_X_DOMAIN = '
|
|
16
|
+
export const PLATFORM_X_DOMAIN = 'x'
|
|
17
17
|
/** keccak256 of this string is the platform id. */
|
|
18
|
-
export const PLATFORM_GITHUB_DOMAIN = '
|
|
18
|
+
export const PLATFORM_GITHUB_DOMAIN = 'github'
|
|
19
19
|
/** keccak256 of this string is the platform id. */
|
|
20
|
-
export const PLATFORM_GOOGLE_DOMAIN = '
|
|
20
|
+
export const PLATFORM_GOOGLE_DOMAIN = 'google'
|
|
21
21
|
|
|
22
22
|
/** Bytes a x handle may have after normalization. */
|
|
23
23
|
export const MAX_LENGTH_X = 15
|
package/src/identity/index.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
/// The wallet-agnostic identity system, TypeScript half.
|
|
2
2
|
///
|
|
3
|
-
/// Handle normalization mirrors the on-chain normalizer byte for byte, the
|
|
4
|
-
///
|
|
5
|
-
///
|
|
6
|
-
///
|
|
7
|
-
///
|
|
3
|
+
/// Handle normalization mirrors the on-chain normalizer byte for byte, and the
|
|
4
|
+
/// resolvers wrap the `IdentityNames` view calls. Everything on-chain-shaped
|
|
5
|
+
/// comes from the generated ABIs in `../abis`, so this layer and the contracts
|
|
6
|
+
/// cannot drift apart silently.
|
|
7
|
+
///
|
|
8
|
+
/// Calldata for the writes is generated too, in `../calls` — `unpublish` had a
|
|
9
|
+
/// hand-written builder here until every write function got one.
|
|
8
10
|
|
|
9
|
-
export * from './bind.js'
|
|
10
11
|
export * from './handle.js'
|
|
11
12
|
export * from './handleVectors.js'
|
|
12
13
|
export * from './resolve.js'
|
package/src/identity/resolve.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/// Reading names from the chain.
|
|
2
2
|
///
|
|
3
|
-
/// Everything here is a view call.
|
|
4
|
-
/// reading one needs neither, which is the point — any product can
|
|
5
|
-
/// name without touching the
|
|
3
|
+
/// Everything here is a view call. Claiming a name needs a ceremony payload and a
|
|
4
|
+
/// wallet; reading one needs neither, which is the point — any product can
|
|
5
|
+
/// resolve a name without touching the ceremony that created it.
|
|
6
6
|
///
|
|
7
7
|
/// The client and the contract address are arguments rather than imports. This
|
|
8
8
|
/// package ships separately from the repository it currently lives in, so it
|
|
@@ -26,7 +26,7 @@ export interface NamesReader {
|
|
|
26
26
|
|
|
27
27
|
/// One view call.
|
|
28
28
|
///
|
|
29
|
-
/// Routed through a narrow cast for
|
|
29
|
+
/// Routed through a narrow cast for one reason:
|
|
30
30
|
/// viem's `PublicClient`, without its chain type parameters, types
|
|
31
31
|
/// `authorizationList` as required even for a read. The alternative is to
|
|
32
32
|
/// spread that noise across every call site here.
|
package/src/index.ts
CHANGED
|
@@ -1,6 +1,10 @@
|
|
|
1
|
-
/// @libid/contracts — typed viem-ready ABIs for every contract,
|
|
2
|
-
/// identity helper layer. Subpath
|
|
3
|
-
///
|
|
1
|
+
/// @libid/contracts — typed viem-ready ABIs for every contract, a call builder
|
|
2
|
+
/// for every state-changing function, and the identity helper layer. Subpath
|
|
3
|
+
/// imports work too: `@libid/contracts/abis`, `@libid/contracts/calls`,
|
|
4
|
+
/// `@libid/contracts/identity` and `@libid/contracts/ceremony`.
|
|
4
5
|
|
|
5
6
|
export * from './abis/index.js'
|
|
7
|
+
export type { Call } from './call.js'
|
|
8
|
+
export * as calls from './calls/index.js'
|
|
9
|
+
export * from './ceremony/index.js'
|
|
6
10
|
export * from './identity/index.js'
|
|
@@ -1,339 +0,0 @@
|
|
|
1
|
-
export declare const adminFacetAbi: readonly [{
|
|
2
|
-
readonly type: "function";
|
|
3
|
-
readonly name: "clearPlatformTemplates";
|
|
4
|
-
readonly inputs: readonly [{
|
|
5
|
-
readonly name: "platform";
|
|
6
|
-
readonly type: "string";
|
|
7
|
-
readonly internalType: "string";
|
|
8
|
-
}];
|
|
9
|
-
readonly outputs: readonly [];
|
|
10
|
-
readonly stateMutability: "nonpayable";
|
|
11
|
-
}, {
|
|
12
|
-
readonly type: "function";
|
|
13
|
-
readonly name: "getPlatformTemplate";
|
|
14
|
-
readonly inputs: readonly [{
|
|
15
|
-
readonly name: "platform";
|
|
16
|
-
readonly type: "string";
|
|
17
|
-
readonly internalType: "string";
|
|
18
|
-
}, {
|
|
19
|
-
readonly name: "index";
|
|
20
|
-
readonly type: "uint256";
|
|
21
|
-
readonly internalType: "uint256";
|
|
22
|
-
}];
|
|
23
|
-
readonly outputs: readonly [{
|
|
24
|
-
readonly name: "";
|
|
25
|
-
readonly type: "string";
|
|
26
|
-
readonly internalType: "string";
|
|
27
|
-
}];
|
|
28
|
-
readonly stateMutability: "view";
|
|
29
|
-
}, {
|
|
30
|
-
readonly type: "function";
|
|
31
|
-
readonly name: "getPlatformWebPrefix";
|
|
32
|
-
readonly inputs: readonly [{
|
|
33
|
-
readonly name: "platform";
|
|
34
|
-
readonly type: "string";
|
|
35
|
-
readonly internalType: "string";
|
|
36
|
-
}];
|
|
37
|
-
readonly outputs: readonly [{
|
|
38
|
-
readonly name: "";
|
|
39
|
-
readonly type: "string";
|
|
40
|
-
readonly internalType: "string";
|
|
41
|
-
}];
|
|
42
|
-
readonly stateMutability: "view";
|
|
43
|
-
}, {
|
|
44
|
-
readonly type: "function";
|
|
45
|
-
readonly name: "getRegisteredTokens";
|
|
46
|
-
readonly inputs: readonly [];
|
|
47
|
-
readonly outputs: readonly [{
|
|
48
|
-
readonly name: "";
|
|
49
|
-
readonly type: "address[]";
|
|
50
|
-
readonly internalType: "address[]";
|
|
51
|
-
}];
|
|
52
|
-
readonly stateMutability: "view";
|
|
53
|
-
}, {
|
|
54
|
-
readonly type: "function";
|
|
55
|
-
readonly name: "getTemplateParts";
|
|
56
|
-
readonly inputs: readonly [{
|
|
57
|
-
readonly name: "platform";
|
|
58
|
-
readonly type: "string";
|
|
59
|
-
readonly internalType: "string";
|
|
60
|
-
}, {
|
|
61
|
-
readonly name: "index";
|
|
62
|
-
readonly type: "uint256";
|
|
63
|
-
readonly internalType: "uint256";
|
|
64
|
-
}];
|
|
65
|
-
readonly outputs: readonly [{
|
|
66
|
-
readonly name: "prefix";
|
|
67
|
-
readonly type: "string";
|
|
68
|
-
readonly internalType: "string";
|
|
69
|
-
}, {
|
|
70
|
-
readonly name: "afterRecipient";
|
|
71
|
-
readonly type: "string";
|
|
72
|
-
readonly internalType: "string";
|
|
73
|
-
}, {
|
|
74
|
-
readonly name: "afterAmount";
|
|
75
|
-
readonly type: "string";
|
|
76
|
-
readonly internalType: "string";
|
|
77
|
-
}, {
|
|
78
|
-
readonly name: "suffix";
|
|
79
|
-
readonly type: "string";
|
|
80
|
-
readonly internalType: "string";
|
|
81
|
-
}];
|
|
82
|
-
readonly stateMutability: "view";
|
|
83
|
-
}, {
|
|
84
|
-
readonly type: "function";
|
|
85
|
-
readonly name: "pause";
|
|
86
|
-
readonly inputs: readonly [];
|
|
87
|
-
readonly outputs: readonly [];
|
|
88
|
-
readonly stateMutability: "nonpayable";
|
|
89
|
-
}, {
|
|
90
|
-
readonly type: "function";
|
|
91
|
-
readonly name: "paused";
|
|
92
|
-
readonly inputs: readonly [];
|
|
93
|
-
readonly outputs: readonly [{
|
|
94
|
-
readonly name: "";
|
|
95
|
-
readonly type: "bool";
|
|
96
|
-
readonly internalType: "bool";
|
|
97
|
-
}];
|
|
98
|
-
readonly stateMutability: "view";
|
|
99
|
-
}, {
|
|
100
|
-
readonly type: "function";
|
|
101
|
-
readonly name: "platformTemplateCount";
|
|
102
|
-
readonly inputs: readonly [{
|
|
103
|
-
readonly name: "platform";
|
|
104
|
-
readonly type: "string";
|
|
105
|
-
readonly internalType: "string";
|
|
106
|
-
}];
|
|
107
|
-
readonly outputs: readonly [{
|
|
108
|
-
readonly name: "";
|
|
109
|
-
readonly type: "uint256";
|
|
110
|
-
readonly internalType: "uint256";
|
|
111
|
-
}];
|
|
112
|
-
readonly stateMutability: "view";
|
|
113
|
-
}, {
|
|
114
|
-
readonly type: "function";
|
|
115
|
-
readonly name: "registerToken";
|
|
116
|
-
readonly inputs: readonly [{
|
|
117
|
-
readonly name: "name";
|
|
118
|
-
readonly type: "string";
|
|
119
|
-
readonly internalType: "string";
|
|
120
|
-
}, {
|
|
121
|
-
readonly name: "token";
|
|
122
|
-
readonly type: "address";
|
|
123
|
-
readonly internalType: "address";
|
|
124
|
-
}];
|
|
125
|
-
readonly outputs: readonly [];
|
|
126
|
-
readonly stateMutability: "nonpayable";
|
|
127
|
-
}, {
|
|
128
|
-
readonly type: "function";
|
|
129
|
-
readonly name: "registry";
|
|
130
|
-
readonly inputs: readonly [];
|
|
131
|
-
readonly outputs: readonly [{
|
|
132
|
-
readonly name: "";
|
|
133
|
-
readonly type: "address";
|
|
134
|
-
readonly internalType: "address";
|
|
135
|
-
}];
|
|
136
|
-
readonly stateMutability: "view";
|
|
137
|
-
}, {
|
|
138
|
-
readonly type: "function";
|
|
139
|
-
readonly name: "resolveToken";
|
|
140
|
-
readonly inputs: readonly [{
|
|
141
|
-
readonly name: "name";
|
|
142
|
-
readonly type: "string";
|
|
143
|
-
readonly internalType: "string";
|
|
144
|
-
}];
|
|
145
|
-
readonly outputs: readonly [{
|
|
146
|
-
readonly name: "";
|
|
147
|
-
readonly type: "address";
|
|
148
|
-
readonly internalType: "address";
|
|
149
|
-
}];
|
|
150
|
-
readonly stateMutability: "view";
|
|
151
|
-
}, {
|
|
152
|
-
readonly type: "function";
|
|
153
|
-
readonly name: "setPlatformTemplate";
|
|
154
|
-
readonly inputs: readonly [{
|
|
155
|
-
readonly name: "platform";
|
|
156
|
-
readonly type: "string";
|
|
157
|
-
readonly internalType: "string";
|
|
158
|
-
}, {
|
|
159
|
-
readonly name: "newTemplate";
|
|
160
|
-
readonly type: "string";
|
|
161
|
-
readonly internalType: "string";
|
|
162
|
-
}];
|
|
163
|
-
readonly outputs: readonly [];
|
|
164
|
-
readonly stateMutability: "nonpayable";
|
|
165
|
-
}, {
|
|
166
|
-
readonly type: "function";
|
|
167
|
-
readonly name: "setPlatformWebPrefix";
|
|
168
|
-
readonly inputs: readonly [{
|
|
169
|
-
readonly name: "platform";
|
|
170
|
-
readonly type: "string";
|
|
171
|
-
readonly internalType: "string";
|
|
172
|
-
}, {
|
|
173
|
-
readonly name: "prefix";
|
|
174
|
-
readonly type: "string";
|
|
175
|
-
readonly internalType: "string";
|
|
176
|
-
}];
|
|
177
|
-
readonly outputs: readonly [];
|
|
178
|
-
readonly stateMutability: "nonpayable";
|
|
179
|
-
}, {
|
|
180
|
-
readonly type: "function";
|
|
181
|
-
readonly name: "setRegistry";
|
|
182
|
-
readonly inputs: readonly [{
|
|
183
|
-
readonly name: "_registry";
|
|
184
|
-
readonly type: "address";
|
|
185
|
-
readonly internalType: "address";
|
|
186
|
-
}];
|
|
187
|
-
readonly outputs: readonly [];
|
|
188
|
-
readonly stateMutability: "nonpayable";
|
|
189
|
-
}, {
|
|
190
|
-
readonly type: "function";
|
|
191
|
-
readonly name: "setResourceTypePrefix";
|
|
192
|
-
readonly inputs: readonly [{
|
|
193
|
-
readonly name: "resourceType";
|
|
194
|
-
readonly type: "string";
|
|
195
|
-
readonly internalType: "string";
|
|
196
|
-
}, {
|
|
197
|
-
readonly name: "prefix";
|
|
198
|
-
readonly type: "string";
|
|
199
|
-
readonly internalType: "string";
|
|
200
|
-
}];
|
|
201
|
-
readonly outputs: readonly [];
|
|
202
|
-
readonly stateMutability: "nonpayable";
|
|
203
|
-
}, {
|
|
204
|
-
readonly type: "function";
|
|
205
|
-
readonly name: "tokenName";
|
|
206
|
-
readonly inputs: readonly [{
|
|
207
|
-
readonly name: "token";
|
|
208
|
-
readonly type: "address";
|
|
209
|
-
readonly internalType: "address";
|
|
210
|
-
}];
|
|
211
|
-
readonly outputs: readonly [{
|
|
212
|
-
readonly name: "";
|
|
213
|
-
readonly type: "string";
|
|
214
|
-
readonly internalType: "string";
|
|
215
|
-
}];
|
|
216
|
-
readonly stateMutability: "view";
|
|
217
|
-
}, {
|
|
218
|
-
readonly type: "function";
|
|
219
|
-
readonly name: "unpause";
|
|
220
|
-
readonly inputs: readonly [];
|
|
221
|
-
readonly outputs: readonly [];
|
|
222
|
-
readonly stateMutability: "nonpayable";
|
|
223
|
-
}, {
|
|
224
|
-
readonly type: "function";
|
|
225
|
-
readonly name: "unregisterToken";
|
|
226
|
-
readonly inputs: readonly [{
|
|
227
|
-
readonly name: "name";
|
|
228
|
-
readonly type: "string";
|
|
229
|
-
readonly internalType: "string";
|
|
230
|
-
}];
|
|
231
|
-
readonly outputs: readonly [];
|
|
232
|
-
readonly stateMutability: "nonpayable";
|
|
233
|
-
}, {
|
|
234
|
-
readonly type: "event";
|
|
235
|
-
readonly name: "Paused";
|
|
236
|
-
readonly inputs: readonly [{
|
|
237
|
-
readonly name: "account";
|
|
238
|
-
readonly type: "address";
|
|
239
|
-
readonly indexed: false;
|
|
240
|
-
readonly internalType: "address";
|
|
241
|
-
}];
|
|
242
|
-
readonly anonymous: false;
|
|
243
|
-
}, {
|
|
244
|
-
readonly type: "event";
|
|
245
|
-
readonly name: "RegistrySet";
|
|
246
|
-
readonly inputs: readonly [{
|
|
247
|
-
readonly name: "oldRegistry";
|
|
248
|
-
readonly type: "address";
|
|
249
|
-
readonly indexed: true;
|
|
250
|
-
readonly internalType: "address";
|
|
251
|
-
}, {
|
|
252
|
-
readonly name: "newRegistry";
|
|
253
|
-
readonly type: "address";
|
|
254
|
-
readonly indexed: true;
|
|
255
|
-
readonly internalType: "address";
|
|
256
|
-
}];
|
|
257
|
-
readonly anonymous: false;
|
|
258
|
-
}, {
|
|
259
|
-
readonly type: "event";
|
|
260
|
-
readonly name: "TokenRegistered";
|
|
261
|
-
readonly inputs: readonly [{
|
|
262
|
-
readonly name: "name";
|
|
263
|
-
readonly type: "string";
|
|
264
|
-
readonly indexed: false;
|
|
265
|
-
readonly internalType: "string";
|
|
266
|
-
}, {
|
|
267
|
-
readonly name: "token";
|
|
268
|
-
readonly type: "address";
|
|
269
|
-
readonly indexed: true;
|
|
270
|
-
readonly internalType: "address";
|
|
271
|
-
}];
|
|
272
|
-
readonly anonymous: false;
|
|
273
|
-
}, {
|
|
274
|
-
readonly type: "event";
|
|
275
|
-
readonly name: "TokenUnregistered";
|
|
276
|
-
readonly inputs: readonly [{
|
|
277
|
-
readonly name: "name";
|
|
278
|
-
readonly type: "string";
|
|
279
|
-
readonly indexed: false;
|
|
280
|
-
readonly internalType: "string";
|
|
281
|
-
}, {
|
|
282
|
-
readonly name: "token";
|
|
283
|
-
readonly type: "address";
|
|
284
|
-
readonly indexed: true;
|
|
285
|
-
readonly internalType: "address";
|
|
286
|
-
}];
|
|
287
|
-
readonly anonymous: false;
|
|
288
|
-
}, {
|
|
289
|
-
readonly type: "event";
|
|
290
|
-
readonly name: "Unpaused";
|
|
291
|
-
readonly inputs: readonly [{
|
|
292
|
-
readonly name: "account";
|
|
293
|
-
readonly type: "address";
|
|
294
|
-
readonly indexed: false;
|
|
295
|
-
readonly internalType: "address";
|
|
296
|
-
}];
|
|
297
|
-
readonly anonymous: false;
|
|
298
|
-
}, {
|
|
299
|
-
readonly type: "error";
|
|
300
|
-
readonly name: "AlreadyRegistered";
|
|
301
|
-
readonly inputs: readonly [];
|
|
302
|
-
}, {
|
|
303
|
-
readonly type: "error";
|
|
304
|
-
readonly name: "EmptyName";
|
|
305
|
-
readonly inputs: readonly [];
|
|
306
|
-
}, {
|
|
307
|
-
readonly type: "error";
|
|
308
|
-
readonly name: "NotContractOwner";
|
|
309
|
-
readonly inputs: readonly [{
|
|
310
|
-
readonly name: "caller";
|
|
311
|
-
readonly type: "address";
|
|
312
|
-
readonly internalType: "address";
|
|
313
|
-
}, {
|
|
314
|
-
readonly name: "owner";
|
|
315
|
-
readonly type: "address";
|
|
316
|
-
readonly internalType: "address";
|
|
317
|
-
}];
|
|
318
|
-
}, {
|
|
319
|
-
readonly type: "error";
|
|
320
|
-
readonly name: "NotRegistered";
|
|
321
|
-
readonly inputs: readonly [];
|
|
322
|
-
}, {
|
|
323
|
-
readonly type: "error";
|
|
324
|
-
readonly name: "TemplateMissingAmount";
|
|
325
|
-
readonly inputs: readonly [];
|
|
326
|
-
}, {
|
|
327
|
-
readonly type: "error";
|
|
328
|
-
readonly name: "TemplateMissingToken";
|
|
329
|
-
readonly inputs: readonly [];
|
|
330
|
-
}, {
|
|
331
|
-
readonly type: "error";
|
|
332
|
-
readonly name: "TemplateMissingTokenAfterRecipient";
|
|
333
|
-
readonly inputs: readonly [];
|
|
334
|
-
}, {
|
|
335
|
-
readonly type: "error";
|
|
336
|
-
readonly name: "ZeroAddress";
|
|
337
|
-
readonly inputs: readonly [];
|
|
338
|
-
}];
|
|
339
|
-
//# sourceMappingURL=adminFacet.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"adminFacet.d.ts","sourceRoot":"","sources":["../../src/abis/adminFacet.ts"],"names":[],"mappings":"AAKA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsbF,CAAA"}
|