@the_library/public 1.0.0 → 2.0.1
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 +201 -28
- package/assets/branding/pond-enterprise-logo.svg +1 -1
- package/dist/Book-CYyj_y_4.d.ts +621 -0
- package/dist/bookSearchService-YQskauJS.d.ts +300 -0
- package/dist/branding/index.js +1 -66
- package/dist/branding/index.js.map +1 -1
- package/dist/chunk-3XUKOVEF.js +2 -0
- package/dist/chunk-3XUKOVEF.js.map +1 -0
- package/dist/chunk-46FQHZNM.js +2 -0
- package/dist/chunk-46FQHZNM.js.map +1 -0
- package/dist/chunk-7G3BMGV2.js +2 -0
- package/dist/chunk-7G3BMGV2.js.map +1 -0
- package/dist/chunk-D4DXGA2W.js +2 -0
- package/dist/chunk-D4DXGA2W.js.map +1 -0
- package/dist/chunk-EMA2QJTW.js +2 -0
- package/dist/chunk-EMA2QJTW.js.map +1 -0
- package/dist/chunk-FN52YV7L.js +2 -0
- package/dist/chunk-FN52YV7L.js.map +1 -0
- package/dist/chunk-GWQNULP4.js +2 -0
- package/dist/chunk-GWQNULP4.js.map +1 -0
- package/dist/chunk-OELHBR4F.js +2 -0
- package/dist/chunk-OELHBR4F.js.map +1 -0
- package/dist/chunk-PV3X54EU.js +2 -0
- package/dist/chunk-PV3X54EU.js.map +1 -0
- package/dist/chunk-SD3INWZF.js +2 -0
- package/dist/chunk-SD3INWZF.js.map +1 -0
- package/dist/downloader/dl2-sw.js +1 -198
- package/dist/downloader/dl2-sw.js.map +1 -1
- package/dist/downloader/file-worker-v2.js +1 -257
- package/dist/downloader/file-worker-v2.js.map +1 -1
- package/dist/downloader/index.d.ts +30 -2
- package/dist/downloader/index.js +1 -537
- package/dist/downloader/index.js.map +1 -1
- package/dist/downloader/mu-worker-v2.js +1 -196
- package/dist/downloader/mu-worker-v2.js.map +1 -1
- package/dist/downloader/react.d.ts +1 -1
- package/dist/downloader/react.js +1 -31
- package/dist/downloader/react.js.map +1 -1
- package/dist/downloader/solid.d.ts +1 -1
- package/dist/downloader/solid.js +1 -18
- package/dist/downloader/solid.js.map +1 -1
- package/dist/downloader/sw.js +1 -118
- package/dist/downloader/sw.js.map +1 -1
- package/dist/downloader/vue.d.ts +1 -1
- package/dist/downloader/vue.js +1 -18
- package/dist/downloader/vue.js.map +1 -1
- package/dist/enriched-index-T0sDG7JR.d.ts +209 -0
- package/dist/global/public.global.js +68 -0
- package/dist/global/public.manifest.json +484 -0
- package/dist/level-state-DXqglpAX.d.ts +27 -0
- package/dist/models/astro.d.ts +4 -3
- package/dist/models/astro.js +1 -43
- package/dist/models/astro.js.map +1 -1
- package/dist/models/index.d.ts +449 -23
- package/dist/models/index.js +1 -339
- package/dist/models/index.js.map +1 -1
- package/dist/models/models.d.ts +195 -441
- package/dist/models/models.js +1 -45
- package/dist/models/patch-worker.js +1 -542
- package/dist/models/patch-worker.js.map +1 -1
- package/dist/models/react.d.ts +6 -5
- package/dist/models/react.js +1 -72
- package/dist/models/react.js.map +1 -1
- package/dist/models/solid.d.ts +16 -6
- package/dist/models/solid.js +1 -94
- package/dist/models/solid.js.map +1 -1
- package/dist/models/vue.d.ts +89 -7
- package/dist/models/vue.js +1 -97
- package/dist/models/vue.js.map +1 -1
- package/dist/orm-MJTHCG9E.d.ts +1003 -0
- package/dist/{session-vqOnyxga.d.ts → session-JudUKAV7.d.ts} +76 -74
- package/dist/{state-BTsp-E4v.d.ts → state-CkYavOSt.d.ts} +16 -0
- package/dist/{types-Dn0EFMO_.d.ts → types-B-IX3HBn.d.ts} +94 -21
- package/dist/{types-Xb8Ta9tZ.d.ts → types-Blyx2A7F.d.ts} +10 -36
- package/dist/web3/auth.d.ts +89 -0
- package/dist/web3/auth.js +13 -0
- package/dist/web3/auth.js.map +1 -0
- package/dist/web3/index.d.ts +1913 -126
- package/dist/web3/index.js +1 -1019
- package/dist/web3/index.js.map +1 -1
- package/dist/web3/network.d.ts +6 -0
- package/dist/web3/network.js +2 -0
- package/dist/web3/network.js.map +1 -0
- package/dist/web3/registry.d.ts +34 -9
- package/dist/web3/registry.js +1 -22
- package/dist/web3/vue.d.ts +31 -14
- package/dist/web3/vue.js +1 -390
- package/dist/web3/vue.js.map +1 -1
- package/package.json +36 -15
- package/dist/chunk-2HFOWE5R.js +0 -296
- package/dist/chunk-2HFOWE5R.js.map +0 -1
- package/dist/chunk-3L6LH2XK.js +0 -465
- package/dist/chunk-3L6LH2XK.js.map +0 -1
- package/dist/chunk-4CWVFPBN.js +0 -28
- package/dist/chunk-4CWVFPBN.js.map +0 -1
- package/dist/chunk-AGHPATVL.js +0 -65
- package/dist/chunk-AGHPATVL.js.map +0 -1
- package/dist/chunk-JDUYLUDJ.js +0 -4835
- package/dist/chunk-JDUYLUDJ.js.map +0 -1
- package/dist/chunk-OEZK7IX7.js +0 -77
- package/dist/chunk-OEZK7IX7.js.map +0 -1
- package/dist/chunk-PUYDAUCI.js +0 -2873
- package/dist/chunk-PUYDAUCI.js.map +0 -1
- package/dist/chunk-WHWMTS7D.js +0 -99
- package/dist/chunk-WHWMTS7D.js.map +0 -1
- package/dist/chunk-Y7RS6RTM.js +0 -342
- package/dist/chunk-Y7RS6RTM.js.map +0 -1
- package/dist/chunk-ZEZGI2TP.js +0 -197
- package/dist/chunk-ZEZGI2TP.js.map +0 -1
- package/dist/core-dao-core-logo-VDT2I5IW.svg +0 -33
- package/dist/level-state-J3pj64Tr.d.ts +0 -15
- package/dist/models/models_v2.global.js +0 -1
- package/dist/orm-BvkX0aBT.d.ts +0 -507
package/dist/web3/index.d.ts
CHANGED
|
@@ -1,32 +1,45 @@
|
|
|
1
|
-
import { R as ReadOnlyDomainAPI, A as AddressRegistryReadAPI, c as ArchivistStorageReadAPI, B as BouncerStorageReadAPI, S as ScientistStorageReadAPI, F as FactoryReadAPI, d as
|
|
2
|
-
export {
|
|
1
|
+
import { R as ReadOnlyDomainAPI, A as AddressRegistryReadAPI, c as ArchivistStorageReadAPI, B as BouncerStorageReadAPI, S as ScientistStorageReadAPI, F as FactoryReadAPI, d as AccountManagerReadAPI, e as ProjectManagerStorageReadAPI, f as SubscriptionManagerReadAPI, L as LibraryRegistryStorageReadAPI, g as PublicLibraryStorageReadAPI, D as DSafeHRStorageReadAPI, h as RelationshipIndexerReadAPI, i as WriteOnlyDomainAPI, j as AccountManagerWriteAPI, k as BouncerStorageWriteAPI, l as FactoryWriteAPI, m as SubscriptionManagerWriteAPI, n as AddressRegistryWriteAPI, o as LibraryRegistryStorageWriteAPI, p as PublicLibraryStorageWriteAPI, q as DSafeHRStorageWriteAPI, W as WalletType, T as TransactionOptions, b as WalletConnector, E as EvmWalletConnector, C as ConnectResult } from '../types-B-IX3HBn.js';
|
|
2
|
+
export { t as AddressRegistryContractRecord, u as AddressRegistryUpdateInfo, w as Collection, v as CollectionInput, r as ContractAddresses, H as ErrorCode, x as LibraryOwnership, N as NormalizedError, a as Project, P as ProjectVersion, z as PublicLibrary, y as PublicLibraryInput, G as RelationshipRecord, s as StripeDonation, V as VotePreset } from '../types-B-IX3HBn.js';
|
|
3
3
|
import * as viem from 'viem';
|
|
4
|
-
import { PublicClient, WalletClient, TransactionRequest } from 'viem';
|
|
4
|
+
import { PublicClient, Address, WalletClient, TransactionRequest } from 'viem';
|
|
5
5
|
export { formatEther, parseEther } from 'viem';
|
|
6
|
-
import
|
|
7
|
-
|
|
8
|
-
|
|
6
|
+
import * as _the_library_network_config from '@the_library/network-config';
|
|
7
|
+
import { CanonicalRole, EvmChainConfig, AvailableEnvironment } from '@the_library/network-config';
|
|
8
|
+
import { a as SessionStore, W as Web3SessionAccount, S as SyncCursor, b as SubscriptionNode, c as WalkOptions, d as SubscriptionGraph, F as FetchOptions, e as Patch, f as SyncOptions, g as SyncResult } from '../types-Blyx2A7F.js';
|
|
9
|
+
export { i as PROJECT_CACHE_TTL_MS, k as PatchCacheAdapter, P as ProjectLocale, h as SessionState, j as loadProject, l as loadProjects, p as projectLocale } from '../types-Blyx2A7F.js';
|
|
10
|
+
export { toViemChain } from './network.js';
|
|
11
|
+
export { CacheEntry, ContractLoadingStatus, LoadingStatus, Manifest, ManifestCollectionEntry, ManifestContractEntry, ManifestNetwork, ManifestProvenance, NodeFileCacheStorage, RegistryAddressLoader, RegistryCache, RegistryCacheStorage, ResolvedSidecarUrls, SidecarObjectPointers, V2DataBlock, addressLoader, createNodeFileCacheStorage, getContractAbi, getRegistryBaseUrl, setRegistryBaseUrl, sidecarUrlsFromManifest } from './registry.js';
|
|
9
12
|
|
|
10
13
|
declare class EvmClient implements ReadOnlyDomainAPI {
|
|
11
14
|
readonly ready: Promise<void>;
|
|
12
15
|
readonly chainId: number;
|
|
13
16
|
readonly chain: viem.Chain;
|
|
14
17
|
readonly publicClient: PublicClient;
|
|
15
|
-
readonly environment:
|
|
18
|
+
readonly environment: CanonicalRole;
|
|
19
|
+
readonly deploymentEnvironment: CanonicalRole;
|
|
16
20
|
readonly config: EvmChainConfig;
|
|
17
21
|
private _contractAddresses;
|
|
22
|
+
private _manifestRegistryAddress?;
|
|
18
23
|
addressRegistry: AddressRegistryReadAPI;
|
|
19
24
|
archivistStorage: ArchivistStorageReadAPI;
|
|
20
25
|
bouncerStorage: BouncerStorageReadAPI;
|
|
21
26
|
scientistStorage: ScientistStorageReadAPI;
|
|
22
27
|
factory: FactoryReadAPI;
|
|
28
|
+
accountManager: AccountManagerReadAPI;
|
|
23
29
|
projectManagerStorage: ProjectManagerStorageReadAPI;
|
|
24
30
|
subscriptionManager: SubscriptionManagerReadAPI;
|
|
25
31
|
libraryRegistryStorage: LibraryRegistryStorageReadAPI;
|
|
26
32
|
publicLibraryStorage: PublicLibraryStorageReadAPI;
|
|
33
|
+
dSafeHRStorage: DSafeHRStorageReadAPI;
|
|
34
|
+
relationshipIndexerStorage: RelationshipIndexerReadAPI;
|
|
35
|
+
private _accountOverride?;
|
|
36
|
+
setAccountOverride(account: Address | undefined): void;
|
|
27
37
|
getUsdPrice(): Promise<number>;
|
|
28
|
-
|
|
29
|
-
|
|
38
|
+
getNativeBalance(address: string): Promise<bigint>;
|
|
39
|
+
constructor(chainId: number, environment?: AvailableEnvironment);
|
|
40
|
+
/** The AddressRegistry this client reads (and EvmWriteClient writes): the
|
|
41
|
+
* manifest's once loaded, else network-config's bootstrap value. */
|
|
42
|
+
get activeRegistryAddress(): string;
|
|
30
43
|
private addresses;
|
|
31
44
|
private requireAbi;
|
|
32
45
|
private read;
|
|
@@ -36,9 +49,12 @@ declare class EvmClient implements ReadOnlyDomainAPI {
|
|
|
36
49
|
private createBouncerStorageReadAPI;
|
|
37
50
|
private createScientistStorageReadAPI;
|
|
38
51
|
private createFactoryReadAPI;
|
|
52
|
+
private createAccountManagerReadAPI;
|
|
39
53
|
private createSubscriptionManagerReadAPI;
|
|
40
54
|
private createLibraryRegistryStorageReadAPI;
|
|
41
55
|
private createPublicLibraryStorageReadAPI;
|
|
56
|
+
private createDSafeHRStorageReadAPI;
|
|
57
|
+
private createRelationshipIndexerStorageReadAPI;
|
|
42
58
|
getRegistryStatus(): Promise<any>;
|
|
43
59
|
}
|
|
44
60
|
declare function createEvmClient(chainId?: number, environment?: 'production' | 'staging'): EvmClient;
|
|
@@ -48,16 +64,32 @@ declare class EvmWriteClient implements WriteOnlyDomainAPI {
|
|
|
48
64
|
readonly writeOnly: WriteOnlyDomainAPI;
|
|
49
65
|
private readonly publicClient;
|
|
50
66
|
private readonly chain;
|
|
51
|
-
readonly config: EvmChainConfig;
|
|
67
|
+
readonly config: _the_library_network_config.EvmChainConfig;
|
|
52
68
|
readonly wallet: string;
|
|
53
69
|
private readonly environment;
|
|
54
70
|
private readonly _account;
|
|
71
|
+
private readonly walletClient;
|
|
55
72
|
constructor(wallet: string, readonlyApi: EvmClient, walletClient: WalletClient, account: string);
|
|
73
|
+
sendNative(to: string, amountEth: string): Promise<string>;
|
|
74
|
+
/**
|
|
75
|
+
* The node checks gas × maxFeePerGas against the balance before simulating,
|
|
76
|
+
* and when it doesn't fit, Sonic answers a bare "execution reverted" rather
|
|
77
|
+
* than "insufficient funds". Estimated here without fees (no balance cap):
|
|
78
|
+
* - default fees fit → {} (writeContract fills them as usual);
|
|
79
|
+
* - only the minimum fits (maxFee = base fee, no tip) → warn through the
|
|
80
|
+
* `wallet_low_balance` window event and return those fees for one attempt;
|
|
81
|
+
* - nothing fits → throw a readable INSUFFICIENT_FUNDS error.
|
|
82
|
+
* Any estimate failure returns {} so the normal path reports it.
|
|
83
|
+
*/
|
|
84
|
+
private minimumFeesIfShort;
|
|
85
|
+
get accountManager(): AccountManagerWriteAPI;
|
|
86
|
+
get bouncerStorage(): BouncerStorageWriteAPI;
|
|
56
87
|
get factory(): FactoryWriteAPI;
|
|
57
88
|
get subscriptionManager(): SubscriptionManagerWriteAPI;
|
|
58
89
|
get addressRegistry(): AddressRegistryWriteAPI;
|
|
59
90
|
get libraryRegistryStorage(): LibraryRegistryStorageWriteAPI;
|
|
60
91
|
get publicLibraryStorage(): PublicLibraryStorageWriteAPI;
|
|
92
|
+
get dSafeHRStorage(): DSafeHRStorageWriteAPI;
|
|
61
93
|
getChainId(): number;
|
|
62
94
|
account(): string;
|
|
63
95
|
getNormalizedAddress(address: string): string;
|
|
@@ -66,11 +98,17 @@ declare class EvmWriteClient implements WriteOnlyDomainAPI {
|
|
|
66
98
|
private getRegistryAddress;
|
|
67
99
|
private createFactoryWriteAPI;
|
|
68
100
|
private createSubscriptionManagerWriteAPI;
|
|
101
|
+
private getAccountManagerAddress;
|
|
102
|
+
private getBouncerStorageAddress;
|
|
103
|
+
private createBouncerStorageWriteAPI;
|
|
104
|
+
private createAccountManagerWriteAPI;
|
|
69
105
|
private createAddressRegistryWriteAPI;
|
|
70
106
|
private getLibraryRegistryStorageAddress;
|
|
71
107
|
private createLibraryRegistryStorageWriteAPI;
|
|
72
108
|
private getPublicLibraryStorageAddress;
|
|
73
109
|
private createPublicLibraryStorageWriteAPI;
|
|
110
|
+
private getDSafeHRStorageAddress;
|
|
111
|
+
private createDSafeHRStorageWriteAPI;
|
|
74
112
|
}
|
|
75
113
|
|
|
76
114
|
declare const readOnlyClients: Record<number, ReadOnlyDomainAPI>;
|
|
@@ -79,6 +117,10 @@ declare function getReadClient(chainId: number, environment?: 'production' | 'st
|
|
|
79
117
|
declare function getEvmClient(chainId: number, environment?: 'production' | 'staging'): EvmClient;
|
|
80
118
|
declare function getReadyEvmClient(chainId: number, environment?: 'production' | 'staging'): Promise<EvmClient>;
|
|
81
119
|
|
|
120
|
+
type Web3Environment = 'production' | 'staging';
|
|
121
|
+
declare const setSessionEnvironment: (environment: Web3Environment) => void;
|
|
122
|
+
declare const getSessionEnvironment: () => Web3Environment;
|
|
123
|
+
|
|
82
124
|
declare function createSessionStore(): SessionStore;
|
|
83
125
|
declare const sessionStore: SessionStore;
|
|
84
126
|
/**
|
|
@@ -110,6 +152,27 @@ declare function restoreAccountSave(address: string, chainId: number, environmen
|
|
|
110
152
|
* changes" UI hint.
|
|
111
153
|
*/
|
|
112
154
|
declare function hasUnsavedPatches(address: string, chainId: number): Promise<boolean>;
|
|
155
|
+
/**
|
|
156
|
+
* True when `chainWords` (a range just read back from BackupStorage) is
|
|
157
|
+
* exactly our own upload: every word appears in `uploadedWords`, in order.
|
|
158
|
+
* Uploaded words the chain didn't store (private CreateRecords, which
|
|
159
|
+
* Factory._splitPatches routes to BouncerStorage only) are skipped over.
|
|
160
|
+
*/
|
|
161
|
+
declare function isOwnWrite(chainWords: ReadonlyArray<bigint | number | string>, uploadedWords: ReadonlyArray<bigint | number | string>): boolean;
|
|
162
|
+
/**
|
|
163
|
+
* Called by saveMyLevel after its transactions land. Our own save appended
|
|
164
|
+
* words to BackupStorage; without acknowledging them, the next
|
|
165
|
+
* restoreAccountSave would download them again as new local rows —
|
|
166
|
+
* duplicating actions (Visit/Download/Share are never collapsed, so points
|
|
167
|
+
* double) and making hasUnsavedPatches report changes that were just saved.
|
|
168
|
+
*
|
|
169
|
+
* Advances lastRestorationIndex past the new range only when that range is
|
|
170
|
+
* provably ours: the account was restored up to `restoredThrough` right
|
|
171
|
+
* before saving, and every word written since is one we uploaded. If another
|
|
172
|
+
* device wrote in between, nothing is advanced and the next restore
|
|
173
|
+
* downloads the whole range as before — never losing the other device's data.
|
|
174
|
+
*/
|
|
175
|
+
declare function acknowledgeOwnSave(address: string, chainId: number, restoredThrough: number, uploadedWords: ReadonlyArray<bigint>, environment?: 'production' | 'staging'): Promise<boolean>;
|
|
113
176
|
/**
|
|
114
177
|
* Pure data fetcher for network-wide statistics.
|
|
115
178
|
*/
|
|
@@ -118,20 +181,24 @@ declare function loadNetworkInfos(chainId: number, environment?: 'production' |
|
|
|
118
181
|
declare const resetTransactionState: () => void;
|
|
119
182
|
declare const handleWriteOperationErrors: (wallet: WalletType, chainId: number, e: any) => void;
|
|
120
183
|
declare const writeOperations: {
|
|
121
|
-
|
|
122
|
-
|
|
184
|
+
retire: (wallet: WalletType, chainId: number, account: string, consent: {
|
|
185
|
+
expiry: number;
|
|
186
|
+
signature: string;
|
|
187
|
+
}, options?: TransactionOptions) => Promise<boolean>;
|
|
123
188
|
vote: (wallet: WalletType, chainId: number, account: string, projectId: number, lang: string, amount: number, options?: TransactionOptions) => Promise<boolean>;
|
|
124
189
|
save: (wallet: WalletType, chainId: number, account: string, compressedActions: Array<bigint>, textIndexes: Array<number>, textData: Array<string>, level: number, options?: TransactionOptions & {
|
|
125
190
|
skipCounterUpdate?: boolean;
|
|
191
|
+
consumedRows?: number;
|
|
192
|
+
savedThrough?: number;
|
|
126
193
|
}) => Promise<boolean>;
|
|
127
194
|
subscribe: (wallet: WalletType, chainId: number, account: string, subscriber: number, target: number) => Promise<boolean>;
|
|
128
195
|
unsubscribe: (wallet: WalletType, chainId: number, account: string, subscriber: number, target: number) => Promise<boolean>;
|
|
129
196
|
};
|
|
130
197
|
/**
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
134
|
-
*
|
|
198
|
+
* Upload (savedThrough, capturedThrough] from a stable snapshot of local rows.
|
|
199
|
+
* lastPatchIndex is a saved-through sequence, never a count of surviving rows.
|
|
200
|
+
* It remains compatible with existing unpruned histories (pk starts at one).
|
|
201
|
+
* Each committed chunk acknowledges its source boundary, not its compacted size.
|
|
135
202
|
*/
|
|
136
203
|
declare function saveMyLevel(wallet: WalletType, chainId: number, account: string, options?: TransactionOptions & {
|
|
137
204
|
skipCounterUpdate?: boolean;
|
|
@@ -163,15 +230,26 @@ declare function serializeCursor(cursor: SyncCursor): SerializedCursor;
|
|
|
163
230
|
declare function deserializeCursor(serialized: SerializedCursor): SyncCursor;
|
|
164
231
|
declare function emptyCursor(rootUserId: number): SyncCursor;
|
|
165
232
|
/**
|
|
166
|
-
*
|
|
167
|
-
* not
|
|
168
|
-
*
|
|
169
|
-
*
|
|
233
|
+
* Builds the storage key for a cursor. Must include environment and chainId,
|
|
234
|
+
* not just userId: the same userId can exist on both production and staging
|
|
235
|
+
* (or on multiple chains), and each has its own independent subscription
|
|
236
|
+
* graph / patch history. A bare-userId key would let one environment's
|
|
237
|
+
* cursor silently clobber or be reused by another, causing syncSince() to
|
|
238
|
+
* skip or miss patches. Mirrors the streamId format already used for patch
|
|
239
|
+
* attribution elsewhere (session/sync.ts, SubscriptionClient.ts).
|
|
240
|
+
*/
|
|
241
|
+
declare function cursorKey(environment: 'production' | 'staging', chainId: number, userId: number): string;
|
|
242
|
+
/**
|
|
243
|
+
* IndexedDB-backed cursor store keyed by a composite (environment, chainId,
|
|
244
|
+
* userId) string — a sibling of sessionStore, not a field on it (spec §15.8:
|
|
245
|
+
* SyncCursor is heavier than the counters already on Web3SessionAccount, and
|
|
246
|
+
* bloating that struct isn't worth it for 5 component files that reference it
|
|
247
|
+
* as a prop/ref type).
|
|
170
248
|
*/
|
|
171
249
|
declare const cursorStore: {
|
|
172
|
-
get(
|
|
173
|
-
set(
|
|
174
|
-
clear(
|
|
250
|
+
get(key: string): Promise<SyncCursor | undefined>;
|
|
251
|
+
set(key: string, cursor: SyncCursor): Promise<void>;
|
|
252
|
+
clear(key: string): Promise<void>;
|
|
175
253
|
};
|
|
176
254
|
|
|
177
255
|
interface SubscriptionClientConfig {
|
|
@@ -186,6 +264,7 @@ interface SubscriptionClientConfig {
|
|
|
186
264
|
* boundary and the patch source (on-chain BackupStorage, not Arweave) moved.
|
|
187
265
|
*/
|
|
188
266
|
declare class SubscriptionClient {
|
|
267
|
+
private readonly config;
|
|
189
268
|
private readonly client;
|
|
190
269
|
private readonly defaultMaxWalkNodes?;
|
|
191
270
|
private readonly defaultMaxDepth?;
|
|
@@ -195,10 +274,7 @@ declare class SubscriptionClient {
|
|
|
195
274
|
/** Full walk + fetch from scratch. */
|
|
196
275
|
sync(rootUserId: number, opts?: SyncOptions): Promise<SyncResult>;
|
|
197
276
|
/**
|
|
198
|
-
*
|
|
199
|
-
* getSubscriptionCount for every known node, deep re-walk only the nodes
|
|
200
|
-
* whose count changed (O4: completeness over cost), then fetch only new
|
|
201
|
-
* patches per node since the cursor.
|
|
277
|
+
* Refresh reachable adjacency; fetch only new patch positions for retained streams.
|
|
202
278
|
*/
|
|
203
279
|
syncSince(cursor: SyncCursor, opts?: SyncOptions): Promise<SyncResult>;
|
|
204
280
|
getSubscriptions(userId: number): Promise<number[]>;
|
|
@@ -217,6 +293,30 @@ declare const addressRegistryAbi: readonly [{
|
|
|
217
293
|
readonly inputs: readonly [];
|
|
218
294
|
readonly stateMutability: "nonpayable";
|
|
219
295
|
readonly type: "constructor";
|
|
296
|
+
}, {
|
|
297
|
+
readonly inputs: readonly [];
|
|
298
|
+
readonly name: "EmptyAddress";
|
|
299
|
+
readonly type: "error";
|
|
300
|
+
}, {
|
|
301
|
+
readonly inputs: readonly [];
|
|
302
|
+
readonly name: "EmptyHash";
|
|
303
|
+
readonly type: "error";
|
|
304
|
+
}, {
|
|
305
|
+
readonly inputs: readonly [];
|
|
306
|
+
readonly name: "EmptyString";
|
|
307
|
+
readonly type: "error";
|
|
308
|
+
}, {
|
|
309
|
+
readonly inputs: readonly [{
|
|
310
|
+
readonly internalType: "address";
|
|
311
|
+
readonly name: "caller";
|
|
312
|
+
readonly type: "address";
|
|
313
|
+
}];
|
|
314
|
+
readonly name: "Forbidden";
|
|
315
|
+
readonly type: "error";
|
|
316
|
+
}, {
|
|
317
|
+
readonly inputs: readonly [];
|
|
318
|
+
readonly name: "NotFound";
|
|
319
|
+
readonly type: "error";
|
|
220
320
|
}, {
|
|
221
321
|
readonly anonymous: false;
|
|
222
322
|
readonly inputs: readonly [{
|
|
@@ -579,104 +679,1791 @@ declare const pythAbi: readonly [{
|
|
|
579
679
|
readonly type: "function";
|
|
580
680
|
}];
|
|
581
681
|
|
|
582
|
-
declare
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
}
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
}
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
682
|
+
declare const dSafeHRStorageAbi: readonly [{
|
|
683
|
+
readonly inputs: readonly [];
|
|
684
|
+
readonly stateMutability: "nonpayable";
|
|
685
|
+
readonly type: "constructor";
|
|
686
|
+
}, {
|
|
687
|
+
readonly inputs: readonly [];
|
|
688
|
+
readonly name: "EmptyAddress";
|
|
689
|
+
readonly type: "error";
|
|
690
|
+
}, {
|
|
691
|
+
readonly inputs: readonly [{
|
|
692
|
+
readonly internalType: "address";
|
|
693
|
+
readonly name: "caller";
|
|
694
|
+
readonly type: "address";
|
|
695
|
+
}];
|
|
696
|
+
readonly name: "Forbidden";
|
|
697
|
+
readonly type: "error";
|
|
698
|
+
}, {
|
|
699
|
+
readonly inputs: readonly [];
|
|
700
|
+
readonly name: "ImportsFinalized";
|
|
701
|
+
readonly type: "error";
|
|
702
|
+
}, {
|
|
703
|
+
readonly inputs: readonly [{
|
|
704
|
+
readonly internalType: "uint64";
|
|
705
|
+
readonly name: "count";
|
|
706
|
+
readonly type: "uint64";
|
|
707
|
+
}];
|
|
708
|
+
readonly name: "InvalidBatchSize";
|
|
709
|
+
readonly type: "error";
|
|
710
|
+
}, {
|
|
711
|
+
readonly inputs: readonly [];
|
|
712
|
+
readonly name: "InvalidPublicLibraryId";
|
|
713
|
+
readonly type: "error";
|
|
714
|
+
}, {
|
|
715
|
+
readonly inputs: readonly [{
|
|
716
|
+
readonly internalType: "uint256";
|
|
717
|
+
readonly name: "libraryId";
|
|
718
|
+
readonly type: "uint256";
|
|
719
|
+
}];
|
|
720
|
+
readonly name: "LibraryIdOutOfRange";
|
|
721
|
+
readonly type: "error";
|
|
722
|
+
}, {
|
|
723
|
+
readonly inputs: readonly [{
|
|
724
|
+
readonly internalType: "uint256";
|
|
725
|
+
readonly name: "libraryId";
|
|
726
|
+
readonly type: "uint256";
|
|
727
|
+
}, {
|
|
728
|
+
readonly internalType: "address";
|
|
729
|
+
readonly name: "caller";
|
|
730
|
+
readonly type: "address";
|
|
731
|
+
}];
|
|
732
|
+
readonly name: "NotLibraryStaff";
|
|
733
|
+
readonly type: "error";
|
|
734
|
+
}, {
|
|
735
|
+
readonly inputs: readonly [{
|
|
736
|
+
readonly internalType: "uint256";
|
|
737
|
+
readonly name: "libraryId";
|
|
738
|
+
readonly type: "uint256";
|
|
739
|
+
}, {
|
|
740
|
+
readonly internalType: "address";
|
|
741
|
+
readonly name: "caller";
|
|
742
|
+
readonly type: "address";
|
|
743
|
+
}];
|
|
744
|
+
readonly name: "NotLockHolder";
|
|
745
|
+
readonly type: "error";
|
|
746
|
+
}, {
|
|
747
|
+
readonly inputs: readonly [{
|
|
748
|
+
readonly internalType: "address";
|
|
749
|
+
readonly name: "owner";
|
|
750
|
+
readonly type: "address";
|
|
751
|
+
}];
|
|
752
|
+
readonly name: "OwnableInvalidOwner";
|
|
753
|
+
readonly type: "error";
|
|
754
|
+
}, {
|
|
755
|
+
readonly inputs: readonly [{
|
|
756
|
+
readonly internalType: "address";
|
|
757
|
+
readonly name: "account";
|
|
758
|
+
readonly type: "address";
|
|
759
|
+
}];
|
|
760
|
+
readonly name: "OwnableUnauthorizedAccount";
|
|
761
|
+
readonly type: "error";
|
|
762
|
+
}, {
|
|
763
|
+
readonly inputs: readonly [{
|
|
764
|
+
readonly internalType: "uint256";
|
|
765
|
+
readonly name: "libraryId";
|
|
766
|
+
readonly type: "uint256";
|
|
767
|
+
}, {
|
|
768
|
+
readonly internalType: "address";
|
|
769
|
+
readonly name: "holder";
|
|
770
|
+
readonly type: "address";
|
|
771
|
+
}, {
|
|
772
|
+
readonly internalType: "uint256";
|
|
773
|
+
readonly name: "expiresAt";
|
|
774
|
+
readonly type: "uint256";
|
|
775
|
+
}];
|
|
776
|
+
readonly name: "PublishLockHeld";
|
|
777
|
+
readonly type: "error";
|
|
778
|
+
}, {
|
|
779
|
+
readonly inputs: readonly [{
|
|
780
|
+
readonly internalType: "uint256";
|
|
781
|
+
readonly name: "libraryId";
|
|
782
|
+
readonly type: "uint256";
|
|
783
|
+
}, {
|
|
784
|
+
readonly internalType: "address";
|
|
785
|
+
readonly name: "caller";
|
|
786
|
+
readonly type: "address";
|
|
787
|
+
}];
|
|
788
|
+
readonly name: "PublishNotLocked";
|
|
789
|
+
readonly type: "error";
|
|
790
|
+
}, {
|
|
791
|
+
readonly inputs: readonly [];
|
|
792
|
+
readonly name: "StorageFrozen";
|
|
793
|
+
readonly type: "error";
|
|
794
|
+
}, {
|
|
795
|
+
readonly anonymous: false;
|
|
796
|
+
readonly inputs: readonly [];
|
|
797
|
+
readonly name: "ImportsFinalized";
|
|
798
|
+
readonly type: "event";
|
|
799
|
+
}, {
|
|
800
|
+
readonly anonymous: false;
|
|
801
|
+
readonly inputs: readonly [{
|
|
802
|
+
readonly indexed: true;
|
|
803
|
+
readonly internalType: "address";
|
|
804
|
+
readonly name: "oldRegistry";
|
|
805
|
+
readonly type: "address";
|
|
806
|
+
}, {
|
|
807
|
+
readonly indexed: true;
|
|
808
|
+
readonly internalType: "address";
|
|
809
|
+
readonly name: "newRegistry";
|
|
810
|
+
readonly type: "address";
|
|
811
|
+
}];
|
|
812
|
+
readonly name: "LibraryRegistryUpdated";
|
|
813
|
+
readonly type: "event";
|
|
814
|
+
}, {
|
|
815
|
+
readonly anonymous: false;
|
|
816
|
+
readonly inputs: readonly [{
|
|
817
|
+
readonly indexed: true;
|
|
818
|
+
readonly internalType: "uint256";
|
|
819
|
+
readonly name: "libraryId";
|
|
820
|
+
readonly type: "uint256";
|
|
821
|
+
}, {
|
|
822
|
+
readonly indexed: true;
|
|
823
|
+
readonly internalType: "address";
|
|
824
|
+
readonly name: "staff";
|
|
825
|
+
readonly type: "address";
|
|
826
|
+
}, {
|
|
827
|
+
readonly indexed: false;
|
|
828
|
+
readonly internalType: "uint32";
|
|
829
|
+
readonly name: "seq";
|
|
830
|
+
readonly type: "uint32";
|
|
831
|
+
}];
|
|
832
|
+
readonly name: "LibrarySequenceBumped";
|
|
833
|
+
readonly type: "event";
|
|
834
|
+
}, {
|
|
835
|
+
readonly anonymous: false;
|
|
836
|
+
readonly inputs: readonly [{
|
|
837
|
+
readonly indexed: false;
|
|
838
|
+
readonly internalType: "bool";
|
|
839
|
+
readonly name: "frozen";
|
|
840
|
+
readonly type: "bool";
|
|
841
|
+
}];
|
|
842
|
+
readonly name: "MigrationFrozen";
|
|
843
|
+
readonly type: "event";
|
|
844
|
+
}, {
|
|
845
|
+
readonly anonymous: false;
|
|
846
|
+
readonly inputs: readonly [{
|
|
847
|
+
readonly indexed: true;
|
|
848
|
+
readonly internalType: "address";
|
|
849
|
+
readonly name: "previousOwner";
|
|
850
|
+
readonly type: "address";
|
|
851
|
+
}, {
|
|
852
|
+
readonly indexed: true;
|
|
853
|
+
readonly internalType: "address";
|
|
854
|
+
readonly name: "newOwner";
|
|
855
|
+
readonly type: "address";
|
|
856
|
+
}];
|
|
857
|
+
readonly name: "OwnershipTransferred";
|
|
858
|
+
readonly type: "event";
|
|
859
|
+
}, {
|
|
860
|
+
readonly anonymous: false;
|
|
861
|
+
readonly inputs: readonly [{
|
|
862
|
+
readonly indexed: true;
|
|
863
|
+
readonly internalType: "uint256";
|
|
864
|
+
readonly name: "libraryId";
|
|
865
|
+
readonly type: "uint256";
|
|
866
|
+
}, {
|
|
867
|
+
readonly indexed: true;
|
|
868
|
+
readonly internalType: "address";
|
|
869
|
+
readonly name: "staff";
|
|
870
|
+
readonly type: "address";
|
|
871
|
+
}, {
|
|
872
|
+
readonly indexed: false;
|
|
873
|
+
readonly internalType: "uint256";
|
|
874
|
+
readonly name: "acquiredAt";
|
|
875
|
+
readonly type: "uint256";
|
|
876
|
+
}];
|
|
877
|
+
readonly name: "PublishLockAcquired";
|
|
878
|
+
readonly type: "event";
|
|
879
|
+
}, {
|
|
880
|
+
readonly anonymous: false;
|
|
881
|
+
readonly inputs: readonly [{
|
|
882
|
+
readonly indexed: true;
|
|
883
|
+
readonly internalType: "uint256";
|
|
884
|
+
readonly name: "libraryId";
|
|
885
|
+
readonly type: "uint256";
|
|
886
|
+
}, {
|
|
887
|
+
readonly indexed: true;
|
|
888
|
+
readonly internalType: "address";
|
|
889
|
+
readonly name: "staff";
|
|
890
|
+
readonly type: "address";
|
|
891
|
+
}];
|
|
892
|
+
readonly name: "PublishLockReleased";
|
|
893
|
+
readonly type: "event";
|
|
894
|
+
}, {
|
|
895
|
+
readonly anonymous: false;
|
|
896
|
+
readonly inputs: readonly [{
|
|
897
|
+
readonly indexed: true;
|
|
898
|
+
readonly internalType: "uint256";
|
|
899
|
+
readonly name: "libraryId";
|
|
900
|
+
readonly type: "uint256";
|
|
901
|
+
}, {
|
|
902
|
+
readonly indexed: true;
|
|
903
|
+
readonly internalType: "uint8";
|
|
904
|
+
readonly name: "objectType";
|
|
905
|
+
readonly type: "uint8";
|
|
906
|
+
}, {
|
|
907
|
+
readonly indexed: true;
|
|
908
|
+
readonly internalType: "address";
|
|
909
|
+
readonly name: "staff";
|
|
910
|
+
readonly type: "address";
|
|
911
|
+
}, {
|
|
912
|
+
readonly indexed: false;
|
|
913
|
+
readonly internalType: "uint64";
|
|
914
|
+
readonly name: "startId";
|
|
915
|
+
readonly type: "uint64";
|
|
916
|
+
}, {
|
|
917
|
+
readonly indexed: false;
|
|
918
|
+
readonly internalType: "uint64";
|
|
919
|
+
readonly name: "count";
|
|
920
|
+
readonly type: "uint64";
|
|
921
|
+
}];
|
|
922
|
+
readonly name: "RecordIdsAllocated";
|
|
923
|
+
readonly type: "event";
|
|
924
|
+
}, {
|
|
925
|
+
readonly anonymous: false;
|
|
926
|
+
readonly inputs: readonly [{
|
|
927
|
+
readonly indexed: true;
|
|
928
|
+
readonly internalType: "uint256";
|
|
929
|
+
readonly name: "libraryId";
|
|
930
|
+
readonly type: "uint256";
|
|
931
|
+
}, {
|
|
932
|
+
readonly indexed: true;
|
|
933
|
+
readonly internalType: "address";
|
|
934
|
+
readonly name: "staff";
|
|
935
|
+
readonly type: "address";
|
|
936
|
+
}];
|
|
937
|
+
readonly name: "StaffAdded";
|
|
938
|
+
readonly type: "event";
|
|
939
|
+
}, {
|
|
940
|
+
readonly anonymous: false;
|
|
941
|
+
readonly inputs: readonly [{
|
|
942
|
+
readonly indexed: true;
|
|
943
|
+
readonly internalType: "uint256";
|
|
944
|
+
readonly name: "libraryId";
|
|
945
|
+
readonly type: "uint256";
|
|
946
|
+
}, {
|
|
947
|
+
readonly indexed: true;
|
|
948
|
+
readonly internalType: "address";
|
|
949
|
+
readonly name: "staff";
|
|
950
|
+
readonly type: "address";
|
|
951
|
+
}];
|
|
952
|
+
readonly name: "StaffRemoved";
|
|
953
|
+
readonly type: "event";
|
|
954
|
+
}, {
|
|
955
|
+
readonly inputs: readonly [];
|
|
956
|
+
readonly name: "MAX_BATCH_SIZE";
|
|
957
|
+
readonly outputs: readonly [{
|
|
958
|
+
readonly internalType: "uint64";
|
|
959
|
+
readonly name: "";
|
|
960
|
+
readonly type: "uint64";
|
|
961
|
+
}];
|
|
962
|
+
readonly stateMutability: "view";
|
|
963
|
+
readonly type: "function";
|
|
964
|
+
}, {
|
|
965
|
+
readonly inputs: readonly [];
|
|
966
|
+
readonly name: "MAX_LOCK_DURATION";
|
|
967
|
+
readonly outputs: readonly [{
|
|
968
|
+
readonly internalType: "uint64";
|
|
969
|
+
readonly name: "";
|
|
970
|
+
readonly type: "uint64";
|
|
971
|
+
}];
|
|
972
|
+
readonly stateMutability: "view";
|
|
973
|
+
readonly type: "function";
|
|
974
|
+
}, {
|
|
975
|
+
readonly inputs: readonly [];
|
|
976
|
+
readonly name: "VERSION";
|
|
977
|
+
readonly outputs: readonly [{
|
|
978
|
+
readonly internalType: "string";
|
|
979
|
+
readonly name: "";
|
|
980
|
+
readonly type: "string";
|
|
981
|
+
}];
|
|
982
|
+
readonly stateMutability: "view";
|
|
983
|
+
readonly type: "function";
|
|
984
|
+
}, {
|
|
985
|
+
readonly inputs: readonly [{
|
|
986
|
+
readonly internalType: "uint256";
|
|
987
|
+
readonly name: "libraryId";
|
|
988
|
+
readonly type: "uint256";
|
|
989
|
+
}];
|
|
990
|
+
readonly name: "acquirePublishLock";
|
|
991
|
+
readonly outputs: readonly [];
|
|
992
|
+
readonly stateMutability: "nonpayable";
|
|
993
|
+
readonly type: "function";
|
|
994
|
+
}, {
|
|
995
|
+
readonly inputs: readonly [{
|
|
996
|
+
readonly internalType: "uint256";
|
|
997
|
+
readonly name: "libraryId";
|
|
998
|
+
readonly type: "uint256";
|
|
999
|
+
}, {
|
|
1000
|
+
readonly internalType: "address";
|
|
1001
|
+
readonly name: "staff";
|
|
1002
|
+
readonly type: "address";
|
|
1003
|
+
}];
|
|
1004
|
+
readonly name: "addStaff";
|
|
1005
|
+
readonly outputs: readonly [];
|
|
1006
|
+
readonly stateMutability: "nonpayable";
|
|
1007
|
+
readonly type: "function";
|
|
1008
|
+
}, {
|
|
1009
|
+
readonly inputs: readonly [{
|
|
1010
|
+
readonly internalType: "uint256";
|
|
1011
|
+
readonly name: "libraryId";
|
|
1012
|
+
readonly type: "uint256";
|
|
1013
|
+
}, {
|
|
1014
|
+
readonly internalType: "address[]";
|
|
1015
|
+
readonly name: "staffMembers";
|
|
1016
|
+
readonly type: "address[]";
|
|
1017
|
+
}];
|
|
1018
|
+
readonly name: "addStaffBatch";
|
|
1019
|
+
readonly outputs: readonly [];
|
|
1020
|
+
readonly stateMutability: "nonpayable";
|
|
1021
|
+
readonly type: "function";
|
|
1022
|
+
}, {
|
|
1023
|
+
readonly inputs: readonly [{
|
|
1024
|
+
readonly internalType: "uint256";
|
|
1025
|
+
readonly name: "libraryId";
|
|
1026
|
+
readonly type: "uint256";
|
|
1027
|
+
}, {
|
|
1028
|
+
readonly internalType: "uint8";
|
|
1029
|
+
readonly name: "objectType";
|
|
1030
|
+
readonly type: "uint8";
|
|
1031
|
+
}, {
|
|
1032
|
+
readonly internalType: "uint64";
|
|
1033
|
+
readonly name: "count";
|
|
1034
|
+
readonly type: "uint64";
|
|
1035
|
+
}];
|
|
1036
|
+
readonly name: "allocateRecordIds";
|
|
1037
|
+
readonly outputs: readonly [{
|
|
1038
|
+
readonly internalType: "uint64";
|
|
1039
|
+
readonly name: "startId";
|
|
1040
|
+
readonly type: "uint64";
|
|
1041
|
+
}];
|
|
1042
|
+
readonly stateMutability: "nonpayable";
|
|
1043
|
+
readonly type: "function";
|
|
1044
|
+
}, {
|
|
1045
|
+
readonly inputs: readonly [];
|
|
1046
|
+
readonly name: "authorizedWriters";
|
|
1047
|
+
readonly outputs: readonly [{
|
|
1048
|
+
readonly internalType: "address[]";
|
|
1049
|
+
readonly name: "";
|
|
1050
|
+
readonly type: "address[]";
|
|
1051
|
+
}];
|
|
1052
|
+
readonly stateMutability: "view";
|
|
1053
|
+
readonly type: "function";
|
|
1054
|
+
}, {
|
|
1055
|
+
readonly inputs: readonly [{
|
|
1056
|
+
readonly internalType: "uint256";
|
|
1057
|
+
readonly name: "libraryId";
|
|
1058
|
+
readonly type: "uint256";
|
|
1059
|
+
}];
|
|
1060
|
+
readonly name: "bumpLibrarySequence";
|
|
1061
|
+
readonly outputs: readonly [{
|
|
1062
|
+
readonly internalType: "uint32";
|
|
1063
|
+
readonly name: "seq";
|
|
1064
|
+
readonly type: "uint32";
|
|
1065
|
+
}];
|
|
1066
|
+
readonly stateMutability: "nonpayable";
|
|
1067
|
+
readonly type: "function";
|
|
1068
|
+
}, {
|
|
1069
|
+
readonly inputs: readonly [{
|
|
1070
|
+
readonly internalType: "uint256";
|
|
1071
|
+
readonly name: "offset";
|
|
1072
|
+
readonly type: "uint256";
|
|
1073
|
+
}, {
|
|
1074
|
+
readonly internalType: "uint256";
|
|
1075
|
+
readonly name: "limit";
|
|
1076
|
+
readonly type: "uint256";
|
|
1077
|
+
}];
|
|
1078
|
+
readonly name: "exportLibraries";
|
|
1079
|
+
readonly outputs: readonly [{
|
|
1080
|
+
readonly internalType: "uint256[]";
|
|
1081
|
+
readonly name: "libraryIds";
|
|
1082
|
+
readonly type: "uint256[]";
|
|
1083
|
+
}, {
|
|
1084
|
+
readonly internalType: "uint32[]";
|
|
1085
|
+
readonly name: "sequences";
|
|
1086
|
+
readonly type: "uint32[]";
|
|
1087
|
+
}, {
|
|
1088
|
+
readonly internalType: "uint256";
|
|
1089
|
+
readonly name: "total";
|
|
1090
|
+
readonly type: "uint256";
|
|
1091
|
+
}];
|
|
1092
|
+
readonly stateMutability: "view";
|
|
1093
|
+
readonly type: "function";
|
|
1094
|
+
}, {
|
|
1095
|
+
readonly inputs: readonly [{
|
|
1096
|
+
readonly internalType: "uint256";
|
|
1097
|
+
readonly name: "libraryId";
|
|
1098
|
+
readonly type: "uint256";
|
|
1099
|
+
}];
|
|
1100
|
+
readonly name: "exportRecordCounters";
|
|
1101
|
+
readonly outputs: readonly [{
|
|
1102
|
+
readonly internalType: "uint64[256]";
|
|
1103
|
+
readonly name: "counters";
|
|
1104
|
+
readonly type: "uint64[256]";
|
|
1105
|
+
}];
|
|
1106
|
+
readonly stateMutability: "view";
|
|
1107
|
+
readonly type: "function";
|
|
1108
|
+
}, {
|
|
1109
|
+
readonly inputs: readonly [{
|
|
1110
|
+
readonly internalType: "uint256";
|
|
1111
|
+
readonly name: "libraryId";
|
|
1112
|
+
readonly type: "uint256";
|
|
1113
|
+
}, {
|
|
1114
|
+
readonly internalType: "uint256";
|
|
1115
|
+
readonly name: "offset";
|
|
1116
|
+
readonly type: "uint256";
|
|
1117
|
+
}, {
|
|
1118
|
+
readonly internalType: "uint256";
|
|
1119
|
+
readonly name: "limit";
|
|
1120
|
+
readonly type: "uint256";
|
|
1121
|
+
}];
|
|
1122
|
+
readonly name: "exportStaff";
|
|
1123
|
+
readonly outputs: readonly [{
|
|
1124
|
+
readonly internalType: "address[]";
|
|
1125
|
+
readonly name: "staff";
|
|
1126
|
+
readonly type: "address[]";
|
|
1127
|
+
}, {
|
|
1128
|
+
readonly internalType: "uint256";
|
|
1129
|
+
readonly name: "total";
|
|
1130
|
+
readonly type: "uint256";
|
|
1131
|
+
}];
|
|
1132
|
+
readonly stateMutability: "view";
|
|
1133
|
+
readonly type: "function";
|
|
1134
|
+
}, {
|
|
1135
|
+
readonly inputs: readonly [];
|
|
1136
|
+
readonly name: "finalizeImports";
|
|
1137
|
+
readonly outputs: readonly [];
|
|
1138
|
+
readonly stateMutability: "nonpayable";
|
|
1139
|
+
readonly type: "function";
|
|
1140
|
+
}, {
|
|
1141
|
+
readonly inputs: readonly [];
|
|
1142
|
+
readonly name: "freezeForMigration";
|
|
1143
|
+
readonly outputs: readonly [];
|
|
1144
|
+
readonly stateMutability: "nonpayable";
|
|
1145
|
+
readonly type: "function";
|
|
1146
|
+
}, {
|
|
1147
|
+
readonly inputs: readonly [{
|
|
1148
|
+
readonly internalType: "uint256";
|
|
1149
|
+
readonly name: "libraryId";
|
|
1150
|
+
readonly type: "uint256";
|
|
1151
|
+
}, {
|
|
1152
|
+
readonly internalType: "uint8";
|
|
1153
|
+
readonly name: "objectType";
|
|
1154
|
+
readonly type: "uint8";
|
|
1155
|
+
}];
|
|
1156
|
+
readonly name: "getCurrentRecordCounter";
|
|
1157
|
+
readonly outputs: readonly [{
|
|
1158
|
+
readonly internalType: "uint64";
|
|
1159
|
+
readonly name: "";
|
|
1160
|
+
readonly type: "uint64";
|
|
1161
|
+
}];
|
|
1162
|
+
readonly stateMutability: "view";
|
|
1163
|
+
readonly type: "function";
|
|
1164
|
+
}, {
|
|
1165
|
+
readonly inputs: readonly [{
|
|
1166
|
+
readonly internalType: "uint256";
|
|
1167
|
+
readonly name: "libraryId";
|
|
1168
|
+
readonly type: "uint256";
|
|
1169
|
+
}];
|
|
1170
|
+
readonly name: "getLibrarySequence";
|
|
1171
|
+
readonly outputs: readonly [{
|
|
1172
|
+
readonly internalType: "uint32";
|
|
1173
|
+
readonly name: "";
|
|
1174
|
+
readonly type: "uint32";
|
|
1175
|
+
}];
|
|
1176
|
+
readonly stateMutability: "view";
|
|
1177
|
+
readonly type: "function";
|
|
1178
|
+
}, {
|
|
1179
|
+
readonly inputs: readonly [{
|
|
1180
|
+
readonly internalType: "uint256";
|
|
1181
|
+
readonly name: "libraryId";
|
|
1182
|
+
readonly type: "uint256";
|
|
1183
|
+
}];
|
|
1184
|
+
readonly name: "getPublishLock";
|
|
1185
|
+
readonly outputs: readonly [{
|
|
1186
|
+
readonly internalType: "address";
|
|
1187
|
+
readonly name: "holder";
|
|
1188
|
+
readonly type: "address";
|
|
1189
|
+
}, {
|
|
1190
|
+
readonly internalType: "uint64";
|
|
1191
|
+
readonly name: "acquiredAt";
|
|
1192
|
+
readonly type: "uint64";
|
|
1193
|
+
}, {
|
|
1194
|
+
readonly internalType: "bool";
|
|
1195
|
+
readonly name: "active";
|
|
1196
|
+
readonly type: "bool";
|
|
1197
|
+
}];
|
|
1198
|
+
readonly stateMutability: "view";
|
|
1199
|
+
readonly type: "function";
|
|
1200
|
+
}, {
|
|
1201
|
+
readonly inputs: readonly [{
|
|
1202
|
+
readonly internalType: "address";
|
|
1203
|
+
readonly name: "staff";
|
|
1204
|
+
readonly type: "address";
|
|
1205
|
+
}];
|
|
1206
|
+
readonly name: "getStaffLibraries";
|
|
1207
|
+
readonly outputs: readonly [{
|
|
1208
|
+
readonly internalType: "uint256[]";
|
|
1209
|
+
readonly name: "";
|
|
1210
|
+
readonly type: "uint256[]";
|
|
1211
|
+
}];
|
|
1212
|
+
readonly stateMutability: "view";
|
|
1213
|
+
readonly type: "function";
|
|
1214
|
+
}, {
|
|
1215
|
+
readonly inputs: readonly [{
|
|
1216
|
+
readonly internalType: "uint256";
|
|
1217
|
+
readonly name: "libraryId";
|
|
1218
|
+
readonly type: "uint256";
|
|
1219
|
+
}, {
|
|
1220
|
+
readonly internalType: "uint32";
|
|
1221
|
+
readonly name: "sequence";
|
|
1222
|
+
readonly type: "uint32";
|
|
1223
|
+
}, {
|
|
1224
|
+
readonly internalType: "uint64[256]";
|
|
1225
|
+
readonly name: "counters";
|
|
1226
|
+
readonly type: "uint64[256]";
|
|
1227
|
+
}];
|
|
1228
|
+
readonly name: "importLibraryState";
|
|
1229
|
+
readonly outputs: readonly [];
|
|
1230
|
+
readonly stateMutability: "nonpayable";
|
|
1231
|
+
readonly type: "function";
|
|
1232
|
+
}, {
|
|
1233
|
+
readonly inputs: readonly [{
|
|
1234
|
+
readonly internalType: "uint256";
|
|
1235
|
+
readonly name: "libraryId";
|
|
1236
|
+
readonly type: "uint256";
|
|
1237
|
+
}, {
|
|
1238
|
+
readonly internalType: "address[]";
|
|
1239
|
+
readonly name: "staff";
|
|
1240
|
+
readonly type: "address[]";
|
|
1241
|
+
}];
|
|
1242
|
+
readonly name: "importStaff";
|
|
1243
|
+
readonly outputs: readonly [];
|
|
1244
|
+
readonly stateMutability: "nonpayable";
|
|
1245
|
+
readonly type: "function";
|
|
1246
|
+
}, {
|
|
1247
|
+
readonly inputs: readonly [];
|
|
1248
|
+
readonly name: "importsFinalized";
|
|
1249
|
+
readonly outputs: readonly [{
|
|
1250
|
+
readonly internalType: "bool";
|
|
1251
|
+
readonly name: "";
|
|
1252
|
+
readonly type: "bool";
|
|
1253
|
+
}];
|
|
1254
|
+
readonly stateMutability: "view";
|
|
1255
|
+
readonly type: "function";
|
|
1256
|
+
}, {
|
|
1257
|
+
readonly inputs: readonly [{
|
|
1258
|
+
readonly internalType: "uint256";
|
|
1259
|
+
readonly name: "libraryId";
|
|
1260
|
+
readonly type: "uint256";
|
|
1261
|
+
}, {
|
|
1262
|
+
readonly internalType: "address";
|
|
1263
|
+
readonly name: "caller";
|
|
1264
|
+
readonly type: "address";
|
|
1265
|
+
}];
|
|
1266
|
+
readonly name: "isStaffOf";
|
|
1267
|
+
readonly outputs: readonly [{
|
|
1268
|
+
readonly internalType: "bool";
|
|
1269
|
+
readonly name: "";
|
|
1270
|
+
readonly type: "bool";
|
|
1271
|
+
}];
|
|
1272
|
+
readonly stateMutability: "view";
|
|
1273
|
+
readonly type: "function";
|
|
1274
|
+
}, {
|
|
1275
|
+
readonly inputs: readonly [];
|
|
1276
|
+
readonly name: "libraryRegistry";
|
|
1277
|
+
readonly outputs: readonly [{
|
|
1278
|
+
readonly internalType: "contract IPublicLibraryStorage";
|
|
1279
|
+
readonly name: "";
|
|
1280
|
+
readonly type: "address";
|
|
1281
|
+
}];
|
|
1282
|
+
readonly stateMutability: "view";
|
|
1283
|
+
readonly type: "function";
|
|
1284
|
+
}, {
|
|
1285
|
+
readonly inputs: readonly [];
|
|
1286
|
+
readonly name: "migrationFrozen";
|
|
1287
|
+
readonly outputs: readonly [{
|
|
1288
|
+
readonly internalType: "bool";
|
|
1289
|
+
readonly name: "";
|
|
1290
|
+
readonly type: "bool";
|
|
1291
|
+
}];
|
|
1292
|
+
readonly stateMutability: "view";
|
|
1293
|
+
readonly type: "function";
|
|
1294
|
+
}, {
|
|
1295
|
+
readonly inputs: readonly [];
|
|
1296
|
+
readonly name: "nbLibraries";
|
|
1297
|
+
readonly outputs: readonly [{
|
|
1298
|
+
readonly internalType: "uint256";
|
|
1299
|
+
readonly name: "";
|
|
1300
|
+
readonly type: "uint256";
|
|
1301
|
+
}];
|
|
1302
|
+
readonly stateMutability: "view";
|
|
1303
|
+
readonly type: "function";
|
|
1304
|
+
}, {
|
|
1305
|
+
readonly inputs: readonly [{
|
|
1306
|
+
readonly internalType: "uint256";
|
|
1307
|
+
readonly name: "libraryId";
|
|
1308
|
+
readonly type: "uint256";
|
|
1309
|
+
}];
|
|
1310
|
+
readonly name: "nbStaff";
|
|
1311
|
+
readonly outputs: readonly [{
|
|
1312
|
+
readonly internalType: "uint256";
|
|
1313
|
+
readonly name: "";
|
|
1314
|
+
readonly type: "uint256";
|
|
1315
|
+
}];
|
|
1316
|
+
readonly stateMutability: "view";
|
|
1317
|
+
readonly type: "function";
|
|
1318
|
+
}, {
|
|
1319
|
+
readonly inputs: readonly [];
|
|
1320
|
+
readonly name: "owner";
|
|
1321
|
+
readonly outputs: readonly [{
|
|
1322
|
+
readonly internalType: "address";
|
|
1323
|
+
readonly name: "";
|
|
1324
|
+
readonly type: "address";
|
|
1325
|
+
}];
|
|
1326
|
+
readonly stateMutability: "view";
|
|
1327
|
+
readonly type: "function";
|
|
1328
|
+
}, {
|
|
1329
|
+
readonly inputs: readonly [{
|
|
1330
|
+
readonly internalType: "uint256";
|
|
1331
|
+
readonly name: "libraryId";
|
|
1332
|
+
readonly type: "uint256";
|
|
1333
|
+
}];
|
|
1334
|
+
readonly name: "releasePublishLock";
|
|
1335
|
+
readonly outputs: readonly [];
|
|
1336
|
+
readonly stateMutability: "nonpayable";
|
|
1337
|
+
readonly type: "function";
|
|
1338
|
+
}, {
|
|
1339
|
+
readonly inputs: readonly [{
|
|
1340
|
+
readonly internalType: "uint256";
|
|
1341
|
+
readonly name: "libraryId";
|
|
1342
|
+
readonly type: "uint256";
|
|
1343
|
+
}, {
|
|
1344
|
+
readonly internalType: "address";
|
|
1345
|
+
readonly name: "staff";
|
|
1346
|
+
readonly type: "address";
|
|
1347
|
+
}];
|
|
1348
|
+
readonly name: "removeStaff";
|
|
1349
|
+
readonly outputs: readonly [];
|
|
1350
|
+
readonly stateMutability: "nonpayable";
|
|
1351
|
+
readonly type: "function";
|
|
1352
|
+
}, {
|
|
1353
|
+
readonly inputs: readonly [{
|
|
1354
|
+
readonly internalType: "uint256";
|
|
1355
|
+
readonly name: "libraryId";
|
|
1356
|
+
readonly type: "uint256";
|
|
1357
|
+
}, {
|
|
1358
|
+
readonly internalType: "address[]";
|
|
1359
|
+
readonly name: "staffMembers";
|
|
1360
|
+
readonly type: "address[]";
|
|
1361
|
+
}];
|
|
1362
|
+
readonly name: "removeStaffBatch";
|
|
1363
|
+
readonly outputs: readonly [];
|
|
1364
|
+
readonly stateMutability: "nonpayable";
|
|
1365
|
+
readonly type: "function";
|
|
1366
|
+
}, {
|
|
1367
|
+
readonly inputs: readonly [];
|
|
1368
|
+
readonly name: "renounceOwnership";
|
|
1369
|
+
readonly outputs: readonly [];
|
|
1370
|
+
readonly stateMutability: "nonpayable";
|
|
1371
|
+
readonly type: "function";
|
|
1372
|
+
}, {
|
|
1373
|
+
readonly inputs: readonly [{
|
|
1374
|
+
readonly internalType: "address";
|
|
1375
|
+
readonly name: "storageAddr";
|
|
1376
|
+
readonly type: "address";
|
|
1377
|
+
}];
|
|
1378
|
+
readonly name: "setLibraryRegistry";
|
|
1379
|
+
readonly outputs: readonly [];
|
|
1380
|
+
readonly stateMutability: "nonpayable";
|
|
1381
|
+
readonly type: "function";
|
|
1382
|
+
}, {
|
|
1383
|
+
readonly inputs: readonly [{
|
|
1384
|
+
readonly internalType: "bytes4";
|
|
1385
|
+
readonly name: "interfaceId";
|
|
1386
|
+
readonly type: "bytes4";
|
|
1387
|
+
}];
|
|
1388
|
+
readonly name: "supportsInterface";
|
|
1389
|
+
readonly outputs: readonly [{
|
|
1390
|
+
readonly internalType: "bool";
|
|
1391
|
+
readonly name: "";
|
|
1392
|
+
readonly type: "bool";
|
|
1393
|
+
}];
|
|
1394
|
+
readonly stateMutability: "view";
|
|
1395
|
+
readonly type: "function";
|
|
1396
|
+
}, {
|
|
1397
|
+
readonly inputs: readonly [{
|
|
1398
|
+
readonly internalType: "address";
|
|
1399
|
+
readonly name: "newOwner";
|
|
1400
|
+
readonly type: "address";
|
|
1401
|
+
}];
|
|
1402
|
+
readonly name: "transferOwnership";
|
|
1403
|
+
readonly outputs: readonly [];
|
|
1404
|
+
readonly stateMutability: "nonpayable";
|
|
1405
|
+
readonly type: "function";
|
|
1406
|
+
}, {
|
|
1407
|
+
readonly inputs: readonly [];
|
|
1408
|
+
readonly name: "unfreezeForMigration";
|
|
1409
|
+
readonly outputs: readonly [];
|
|
1410
|
+
readonly stateMutability: "nonpayable";
|
|
1411
|
+
readonly type: "function";
|
|
1412
|
+
}, {
|
|
1413
|
+
readonly inputs: readonly [{
|
|
1414
|
+
readonly internalType: "address";
|
|
1415
|
+
readonly name: "staff";
|
|
1416
|
+
readonly type: "address";
|
|
1417
|
+
}];
|
|
1418
|
+
readonly name: "verifyMember";
|
|
1419
|
+
readonly outputs: readonly [{
|
|
1420
|
+
readonly internalType: "bool";
|
|
1421
|
+
readonly name: "";
|
|
1422
|
+
readonly type: "bool";
|
|
1423
|
+
}];
|
|
1424
|
+
readonly stateMutability: "view";
|
|
1425
|
+
readonly type: "function";
|
|
1426
|
+
}];
|
|
1427
|
+
|
|
1428
|
+
declare const relationshipIndexerStorageAbi: readonly [{
|
|
1429
|
+
readonly inputs: readonly [];
|
|
1430
|
+
readonly stateMutability: "nonpayable";
|
|
1431
|
+
readonly type: "constructor";
|
|
1432
|
+
}, {
|
|
1433
|
+
readonly inputs: readonly [];
|
|
1434
|
+
readonly name: "EmptyAddress";
|
|
1435
|
+
readonly type: "error";
|
|
1436
|
+
}, {
|
|
1437
|
+
readonly inputs: readonly [{
|
|
1438
|
+
readonly internalType: "address";
|
|
1439
|
+
readonly name: "caller";
|
|
1440
|
+
readonly type: "address";
|
|
1441
|
+
}];
|
|
1442
|
+
readonly name: "Forbidden";
|
|
1443
|
+
readonly type: "error";
|
|
1444
|
+
}, {
|
|
1445
|
+
readonly inputs: readonly [];
|
|
1446
|
+
readonly name: "ImportsFinalized";
|
|
1447
|
+
readonly type: "error";
|
|
1448
|
+
}, {
|
|
1449
|
+
readonly inputs: readonly [];
|
|
1450
|
+
readonly name: "InvalidActionId";
|
|
1451
|
+
readonly type: "error";
|
|
1452
|
+
}, {
|
|
1453
|
+
readonly inputs: readonly [];
|
|
1454
|
+
readonly name: "InvalidTargetMode";
|
|
1455
|
+
readonly type: "error";
|
|
1456
|
+
}, {
|
|
1457
|
+
readonly inputs: readonly [];
|
|
1458
|
+
readonly name: "LengthMismatch";
|
|
1459
|
+
readonly type: "error";
|
|
1460
|
+
}, {
|
|
1461
|
+
readonly inputs: readonly [];
|
|
1462
|
+
readonly name: "StorageFrozen";
|
|
1463
|
+
readonly type: "error";
|
|
1464
|
+
}, {
|
|
1465
|
+
readonly anonymous: false;
|
|
1466
|
+
readonly inputs: readonly [{
|
|
1467
|
+
readonly indexed: true;
|
|
1468
|
+
readonly internalType: "uint8";
|
|
1469
|
+
readonly name: "actionId";
|
|
1470
|
+
readonly type: "uint8";
|
|
1471
|
+
}, {
|
|
1472
|
+
readonly indexed: false;
|
|
1473
|
+
readonly internalType: "uint8";
|
|
1474
|
+
readonly name: "objectType";
|
|
1475
|
+
readonly type: "uint8";
|
|
1476
|
+
}, {
|
|
1477
|
+
readonly indexed: false;
|
|
1478
|
+
readonly internalType: "uint8";
|
|
1479
|
+
readonly name: "propertyOrRelationId";
|
|
1480
|
+
readonly type: "uint8";
|
|
1481
|
+
}, {
|
|
1482
|
+
readonly indexed: false;
|
|
1483
|
+
readonly internalType: "bool";
|
|
1484
|
+
readonly name: "isRelation";
|
|
1485
|
+
readonly type: "bool";
|
|
1486
|
+
}, {
|
|
1487
|
+
readonly indexed: false;
|
|
1488
|
+
readonly internalType: "uint8";
|
|
1489
|
+
readonly name: "targetMode";
|
|
1490
|
+
readonly type: "uint8";
|
|
1491
|
+
}];
|
|
1492
|
+
readonly name: "ActionConfigSet";
|
|
1493
|
+
readonly type: "event";
|
|
1494
|
+
}, {
|
|
1495
|
+
readonly anonymous: false;
|
|
1496
|
+
readonly inputs: readonly [{
|
|
1497
|
+
readonly indexed: true;
|
|
1498
|
+
readonly internalType: "address";
|
|
1499
|
+
readonly name: "caller";
|
|
1500
|
+
readonly type: "address";
|
|
1501
|
+
}];
|
|
1502
|
+
readonly name: "AuthorizedAdded";
|
|
1503
|
+
readonly type: "event";
|
|
1504
|
+
}, {
|
|
1505
|
+
readonly anonymous: false;
|
|
1506
|
+
readonly inputs: readonly [{
|
|
1507
|
+
readonly indexed: true;
|
|
1508
|
+
readonly internalType: "address";
|
|
1509
|
+
readonly name: "caller";
|
|
1510
|
+
readonly type: "address";
|
|
1511
|
+
}];
|
|
1512
|
+
readonly name: "AuthorizedRemoved";
|
|
1513
|
+
readonly type: "event";
|
|
1514
|
+
}, {
|
|
1515
|
+
readonly anonymous: false;
|
|
1516
|
+
readonly inputs: readonly [];
|
|
1517
|
+
readonly name: "ImportsFinalized";
|
|
1518
|
+
readonly type: "event";
|
|
1519
|
+
}, {
|
|
1520
|
+
readonly anonymous: false;
|
|
1521
|
+
readonly inputs: readonly [{
|
|
1522
|
+
readonly indexed: false;
|
|
1523
|
+
readonly internalType: "bool";
|
|
1524
|
+
readonly name: "frozen";
|
|
1525
|
+
readonly type: "bool";
|
|
1526
|
+
}];
|
|
1527
|
+
readonly name: "MigrationFrozen";
|
|
1528
|
+
readonly type: "event";
|
|
1529
|
+
}, {
|
|
1530
|
+
readonly inputs: readonly [];
|
|
1531
|
+
readonly name: "VERSION";
|
|
1532
|
+
readonly outputs: readonly [{
|
|
1533
|
+
readonly internalType: "string";
|
|
1534
|
+
readonly name: "";
|
|
1535
|
+
readonly type: "string";
|
|
1536
|
+
}];
|
|
1537
|
+
readonly stateMutability: "view";
|
|
1538
|
+
readonly type: "function";
|
|
1539
|
+
}, {
|
|
1540
|
+
readonly inputs: readonly [{
|
|
1541
|
+
readonly internalType: "address";
|
|
1542
|
+
readonly name: "";
|
|
1543
|
+
readonly type: "address";
|
|
1544
|
+
}];
|
|
1545
|
+
readonly name: "_isAuthorized";
|
|
1546
|
+
readonly outputs: readonly [{
|
|
1547
|
+
readonly internalType: "bool";
|
|
1548
|
+
readonly name: "";
|
|
1549
|
+
readonly type: "bool";
|
|
1550
|
+
}];
|
|
1551
|
+
readonly stateMutability: "view";
|
|
1552
|
+
readonly type: "function";
|
|
1553
|
+
}, {
|
|
1554
|
+
readonly inputs: readonly [{
|
|
1555
|
+
readonly internalType: "address";
|
|
1556
|
+
readonly name: "caller";
|
|
1557
|
+
readonly type: "address";
|
|
1558
|
+
}];
|
|
1559
|
+
readonly name: "addAuthorized";
|
|
1560
|
+
readonly outputs: readonly [];
|
|
1561
|
+
readonly stateMutability: "nonpayable";
|
|
1562
|
+
readonly type: "function";
|
|
1563
|
+
}, {
|
|
1564
|
+
readonly inputs: readonly [];
|
|
1565
|
+
readonly name: "admin";
|
|
1566
|
+
readonly outputs: readonly [{
|
|
1567
|
+
readonly internalType: "address";
|
|
1568
|
+
readonly name: "";
|
|
1569
|
+
readonly type: "address";
|
|
1570
|
+
}];
|
|
1571
|
+
readonly stateMutability: "view";
|
|
1572
|
+
readonly type: "function";
|
|
1573
|
+
}, {
|
|
1574
|
+
readonly inputs: readonly [];
|
|
1575
|
+
readonly name: "authorizedWriters";
|
|
1576
|
+
readonly outputs: readonly [{
|
|
1577
|
+
readonly internalType: "address[]";
|
|
1578
|
+
readonly name: "";
|
|
1579
|
+
readonly type: "address[]";
|
|
1580
|
+
}];
|
|
1581
|
+
readonly stateMutability: "view";
|
|
1582
|
+
readonly type: "function";
|
|
1583
|
+
}, {
|
|
1584
|
+
readonly inputs: readonly [{
|
|
1585
|
+
readonly internalType: "uint32";
|
|
1586
|
+
readonly name: "actorId";
|
|
1587
|
+
readonly type: "uint32";
|
|
1588
|
+
}];
|
|
1589
|
+
readonly name: "countByActor";
|
|
1590
|
+
readonly outputs: readonly [{
|
|
1591
|
+
readonly internalType: "uint256";
|
|
1592
|
+
readonly name: "";
|
|
1593
|
+
readonly type: "uint256";
|
|
1594
|
+
}];
|
|
1595
|
+
readonly stateMutability: "view";
|
|
1596
|
+
readonly type: "function";
|
|
1597
|
+
}, {
|
|
1598
|
+
readonly inputs: readonly [{
|
|
1599
|
+
readonly internalType: "bytes32";
|
|
1600
|
+
readonly name: "targetKey";
|
|
1601
|
+
readonly type: "bytes32";
|
|
1602
|
+
}];
|
|
1603
|
+
readonly name: "countByTarget";
|
|
1604
|
+
readonly outputs: readonly [{
|
|
1605
|
+
readonly internalType: "uint256";
|
|
1606
|
+
readonly name: "";
|
|
1607
|
+
readonly type: "uint256";
|
|
1608
|
+
}];
|
|
1609
|
+
readonly stateMutability: "view";
|
|
1610
|
+
readonly type: "function";
|
|
1611
|
+
}, {
|
|
1612
|
+
readonly inputs: readonly [{
|
|
1613
|
+
readonly internalType: "uint32";
|
|
1614
|
+
readonly name: "targetUserId";
|
|
1615
|
+
readonly type: "uint32";
|
|
1616
|
+
}, {
|
|
1617
|
+
readonly internalType: "uint32";
|
|
1618
|
+
readonly name: "since";
|
|
1619
|
+
readonly type: "uint32";
|
|
1620
|
+
}];
|
|
1621
|
+
readonly name: "countNewSubscriptionsSince";
|
|
1622
|
+
readonly outputs: readonly [{
|
|
1623
|
+
readonly internalType: "uint256";
|
|
1624
|
+
readonly name: "";
|
|
1625
|
+
readonly type: "uint256";
|
|
1626
|
+
}];
|
|
1627
|
+
readonly stateMutability: "view";
|
|
1628
|
+
readonly type: "function";
|
|
1629
|
+
}, {
|
|
1630
|
+
readonly inputs: readonly [];
|
|
1631
|
+
readonly name: "exportActionConfigs";
|
|
1632
|
+
readonly outputs: readonly [{
|
|
1633
|
+
readonly internalType: "uint8[]";
|
|
1634
|
+
readonly name: "ids";
|
|
1635
|
+
readonly type: "uint8[]";
|
|
1636
|
+
}, {
|
|
1637
|
+
readonly components: readonly [{
|
|
1638
|
+
readonly internalType: "uint8";
|
|
1639
|
+
readonly name: "objectType";
|
|
1640
|
+
readonly type: "uint8";
|
|
1641
|
+
}, {
|
|
1642
|
+
readonly internalType: "uint8";
|
|
1643
|
+
readonly name: "propertyOrRelationId";
|
|
1644
|
+
readonly type: "uint8";
|
|
1645
|
+
}, {
|
|
1646
|
+
readonly internalType: "bool";
|
|
1647
|
+
readonly name: "isRelation";
|
|
1648
|
+
readonly type: "bool";
|
|
1649
|
+
}, {
|
|
1650
|
+
readonly internalType: "uint8";
|
|
1651
|
+
readonly name: "targetMode";
|
|
1652
|
+
readonly type: "uint8";
|
|
1653
|
+
}];
|
|
1654
|
+
readonly internalType: "struct IRelationshipIndexerStorage.ActionConfig[]";
|
|
1655
|
+
readonly name: "configs";
|
|
1656
|
+
readonly type: "tuple[]";
|
|
1657
|
+
}];
|
|
1658
|
+
readonly stateMutability: "view";
|
|
1659
|
+
readonly type: "function";
|
|
1660
|
+
}, {
|
|
1661
|
+
readonly inputs: readonly [{
|
|
1662
|
+
readonly internalType: "uint256";
|
|
1663
|
+
readonly name: "offset";
|
|
1664
|
+
readonly type: "uint256";
|
|
1665
|
+
}, {
|
|
1666
|
+
readonly internalType: "uint256";
|
|
1667
|
+
readonly name: "limit";
|
|
1668
|
+
readonly type: "uint256";
|
|
1669
|
+
}];
|
|
1670
|
+
readonly name: "exportActors";
|
|
1671
|
+
readonly outputs: readonly [{
|
|
1672
|
+
readonly internalType: "uint256[]";
|
|
1673
|
+
readonly name: "actorIds";
|
|
1674
|
+
readonly type: "uint256[]";
|
|
1675
|
+
}, {
|
|
1676
|
+
readonly internalType: "uint256";
|
|
1677
|
+
readonly name: "total";
|
|
1678
|
+
readonly type: "uint256";
|
|
1679
|
+
}];
|
|
1680
|
+
readonly stateMutability: "view";
|
|
1681
|
+
readonly type: "function";
|
|
1682
|
+
}, {
|
|
1683
|
+
readonly inputs: readonly [{
|
|
1684
|
+
readonly internalType: "uint256";
|
|
1685
|
+
readonly name: "offset";
|
|
1686
|
+
readonly type: "uint256";
|
|
1687
|
+
}, {
|
|
1688
|
+
readonly internalType: "uint256";
|
|
1689
|
+
readonly name: "limit";
|
|
1690
|
+
readonly type: "uint256";
|
|
1691
|
+
}];
|
|
1692
|
+
readonly name: "exportAuthors";
|
|
1693
|
+
readonly outputs: readonly [{
|
|
1694
|
+
readonly internalType: "bytes32[]";
|
|
1695
|
+
readonly name: "objectKeys";
|
|
1696
|
+
readonly type: "bytes32[]";
|
|
1697
|
+
}, {
|
|
1698
|
+
readonly internalType: "uint32[]";
|
|
1699
|
+
readonly name: "authors";
|
|
1700
|
+
readonly type: "uint32[]";
|
|
1701
|
+
}, {
|
|
1702
|
+
readonly internalType: "uint256";
|
|
1703
|
+
readonly name: "total";
|
|
1704
|
+
readonly type: "uint256";
|
|
1705
|
+
}];
|
|
1706
|
+
readonly stateMutability: "view";
|
|
1707
|
+
readonly type: "function";
|
|
1708
|
+
}, {
|
|
1709
|
+
readonly inputs: readonly [{
|
|
1710
|
+
readonly internalType: "uint256";
|
|
1711
|
+
readonly name: "offset";
|
|
1712
|
+
readonly type: "uint256";
|
|
1713
|
+
}, {
|
|
1714
|
+
readonly internalType: "uint256";
|
|
1715
|
+
readonly name: "limit";
|
|
1716
|
+
readonly type: "uint256";
|
|
1717
|
+
}];
|
|
1718
|
+
readonly name: "exportHintUsers";
|
|
1719
|
+
readonly outputs: readonly [{
|
|
1720
|
+
readonly internalType: "uint256[]";
|
|
1721
|
+
readonly name: "userIds";
|
|
1722
|
+
readonly type: "uint256[]";
|
|
1723
|
+
}, {
|
|
1724
|
+
readonly internalType: "uint256";
|
|
1725
|
+
readonly name: "total";
|
|
1726
|
+
readonly type: "uint256";
|
|
1727
|
+
}];
|
|
1728
|
+
readonly stateMutability: "view";
|
|
1729
|
+
readonly type: "function";
|
|
1730
|
+
}, {
|
|
1731
|
+
readonly inputs: readonly [{
|
|
1732
|
+
readonly internalType: "uint32";
|
|
1733
|
+
readonly name: "userId";
|
|
1734
|
+
readonly type: "uint32";
|
|
1735
|
+
}, {
|
|
1736
|
+
readonly internalType: "uint256";
|
|
1737
|
+
readonly name: "offset";
|
|
1738
|
+
readonly type: "uint256";
|
|
1739
|
+
}, {
|
|
1740
|
+
readonly internalType: "uint256";
|
|
1741
|
+
readonly name: "limit";
|
|
1742
|
+
readonly type: "uint256";
|
|
1743
|
+
}];
|
|
1744
|
+
readonly name: "exportHints";
|
|
1745
|
+
readonly outputs: readonly [{
|
|
1746
|
+
readonly components: readonly [{
|
|
1747
|
+
readonly internalType: "uint32";
|
|
1748
|
+
readonly name: "actorId";
|
|
1749
|
+
readonly type: "uint32";
|
|
1750
|
+
}, {
|
|
1751
|
+
readonly internalType: "uint32";
|
|
1752
|
+
readonly name: "timestamp";
|
|
1753
|
+
readonly type: "uint32";
|
|
1754
|
+
}];
|
|
1755
|
+
readonly internalType: "struct IRelationshipIndexerStorage.SubscriptionHint[]";
|
|
1756
|
+
readonly name: "hints";
|
|
1757
|
+
readonly type: "tuple[]";
|
|
1758
|
+
}, {
|
|
1759
|
+
readonly internalType: "uint256";
|
|
1760
|
+
readonly name: "total";
|
|
1761
|
+
readonly type: "uint256";
|
|
1762
|
+
}];
|
|
1763
|
+
readonly stateMutability: "view";
|
|
1764
|
+
readonly type: "function";
|
|
1765
|
+
}, {
|
|
1766
|
+
readonly inputs: readonly [{
|
|
1767
|
+
readonly internalType: "uint256";
|
|
1768
|
+
readonly name: "offset";
|
|
1769
|
+
readonly type: "uint256";
|
|
1770
|
+
}, {
|
|
1771
|
+
readonly internalType: "uint256";
|
|
1772
|
+
readonly name: "limit";
|
|
1773
|
+
readonly type: "uint256";
|
|
1774
|
+
}];
|
|
1775
|
+
readonly name: "exportTargets";
|
|
1776
|
+
readonly outputs: readonly [{
|
|
1777
|
+
readonly internalType: "bytes32[]";
|
|
1778
|
+
readonly name: "targetKeys";
|
|
1779
|
+
readonly type: "bytes32[]";
|
|
1780
|
+
}, {
|
|
1781
|
+
readonly internalType: "uint256";
|
|
1782
|
+
readonly name: "total";
|
|
1783
|
+
readonly type: "uint256";
|
|
1784
|
+
}];
|
|
1785
|
+
readonly stateMutability: "view";
|
|
1786
|
+
readonly type: "function";
|
|
1787
|
+
}, {
|
|
1788
|
+
readonly inputs: readonly [];
|
|
1789
|
+
readonly name: "finalizeImports";
|
|
1790
|
+
readonly outputs: readonly [];
|
|
1791
|
+
readonly stateMutability: "nonpayable";
|
|
1792
|
+
readonly type: "function";
|
|
1793
|
+
}, {
|
|
1794
|
+
readonly inputs: readonly [];
|
|
1795
|
+
readonly name: "freezeForMigration";
|
|
1796
|
+
readonly outputs: readonly [];
|
|
1797
|
+
readonly stateMutability: "nonpayable";
|
|
1798
|
+
readonly type: "function";
|
|
1799
|
+
}, {
|
|
1800
|
+
readonly inputs: readonly [{
|
|
1801
|
+
readonly internalType: "uint8";
|
|
1802
|
+
readonly name: "actionId";
|
|
1803
|
+
readonly type: "uint8";
|
|
1804
|
+
}];
|
|
1805
|
+
readonly name: "getActionConfig";
|
|
1806
|
+
readonly outputs: readonly [{
|
|
1807
|
+
readonly components: readonly [{
|
|
1808
|
+
readonly internalType: "uint8";
|
|
1809
|
+
readonly name: "objectType";
|
|
1810
|
+
readonly type: "uint8";
|
|
1811
|
+
}, {
|
|
1812
|
+
readonly internalType: "uint8";
|
|
1813
|
+
readonly name: "propertyOrRelationId";
|
|
1814
|
+
readonly type: "uint8";
|
|
1815
|
+
}, {
|
|
1816
|
+
readonly internalType: "bool";
|
|
1817
|
+
readonly name: "isRelation";
|
|
1818
|
+
readonly type: "bool";
|
|
1819
|
+
}, {
|
|
1820
|
+
readonly internalType: "uint8";
|
|
1821
|
+
readonly name: "targetMode";
|
|
1822
|
+
readonly type: "uint8";
|
|
1823
|
+
}];
|
|
1824
|
+
readonly internalType: "struct IRelationshipIndexerStorage.ActionConfig";
|
|
1825
|
+
readonly name: "";
|
|
1826
|
+
readonly type: "tuple";
|
|
1827
|
+
}];
|
|
1828
|
+
readonly stateMutability: "view";
|
|
1829
|
+
readonly type: "function";
|
|
1830
|
+
}, {
|
|
1831
|
+
readonly inputs: readonly [{
|
|
1832
|
+
readonly internalType: "uint32";
|
|
1833
|
+
readonly name: "actorId";
|
|
1834
|
+
readonly type: "uint32";
|
|
1835
|
+
}, {
|
|
1836
|
+
readonly internalType: "uint256";
|
|
1837
|
+
readonly name: "start";
|
|
1838
|
+
readonly type: "uint256";
|
|
1839
|
+
}, {
|
|
1840
|
+
readonly internalType: "uint256";
|
|
1841
|
+
readonly name: "count";
|
|
1842
|
+
readonly type: "uint256";
|
|
1843
|
+
}];
|
|
1844
|
+
readonly name: "getByActor";
|
|
1845
|
+
readonly outputs: readonly [{
|
|
1846
|
+
readonly components: readonly [{
|
|
1847
|
+
readonly internalType: "uint32";
|
|
1848
|
+
readonly name: "actorId";
|
|
1849
|
+
readonly type: "uint32";
|
|
1850
|
+
}, {
|
|
1851
|
+
readonly internalType: "uint8";
|
|
1852
|
+
readonly name: "actionId";
|
|
1853
|
+
readonly type: "uint8";
|
|
1854
|
+
}, {
|
|
1855
|
+
readonly internalType: "uint8";
|
|
1856
|
+
readonly name: "objectType";
|
|
1857
|
+
readonly type: "uint8";
|
|
1858
|
+
}, {
|
|
1859
|
+
readonly internalType: "uint64";
|
|
1860
|
+
readonly name: "objectId";
|
|
1861
|
+
readonly type: "uint64";
|
|
1862
|
+
}, {
|
|
1863
|
+
readonly internalType: "uint64";
|
|
1864
|
+
readonly name: "tagId";
|
|
1865
|
+
readonly type: "uint64";
|
|
1866
|
+
}, {
|
|
1867
|
+
readonly internalType: "uint32";
|
|
1868
|
+
readonly name: "timestamp";
|
|
1869
|
+
readonly type: "uint32";
|
|
1870
|
+
}];
|
|
1871
|
+
readonly internalType: "struct IRelationshipIndexerStorage.Relationship[]";
|
|
1872
|
+
readonly name: "";
|
|
1873
|
+
readonly type: "tuple[]";
|
|
1874
|
+
}];
|
|
1875
|
+
readonly stateMutability: "view";
|
|
1876
|
+
readonly type: "function";
|
|
1877
|
+
}, {
|
|
1878
|
+
readonly inputs: readonly [{
|
|
1879
|
+
readonly internalType: "uint8";
|
|
1880
|
+
readonly name: "objectType";
|
|
1881
|
+
readonly type: "uint8";
|
|
1882
|
+
}, {
|
|
1883
|
+
readonly internalType: "uint64";
|
|
1884
|
+
readonly name: "objectId";
|
|
1885
|
+
readonly type: "uint64";
|
|
1886
|
+
}, {
|
|
1887
|
+
readonly internalType: "uint256";
|
|
1888
|
+
readonly name: "start";
|
|
1889
|
+
readonly type: "uint256";
|
|
1890
|
+
}, {
|
|
1891
|
+
readonly internalType: "uint256";
|
|
1892
|
+
readonly name: "count";
|
|
1893
|
+
readonly type: "uint256";
|
|
1894
|
+
}];
|
|
1895
|
+
readonly name: "getByObjectTarget";
|
|
1896
|
+
readonly outputs: readonly [{
|
|
1897
|
+
readonly components: readonly [{
|
|
1898
|
+
readonly internalType: "uint32";
|
|
1899
|
+
readonly name: "actorId";
|
|
1900
|
+
readonly type: "uint32";
|
|
1901
|
+
}, {
|
|
1902
|
+
readonly internalType: "uint8";
|
|
1903
|
+
readonly name: "actionId";
|
|
1904
|
+
readonly type: "uint8";
|
|
1905
|
+
}, {
|
|
1906
|
+
readonly internalType: "uint8";
|
|
1907
|
+
readonly name: "objectType";
|
|
1908
|
+
readonly type: "uint8";
|
|
1909
|
+
}, {
|
|
1910
|
+
readonly internalType: "uint64";
|
|
1911
|
+
readonly name: "objectId";
|
|
1912
|
+
readonly type: "uint64";
|
|
1913
|
+
}, {
|
|
1914
|
+
readonly internalType: "uint64";
|
|
1915
|
+
readonly name: "tagId";
|
|
1916
|
+
readonly type: "uint64";
|
|
1917
|
+
}, {
|
|
1918
|
+
readonly internalType: "uint32";
|
|
1919
|
+
readonly name: "timestamp";
|
|
1920
|
+
readonly type: "uint32";
|
|
1921
|
+
}];
|
|
1922
|
+
readonly internalType: "struct IRelationshipIndexerStorage.Relationship[]";
|
|
1923
|
+
readonly name: "";
|
|
1924
|
+
readonly type: "tuple[]";
|
|
1925
|
+
}];
|
|
1926
|
+
readonly stateMutability: "view";
|
|
1927
|
+
readonly type: "function";
|
|
1928
|
+
}, {
|
|
1929
|
+
readonly inputs: readonly [{
|
|
1930
|
+
readonly internalType: "uint64";
|
|
1931
|
+
readonly name: "tagId";
|
|
1932
|
+
readonly type: "uint64";
|
|
1933
|
+
}, {
|
|
1934
|
+
readonly internalType: "uint256";
|
|
1935
|
+
readonly name: "start";
|
|
1936
|
+
readonly type: "uint256";
|
|
1937
|
+
}, {
|
|
1938
|
+
readonly internalType: "uint256";
|
|
1939
|
+
readonly name: "count";
|
|
1940
|
+
readonly type: "uint256";
|
|
1941
|
+
}];
|
|
1942
|
+
readonly name: "getByTagTarget";
|
|
1943
|
+
readonly outputs: readonly [{
|
|
1944
|
+
readonly components: readonly [{
|
|
1945
|
+
readonly internalType: "uint32";
|
|
1946
|
+
readonly name: "actorId";
|
|
1947
|
+
readonly type: "uint32";
|
|
1948
|
+
}, {
|
|
1949
|
+
readonly internalType: "uint8";
|
|
1950
|
+
readonly name: "actionId";
|
|
1951
|
+
readonly type: "uint8";
|
|
1952
|
+
}, {
|
|
1953
|
+
readonly internalType: "uint8";
|
|
1954
|
+
readonly name: "objectType";
|
|
1955
|
+
readonly type: "uint8";
|
|
1956
|
+
}, {
|
|
1957
|
+
readonly internalType: "uint64";
|
|
1958
|
+
readonly name: "objectId";
|
|
1959
|
+
readonly type: "uint64";
|
|
1960
|
+
}, {
|
|
1961
|
+
readonly internalType: "uint64";
|
|
1962
|
+
readonly name: "tagId";
|
|
1963
|
+
readonly type: "uint64";
|
|
1964
|
+
}, {
|
|
1965
|
+
readonly internalType: "uint32";
|
|
1966
|
+
readonly name: "timestamp";
|
|
1967
|
+
readonly type: "uint32";
|
|
1968
|
+
}];
|
|
1969
|
+
readonly internalType: "struct IRelationshipIndexerStorage.Relationship[]";
|
|
1970
|
+
readonly name: "";
|
|
1971
|
+
readonly type: "tuple[]";
|
|
1972
|
+
}];
|
|
1973
|
+
readonly stateMutability: "view";
|
|
1974
|
+
readonly type: "function";
|
|
1975
|
+
}, {
|
|
1976
|
+
readonly inputs: readonly [{
|
|
1977
|
+
readonly internalType: "bytes32";
|
|
1978
|
+
readonly name: "targetKey";
|
|
1979
|
+
readonly type: "bytes32";
|
|
1980
|
+
}, {
|
|
1981
|
+
readonly internalType: "uint256";
|
|
1982
|
+
readonly name: "start";
|
|
1983
|
+
readonly type: "uint256";
|
|
1984
|
+
}, {
|
|
1985
|
+
readonly internalType: "uint256";
|
|
1986
|
+
readonly name: "count";
|
|
1987
|
+
readonly type: "uint256";
|
|
1988
|
+
}];
|
|
1989
|
+
readonly name: "getByTarget";
|
|
1990
|
+
readonly outputs: readonly [{
|
|
1991
|
+
readonly components: readonly [{
|
|
1992
|
+
readonly internalType: "uint32";
|
|
1993
|
+
readonly name: "actorId";
|
|
1994
|
+
readonly type: "uint32";
|
|
1995
|
+
}, {
|
|
1996
|
+
readonly internalType: "uint8";
|
|
1997
|
+
readonly name: "actionId";
|
|
1998
|
+
readonly type: "uint8";
|
|
1999
|
+
}, {
|
|
2000
|
+
readonly internalType: "uint8";
|
|
2001
|
+
readonly name: "objectType";
|
|
2002
|
+
readonly type: "uint8";
|
|
2003
|
+
}, {
|
|
2004
|
+
readonly internalType: "uint64";
|
|
2005
|
+
readonly name: "objectId";
|
|
2006
|
+
readonly type: "uint64";
|
|
2007
|
+
}, {
|
|
2008
|
+
readonly internalType: "uint64";
|
|
2009
|
+
readonly name: "tagId";
|
|
2010
|
+
readonly type: "uint64";
|
|
2011
|
+
}, {
|
|
2012
|
+
readonly internalType: "uint32";
|
|
2013
|
+
readonly name: "timestamp";
|
|
2014
|
+
readonly type: "uint32";
|
|
2015
|
+
}];
|
|
2016
|
+
readonly internalType: "struct IRelationshipIndexerStorage.Relationship[]";
|
|
2017
|
+
readonly name: "";
|
|
2018
|
+
readonly type: "tuple[]";
|
|
2019
|
+
}];
|
|
2020
|
+
readonly stateMutability: "view";
|
|
2021
|
+
readonly type: "function";
|
|
2022
|
+
}, {
|
|
2023
|
+
readonly inputs: readonly [{
|
|
2024
|
+
readonly internalType: "uint32";
|
|
2025
|
+
readonly name: "targetUserId";
|
|
2026
|
+
readonly type: "uint32";
|
|
2027
|
+
}, {
|
|
2028
|
+
readonly internalType: "uint32";
|
|
2029
|
+
readonly name: "since";
|
|
2030
|
+
readonly type: "uint32";
|
|
2031
|
+
}];
|
|
2032
|
+
readonly name: "getNewSubscriptionsSince";
|
|
2033
|
+
readonly outputs: readonly [{
|
|
2034
|
+
readonly internalType: "uint32[]";
|
|
2035
|
+
readonly name: "actorIds";
|
|
2036
|
+
readonly type: "uint32[]";
|
|
2037
|
+
}];
|
|
2038
|
+
readonly stateMutability: "view";
|
|
2039
|
+
readonly type: "function";
|
|
2040
|
+
}, {
|
|
2041
|
+
readonly inputs: readonly [{
|
|
2042
|
+
readonly internalType: "uint8[]";
|
|
2043
|
+
readonly name: "ids";
|
|
2044
|
+
readonly type: "uint8[]";
|
|
2045
|
+
}, {
|
|
2046
|
+
readonly components: readonly [{
|
|
2047
|
+
readonly internalType: "uint8";
|
|
2048
|
+
readonly name: "objectType";
|
|
2049
|
+
readonly type: "uint8";
|
|
2050
|
+
}, {
|
|
2051
|
+
readonly internalType: "uint8";
|
|
2052
|
+
readonly name: "propertyOrRelationId";
|
|
2053
|
+
readonly type: "uint8";
|
|
2054
|
+
}, {
|
|
2055
|
+
readonly internalType: "bool";
|
|
2056
|
+
readonly name: "isRelation";
|
|
2057
|
+
readonly type: "bool";
|
|
2058
|
+
}, {
|
|
2059
|
+
readonly internalType: "uint8";
|
|
2060
|
+
readonly name: "targetMode";
|
|
2061
|
+
readonly type: "uint8";
|
|
2062
|
+
}];
|
|
2063
|
+
readonly internalType: "struct IRelationshipIndexerStorage.ActionConfig[]";
|
|
2064
|
+
readonly name: "configs";
|
|
2065
|
+
readonly type: "tuple[]";
|
|
2066
|
+
}];
|
|
2067
|
+
readonly name: "importActionConfigs";
|
|
2068
|
+
readonly outputs: readonly [];
|
|
2069
|
+
readonly stateMutability: "nonpayable";
|
|
2070
|
+
readonly type: "function";
|
|
2071
|
+
}, {
|
|
2072
|
+
readonly inputs: readonly [{
|
|
2073
|
+
readonly internalType: "uint32";
|
|
2074
|
+
readonly name: "actorId";
|
|
2075
|
+
readonly type: "uint32";
|
|
2076
|
+
}, {
|
|
2077
|
+
readonly internalType: "uint256";
|
|
2078
|
+
readonly name: "startIndex";
|
|
2079
|
+
readonly type: "uint256";
|
|
2080
|
+
}, {
|
|
2081
|
+
readonly components: readonly [{
|
|
2082
|
+
readonly internalType: "uint32";
|
|
2083
|
+
readonly name: "actorId";
|
|
2084
|
+
readonly type: "uint32";
|
|
2085
|
+
}, {
|
|
2086
|
+
readonly internalType: "uint8";
|
|
2087
|
+
readonly name: "actionId";
|
|
2088
|
+
readonly type: "uint8";
|
|
2089
|
+
}, {
|
|
2090
|
+
readonly internalType: "uint8";
|
|
2091
|
+
readonly name: "objectType";
|
|
2092
|
+
readonly type: "uint8";
|
|
2093
|
+
}, {
|
|
2094
|
+
readonly internalType: "uint64";
|
|
2095
|
+
readonly name: "objectId";
|
|
2096
|
+
readonly type: "uint64";
|
|
2097
|
+
}, {
|
|
2098
|
+
readonly internalType: "uint64";
|
|
2099
|
+
readonly name: "tagId";
|
|
2100
|
+
readonly type: "uint64";
|
|
2101
|
+
}, {
|
|
2102
|
+
readonly internalType: "uint32";
|
|
2103
|
+
readonly name: "timestamp";
|
|
2104
|
+
readonly type: "uint32";
|
|
2105
|
+
}];
|
|
2106
|
+
readonly internalType: "struct IRelationshipIndexerStorage.Relationship[]";
|
|
2107
|
+
readonly name: "rs";
|
|
2108
|
+
readonly type: "tuple[]";
|
|
2109
|
+
}];
|
|
2110
|
+
readonly name: "importActorRelationships";
|
|
2111
|
+
readonly outputs: readonly [];
|
|
2112
|
+
readonly stateMutability: "nonpayable";
|
|
2113
|
+
readonly type: "function";
|
|
2114
|
+
}, {
|
|
2115
|
+
readonly inputs: readonly [{
|
|
2116
|
+
readonly internalType: "bytes32[]";
|
|
2117
|
+
readonly name: "objectKeys";
|
|
2118
|
+
readonly type: "bytes32[]";
|
|
2119
|
+
}, {
|
|
2120
|
+
readonly internalType: "uint32[]";
|
|
2121
|
+
readonly name: "authors";
|
|
2122
|
+
readonly type: "uint32[]";
|
|
2123
|
+
}];
|
|
2124
|
+
readonly name: "importAuthors";
|
|
2125
|
+
readonly outputs: readonly [];
|
|
2126
|
+
readonly stateMutability: "nonpayable";
|
|
2127
|
+
readonly type: "function";
|
|
2128
|
+
}, {
|
|
2129
|
+
readonly inputs: readonly [{
|
|
2130
|
+
readonly internalType: "uint32";
|
|
2131
|
+
readonly name: "userId";
|
|
2132
|
+
readonly type: "uint32";
|
|
2133
|
+
}, {
|
|
2134
|
+
readonly internalType: "uint256";
|
|
2135
|
+
readonly name: "startIndex";
|
|
2136
|
+
readonly type: "uint256";
|
|
2137
|
+
}, {
|
|
2138
|
+
readonly components: readonly [{
|
|
2139
|
+
readonly internalType: "uint32";
|
|
2140
|
+
readonly name: "actorId";
|
|
2141
|
+
readonly type: "uint32";
|
|
2142
|
+
}, {
|
|
2143
|
+
readonly internalType: "uint32";
|
|
2144
|
+
readonly name: "timestamp";
|
|
2145
|
+
readonly type: "uint32";
|
|
2146
|
+
}];
|
|
2147
|
+
readonly internalType: "struct IRelationshipIndexerStorage.SubscriptionHint[]";
|
|
2148
|
+
readonly name: "hints";
|
|
2149
|
+
readonly type: "tuple[]";
|
|
2150
|
+
}];
|
|
2151
|
+
readonly name: "importHints";
|
|
2152
|
+
readonly outputs: readonly [];
|
|
2153
|
+
readonly stateMutability: "nonpayable";
|
|
2154
|
+
readonly type: "function";
|
|
2155
|
+
}, {
|
|
2156
|
+
readonly inputs: readonly [{
|
|
2157
|
+
readonly internalType: "bytes32";
|
|
2158
|
+
readonly name: "targetKey";
|
|
2159
|
+
readonly type: "bytes32";
|
|
2160
|
+
}, {
|
|
2161
|
+
readonly internalType: "uint256";
|
|
2162
|
+
readonly name: "startIndex";
|
|
2163
|
+
readonly type: "uint256";
|
|
2164
|
+
}, {
|
|
2165
|
+
readonly components: readonly [{
|
|
2166
|
+
readonly internalType: "uint32";
|
|
2167
|
+
readonly name: "actorId";
|
|
2168
|
+
readonly type: "uint32";
|
|
2169
|
+
}, {
|
|
2170
|
+
readonly internalType: "uint8";
|
|
2171
|
+
readonly name: "actionId";
|
|
2172
|
+
readonly type: "uint8";
|
|
2173
|
+
}, {
|
|
2174
|
+
readonly internalType: "uint8";
|
|
2175
|
+
readonly name: "objectType";
|
|
2176
|
+
readonly type: "uint8";
|
|
2177
|
+
}, {
|
|
2178
|
+
readonly internalType: "uint64";
|
|
2179
|
+
readonly name: "objectId";
|
|
2180
|
+
readonly type: "uint64";
|
|
2181
|
+
}, {
|
|
2182
|
+
readonly internalType: "uint64";
|
|
2183
|
+
readonly name: "tagId";
|
|
2184
|
+
readonly type: "uint64";
|
|
2185
|
+
}, {
|
|
2186
|
+
readonly internalType: "uint32";
|
|
2187
|
+
readonly name: "timestamp";
|
|
2188
|
+
readonly type: "uint32";
|
|
2189
|
+
}];
|
|
2190
|
+
readonly internalType: "struct IRelationshipIndexerStorage.Relationship[]";
|
|
2191
|
+
readonly name: "rs";
|
|
2192
|
+
readonly type: "tuple[]";
|
|
2193
|
+
}];
|
|
2194
|
+
readonly name: "importTargetRelationships";
|
|
2195
|
+
readonly outputs: readonly [];
|
|
2196
|
+
readonly stateMutability: "nonpayable";
|
|
2197
|
+
readonly type: "function";
|
|
2198
|
+
}, {
|
|
2199
|
+
readonly inputs: readonly [];
|
|
2200
|
+
readonly name: "importsFinalized";
|
|
2201
|
+
readonly outputs: readonly [{
|
|
2202
|
+
readonly internalType: "bool";
|
|
2203
|
+
readonly name: "";
|
|
2204
|
+
readonly type: "bool";
|
|
2205
|
+
}];
|
|
2206
|
+
readonly stateMutability: "view";
|
|
2207
|
+
readonly type: "function";
|
|
2208
|
+
}, {
|
|
2209
|
+
readonly inputs: readonly [{
|
|
2210
|
+
readonly internalType: "address";
|
|
2211
|
+
readonly name: "caller";
|
|
2212
|
+
readonly type: "address";
|
|
2213
|
+
}];
|
|
2214
|
+
readonly name: "isAuthorized";
|
|
2215
|
+
readonly outputs: readonly [{
|
|
2216
|
+
readonly internalType: "bool";
|
|
2217
|
+
readonly name: "";
|
|
2218
|
+
readonly type: "bool";
|
|
2219
|
+
}];
|
|
2220
|
+
readonly stateMutability: "view";
|
|
2221
|
+
readonly type: "function";
|
|
2222
|
+
}, {
|
|
2223
|
+
readonly inputs: readonly [];
|
|
2224
|
+
readonly name: "migrationFrozen";
|
|
2225
|
+
readonly outputs: readonly [{
|
|
2226
|
+
readonly internalType: "bool";
|
|
2227
|
+
readonly name: "";
|
|
2228
|
+
readonly type: "bool";
|
|
2229
|
+
}];
|
|
2230
|
+
readonly stateMutability: "view";
|
|
2231
|
+
readonly type: "function";
|
|
2232
|
+
}, {
|
|
2233
|
+
readonly inputs: readonly [{
|
|
2234
|
+
readonly internalType: "uint8";
|
|
2235
|
+
readonly name: "objectType";
|
|
2236
|
+
readonly type: "uint8";
|
|
2237
|
+
}, {
|
|
2238
|
+
readonly internalType: "uint64";
|
|
2239
|
+
readonly name: "objectId";
|
|
2240
|
+
readonly type: "uint64";
|
|
2241
|
+
}];
|
|
2242
|
+
readonly name: "objectTargetKey";
|
|
2243
|
+
readonly outputs: readonly [{
|
|
2244
|
+
readonly internalType: "bytes32";
|
|
2245
|
+
readonly name: "";
|
|
2246
|
+
readonly type: "bytes32";
|
|
2247
|
+
}];
|
|
2248
|
+
readonly stateMutability: "pure";
|
|
2249
|
+
readonly type: "function";
|
|
2250
|
+
}, {
|
|
2251
|
+
readonly inputs: readonly [{
|
|
2252
|
+
readonly internalType: "uint32";
|
|
2253
|
+
readonly name: "actorId";
|
|
2254
|
+
readonly type: "uint32";
|
|
2255
|
+
}, {
|
|
2256
|
+
readonly internalType: "uint256[]";
|
|
2257
|
+
readonly name: "patches";
|
|
2258
|
+
readonly type: "uint256[]";
|
|
2259
|
+
}];
|
|
2260
|
+
readonly name: "recordActions";
|
|
2261
|
+
readonly outputs: readonly [];
|
|
2262
|
+
readonly stateMutability: "nonpayable";
|
|
2263
|
+
readonly type: "function";
|
|
2264
|
+
}, {
|
|
2265
|
+
readonly inputs: readonly [{
|
|
2266
|
+
readonly internalType: "address";
|
|
2267
|
+
readonly name: "caller";
|
|
2268
|
+
readonly type: "address";
|
|
2269
|
+
}];
|
|
2270
|
+
readonly name: "removeAuthorized";
|
|
2271
|
+
readonly outputs: readonly [];
|
|
2272
|
+
readonly stateMutability: "nonpayable";
|
|
2273
|
+
readonly type: "function";
|
|
2274
|
+
}, {
|
|
2275
|
+
readonly inputs: readonly [{
|
|
2276
|
+
readonly internalType: "uint8";
|
|
2277
|
+
readonly name: "actionId";
|
|
2278
|
+
readonly type: "uint8";
|
|
2279
|
+
}, {
|
|
2280
|
+
readonly components: readonly [{
|
|
2281
|
+
readonly internalType: "uint8";
|
|
2282
|
+
readonly name: "objectType";
|
|
2283
|
+
readonly type: "uint8";
|
|
2284
|
+
}, {
|
|
2285
|
+
readonly internalType: "uint8";
|
|
2286
|
+
readonly name: "propertyOrRelationId";
|
|
2287
|
+
readonly type: "uint8";
|
|
2288
|
+
}, {
|
|
2289
|
+
readonly internalType: "bool";
|
|
2290
|
+
readonly name: "isRelation";
|
|
2291
|
+
readonly type: "bool";
|
|
2292
|
+
}, {
|
|
2293
|
+
readonly internalType: "uint8";
|
|
2294
|
+
readonly name: "targetMode";
|
|
2295
|
+
readonly type: "uint8";
|
|
2296
|
+
}];
|
|
2297
|
+
readonly internalType: "struct IRelationshipIndexerStorage.ActionConfig";
|
|
2298
|
+
readonly name: "config";
|
|
2299
|
+
readonly type: "tuple";
|
|
2300
|
+
}];
|
|
2301
|
+
readonly name: "setActionConfig";
|
|
2302
|
+
readonly outputs: readonly [];
|
|
2303
|
+
readonly stateMutability: "nonpayable";
|
|
2304
|
+
readonly type: "function";
|
|
2305
|
+
}, {
|
|
2306
|
+
readonly inputs: readonly [{
|
|
2307
|
+
readonly internalType: "bytes4";
|
|
2308
|
+
readonly name: "interfaceId";
|
|
2309
|
+
readonly type: "bytes4";
|
|
2310
|
+
}];
|
|
2311
|
+
readonly name: "supportsInterface";
|
|
2312
|
+
readonly outputs: readonly [{
|
|
2313
|
+
readonly internalType: "bool";
|
|
2314
|
+
readonly name: "";
|
|
2315
|
+
readonly type: "bool";
|
|
2316
|
+
}];
|
|
2317
|
+
readonly stateMutability: "view";
|
|
2318
|
+
readonly type: "function";
|
|
2319
|
+
}, {
|
|
2320
|
+
readonly inputs: readonly [{
|
|
2321
|
+
readonly internalType: "uint64";
|
|
2322
|
+
readonly name: "tagId";
|
|
2323
|
+
readonly type: "uint64";
|
|
2324
|
+
}];
|
|
2325
|
+
readonly name: "tagTargetKey";
|
|
2326
|
+
readonly outputs: readonly [{
|
|
2327
|
+
readonly internalType: "bytes32";
|
|
2328
|
+
readonly name: "";
|
|
2329
|
+
readonly type: "bytes32";
|
|
2330
|
+
}];
|
|
2331
|
+
readonly stateMutability: "pure";
|
|
2332
|
+
readonly type: "function";
|
|
2333
|
+
}, {
|
|
2334
|
+
readonly inputs: readonly [];
|
|
2335
|
+
readonly name: "unfreezeForMigration";
|
|
2336
|
+
readonly outputs: readonly [];
|
|
2337
|
+
readonly stateMutability: "nonpayable";
|
|
2338
|
+
readonly type: "function";
|
|
2339
|
+
}];
|
|
2340
|
+
|
|
2341
|
+
declare const CONTRACT_DISPLAY_NAMES: {
|
|
2342
|
+
readonly AddressRegistry: "The Card Catalog";
|
|
2343
|
+
readonly Factory: "The Head Librarian";
|
|
2344
|
+
readonly BouncerStorage: "The Library Card Office";
|
|
2345
|
+
readonly ProjectManagerStorage: "The Project Manager";
|
|
2346
|
+
readonly ScientistStorage: "The Statistician";
|
|
2347
|
+
readonly BackupStorage: "The Archivist";
|
|
2348
|
+
readonly AccountManager: "RegistrationDesk";
|
|
2349
|
+
readonly SubscriptionManager: "The Membership Desk";
|
|
2350
|
+
readonly LibraryRegistryStorage: "The Union Catalog";
|
|
2351
|
+
readonly PublicLibraryStorage: "The Reading Room";
|
|
2352
|
+
readonly DSafeHRStorage: "The Staff Office";
|
|
2353
|
+
readonly StatsPivotStorage: "The Records Room";
|
|
2354
|
+
readonly RelationshipIndexerStorage: "The Cross-Reference Desk";
|
|
2355
|
+
readonly EmailRecoveryManager: "The Lost & Found";
|
|
2356
|
+
};
|
|
2357
|
+
type ContractCodeName = keyof typeof CONTRACT_DISPLAY_NAMES;
|
|
2358
|
+
declare function getContractDisplayName(codeName: string): string;
|
|
2359
|
+
|
|
2360
|
+
declare enum EventName {
|
|
2361
|
+
WALLET_STATE_CHANGED = "wallet:state:changed",
|
|
2362
|
+
WALLET_CHAIN_CHANGED = "wallet:chain:changed",
|
|
2363
|
+
WALLET_ERROR = "wallet:error",
|
|
2364
|
+
SESSION_UPDATED = "session:updated",
|
|
2365
|
+
WALLET_DISCONNECTED = "wallet:disconnected",
|
|
2366
|
+
SESSION_DELETED = "session:deleted",
|
|
2367
|
+
SAVE_RESTORED = "save:restored",
|
|
2368
|
+
SUBSCRIPTION_PATCHES_SYNCED = "subscription:patches:synced"
|
|
2369
|
+
}
|
|
2370
|
+
declare enum WalletState {
|
|
2371
|
+
INITIALIZING = "INITIALIZING",
|
|
2372
|
+
UPDATING_STATE_STARTED = "UPDATING_STATE_STARTED",
|
|
2373
|
+
UPDATING_STATE_DONE = "UPDATING_STATE_DONE",
|
|
2374
|
+
UPDATING_STATE_FAILED = "UPDATING_STATE_FAILED",
|
|
2375
|
+
READY = "READY",
|
|
2376
|
+
INTERNAL_ERROR = "INTERNAL_ERROR",
|
|
2377
|
+
NOT_CONNECTED = "NOT_CONNECTED",
|
|
2378
|
+
NOT_INSTALLED = "NOT_INSTALLED",
|
|
2379
|
+
NOT_ALLOWED = "NOT_ALLOWED",
|
|
2380
|
+
NOT_SUPPORTED = "NOT_SUPPORTED",
|
|
2381
|
+
NOT_READY = "NOT_READY",
|
|
2382
|
+
CONNECT_STARTED = "CONNECT_STARTED",
|
|
2383
|
+
CONNECT_DONE = "CONNECT_DONE",
|
|
2384
|
+
CONNECT_FAILED = "CONNECT_FAILED",
|
|
2385
|
+
TRANSACTION_STARTED = "TRANSACTION_STARTED",
|
|
2386
|
+
TRANSACTION_DONE = "TRANSACTION_DONE",
|
|
2387
|
+
TRANSACTION_FAILED = "TRANSACTION_FAILED",
|
|
2388
|
+
TIMEOUT = "TIMEOUT",
|
|
2389
|
+
CHAIN_CHANGED_STARTED = "CHAIN_CHANGED_STARTED",
|
|
2390
|
+
CHAIN_CHANGED_DONE = "CHAIN_CHANGED_DONE",
|
|
2391
|
+
CHAIN_CHANGED_FAILED = "CHAIN_CHANGED_FAILED",
|
|
2392
|
+
WALLET_INSTALLED = "WALLET_INSTALLED"
|
|
2393
|
+
}
|
|
2394
|
+
declare enum WalletError {
|
|
2395
|
+
NO_ACCOUNTS = "NO_ACCOUNTS",
|
|
2396
|
+
USER_REJECTED = "USER_REJECTED",
|
|
2397
|
+
INSUFFICIENT_FUNDS = "INSUFFICIENT_FUNDS",
|
|
2398
|
+
LOGIN_INTO_WALLET = "LOGIN_INTO_WALLET",
|
|
2399
|
+
REQUEST_ALREADY_PENDING = "REQUEST_ALREADY_PENDING",
|
|
2400
|
+
UNKNOWN_ERROR = "UNKNOWN_ERROR",
|
|
2401
|
+
CONFIG_MISSING = "CONFIG_MISSING",
|
|
2402
|
+
NOT_SUPPORTED = "NOT_SUPPORTED",
|
|
2403
|
+
NOT_CONNECTED = "NOT_CONNECTED",
|
|
2404
|
+
NOT_INSTALLED = "NOT_INSTALLED",
|
|
2405
|
+
NOT_ALLOWED = "NOT_ALLOWED",
|
|
2406
|
+
NETWORK_NOT_SUPPORTED = "NETWORK_NOT_SUPPORTED"
|
|
2407
|
+
}
|
|
2408
|
+
declare enum WalletUxError {
|
|
2409
|
+
NO_ACCOUNT_SWITCH = "NO_ACCOUNT_SWITCH",
|
|
2410
|
+
NO_NETWORK_SWITCH = "NO_NETWORK_SWITCH",
|
|
2411
|
+
NETWORK_NOT_SUPPORTED = "NETWORK_NOT_SUPPORTED",
|
|
2412
|
+
NO_INTERNET = "NO_INTERNET",
|
|
2413
|
+
NO_DISCONNECT = "NO_DISCONNECT",
|
|
2414
|
+
NO_ACCOUNT_DISCONNECT = "NO_ACCOUNT_DISCONNECT"
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
interface CommonWalletEvent {
|
|
2418
|
+
wallet: WalletType;
|
|
2419
|
+
chainId?: number;
|
|
2420
|
+
timestamp: number;
|
|
2421
|
+
}
|
|
2422
|
+
interface WalletStateEvent extends CommonWalletEvent {
|
|
2423
|
+
event: WalletState;
|
|
2424
|
+
functionName?: string;
|
|
2425
|
+
functionArgs?: any[];
|
|
2426
|
+
}
|
|
2427
|
+
interface WalletSessionEvent {
|
|
2428
|
+
account: string;
|
|
2429
|
+
chainId: number;
|
|
2430
|
+
wallet: WalletType;
|
|
2431
|
+
}
|
|
2432
|
+
interface WalletSessionDeletedEvent {
|
|
2433
|
+
account: string;
|
|
2434
|
+
chainId: number;
|
|
2435
|
+
wallet: WalletType;
|
|
2436
|
+
}
|
|
2437
|
+
interface WalletErrorEvent extends CommonWalletEvent {
|
|
2438
|
+
reason: WalletUxError | WalletError;
|
|
2439
|
+
args?: any[];
|
|
2440
|
+
}
|
|
2441
|
+
interface WalletChainChangedEvent extends CommonWalletEvent {
|
|
2442
|
+
}
|
|
2443
|
+
interface WalletDisconnectedEvent extends CommonWalletEvent {
|
|
2444
|
+
reason?: string;
|
|
2445
|
+
timestamp: number;
|
|
2446
|
+
}
|
|
2447
|
+
interface WalletSaveRestoredEvent extends CommonWalletEvent {
|
|
2448
|
+
username: string;
|
|
2449
|
+
account: string;
|
|
2450
|
+
newRestorationIndex: number;
|
|
2451
|
+
appliedCount: number;
|
|
2452
|
+
}
|
|
2453
|
+
interface SubscriptionPatchesSyncedEvent {
|
|
2454
|
+
rootUserId: number;
|
|
2455
|
+
chainId: number;
|
|
2456
|
+
appliedCount: number;
|
|
2457
|
+
timestamp: number;
|
|
2458
|
+
/**
|
|
2459
|
+
* userIds whose fetched batch failed to apply this sync (missing username
|
|
2460
|
+
* resolution, or an error applying/persisting their patches) — present only
|
|
2461
|
+
* when non-empty. Their cursor position is rolled back (session/sync.ts) so
|
|
2462
|
+
* the next sync retries exactly this range; a listener that wants to surface
|
|
2463
|
+
* "sync incomplete" rather than a bare console warning should watch this
|
|
2464
|
+
* field (see reviews/2026-09-07/assessment.md finding #7).
|
|
2465
|
+
*/
|
|
2466
|
+
failedUserIds?: number[];
|
|
680
2467
|
}
|
|
681
2468
|
|
|
682
2469
|
type EventListener<T = any> = (data: T) => void;
|
|
@@ -817,4 +2604,4 @@ declare function registerConnector(connector: WalletConnector): void;
|
|
|
817
2604
|
declare function getConnector(type: WalletType): WalletConnector | undefined;
|
|
818
2605
|
declare function getRegisteredConnectors(): WalletConnector[];
|
|
819
2606
|
|
|
820
|
-
export { AddressRegistryReadAPI, AddressRegistryWriteAPI, ArchivistStorageReadAPI, BouncerStorageReadAPI, Browser, type CommonWalletEvent, ConnectResult, EventBus, type EventListener, EventName,
|
|
2607
|
+
export { AccountManagerReadAPI, AccountManagerWriteAPI, AddressRegistryReadAPI, AddressRegistryWriteAPI, ArchivistStorageReadAPI, BouncerStorageReadAPI, BouncerStorageWriteAPI, Browser, CONTRACT_DISPLAY_NAMES, type CommonWalletEvent, ConnectResult, type ContractCodeName, DSafeHRStorageReadAPI, DSafeHRStorageWriteAPI, EventBus, type EventListener, EventName, EvmClient, EvmWalletConnector, EvmWriteClient, FactoryReadAPI, FactoryWriteAPI, FetchOptions, LibraryRegistryStorageReadAPI, LibraryRegistryStorageWriteAPI, MetaMaskConnector, Patch, Platform, PrivateKeyConnector, ProjectManagerStorageReadAPI, PublicLibraryStorageReadAPI, PublicLibraryStorageWriteAPI, ReadOnlyDomainAPI, RelationshipIndexerReadAPI, ScientistStorageReadAPI, SessionStore, SubscriptionClient, type SubscriptionClientConfig, SubscriptionGraph, SubscriptionManagerReadAPI, SubscriptionManagerWriteAPI, SubscriptionNode, type SubscriptionPatchesSyncedEvent, SyncCursor, SyncOptions, SyncResult, TransactionOptions, WalkOptions, type WalletChainChangedEvent, WalletConnector, type WalletDisconnectedEvent, WalletError, type WalletErrorEvent, WalletEvents, type WalletMeta, type WalletSaveRestoredEvent, type WalletSessionDeletedEvent, type WalletSessionEvent, WalletState, type WalletStateEvent, WalletType, WalletUxError, type Web3Environment, Web3SessionAccount, WriteOnlyDomainAPI, acknowledgeOwnSave, addressFromPrivateKey, addressRegistryAbi, allRegisteredAccounts, createEvmClient, createMetaMaskConnector, createPrivateKeyConnector, createPrivateKeyWalletClient, createPrivateKeyWriteClient, createSessionStore, createWriteClient, cursorKey, cursorStore, dSafeHRStorageAbi, deserializeCursor, emptyCursor, getCachedEmail, getConnector, getContractDisplayName, getDecryptedPrivateKey, getEventBus, getEvmClient, getPrivateKey, getReadClient, getReadyEvmClient, getRegisteredConnectors, getSessionEnvironment, getSubscriptionClient, handleWriteOperationErrors, hasAnyPrivateKey, hasEncryptedPrivateKey, hasPrivateKey, hasUnsavedPatches, isOwnWrite, loadNetworkInfos, parseUserAgent, pythAbi, readOnlyClients, readOnlyStagingClients, registerConnector, relationshipIndexerStorageAbi, resetTransactionState, restoreAccountSave, saveMyLevel, serializeCursor, sessionStore, setCachedEmail, setSessionEnvironment, storeEncryptedPrivateKey, storePrivateKey, syncAccount, walletMeta, writeOperations };
|