@libid/contracts 0.14.0 → 0.15.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 +41 -40
- package/dist/abis/handleEscrow.d.ts +25 -25
- package/dist/abis/handleEscrow.js +32 -32
- package/dist/abis/handleEscrow.js.map +1 -1
- package/dist/abis/handleResolver.d.ts +1 -1
- package/dist/abis/handleResolver.js +1 -1
- package/dist/abis/handleResolver.js.map +1 -1
- package/dist/abis/{identityNames.d.ts → identityRegistry.d.ts} +140 -158
- package/dist/abis/{identityNames.d.ts.map → identityRegistry.d.ts.map} +1 -1
- package/dist/abis/{identityNames.js → identityRegistry.js} +171 -195
- package/dist/abis/identityRegistry.js.map +1 -0
- package/dist/abis/index.d.ts +1 -1
- package/dist/abis/index.d.ts.map +1 -1
- package/dist/abis/index.js +1 -1
- package/dist/abis/index.js.map +1 -1
- package/dist/calls/{identityNames.d.ts → identityRegistry.d.ts} +12 -12
- package/dist/calls/identityRegistry.d.ts.map +1 -0
- package/dist/calls/identityRegistry.js +55 -0
- package/dist/calls/identityRegistry.js.map +1 -0
- package/dist/calls/index.d.ts +1 -1
- package/dist/calls/index.d.ts.map +1 -1
- package/dist/calls/index.js +1 -1
- package/dist/calls/index.js.map +1 -1
- package/dist/ceremony/profiles.d.ts +34 -2
- package/dist/ceremony/profiles.d.ts.map +1 -1
- package/dist/ceremony/profiles.js +52 -2
- package/dist/ceremony/profiles.js.map +1 -1
- package/dist/identity/handle.d.ts +1 -1
- package/dist/identity/handle.d.ts.map +1 -1
- package/dist/identity/handle.js +10 -9
- package/dist/identity/handle.js.map +1 -1
- package/dist/identity/handleVectors.d.ts +3 -6
- package/dist/identity/handleVectors.d.ts.map +1 -1
- package/dist/identity/handleVectors.js +3 -13
- package/dist/identity/handleVectors.js.map +1 -1
- package/dist/identity/index.js +1 -1
- package/dist/identity/index.js.map +1 -1
- package/dist/identity/node.d.ts +1 -2
- package/dist/identity/node.d.ts.map +1 -1
- package/dist/identity/node.js +10 -9
- package/dist/identity/node.js.map +1 -1
- package/dist/identity/resolve.d.ts +14 -15
- package/dist/identity/resolve.d.ts.map +1 -1
- package/dist/identity/resolve.js +58 -65
- package/dist/identity/resolve.js.map +1 -1
- package/package.json +2 -2
- package/src/abis/handleEscrow.ts +32 -32
- package/src/abis/handleResolver.ts +1 -1
- package/src/abis/{identityNames.ts → identityRegistry.ts} +170 -194
- package/src/abis/index.ts +1 -1
- package/src/calls/identityRegistry.ts +91 -0
- package/src/calls/index.ts +1 -1
- package/src/ceremony/profiles.ts +55 -2
- package/src/identity/handle.ts +12 -8
- package/src/identity/handleVectors.ts +3 -14
- package/src/identity/index.ts +1 -1
- package/src/identity/node.ts +10 -9
- package/src/identity/resolve.ts +95 -106
- package/dist/abis/identityNames.js.map +0 -1
- package/dist/calls/identityNames.d.ts.map +0 -1
- package/dist/calls/identityNames.js +0 -55
- package/dist/calls/identityNames.js.map +0 -1
- package/src/calls/identityNames.ts +0 -88
package/dist/identity/resolve.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
/// Reading
|
|
1
|
+
/// Reading identities from the chain.
|
|
2
2
|
///
|
|
3
|
-
/// Everything here is a view call. Binding
|
|
4
|
-
/// wallet; reading one needs neither, which is the point — any product
|
|
5
|
-
/// resolve a
|
|
3
|
+
/// Everything here is a view call. Binding an identity needs a ceremony payload
|
|
4
|
+
/// and a wallet; reading one needs neither, which is the point — any product
|
|
5
|
+
/// can resolve a handle without touching the ceremony that bound 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
|
|
9
9
|
/// carries no configuration of its own and reaches for nothing outside itself.
|
|
10
10
|
import { keccak256, toHex, zeroAddress } from 'viem';
|
|
11
|
-
import {
|
|
12
|
-
/// A platform id is `keccak256` of its
|
|
11
|
+
import { identityRegistryAbi } from '../abis/identityRegistry.js';
|
|
12
|
+
/// A platform id is `keccak256` of its platform key. The keys are generated
|
|
13
13
|
/// from `handles.json`, so this and the contract agree by construction.
|
|
14
|
-
export function platformId(
|
|
15
|
-
return keccak256(toHex(
|
|
14
|
+
export function platformId(platformKey) {
|
|
15
|
+
return keccak256(toHex(platformKey));
|
|
16
16
|
}
|
|
17
17
|
/// One view call.
|
|
18
18
|
///
|
|
@@ -24,15 +24,15 @@ function read(reader, functionName, args) {
|
|
|
24
24
|
return reader.client.readContract({
|
|
25
25
|
authorizationList: undefined,
|
|
26
26
|
address: reader.address,
|
|
27
|
-
abi:
|
|
27
|
+
abi: identityRegistryAbi,
|
|
28
28
|
functionName,
|
|
29
29
|
args,
|
|
30
30
|
});
|
|
31
31
|
}
|
|
32
32
|
/// The platform's normalization rules as configured on chain now
|
|
33
|
-
/// (`
|
|
34
|
-
export async function
|
|
35
|
-
const rules = await read(reader, 'rulesOf', [platformId
|
|
33
|
+
/// (`IdentityRegistry.rulesOf`).
|
|
34
|
+
export async function rulesOf(reader, platformId) {
|
|
35
|
+
const rules = await read(reader, 'rulesOf', [platformId]);
|
|
36
36
|
return {
|
|
37
37
|
maxLength: Number(rules.maxLength),
|
|
38
38
|
stripLeadingAt: rules.stripLeadingAt,
|
|
@@ -41,84 +41,77 @@ export async function rulesOnChain(reader, domain) {
|
|
|
41
41
|
allowHyphen: rules.allowHyphen,
|
|
42
42
|
};
|
|
43
43
|
}
|
|
44
|
-
/// The
|
|
45
|
-
export async function resolveId(reader,
|
|
46
|
-
const
|
|
47
|
-
return
|
|
44
|
+
/// The holder that proved this id, or `null`.
|
|
45
|
+
export async function resolveId(reader, platformId, id) {
|
|
46
|
+
const holder = await read(reader, 'resolveId', [platformId, id]);
|
|
47
|
+
return holder === zeroAddress ? null : holder;
|
|
48
48
|
}
|
|
49
|
-
/// The
|
|
49
|
+
/// The holder that last proved this handle, or `null`.
|
|
50
50
|
///
|
|
51
51
|
/// The handle is normalized on chain before it is looked up, so a caller may
|
|
52
|
-
/// pass what
|
|
53
|
-
/// The contract is total in the handle: a string
|
|
54
|
-
/// the zero address, which is the same answer as a handle nobody has
|
|
55
|
-
/// and the one a search box wants.
|
|
52
|
+
/// pass what was typed — including something that is not a handle at all.
|
|
53
|
+
/// The contract is total in the handle: a string the platform's rules refuse
|
|
54
|
+
/// answers the zero address, which is the same answer as a handle nobody has
|
|
55
|
+
/// proved, and the one a search box wants.
|
|
56
56
|
///
|
|
57
57
|
/// A revert propagates. `UnknownPlatform` in particular means the platform is
|
|
58
|
-
/// not configured, and answering "
|
|
58
|
+
/// not configured, and answering "unbound" would bury a deployment mistake
|
|
59
59
|
/// under a plausible result.
|
|
60
|
-
export async function resolveHandle(reader,
|
|
61
|
-
const
|
|
62
|
-
return
|
|
60
|
+
export async function resolveHandle(reader, platformId, handle) {
|
|
61
|
+
const holder = await read(reader, 'resolveHandle', [platformId, handle]);
|
|
62
|
+
return holder === zeroAddress ? null : holder;
|
|
63
63
|
}
|
|
64
|
-
/// The handle a
|
|
65
|
-
///
|
|
66
|
-
/// It may be stale: it says what the wallet proved once, not what the handle
|
|
67
|
-
/// resolves to now. Use `primaryName` to display one.
|
|
68
|
-
export async function reverseOf(reader, wallet, platform) {
|
|
69
|
-
const name = await read(reader, 'reverseOf', [wallet, platform]);
|
|
70
|
-
return name.length === 0 ? null : name;
|
|
71
|
-
}
|
|
72
|
-
/// The handle to show for a wallet, or `null`.
|
|
64
|
+
/// The handle to show for a holder, or `null`.
|
|
73
65
|
///
|
|
74
66
|
/// Forward-checked on chain: empty once the stored handle resolves somewhere
|
|
75
67
|
/// else. ENS asks integrators to perform that check themselves and warns that
|
|
76
|
-
/// skipping it displays
|
|
77
|
-
/// skipped, because the contract does it.
|
|
78
|
-
export async function
|
|
79
|
-
const
|
|
80
|
-
return
|
|
68
|
+
/// skipping it displays an ENS primary name that no longer resolves back; here
|
|
69
|
+
/// it cannot be skipped, because the contract does it.
|
|
70
|
+
export async function publishedHandleOf(reader, holder, platformId) {
|
|
71
|
+
const handle = await read(reader, 'publishedHandleOf', [holder, platformId]);
|
|
72
|
+
return handle.length === 0 ? null : handle;
|
|
81
73
|
}
|
|
82
|
-
/// Resolve a handle and report whether an
|
|
74
|
+
/// Resolve a handle and report whether an id still agrees with it.
|
|
83
75
|
///
|
|
84
|
-
/// **Read this before signing, and do not let it block a transfer.** A
|
|
85
|
-
/// that will not route is not a
|
|
76
|
+
/// **Read this before signing, and do not let it block a transfer.** A handle
|
|
77
|
+
/// that will not route is not a handle: sending to a handle means sending to
|
|
86
78
|
/// whoever proved it last, which is what the handle now means. What the flag is
|
|
87
|
-
/// for is telling
|
|
88
|
-
/// one that
|
|
79
|
+
/// for is telling whoever is paying that the identity they think they are
|
|
80
|
+
/// paying is not the one that has the handle today — a decision they can only
|
|
81
|
+
/// make beforehand.
|
|
89
82
|
///
|
|
90
83
|
/// Both halves are needed. A handle on its own has nothing to disagree with.
|
|
91
84
|
///
|
|
92
|
-
/// A handle the platform's rules reject resolves to `{
|
|
85
|
+
/// A handle the platform's rules reject resolves to `{holder: null, idAgrees:
|
|
93
86
|
/// false}`, the same as one nobody has proved — see `resolveHandle`.
|
|
94
|
-
export async function
|
|
95
|
-
const [
|
|
96
|
-
|
|
87
|
+
export async function resolveHandleAndId(reader, platformId, handle, id) {
|
|
88
|
+
const [holder, idAgrees] = await read(reader, 'resolveHandleAndId', [
|
|
89
|
+
platformId,
|
|
97
90
|
handle,
|
|
98
|
-
|
|
91
|
+
id,
|
|
99
92
|
]);
|
|
100
|
-
return {
|
|
93
|
+
return { holder: holder === zeroAddress ? null : holder, idAgrees };
|
|
101
94
|
}
|
|
102
|
-
/// How many
|
|
103
|
-
export async function
|
|
104
|
-
return read(reader, '
|
|
95
|
+
/// How many identities a holder has, on every platform together.
|
|
96
|
+
export async function identityCount(reader, holder) {
|
|
97
|
+
return read(reader, 'identityCount', [holder]);
|
|
105
98
|
}
|
|
106
|
-
/// A page of
|
|
107
|
-
/// indices `[from, from + limit)` of its list, counted from zero and
|
|
108
|
-
/// to the list. A `from` past the end answers an empty page. A reader
|
|
109
|
-
/// wants one platform filters a page by `platformId`.
|
|
99
|
+
/// A page of a holder's identities, on every platform together:
|
|
100
|
+
/// the indices `[from, from + limit)` of its list, counted from zero and
|
|
101
|
+
/// clipped to the list. A `from` past the end answers an empty page. A reader
|
|
102
|
+
/// that wants one platform filters a page by `platformId`.
|
|
110
103
|
///
|
|
111
|
-
/// Order is arbitrary and changes when an
|
|
104
|
+
/// Order is arbitrary and changes when an identity leaves the list, so two
|
|
112
105
|
/// pages read across a removal may overlap or skip. A reader that needs every
|
|
113
|
-
///
|
|
106
|
+
/// identity reads `identityCount` and the pages against one block.
|
|
114
107
|
///
|
|
115
|
-
/// A list is as long as its
|
|
116
|
-
/// enumerating a
|
|
117
|
-
export async function
|
|
118
|
-
const page = await read(reader, '
|
|
119
|
-
return page.map(({ platformId,
|
|
108
|
+
/// A list is as long as its holder made it, and a call's gas is not. A caller
|
|
109
|
+
/// enumerating a holder it did not choose keeps `limit` small and pages.
|
|
110
|
+
export async function identitiesOf(reader, holder, from, limit) {
|
|
111
|
+
const page = await read(reader, 'identitiesOf', [holder, from, limit]);
|
|
112
|
+
return page.map(({ platformId, id, handle, handleCurrent }) => ({
|
|
120
113
|
platformId,
|
|
121
|
-
|
|
114
|
+
id,
|
|
122
115
|
handle,
|
|
123
116
|
handleCurrent,
|
|
124
117
|
}));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"resolve.js","sourceRoot":"","sources":["../../src/identity/resolve.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"resolve.js","sourceRoot":"","sources":["../../src/identity/resolve.ts"],"names":[],"mappings":"AAAA,sCAAsC;AACtC,GAAG;AACH,gFAAgF;AAChF,6EAA6E;AAC7E,qEAAqE;AACrE,GAAG;AACH,+EAA+E;AAC/E,6EAA6E;AAC7E,+EAA+E;AAE/E,OAAO,EAAgB,SAAS,EAAqB,KAAK,EAAE,WAAW,EAAE,MAAM,MAAM,CAAA;AAErF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ACH,CAAC,CAAA;IAEF,OAAO,EAAE,MAAM,EAAE,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAA;AACrE,CAAC;AAkBD,iEAAiE;AACjE,MAAM,CAAC,KAAK,UAAU,aAAa,CAAC,MAAsB,EAAE,MAAe;IACzE,OAAO,IAAI,CAAS,MAAM,EAAE,eAAe,EAAE,CAAC,MAAM,CAAC,CAAC,CAAA;AACxD,CAAC;AAED,gEAAgE;AAChE,yEAAyE;AACzE,8EAA8E;AAC9E,2DAA2D;AAC3D,GAAG;AACH,2EAA2E;AAC3E,8EAA8E;AAC9E,mEAAmE;AACnE,GAAG;AACH,8EAA8E;AAC9E,yEAAyE;AACzE,MAAM,CAAC,KAAK,UAAU,YAAY,CAChC,MAAsB,EACtB,MAAe,EACf,IAAY,EACZ,KAAa;IAEb,MAAM,IAAI,GAAG,MAAM,IAAI,CAAsB,MAAM,EAAE,cAAc,EAAE,CAAC,MAAM,EAAE,IAAI,EAAE,KAAK,CAAC,CAAC,CAAA;IAC3F,OAAO,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,UAAU,EAAE,EAAE,EAAE,MAAM,EAAE,aAAa,EAAE,EAAE,EAAE,CAAC,CAAC;QAC9D,UAAU;QACV,EAAE;QACF,MAAM;QACN,aAAa;KACd,CAAC,CAAC,CAAA;AACL,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@libid/contracts",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Typed viem-ready ABIs and call builders for the libid contracts, plus the identity helper layer (handle normalization,
|
|
3
|
+
"version": "0.15.0",
|
|
4
|
+
"description": "Typed viem-ready ABIs and call builders for the libid contracts, plus the identity helper layer (handle normalization, handle resolution).",
|
|
5
5
|
"license": "(MIT OR Apache-2.0)",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
package/src/abis/handleEscrow.ts
CHANGED
|
@@ -132,27 +132,14 @@ export const handleEscrowAbi = [
|
|
|
132
132
|
"internalType": "address"
|
|
133
133
|
},
|
|
134
134
|
{
|
|
135
|
-
"name": "
|
|
135
|
+
"name": "registry_",
|
|
136
136
|
"type": "address",
|
|
137
|
-
"internalType": "contract
|
|
137
|
+
"internalType": "contract IIdentityRegistry"
|
|
138
138
|
}
|
|
139
139
|
],
|
|
140
140
|
"outputs": [],
|
|
141
141
|
"stateMutability": "nonpayable"
|
|
142
142
|
},
|
|
143
|
-
{
|
|
144
|
-
"type": "function",
|
|
145
|
-
"name": "names",
|
|
146
|
-
"inputs": [],
|
|
147
|
-
"outputs": [
|
|
148
|
-
{
|
|
149
|
-
"name": "",
|
|
150
|
-
"type": "address",
|
|
151
|
-
"internalType": "contract IIdentityNames"
|
|
152
|
-
}
|
|
153
|
-
],
|
|
154
|
-
"stateMutability": "view"
|
|
155
|
-
},
|
|
156
143
|
{
|
|
157
144
|
"type": "function",
|
|
158
145
|
"name": "owner",
|
|
@@ -244,6 +231,19 @@ export const handleEscrowAbi = [
|
|
|
244
231
|
],
|
|
245
232
|
"stateMutability": "view"
|
|
246
233
|
},
|
|
234
|
+
{
|
|
235
|
+
"type": "function",
|
|
236
|
+
"name": "registry",
|
|
237
|
+
"inputs": [],
|
|
238
|
+
"outputs": [
|
|
239
|
+
{
|
|
240
|
+
"name": "",
|
|
241
|
+
"type": "address",
|
|
242
|
+
"internalType": "contract IIdentityRegistry"
|
|
243
|
+
}
|
|
244
|
+
],
|
|
245
|
+
"stateMutability": "view"
|
|
246
|
+
},
|
|
247
247
|
{
|
|
248
248
|
"type": "function",
|
|
249
249
|
"name": "renounceOwnership",
|
|
@@ -601,22 +601,6 @@ export const handleEscrowAbi = [
|
|
|
601
601
|
"name": "InvalidInitialization",
|
|
602
602
|
"inputs": []
|
|
603
603
|
},
|
|
604
|
-
{
|
|
605
|
-
"type": "error",
|
|
606
|
-
"name": "NamesLacks",
|
|
607
|
-
"inputs": [
|
|
608
|
-
{
|
|
609
|
-
"name": "names",
|
|
610
|
-
"type": "address",
|
|
611
|
-
"internalType": "address"
|
|
612
|
-
},
|
|
613
|
-
{
|
|
614
|
-
"name": "selector",
|
|
615
|
-
"type": "bytes4",
|
|
616
|
-
"internalType": "bytes4"
|
|
617
|
-
}
|
|
618
|
-
]
|
|
619
|
-
},
|
|
620
604
|
{
|
|
621
605
|
"type": "error",
|
|
622
606
|
"name": "NativeTransferFailed",
|
|
@@ -635,7 +619,7 @@ export const handleEscrowAbi = [
|
|
|
635
619
|
},
|
|
636
620
|
{
|
|
637
621
|
"type": "error",
|
|
638
|
-
"name": "
|
|
622
|
+
"name": "NoRegistry",
|
|
639
623
|
"inputs": []
|
|
640
624
|
},
|
|
641
625
|
{
|
|
@@ -761,6 +745,22 @@ export const handleEscrowAbi = [
|
|
|
761
745
|
"name": "ReentrancyGuardReentrantCall",
|
|
762
746
|
"inputs": []
|
|
763
747
|
},
|
|
748
|
+
{
|
|
749
|
+
"type": "error",
|
|
750
|
+
"name": "RegistryLacks",
|
|
751
|
+
"inputs": [
|
|
752
|
+
{
|
|
753
|
+
"name": "registry",
|
|
754
|
+
"type": "address",
|
|
755
|
+
"internalType": "address"
|
|
756
|
+
},
|
|
757
|
+
{
|
|
758
|
+
"name": "selector",
|
|
759
|
+
"type": "bytes4",
|
|
760
|
+
"internalType": "bytes4"
|
|
761
|
+
}
|
|
762
|
+
]
|
|
763
|
+
},
|
|
764
764
|
{
|
|
765
765
|
"type": "error",
|
|
766
766
|
"name": "RenounceDisabled",
|