@xyo-network/xl1-protocol-sdk 4.0.5 → 4.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/neutral/index.d.ts +0 -1
- package/dist/neutral/index.d.ts.map +1 -1
- package/dist/neutral/index.mjs +0 -3
- package/dist/neutral/index.mjs.map +3 -3
- package/dist/node/index-node.mjs +0 -707
- package/dist/node/index-node.mjs.map +4 -4
- package/dist/node/index.d.ts +0 -1
- package/dist/node/index.d.ts.map +1 -1
- package/package.json +7 -7
package/dist/node/index-node.mjs
CHANGED
|
@@ -1,21 +1,6 @@
|
|
|
1
1
|
var __defProp = Object.defineProperty;
|
|
2
2
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
3
|
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
6
|
-
var __export = (target, all) => {
|
|
7
|
-
for (var name in all)
|
|
8
|
-
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
-
};
|
|
10
|
-
var __copyProps = (to, from, except, desc) => {
|
|
11
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
-
for (let key of __getOwnPropNames(from))
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
19
4
|
var __decorateClass = (decorators, target, key, kind) => {
|
|
20
5
|
var result = kind > 1 ? void 0 : kind ? __getOwnPropDesc(target, key) : target;
|
|
21
6
|
for (var i = decorators.length - 1, decorator; i >= 0; i--)
|
|
@@ -26,349 +11,6 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
26
11
|
};
|
|
27
12
|
var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
|
|
28
13
|
|
|
29
|
-
// src/index-node.ts
|
|
30
|
-
var index_node_exports = {};
|
|
31
|
-
__export(index_node_exports, {
|
|
32
|
-
ACCOUNT_TYPE: () => ACCOUNT_TYPE,
|
|
33
|
-
ADDRESS_INDEX: () => ADDRESS_INDEX,
|
|
34
|
-
AbstractCreatableProvider: () => AbstractCreatableProvider,
|
|
35
|
-
AccountPathZod: () => AccountPathZod,
|
|
36
|
-
ActorConfigContext: () => ActorConfigContext,
|
|
37
|
-
ActorConfigZod: () => ActorConfigZod,
|
|
38
|
-
ActorsConfigZod: () => ActorsConfigZod,
|
|
39
|
-
AddressPairSchema: () => AddressPairSchema,
|
|
40
|
-
AmbiguousProviderError: () => AmbiguousProviderError,
|
|
41
|
-
ArchivistInstanceCache: () => ArchivistInstanceCache,
|
|
42
|
-
BalancesStepSummarySchema: () => BalancesStepSummarySchema,
|
|
43
|
-
BaseConfigContextZod: () => BaseConfigContextZod,
|
|
44
|
-
BaseConfigZod: () => BaseConfigZod,
|
|
45
|
-
BoundWitnessHydrator: () => BoundWitnessHydrator,
|
|
46
|
-
BoundWitnessWithStorageMetaZod: () => BoundWitnessWithStorageMetaZod,
|
|
47
|
-
CHAIN_ARCHIVIST_ROLE: () => CHAIN_ARCHIVIST_ROLE,
|
|
48
|
-
CHANGE_ADDRESS: () => CHANGE_ADDRESS,
|
|
49
|
-
COIN_TYPES: () => COIN_TYPES,
|
|
50
|
-
ChainIndexingServiceStateSchema: () => ChainIndexingServiceStateSchema,
|
|
51
|
-
ConfigZod: () => ConfigZod,
|
|
52
|
-
ConnectionConfigZod: () => ConnectionConfigZod,
|
|
53
|
-
ConnectionsConfigZod: () => ConnectionsConfigZod,
|
|
54
|
-
CreatableProviderContextZod: () => CreatableProviderContextZod,
|
|
55
|
-
DEFAULT_BACKOFF_MS: () => DEFAULT_BACKOFF_MS,
|
|
56
|
-
DEFAULT_MAX_ATTEMPTS: () => DEFAULT_MAX_ATTEMPTS,
|
|
57
|
-
DEFAULT_MIN_CANDIDATES: () => DEFAULT_MIN_CANDIDATES,
|
|
58
|
-
DEFAULT_TOLERANCE_MS: () => DEFAULT_TOLERANCE_MS,
|
|
59
|
-
DEFAULT_WALLET_PATH: () => DEFAULT_WALLET_PATH,
|
|
60
|
-
DefaultMetricsScrapePorts: () => DefaultMetricsScrapePorts,
|
|
61
|
-
EIP712DataPayloadFieldsZod: () => EIP712DataPayloadFieldsZod,
|
|
62
|
-
EIP712DataPayloadSchema: () => EIP712DataPayloadSchema,
|
|
63
|
-
EIP712SignaturePayloadFieldsZod: () => EIP712SignaturePayloadFieldsZod,
|
|
64
|
-
EIP712SignaturePayloadSchema: () => EIP712SignaturePayloadSchema,
|
|
65
|
-
EvmRpcConnectionConfigZod: () => EvmRpcConnectionConfigZod,
|
|
66
|
-
GlobalMetaSchema: () => GlobalMetaSchema,
|
|
67
|
-
HostActorConfigContext: () => HostActorConfigContext,
|
|
68
|
-
HostActorConfigZod: () => HostActorConfigZod,
|
|
69
|
-
HttpRpcRemoteConfigZod: () => HttpRpcRemoteConfigZod,
|
|
70
|
-
HydratedBoundWitnessWithStorageMetaZod: () => HydratedBoundWitnessWithStorageMetaZod,
|
|
71
|
-
HydratedCache: () => HydratedCache,
|
|
72
|
-
JSONSchemaMetaSchema: () => JSONSchemaMetaSchema,
|
|
73
|
-
LmdbConnectionConfigZod: () => LmdbConnectionConfigZod,
|
|
74
|
-
LocatorConfigFieldsZod: () => LocatorConfigFieldsZod,
|
|
75
|
-
LoggerStatusReporter: () => LoggerStatusReporter,
|
|
76
|
-
MemoryArchivistFactory: () => MemoryArchivistFactory,
|
|
77
|
-
MemoryConnectionConfigZod: () => MemoryConnectionConfigZod,
|
|
78
|
-
MemoryPermissionsStore: () => MemoryPermissionsStore,
|
|
79
|
-
MissingCapabilityError: () => MissingCapabilityError,
|
|
80
|
-
MnemonicStringZod: () => MnemonicStringZod,
|
|
81
|
-
MongoConfigZod: () => MongoConfigZod,
|
|
82
|
-
MongoConnectionConfigZod: () => MongoConnectionConfigZod,
|
|
83
|
-
PENDING_BLOCKS_ARCHIVIST_ROLE: () => PENDING_BLOCKS_ARCHIVIST_ROLE,
|
|
84
|
-
PENDING_TRANSACTIONS_ARCHIVIST_ROLE: () => PENDING_TRANSACTIONS_ARCHIVIST_ROLE,
|
|
85
|
-
PRODUCER_DIVERSITY_BONUS: () => PRODUCER_DIVERSITY_BONUS,
|
|
86
|
-
PayloadLocator: () => PayloadLocator,
|
|
87
|
-
PostMessageRpcRemoteConfigZod: () => PostMessageRpcRemoteConfigZod,
|
|
88
|
-
ProviderBindingConfigZod: () => ProviderBindingConfigZod,
|
|
89
|
-
ProviderBindingsConfigZod: () => ProviderBindingsConfigZod,
|
|
90
|
-
ProviderConfigZod: () => ProviderConfigZod,
|
|
91
|
-
ProviderFactory: () => ProviderFactory,
|
|
92
|
-
ProviderFactoryLocator: () => ProviderFactoryLocator,
|
|
93
|
-
ProviderFactoryLocatorZod: () => ProviderFactoryLocatorZod,
|
|
94
|
-
ProvidersConfigZod: () => ProvidersConfigZod,
|
|
95
|
-
REJECTED_BLOCKS_ARCHIVIST_ROLE: () => REJECTED_BLOCKS_ARCHIVIST_ROLE,
|
|
96
|
-
REJECTED_TRANSACTIONS_ARCHIVIST_ROLE: () => REJECTED_TRANSACTIONS_ARCHIVIST_ROLE,
|
|
97
|
-
ResolvedLocatorConfigZod: () => ResolvedLocatorConfigZod,
|
|
98
|
-
RestConnectionConfigZod: () => RestConnectionConfigZod,
|
|
99
|
-
RestDataLakeRunner: () => RestDataLakeRunner,
|
|
100
|
-
RestDataLakeViewer: () => RestDataLakeViewer,
|
|
101
|
-
RestSyncViewer: () => RestSyncViewer,
|
|
102
|
-
RewardMultipliers: () => RewardMultipliers,
|
|
103
|
-
RpcConnectionConfigZod: () => RpcConnectionConfigZod,
|
|
104
|
-
RpcRemoteConfigBaseZod: () => RpcRemoteConfigBaseZod,
|
|
105
|
-
RpcRemoteConfigZod: () => RpcRemoteConfigZod,
|
|
106
|
-
S3BucketConfigZod: () => S3BucketConfigZod,
|
|
107
|
-
S3ConnectionConfigZod: () => S3ConnectionConfigZod,
|
|
108
|
-
SchemasStepSummarySchema: () => SchemasStepSummarySchema,
|
|
109
|
-
ShiftedBigInt: () => ShiftedBigInt,
|
|
110
|
-
SimpleAccountBalanceViewer: () => SimpleAccountBalanceViewer,
|
|
111
|
-
SimpleBlockRewardViewer: () => SimpleBlockRewardViewer,
|
|
112
|
-
SimpleBlockValidationViewer: () => SimpleBlockValidationViewer,
|
|
113
|
-
SimpleBlockViewer: () => SimpleBlockViewer,
|
|
114
|
-
SimpleChainContractViewer: () => SimpleChainContractViewer,
|
|
115
|
-
SimpleDataLakeRunner: () => SimpleDataLakeRunner,
|
|
116
|
-
SimpleDataLakeViewer: () => SimpleDataLakeViewer,
|
|
117
|
-
SimpleFinalizationRunner: () => SimpleFinalizationRunner,
|
|
118
|
-
SimpleFinalizationViewer: () => SimpleFinalizationViewer,
|
|
119
|
-
SimpleMempoolRunner: () => SimpleMempoolRunner,
|
|
120
|
-
SimpleMempoolViewer: () => SimpleMempoolViewer,
|
|
121
|
-
SimpleStakeEventsViewer: () => SimpleStakeEventsViewer,
|
|
122
|
-
SimpleStakeTotalsViewer: () => SimpleStakeTotalsViewer,
|
|
123
|
-
SimpleStakeViewer: () => SimpleStakeViewer,
|
|
124
|
-
SimpleSystemStatusRunner: () => SimpleSystemStatusRunner,
|
|
125
|
-
SimpleSystemStatusViewer: () => SimpleSystemStatusViewer,
|
|
126
|
-
SimpleTimeSyncViewer: () => SimpleTimeSyncViewer,
|
|
127
|
-
SimpleTransactionValidationViewer: () => SimpleTransactionValidationViewer,
|
|
128
|
-
SimpleTransactionViewer: () => SimpleTransactionViewer,
|
|
129
|
-
SimpleWindowedBlockViewer: () => SimpleWindowedBlockViewer,
|
|
130
|
-
SimpleXyoClient: () => SimpleXyoClient,
|
|
131
|
-
SimpleXyoGateway: () => SimpleXyoGateway,
|
|
132
|
-
SimpleXyoGatewayRunner: () => SimpleXyoGatewayRunner,
|
|
133
|
-
SimpleXyoNetwork: () => SimpleXyoNetwork,
|
|
134
|
-
SimpleXyoPermissions: () => SimpleXyoPermissions,
|
|
135
|
-
SimpleXyoRunner: () => SimpleXyoRunner,
|
|
136
|
-
SimpleXyoSigner: () => SimpleXyoSigner,
|
|
137
|
-
SystemStatusRunnerZod: () => SystemStatusRunnerZod,
|
|
138
|
-
TODO: () => TODO,
|
|
139
|
-
TestGenesisBlockRewardAddress: () => TestGenesisBlockRewardAddress,
|
|
140
|
-
TransactionBuilder: () => TransactionBuilder,
|
|
141
|
-
TransfersStepSummarySchema: () => TransfersStepSummarySchema,
|
|
142
|
-
TypedDataDomainZod: () => TypedDataDomainZod,
|
|
143
|
-
TypedDataFieldZod: () => TypedDataFieldZod,
|
|
144
|
-
TypedDataTypesZod: () => TypedDataTypesZod,
|
|
145
|
-
TypedDataValueZod: () => TypedDataValueZod,
|
|
146
|
-
UnboundProviderError: () => UnboundProviderError,
|
|
147
|
-
UnknownConnectionError: () => UnknownConnectionError,
|
|
148
|
-
UsageMetaSchema: () => UsageMetaSchema,
|
|
149
|
-
VIEWER_BRANCH_KEYS: () => VIEWER_BRANCH_KEYS,
|
|
150
|
-
WALLET_COMPLIANCE: () => WALLET_COMPLIANCE,
|
|
151
|
-
XL1Amount: () => XL1Amount,
|
|
152
|
-
XL1_NETWORK_STAKING_GENESIS_PERIOD_END_EPOCH: () => XL1_NETWORK_STAKING_GENESIS_PERIOD_END_EPOCH,
|
|
153
|
-
XL1_NETWORK_STAKING_GENESIS_PERIOD_END_XL1_BLOCK: () => XL1_NETWORK_STAKING_GENESIS_PERIOD_END_XL1_BLOCK,
|
|
154
|
-
XL1_NETWORK_STAKING_GENESIS_PERIOD_TOTAL_BONUS_REWARDS: () => XL1_NETWORK_STAKING_GENESIS_PERIOD_TOTAL_BONUS_REWARDS,
|
|
155
|
-
XL1_NETWORK_STAKING_GENESIS_PERIOD_TOTAL_EARNED_REWARDS: () => XL1_NETWORK_STAKING_GENESIS_PERIOD_TOTAL_EARNED_REWARDS,
|
|
156
|
-
XL1_NETWORK_STAKING_GENESIS_PERIOD_TOTAL_REWARDS: () => XL1_NETWORK_STAKING_GENESIS_PERIOD_TOTAL_REWARDS,
|
|
157
|
-
activeStakeAtTimeByAddress: () => activeStakeAtTimeByAddress,
|
|
158
|
-
activeStakeAtTimeByPosition: () => activeStakeAtTimeByPosition,
|
|
159
|
-
addDataLakePayloads: () => addDataLakePayloads,
|
|
160
|
-
addDataLakePayloadsToPayloads: () => addDataLakePayloadsToPayloads,
|
|
161
|
-
allHashesPresent: () => allHashesPresent,
|
|
162
|
-
allStakersForRange: () => allStakersForRange,
|
|
163
|
-
allStakersForStep: () => allStakersForStep,
|
|
164
|
-
archivistCacheKey: () => archivistCacheKey,
|
|
165
|
-
asActorConfig: () => asActorConfig,
|
|
166
|
-
asActorConfigContext: () => asActorConfigContext,
|
|
167
|
-
asAddressPairPayload: () => asAddressPairPayload,
|
|
168
|
-
asBalancesStepSummary: () => asBalancesStepSummary,
|
|
169
|
-
asBalancesStepSummaryWithStorageMeta: () => asBalancesStepSummaryWithStorageMeta,
|
|
170
|
-
asBaseConfigContext: () => asBaseConfigContext,
|
|
171
|
-
asBoundWitnessWithStorageMeta: () => asBoundWitnessWithStorageMeta,
|
|
172
|
-
asChainIndexingServiceState: () => asChainIndexingServiceState,
|
|
173
|
-
asChainIndexingServiceStateWithStorageMeta: () => asChainIndexingServiceStateWithStorageMeta,
|
|
174
|
-
asCreatableProviderContext: () => asCreatableProviderContext,
|
|
175
|
-
asEIP712DataPayload: () => asEIP712DataPayload,
|
|
176
|
-
asEIP712SignaturePayload: () => asEIP712SignaturePayload,
|
|
177
|
-
asHostActorConfig: () => asHostActorConfig,
|
|
178
|
-
asHostActorConfigContext: () => asHostActorConfigContext,
|
|
179
|
-
asHydratedBoundWitnessWithStorageMeta: () => asHydratedBoundWitnessWithStorageMeta,
|
|
180
|
-
asOptionalAddressPairPayload: () => asOptionalAddressPairPayload,
|
|
181
|
-
asProviderConfig: () => asProviderConfig,
|
|
182
|
-
asSchemasStepSummary: () => asSchemasStepSummary,
|
|
183
|
-
asSchemasStepSummaryWithStorageMeta: () => asSchemasStepSummaryWithStorageMeta,
|
|
184
|
-
asTransfersStepSummary: () => asTransfersStepSummary,
|
|
185
|
-
asTransfersStepSummaryWithStorageMeta: () => asTransfersStepSummaryWithStorageMeta,
|
|
186
|
-
assertResolvedLocatorConfig: () => assertResolvedLocatorConfig,
|
|
187
|
-
backedFactory: () => backedFactory,
|
|
188
|
-
backingsSatisfied: () => backingsSatisfied,
|
|
189
|
-
balancesMaxStep: () => balancesMaxStep,
|
|
190
|
-
balancesStepSummaryFromRange: () => balancesStepSummaryFromRange,
|
|
191
|
-
balancesSummary: () => balancesSummary,
|
|
192
|
-
blockFromBlockNumber: () => blockFromBlockNumber,
|
|
193
|
-
blockPayloadsFromHydratedBlock: () => blockPayloadsFromHydratedBlock,
|
|
194
|
-
blockRangeSteps: () => blockRangeSteps,
|
|
195
|
-
blockRate: () => blockRate,
|
|
196
|
-
blocksMaxStep: () => blocksMaxStep,
|
|
197
|
-
blocksStepSummaryFromRange: () => blocksStepSummaryFromRange,
|
|
198
|
-
blocksStepSummaryKey: () => blocksStepSummaryKey,
|
|
199
|
-
buildRandomChain: () => buildRandomChain,
|
|
200
|
-
buildRandomChainArchivist: () => buildRandomChainArchivist,
|
|
201
|
-
buildRandomTransaction: () => buildRandomTransaction,
|
|
202
|
-
buildTransaction: () => buildTransaction,
|
|
203
|
-
buildUnsignedBoundWitness: () => buildUnsignedBoundWitness,
|
|
204
|
-
buildUnsignedTransaction: () => buildUnsignedTransaction,
|
|
205
|
-
bundledPayloadToHydratedBlock: () => bundledPayloadToHydratedBlock,
|
|
206
|
-
bundledPayloadToHydratedTransaction: () => bundledPayloadToHydratedTransaction,
|
|
207
|
-
calculateBlockRate: () => calculateBlockRate,
|
|
208
|
-
calculateFramesFromRange: () => calculateFramesFromRange,
|
|
209
|
-
calculateStepSizeRate: () => calculateStepSizeRate,
|
|
210
|
-
calculateTimeRate: () => calculateTimeRate,
|
|
211
|
-
chainStepRewardAddress: () => chainStepRewardAddress,
|
|
212
|
-
confirmSubmittedTransaction: () => confirmSubmittedTransaction,
|
|
213
|
-
connectArchivist: () => connectArchivist,
|
|
214
|
-
connectionSubsetBySurface: () => connectionSubsetBySurface,
|
|
215
|
-
contextCache: () => contextCache,
|
|
216
|
-
crackOperation: () => crackOperation,
|
|
217
|
-
crackOperations: () => crackOperations,
|
|
218
|
-
creatableProvider: () => creatableProvider,
|
|
219
|
-
createBlockHydrator: () => createBlockHydrator,
|
|
220
|
-
createBoundWitnessHydrator: () => createBoundWitnessHydrator,
|
|
221
|
-
createCapabilityRegistry: () => createCapabilityRegistry,
|
|
222
|
-
createDeclarationIntent: () => createDeclarationIntent,
|
|
223
|
-
createTransactionHydrator: () => createTransactionHydrator,
|
|
224
|
-
createTransferPayload: () => createTransferPayload,
|
|
225
|
-
deepCalculateFramesFromRange: () => deepCalculateFramesFromRange,
|
|
226
|
-
descriptorConnectionTypes: () => descriptorConnectionTypes,
|
|
227
|
-
descriptorMatchesConnectionType: () => descriptorMatchesConnectionType,
|
|
228
|
-
externalBlockNumberFromXL1BlockNumber: () => externalBlockNumberFromXL1BlockNumber,
|
|
229
|
-
externalBlockRangeFromStep: () => externalBlockRangeFromStep,
|
|
230
|
-
externalBlockRangeFromXL1BlockRange: () => externalBlockRangeFromXL1BlockRange,
|
|
231
|
-
factoryBackingsCompatible: () => factoryBackingsCompatible,
|
|
232
|
-
findBestUncle: () => findBestUncle,
|
|
233
|
-
findMostRecentBlock: () => findMostRecentBlock,
|
|
234
|
-
findUncles: () => findUncles,
|
|
235
|
-
flattenHydratedBlock: () => flattenHydratedBlock,
|
|
236
|
-
flattenHydratedBlocks: () => flattenHydratedBlocks,
|
|
237
|
-
flattenHydratedTransaction: () => flattenHydratedTransaction,
|
|
238
|
-
flattenHydratedTransactions: () => flattenHydratedTransactions,
|
|
239
|
-
generateXyoBaseWalletFromPhrase: () => generateXyoBaseWalletFromPhrase,
|
|
240
|
-
getArchivistFactory: () => getArchivistFactory,
|
|
241
|
-
getBlockRateBlocks: () => getBlockRateBlocks,
|
|
242
|
-
getFileConfig: () => getFileConfig,
|
|
243
|
-
getProducerKey: () => getProducerKey,
|
|
244
|
-
getTestProviderContext: () => getTestProviderContext2,
|
|
245
|
-
getTestSimpleBlockViewerLocator: () => getTestSimpleBlockViewerLocator,
|
|
246
|
-
getTimeConfigInMilliseconds: () => getTimeConfigInMilliseconds,
|
|
247
|
-
getUrl: () => getUrl,
|
|
248
|
-
getWindowedChain: () => getWindowedChain,
|
|
249
|
-
hasDeclaredConnectionProfiles: () => hasDeclaredConnectionProfiles,
|
|
250
|
-
hasLabels: () => hasLabels,
|
|
251
|
-
hashFromBlockNumber: () => hashFromBlockNumber,
|
|
252
|
-
hydrateBlock: () => hydrateBlock,
|
|
253
|
-
hydrateElevatedTransaction: () => hydrateElevatedTransaction,
|
|
254
|
-
hydrateTransaction: () => hydrateTransaction,
|
|
255
|
-
hydratedBlockByNumber: () => hydratedBlockByNumber,
|
|
256
|
-
hydratedBlockToPayloadBundle: () => hydratedBlockToPayloadBundle,
|
|
257
|
-
hydratedTransactionToPayloadBundle: () => hydratedTransactionToPayloadBundle,
|
|
258
|
-
isActorConfig: () => isActorConfig,
|
|
259
|
-
isActorConfigContext: () => isActorConfigContext,
|
|
260
|
-
isAddressPairPayload: () => isAddressPairPayload,
|
|
261
|
-
isBalancesStepSummary: () => isBalancesStepSummary,
|
|
262
|
-
isBalancesStepSummaryWithStorageMeta: () => isBalancesStepSummaryWithStorageMeta,
|
|
263
|
-
isBaseConfigContext: () => isBaseConfigContext,
|
|
264
|
-
isChainIndexingServiceState: () => isChainIndexingServiceState,
|
|
265
|
-
isChainIndexingServiceStateWithStorageMeta: () => isChainIndexingServiceStateWithStorageMeta,
|
|
266
|
-
isCreatableProviderContext: () => isCreatableProviderContext,
|
|
267
|
-
isEIP712DataPayload: () => isEIP712DataPayload,
|
|
268
|
-
isEIP712SignaturePayload: () => isEIP712SignaturePayload,
|
|
269
|
-
isHostActorConfig: () => isHostActorConfig,
|
|
270
|
-
isHostActorConfigContext: () => isHostActorConfigContext,
|
|
271
|
-
isLocalhost: () => isLocalhost,
|
|
272
|
-
isNegativeBigInt: () => isNegativeBigInt,
|
|
273
|
-
isPositiveBigInt: () => isPositiveBigInt,
|
|
274
|
-
isProviderConfig: () => isProviderConfig,
|
|
275
|
-
isReadArchivist: () => isReadArchivist,
|
|
276
|
-
isReadWriteArchivist: () => isReadWriteArchivist,
|
|
277
|
-
isSchemasStepSummary: () => isSchemasStepSummary,
|
|
278
|
-
isSchemasStepSummaryWithStorageMeta: () => isSchemasStepSummaryWithStorageMeta,
|
|
279
|
-
isTransfersStepSummary: () => isTransfersStepSummary,
|
|
280
|
-
isTransfersStepSummaryWithStorageMeta: () => isTransfersStepSummaryWithStorageMeta,
|
|
281
|
-
isUsageMeta: () => isUsageMeta,
|
|
282
|
-
isWriteArchivist: () => isWriteArchivist,
|
|
283
|
-
isZodError: () => isZodError,
|
|
284
|
-
labeledCreatableProvider: () => labeledCreatableProvider,
|
|
285
|
-
labeledCreatableProviderFactory: () => labeledCreatableProviderFactory,
|
|
286
|
-
locatorFromConfig: () => locatorFromConfig,
|
|
287
|
-
mapToMapType: () => mapToMapType,
|
|
288
|
-
mergeTransfers: () => mergeTransfers,
|
|
289
|
-
mergedAddRemoveStakeEventsByPosition: () => mergedAddRemoveStakeEventsByPosition,
|
|
290
|
-
needsFromConnectionTypes: () => needsFromConnectionTypes,
|
|
291
|
-
needsFromProviderBindings: () => needsFromProviderBindings,
|
|
292
|
-
netBalancesForPayloads: () => netBalancesForPayloads,
|
|
293
|
-
netSchemasForPayloads: () => netSchemasForPayloads,
|
|
294
|
-
netTransfersForPayloads: () => netTransfersForPayloads,
|
|
295
|
-
networkBackedFactory: () => networkBackedFactory,
|
|
296
|
-
networkStakeStepRewardPositionWeight: () => networkStakeStepRewardPositionWeight,
|
|
297
|
-
normalizeConnectionsConfig: () => normalizeConnectionsConfig,
|
|
298
|
-
parseLocatorConfigFields: () => parseLocatorConfigFields,
|
|
299
|
-
parseSignedBigInt: () => parseSignedBigInt,
|
|
300
|
-
payloadMapFromStore: () => payloadMapFromStore,
|
|
301
|
-
prettifyZodError: () => prettifyZodError,
|
|
302
|
-
providerCandidateFromClass: () => providerCandidateFromClass,
|
|
303
|
-
providerCandidatesFromClasses: () => providerCandidatesFromClasses,
|
|
304
|
-
providerFactoryDescription: () => providerFactoryDescription,
|
|
305
|
-
rateMultipliers: () => rateMultipliers,
|
|
306
|
-
readPayloadMapFromStore: () => readPayloadMapFromStore,
|
|
307
|
-
registerArchivistFactory: () => registerArchivistFactory,
|
|
308
|
-
registerCreatableProviderFactories: () => registerCreatableProviderFactories,
|
|
309
|
-
registerCreatableProviderFactory: () => registerCreatableProviderFactory,
|
|
310
|
-
registerFactoriesFromPlan: () => registerFactoriesFromPlan,
|
|
311
|
-
resetArchivistFactories: () => resetArchivistFactories,
|
|
312
|
-
resolveConfig: () => resolveConfig,
|
|
313
|
-
resolveProviders: () => resolveProviders,
|
|
314
|
-
resolveProvidersFromConfig: () => resolveProvidersFromConfig,
|
|
315
|
-
resolveRestConnectionEndpoint: () => resolveRestConnectionEndpoint,
|
|
316
|
-
rewardFromBlockNumber: () => rewardFromBlockNumber,
|
|
317
|
-
schemasMaxStep: () => schemasMaxStep,
|
|
318
|
-
schemasStepSummaryFromRange: () => schemasStepSummaryFromRange,
|
|
319
|
-
schemasSummary: () => schemasSummary,
|
|
320
|
-
scoreUncle: () => scoreUncle,
|
|
321
|
-
signBoundWitness: () => signBoundWitness,
|
|
322
|
-
signEIP712Message: () => signEIP712Message,
|
|
323
|
-
signTransaction: () => signTransaction,
|
|
324
|
-
splitOnDecimal: () => splitOnDecimal,
|
|
325
|
-
splitOnDecimalToString: () => splitOnDecimalToString,
|
|
326
|
-
stepBlockRange: () => stepBlockRange,
|
|
327
|
-
stepRate: () => stepRate,
|
|
328
|
-
stepRewardBlock: () => stepRewardBlock,
|
|
329
|
-
stepRewardTotal: () => stepRewardTotal,
|
|
330
|
-
stepTransferIndex: () => stepTransferIndex,
|
|
331
|
-
stepsRewardTotal: () => stepsRewardTotal,
|
|
332
|
-
stepsRewardTotalGenesisPeriod: () => stepsRewardTotalGenesisPeriod,
|
|
333
|
-
stepsRewardTotalRange: () => stepsRewardTotalRange,
|
|
334
|
-
surfaceForBranch: () => surfaceForBranch,
|
|
335
|
-
synthesizeRpcConnectionBindings: () => synthesizeRpcConnectionBindings,
|
|
336
|
-
timeDurations: () => timeDurations,
|
|
337
|
-
toActorConfig: () => toActorConfig,
|
|
338
|
-
toActorConfigContext: () => toActorConfigContext,
|
|
339
|
-
toBaseConfigContext: () => toBaseConfigContext,
|
|
340
|
-
toCreatableProviderContext: () => toCreatableProviderContext,
|
|
341
|
-
toHostActorConfig: () => toHostActorConfig,
|
|
342
|
-
toHostActorConfigContext: () => toHostActorConfigContext,
|
|
343
|
-
toPositiveBigInt: () => toPositiveBigInt,
|
|
344
|
-
toProviderConfig: () => toProviderConfig,
|
|
345
|
-
toSignedBigInt: () => toSignedBigInt,
|
|
346
|
-
toStepIdentityString: () => toStepIdentityString,
|
|
347
|
-
transactionBlockByteCount: () => transactionBlockByteCount,
|
|
348
|
-
transactionBytesRequiredGas: () => transactionBytesRequiredGas,
|
|
349
|
-
transactionElevatedPayloadHashes: () => transactionElevatedPayloadHashes,
|
|
350
|
-
transactionElevatedPayloads: () => transactionElevatedPayloads,
|
|
351
|
-
transactionRequiredGas: () => transactionRequiredGas,
|
|
352
|
-
transactionsFromHydratedBlock: () => transactionsFromHydratedBlock,
|
|
353
|
-
transfersMaxStep: () => transfersMaxStep,
|
|
354
|
-
transfersStepSummaryFromRange: () => transfersStepSummaryFromRange,
|
|
355
|
-
transfersSummary: () => transfersSummary,
|
|
356
|
-
transfersSummaryKey: () => transfersSummaryKey,
|
|
357
|
-
tryHydrateBlock: () => tryHydrateBlock,
|
|
358
|
-
tryHydrateElevatedTransaction: () => tryHydrateElevatedTransaction,
|
|
359
|
-
tryHydrateTransaction: () => tryHydrateTransaction,
|
|
360
|
-
tryUnflattenHydratedBlock: () => tryUnflattenHydratedBlock,
|
|
361
|
-
tryUnflattenHydratedTransaction: () => tryUnflattenHydratedTransaction,
|
|
362
|
-
unflattenHydratedBlock: () => unflattenHydratedBlock,
|
|
363
|
-
unflattenHydratedTransaction: () => unflattenHydratedTransaction,
|
|
364
|
-
unmetBackings: () => unmetBackings,
|
|
365
|
-
validateTransactionsOpcodes: () => validateTransactionsOpcodes,
|
|
366
|
-
verifyEIP712Message: () => verifyEIP712Message,
|
|
367
|
-
weightedStakeForRangeByPosition: () => weightedStakeForRangeByPosition,
|
|
368
|
-
withContextCacheResponse: () => withContextCacheResponse,
|
|
369
|
-
xl1BlockNumberToEthBlockNumber: () => xl1BlockNumberToEthBlockNumber
|
|
370
|
-
});
|
|
371
|
-
|
|
372
14
|
// src/getFileConfig.ts
|
|
373
15
|
import { isDefined as isDefined14, isNull as isNull2 } from "@xylabs/sdk";
|
|
374
16
|
import { cosmiconfig } from "cosmiconfig";
|
|
@@ -2587,348 +2229,6 @@ async function getFileConfig(searchPlaces) {
|
|
|
2587
2229
|
return ConfigZod.parse({});
|
|
2588
2230
|
}
|
|
2589
2231
|
|
|
2590
|
-
// src/index.ts
|
|
2591
|
-
var index_exports = {};
|
|
2592
|
-
__export(index_exports, {
|
|
2593
|
-
ACCOUNT_TYPE: () => ACCOUNT_TYPE,
|
|
2594
|
-
ADDRESS_INDEX: () => ADDRESS_INDEX,
|
|
2595
|
-
AbstractCreatableProvider: () => AbstractCreatableProvider,
|
|
2596
|
-
AccountPathZod: () => AccountPathZod,
|
|
2597
|
-
ActorConfigContext: () => ActorConfigContext,
|
|
2598
|
-
ActorConfigZod: () => ActorConfigZod,
|
|
2599
|
-
ActorsConfigZod: () => ActorsConfigZod,
|
|
2600
|
-
AddressPairSchema: () => AddressPairSchema,
|
|
2601
|
-
AmbiguousProviderError: () => AmbiguousProviderError,
|
|
2602
|
-
ArchivistInstanceCache: () => ArchivistInstanceCache,
|
|
2603
|
-
BalancesStepSummarySchema: () => BalancesStepSummarySchema,
|
|
2604
|
-
BaseConfigContextZod: () => BaseConfigContextZod,
|
|
2605
|
-
BaseConfigZod: () => BaseConfigZod,
|
|
2606
|
-
BoundWitnessHydrator: () => BoundWitnessHydrator,
|
|
2607
|
-
BoundWitnessWithStorageMetaZod: () => BoundWitnessWithStorageMetaZod,
|
|
2608
|
-
CHAIN_ARCHIVIST_ROLE: () => CHAIN_ARCHIVIST_ROLE,
|
|
2609
|
-
CHANGE_ADDRESS: () => CHANGE_ADDRESS,
|
|
2610
|
-
COIN_TYPES: () => COIN_TYPES,
|
|
2611
|
-
ChainIndexingServiceStateSchema: () => ChainIndexingServiceStateSchema,
|
|
2612
|
-
ConfigZod: () => ConfigZod,
|
|
2613
|
-
ConnectionConfigZod: () => ConnectionConfigZod,
|
|
2614
|
-
ConnectionsConfigZod: () => ConnectionsConfigZod,
|
|
2615
|
-
CreatableProviderContextZod: () => CreatableProviderContextZod,
|
|
2616
|
-
DEFAULT_BACKOFF_MS: () => DEFAULT_BACKOFF_MS,
|
|
2617
|
-
DEFAULT_MAX_ATTEMPTS: () => DEFAULT_MAX_ATTEMPTS,
|
|
2618
|
-
DEFAULT_MIN_CANDIDATES: () => DEFAULT_MIN_CANDIDATES,
|
|
2619
|
-
DEFAULT_TOLERANCE_MS: () => DEFAULT_TOLERANCE_MS,
|
|
2620
|
-
DEFAULT_WALLET_PATH: () => DEFAULT_WALLET_PATH,
|
|
2621
|
-
DefaultMetricsScrapePorts: () => DefaultMetricsScrapePorts,
|
|
2622
|
-
EIP712DataPayloadFieldsZod: () => EIP712DataPayloadFieldsZod,
|
|
2623
|
-
EIP712DataPayloadSchema: () => EIP712DataPayloadSchema,
|
|
2624
|
-
EIP712SignaturePayloadFieldsZod: () => EIP712SignaturePayloadFieldsZod,
|
|
2625
|
-
EIP712SignaturePayloadSchema: () => EIP712SignaturePayloadSchema,
|
|
2626
|
-
EvmRpcConnectionConfigZod: () => EvmRpcConnectionConfigZod,
|
|
2627
|
-
GlobalMetaSchema: () => GlobalMetaSchema,
|
|
2628
|
-
HostActorConfigContext: () => HostActorConfigContext,
|
|
2629
|
-
HostActorConfigZod: () => HostActorConfigZod,
|
|
2630
|
-
HttpRpcRemoteConfigZod: () => HttpRpcRemoteConfigZod,
|
|
2631
|
-
HydratedBoundWitnessWithStorageMetaZod: () => HydratedBoundWitnessWithStorageMetaZod,
|
|
2632
|
-
HydratedCache: () => HydratedCache,
|
|
2633
|
-
JSONSchemaMetaSchema: () => JSONSchemaMetaSchema,
|
|
2634
|
-
LmdbConnectionConfigZod: () => LmdbConnectionConfigZod,
|
|
2635
|
-
LocatorConfigFieldsZod: () => LocatorConfigFieldsZod,
|
|
2636
|
-
LoggerStatusReporter: () => LoggerStatusReporter,
|
|
2637
|
-
MemoryArchivistFactory: () => MemoryArchivistFactory,
|
|
2638
|
-
MemoryConnectionConfigZod: () => MemoryConnectionConfigZod,
|
|
2639
|
-
MemoryPermissionsStore: () => MemoryPermissionsStore,
|
|
2640
|
-
MissingCapabilityError: () => MissingCapabilityError,
|
|
2641
|
-
MnemonicStringZod: () => MnemonicStringZod,
|
|
2642
|
-
MongoConfigZod: () => MongoConfigZod,
|
|
2643
|
-
MongoConnectionConfigZod: () => MongoConnectionConfigZod,
|
|
2644
|
-
PENDING_BLOCKS_ARCHIVIST_ROLE: () => PENDING_BLOCKS_ARCHIVIST_ROLE,
|
|
2645
|
-
PENDING_TRANSACTIONS_ARCHIVIST_ROLE: () => PENDING_TRANSACTIONS_ARCHIVIST_ROLE,
|
|
2646
|
-
PRODUCER_DIVERSITY_BONUS: () => PRODUCER_DIVERSITY_BONUS,
|
|
2647
|
-
PayloadLocator: () => PayloadLocator,
|
|
2648
|
-
PostMessageRpcRemoteConfigZod: () => PostMessageRpcRemoteConfigZod,
|
|
2649
|
-
ProviderBindingConfigZod: () => ProviderBindingConfigZod,
|
|
2650
|
-
ProviderBindingsConfigZod: () => ProviderBindingsConfigZod,
|
|
2651
|
-
ProviderConfigZod: () => ProviderConfigZod,
|
|
2652
|
-
ProviderFactory: () => ProviderFactory,
|
|
2653
|
-
ProviderFactoryLocator: () => ProviderFactoryLocator,
|
|
2654
|
-
ProviderFactoryLocatorZod: () => ProviderFactoryLocatorZod,
|
|
2655
|
-
ProvidersConfigZod: () => ProvidersConfigZod,
|
|
2656
|
-
REJECTED_BLOCKS_ARCHIVIST_ROLE: () => REJECTED_BLOCKS_ARCHIVIST_ROLE,
|
|
2657
|
-
REJECTED_TRANSACTIONS_ARCHIVIST_ROLE: () => REJECTED_TRANSACTIONS_ARCHIVIST_ROLE,
|
|
2658
|
-
ResolvedLocatorConfigZod: () => ResolvedLocatorConfigZod,
|
|
2659
|
-
RestConnectionConfigZod: () => RestConnectionConfigZod,
|
|
2660
|
-
RestDataLakeRunner: () => RestDataLakeRunner,
|
|
2661
|
-
RestDataLakeViewer: () => RestDataLakeViewer,
|
|
2662
|
-
RestSyncViewer: () => RestSyncViewer,
|
|
2663
|
-
RewardMultipliers: () => RewardMultipliers,
|
|
2664
|
-
RpcConnectionConfigZod: () => RpcConnectionConfigZod,
|
|
2665
|
-
RpcRemoteConfigBaseZod: () => RpcRemoteConfigBaseZod,
|
|
2666
|
-
RpcRemoteConfigZod: () => RpcRemoteConfigZod,
|
|
2667
|
-
S3BucketConfigZod: () => S3BucketConfigZod,
|
|
2668
|
-
S3ConnectionConfigZod: () => S3ConnectionConfigZod,
|
|
2669
|
-
SchemasStepSummarySchema: () => SchemasStepSummarySchema,
|
|
2670
|
-
ShiftedBigInt: () => ShiftedBigInt,
|
|
2671
|
-
SimpleAccountBalanceViewer: () => SimpleAccountBalanceViewer,
|
|
2672
|
-
SimpleBlockRewardViewer: () => SimpleBlockRewardViewer,
|
|
2673
|
-
SimpleBlockValidationViewer: () => SimpleBlockValidationViewer,
|
|
2674
|
-
SimpleBlockViewer: () => SimpleBlockViewer,
|
|
2675
|
-
SimpleChainContractViewer: () => SimpleChainContractViewer,
|
|
2676
|
-
SimpleDataLakeRunner: () => SimpleDataLakeRunner,
|
|
2677
|
-
SimpleDataLakeViewer: () => SimpleDataLakeViewer,
|
|
2678
|
-
SimpleFinalizationRunner: () => SimpleFinalizationRunner,
|
|
2679
|
-
SimpleFinalizationViewer: () => SimpleFinalizationViewer,
|
|
2680
|
-
SimpleMempoolRunner: () => SimpleMempoolRunner,
|
|
2681
|
-
SimpleMempoolViewer: () => SimpleMempoolViewer,
|
|
2682
|
-
SimpleStakeEventsViewer: () => SimpleStakeEventsViewer,
|
|
2683
|
-
SimpleStakeTotalsViewer: () => SimpleStakeTotalsViewer,
|
|
2684
|
-
SimpleStakeViewer: () => SimpleStakeViewer,
|
|
2685
|
-
SimpleSystemStatusRunner: () => SimpleSystemStatusRunner,
|
|
2686
|
-
SimpleSystemStatusViewer: () => SimpleSystemStatusViewer,
|
|
2687
|
-
SimpleTimeSyncViewer: () => SimpleTimeSyncViewer,
|
|
2688
|
-
SimpleTransactionValidationViewer: () => SimpleTransactionValidationViewer,
|
|
2689
|
-
SimpleTransactionViewer: () => SimpleTransactionViewer,
|
|
2690
|
-
SimpleWindowedBlockViewer: () => SimpleWindowedBlockViewer,
|
|
2691
|
-
SimpleXyoClient: () => SimpleXyoClient,
|
|
2692
|
-
SimpleXyoGateway: () => SimpleXyoGateway,
|
|
2693
|
-
SimpleXyoGatewayRunner: () => SimpleXyoGatewayRunner,
|
|
2694
|
-
SimpleXyoNetwork: () => SimpleXyoNetwork,
|
|
2695
|
-
SimpleXyoPermissions: () => SimpleXyoPermissions,
|
|
2696
|
-
SimpleXyoRunner: () => SimpleXyoRunner,
|
|
2697
|
-
SimpleXyoSigner: () => SimpleXyoSigner,
|
|
2698
|
-
SystemStatusRunnerZod: () => SystemStatusRunnerZod,
|
|
2699
|
-
TODO: () => TODO,
|
|
2700
|
-
TestGenesisBlockRewardAddress: () => TestGenesisBlockRewardAddress,
|
|
2701
|
-
TransactionBuilder: () => TransactionBuilder,
|
|
2702
|
-
TransfersStepSummarySchema: () => TransfersStepSummarySchema,
|
|
2703
|
-
TypedDataDomainZod: () => TypedDataDomainZod,
|
|
2704
|
-
TypedDataFieldZod: () => TypedDataFieldZod,
|
|
2705
|
-
TypedDataTypesZod: () => TypedDataTypesZod,
|
|
2706
|
-
TypedDataValueZod: () => TypedDataValueZod,
|
|
2707
|
-
UnboundProviderError: () => UnboundProviderError,
|
|
2708
|
-
UnknownConnectionError: () => UnknownConnectionError,
|
|
2709
|
-
UsageMetaSchema: () => UsageMetaSchema,
|
|
2710
|
-
VIEWER_BRANCH_KEYS: () => VIEWER_BRANCH_KEYS,
|
|
2711
|
-
WALLET_COMPLIANCE: () => WALLET_COMPLIANCE,
|
|
2712
|
-
XL1Amount: () => XL1Amount,
|
|
2713
|
-
XL1_NETWORK_STAKING_GENESIS_PERIOD_END_EPOCH: () => XL1_NETWORK_STAKING_GENESIS_PERIOD_END_EPOCH,
|
|
2714
|
-
XL1_NETWORK_STAKING_GENESIS_PERIOD_END_XL1_BLOCK: () => XL1_NETWORK_STAKING_GENESIS_PERIOD_END_XL1_BLOCK,
|
|
2715
|
-
XL1_NETWORK_STAKING_GENESIS_PERIOD_TOTAL_BONUS_REWARDS: () => XL1_NETWORK_STAKING_GENESIS_PERIOD_TOTAL_BONUS_REWARDS,
|
|
2716
|
-
XL1_NETWORK_STAKING_GENESIS_PERIOD_TOTAL_EARNED_REWARDS: () => XL1_NETWORK_STAKING_GENESIS_PERIOD_TOTAL_EARNED_REWARDS,
|
|
2717
|
-
XL1_NETWORK_STAKING_GENESIS_PERIOD_TOTAL_REWARDS: () => XL1_NETWORK_STAKING_GENESIS_PERIOD_TOTAL_REWARDS,
|
|
2718
|
-
activeStakeAtTimeByAddress: () => activeStakeAtTimeByAddress,
|
|
2719
|
-
activeStakeAtTimeByPosition: () => activeStakeAtTimeByPosition,
|
|
2720
|
-
addDataLakePayloads: () => addDataLakePayloads,
|
|
2721
|
-
addDataLakePayloadsToPayloads: () => addDataLakePayloadsToPayloads,
|
|
2722
|
-
allHashesPresent: () => allHashesPresent,
|
|
2723
|
-
allStakersForRange: () => allStakersForRange,
|
|
2724
|
-
allStakersForStep: () => allStakersForStep,
|
|
2725
|
-
archivistCacheKey: () => archivistCacheKey,
|
|
2726
|
-
asActorConfig: () => asActorConfig,
|
|
2727
|
-
asActorConfigContext: () => asActorConfigContext,
|
|
2728
|
-
asAddressPairPayload: () => asAddressPairPayload,
|
|
2729
|
-
asBalancesStepSummary: () => asBalancesStepSummary,
|
|
2730
|
-
asBalancesStepSummaryWithStorageMeta: () => asBalancesStepSummaryWithStorageMeta,
|
|
2731
|
-
asBaseConfigContext: () => asBaseConfigContext,
|
|
2732
|
-
asBoundWitnessWithStorageMeta: () => asBoundWitnessWithStorageMeta,
|
|
2733
|
-
asChainIndexingServiceState: () => asChainIndexingServiceState,
|
|
2734
|
-
asChainIndexingServiceStateWithStorageMeta: () => asChainIndexingServiceStateWithStorageMeta,
|
|
2735
|
-
asCreatableProviderContext: () => asCreatableProviderContext,
|
|
2736
|
-
asEIP712DataPayload: () => asEIP712DataPayload,
|
|
2737
|
-
asEIP712SignaturePayload: () => asEIP712SignaturePayload,
|
|
2738
|
-
asHostActorConfig: () => asHostActorConfig,
|
|
2739
|
-
asHostActorConfigContext: () => asHostActorConfigContext,
|
|
2740
|
-
asHydratedBoundWitnessWithStorageMeta: () => asHydratedBoundWitnessWithStorageMeta,
|
|
2741
|
-
asOptionalAddressPairPayload: () => asOptionalAddressPairPayload,
|
|
2742
|
-
asProviderConfig: () => asProviderConfig,
|
|
2743
|
-
asSchemasStepSummary: () => asSchemasStepSummary,
|
|
2744
|
-
asSchemasStepSummaryWithStorageMeta: () => asSchemasStepSummaryWithStorageMeta,
|
|
2745
|
-
asTransfersStepSummary: () => asTransfersStepSummary,
|
|
2746
|
-
asTransfersStepSummaryWithStorageMeta: () => asTransfersStepSummaryWithStorageMeta,
|
|
2747
|
-
assertResolvedLocatorConfig: () => assertResolvedLocatorConfig,
|
|
2748
|
-
backedFactory: () => backedFactory,
|
|
2749
|
-
backingsSatisfied: () => backingsSatisfied,
|
|
2750
|
-
balancesMaxStep: () => balancesMaxStep,
|
|
2751
|
-
balancesStepSummaryFromRange: () => balancesStepSummaryFromRange,
|
|
2752
|
-
balancesSummary: () => balancesSummary,
|
|
2753
|
-
blockFromBlockNumber: () => blockFromBlockNumber,
|
|
2754
|
-
blockPayloadsFromHydratedBlock: () => blockPayloadsFromHydratedBlock,
|
|
2755
|
-
blockRangeSteps: () => blockRangeSteps,
|
|
2756
|
-
blockRate: () => blockRate,
|
|
2757
|
-
blocksMaxStep: () => blocksMaxStep,
|
|
2758
|
-
blocksStepSummaryFromRange: () => blocksStepSummaryFromRange,
|
|
2759
|
-
blocksStepSummaryKey: () => blocksStepSummaryKey,
|
|
2760
|
-
buildRandomChain: () => buildRandomChain,
|
|
2761
|
-
buildRandomChainArchivist: () => buildRandomChainArchivist,
|
|
2762
|
-
buildRandomTransaction: () => buildRandomTransaction,
|
|
2763
|
-
buildTransaction: () => buildTransaction,
|
|
2764
|
-
buildUnsignedBoundWitness: () => buildUnsignedBoundWitness,
|
|
2765
|
-
buildUnsignedTransaction: () => buildUnsignedTransaction,
|
|
2766
|
-
bundledPayloadToHydratedBlock: () => bundledPayloadToHydratedBlock,
|
|
2767
|
-
bundledPayloadToHydratedTransaction: () => bundledPayloadToHydratedTransaction,
|
|
2768
|
-
calculateBlockRate: () => calculateBlockRate,
|
|
2769
|
-
calculateFramesFromRange: () => calculateFramesFromRange,
|
|
2770
|
-
calculateStepSizeRate: () => calculateStepSizeRate,
|
|
2771
|
-
calculateTimeRate: () => calculateTimeRate,
|
|
2772
|
-
chainStepRewardAddress: () => chainStepRewardAddress,
|
|
2773
|
-
confirmSubmittedTransaction: () => confirmSubmittedTransaction,
|
|
2774
|
-
connectArchivist: () => connectArchivist,
|
|
2775
|
-
connectionSubsetBySurface: () => connectionSubsetBySurface,
|
|
2776
|
-
contextCache: () => contextCache,
|
|
2777
|
-
crackOperation: () => crackOperation,
|
|
2778
|
-
crackOperations: () => crackOperations,
|
|
2779
|
-
creatableProvider: () => creatableProvider,
|
|
2780
|
-
createBlockHydrator: () => createBlockHydrator,
|
|
2781
|
-
createBoundWitnessHydrator: () => createBoundWitnessHydrator,
|
|
2782
|
-
createCapabilityRegistry: () => createCapabilityRegistry,
|
|
2783
|
-
createDeclarationIntent: () => createDeclarationIntent,
|
|
2784
|
-
createTransactionHydrator: () => createTransactionHydrator,
|
|
2785
|
-
createTransferPayload: () => createTransferPayload,
|
|
2786
|
-
deepCalculateFramesFromRange: () => deepCalculateFramesFromRange,
|
|
2787
|
-
descriptorConnectionTypes: () => descriptorConnectionTypes,
|
|
2788
|
-
descriptorMatchesConnectionType: () => descriptorMatchesConnectionType,
|
|
2789
|
-
externalBlockNumberFromXL1BlockNumber: () => externalBlockNumberFromXL1BlockNumber,
|
|
2790
|
-
externalBlockRangeFromStep: () => externalBlockRangeFromStep,
|
|
2791
|
-
externalBlockRangeFromXL1BlockRange: () => externalBlockRangeFromXL1BlockRange,
|
|
2792
|
-
factoryBackingsCompatible: () => factoryBackingsCompatible,
|
|
2793
|
-
findBestUncle: () => findBestUncle,
|
|
2794
|
-
findMostRecentBlock: () => findMostRecentBlock,
|
|
2795
|
-
findUncles: () => findUncles,
|
|
2796
|
-
flattenHydratedBlock: () => flattenHydratedBlock,
|
|
2797
|
-
flattenHydratedBlocks: () => flattenHydratedBlocks,
|
|
2798
|
-
flattenHydratedTransaction: () => flattenHydratedTransaction,
|
|
2799
|
-
flattenHydratedTransactions: () => flattenHydratedTransactions,
|
|
2800
|
-
generateXyoBaseWalletFromPhrase: () => generateXyoBaseWalletFromPhrase,
|
|
2801
|
-
getArchivistFactory: () => getArchivistFactory,
|
|
2802
|
-
getBlockRateBlocks: () => getBlockRateBlocks,
|
|
2803
|
-
getProducerKey: () => getProducerKey,
|
|
2804
|
-
getTestProviderContext: () => getTestProviderContext2,
|
|
2805
|
-
getTestSimpleBlockViewerLocator: () => getTestSimpleBlockViewerLocator,
|
|
2806
|
-
getTimeConfigInMilliseconds: () => getTimeConfigInMilliseconds,
|
|
2807
|
-
getUrl: () => getUrl,
|
|
2808
|
-
getWindowedChain: () => getWindowedChain,
|
|
2809
|
-
hasDeclaredConnectionProfiles: () => hasDeclaredConnectionProfiles,
|
|
2810
|
-
hasLabels: () => hasLabels,
|
|
2811
|
-
hashFromBlockNumber: () => hashFromBlockNumber,
|
|
2812
|
-
hydrateBlock: () => hydrateBlock,
|
|
2813
|
-
hydrateElevatedTransaction: () => hydrateElevatedTransaction,
|
|
2814
|
-
hydrateTransaction: () => hydrateTransaction,
|
|
2815
|
-
hydratedBlockByNumber: () => hydratedBlockByNumber,
|
|
2816
|
-
hydratedBlockToPayloadBundle: () => hydratedBlockToPayloadBundle,
|
|
2817
|
-
hydratedTransactionToPayloadBundle: () => hydratedTransactionToPayloadBundle,
|
|
2818
|
-
isActorConfig: () => isActorConfig,
|
|
2819
|
-
isActorConfigContext: () => isActorConfigContext,
|
|
2820
|
-
isAddressPairPayload: () => isAddressPairPayload,
|
|
2821
|
-
isBalancesStepSummary: () => isBalancesStepSummary,
|
|
2822
|
-
isBalancesStepSummaryWithStorageMeta: () => isBalancesStepSummaryWithStorageMeta,
|
|
2823
|
-
isBaseConfigContext: () => isBaseConfigContext,
|
|
2824
|
-
isChainIndexingServiceState: () => isChainIndexingServiceState,
|
|
2825
|
-
isChainIndexingServiceStateWithStorageMeta: () => isChainIndexingServiceStateWithStorageMeta,
|
|
2826
|
-
isCreatableProviderContext: () => isCreatableProviderContext,
|
|
2827
|
-
isEIP712DataPayload: () => isEIP712DataPayload,
|
|
2828
|
-
isEIP712SignaturePayload: () => isEIP712SignaturePayload,
|
|
2829
|
-
isHostActorConfig: () => isHostActorConfig,
|
|
2830
|
-
isHostActorConfigContext: () => isHostActorConfigContext,
|
|
2831
|
-
isLocalhost: () => isLocalhost,
|
|
2832
|
-
isNegativeBigInt: () => isNegativeBigInt,
|
|
2833
|
-
isPositiveBigInt: () => isPositiveBigInt,
|
|
2834
|
-
isProviderConfig: () => isProviderConfig,
|
|
2835
|
-
isReadArchivist: () => isReadArchivist,
|
|
2836
|
-
isReadWriteArchivist: () => isReadWriteArchivist,
|
|
2837
|
-
isSchemasStepSummary: () => isSchemasStepSummary,
|
|
2838
|
-
isSchemasStepSummaryWithStorageMeta: () => isSchemasStepSummaryWithStorageMeta,
|
|
2839
|
-
isTransfersStepSummary: () => isTransfersStepSummary,
|
|
2840
|
-
isTransfersStepSummaryWithStorageMeta: () => isTransfersStepSummaryWithStorageMeta,
|
|
2841
|
-
isUsageMeta: () => isUsageMeta,
|
|
2842
|
-
isWriteArchivist: () => isWriteArchivist,
|
|
2843
|
-
isZodError: () => isZodError,
|
|
2844
|
-
labeledCreatableProvider: () => labeledCreatableProvider,
|
|
2845
|
-
labeledCreatableProviderFactory: () => labeledCreatableProviderFactory,
|
|
2846
|
-
locatorFromConfig: () => locatorFromConfig,
|
|
2847
|
-
mapToMapType: () => mapToMapType,
|
|
2848
|
-
mergeTransfers: () => mergeTransfers,
|
|
2849
|
-
mergedAddRemoveStakeEventsByPosition: () => mergedAddRemoveStakeEventsByPosition,
|
|
2850
|
-
needsFromConnectionTypes: () => needsFromConnectionTypes,
|
|
2851
|
-
needsFromProviderBindings: () => needsFromProviderBindings,
|
|
2852
|
-
netBalancesForPayloads: () => netBalancesForPayloads,
|
|
2853
|
-
netSchemasForPayloads: () => netSchemasForPayloads,
|
|
2854
|
-
netTransfersForPayloads: () => netTransfersForPayloads,
|
|
2855
|
-
networkBackedFactory: () => networkBackedFactory,
|
|
2856
|
-
networkStakeStepRewardPositionWeight: () => networkStakeStepRewardPositionWeight,
|
|
2857
|
-
normalizeConnectionsConfig: () => normalizeConnectionsConfig,
|
|
2858
|
-
parseLocatorConfigFields: () => parseLocatorConfigFields,
|
|
2859
|
-
parseSignedBigInt: () => parseSignedBigInt,
|
|
2860
|
-
payloadMapFromStore: () => payloadMapFromStore,
|
|
2861
|
-
prettifyZodError: () => prettifyZodError,
|
|
2862
|
-
providerCandidateFromClass: () => providerCandidateFromClass,
|
|
2863
|
-
providerCandidatesFromClasses: () => providerCandidatesFromClasses,
|
|
2864
|
-
providerFactoryDescription: () => providerFactoryDescription,
|
|
2865
|
-
rateMultipliers: () => rateMultipliers,
|
|
2866
|
-
readPayloadMapFromStore: () => readPayloadMapFromStore,
|
|
2867
|
-
registerArchivistFactory: () => registerArchivistFactory,
|
|
2868
|
-
registerCreatableProviderFactories: () => registerCreatableProviderFactories,
|
|
2869
|
-
registerCreatableProviderFactory: () => registerCreatableProviderFactory,
|
|
2870
|
-
registerFactoriesFromPlan: () => registerFactoriesFromPlan,
|
|
2871
|
-
resetArchivistFactories: () => resetArchivistFactories,
|
|
2872
|
-
resolveConfig: () => resolveConfig,
|
|
2873
|
-
resolveProviders: () => resolveProviders,
|
|
2874
|
-
resolveProvidersFromConfig: () => resolveProvidersFromConfig,
|
|
2875
|
-
resolveRestConnectionEndpoint: () => resolveRestConnectionEndpoint,
|
|
2876
|
-
rewardFromBlockNumber: () => rewardFromBlockNumber,
|
|
2877
|
-
schemasMaxStep: () => schemasMaxStep,
|
|
2878
|
-
schemasStepSummaryFromRange: () => schemasStepSummaryFromRange,
|
|
2879
|
-
schemasSummary: () => schemasSummary,
|
|
2880
|
-
scoreUncle: () => scoreUncle,
|
|
2881
|
-
signBoundWitness: () => signBoundWitness,
|
|
2882
|
-
signEIP712Message: () => signEIP712Message,
|
|
2883
|
-
signTransaction: () => signTransaction,
|
|
2884
|
-
splitOnDecimal: () => splitOnDecimal,
|
|
2885
|
-
splitOnDecimalToString: () => splitOnDecimalToString,
|
|
2886
|
-
stepBlockRange: () => stepBlockRange,
|
|
2887
|
-
stepRate: () => stepRate,
|
|
2888
|
-
stepRewardBlock: () => stepRewardBlock,
|
|
2889
|
-
stepRewardTotal: () => stepRewardTotal,
|
|
2890
|
-
stepTransferIndex: () => stepTransferIndex,
|
|
2891
|
-
stepsRewardTotal: () => stepsRewardTotal,
|
|
2892
|
-
stepsRewardTotalGenesisPeriod: () => stepsRewardTotalGenesisPeriod,
|
|
2893
|
-
stepsRewardTotalRange: () => stepsRewardTotalRange,
|
|
2894
|
-
surfaceForBranch: () => surfaceForBranch,
|
|
2895
|
-
synthesizeRpcConnectionBindings: () => synthesizeRpcConnectionBindings,
|
|
2896
|
-
timeDurations: () => timeDurations,
|
|
2897
|
-
toActorConfig: () => toActorConfig,
|
|
2898
|
-
toActorConfigContext: () => toActorConfigContext,
|
|
2899
|
-
toBaseConfigContext: () => toBaseConfigContext,
|
|
2900
|
-
toCreatableProviderContext: () => toCreatableProviderContext,
|
|
2901
|
-
toHostActorConfig: () => toHostActorConfig,
|
|
2902
|
-
toHostActorConfigContext: () => toHostActorConfigContext,
|
|
2903
|
-
toPositiveBigInt: () => toPositiveBigInt,
|
|
2904
|
-
toProviderConfig: () => toProviderConfig,
|
|
2905
|
-
toSignedBigInt: () => toSignedBigInt,
|
|
2906
|
-
toStepIdentityString: () => toStepIdentityString,
|
|
2907
|
-
transactionBlockByteCount: () => transactionBlockByteCount,
|
|
2908
|
-
transactionBytesRequiredGas: () => transactionBytesRequiredGas,
|
|
2909
|
-
transactionElevatedPayloadHashes: () => transactionElevatedPayloadHashes,
|
|
2910
|
-
transactionElevatedPayloads: () => transactionElevatedPayloads,
|
|
2911
|
-
transactionRequiredGas: () => transactionRequiredGas,
|
|
2912
|
-
transactionsFromHydratedBlock: () => transactionsFromHydratedBlock,
|
|
2913
|
-
transfersMaxStep: () => transfersMaxStep,
|
|
2914
|
-
transfersStepSummaryFromRange: () => transfersStepSummaryFromRange,
|
|
2915
|
-
transfersSummary: () => transfersSummary,
|
|
2916
|
-
transfersSummaryKey: () => transfersSummaryKey,
|
|
2917
|
-
tryHydrateBlock: () => tryHydrateBlock,
|
|
2918
|
-
tryHydrateElevatedTransaction: () => tryHydrateElevatedTransaction,
|
|
2919
|
-
tryHydrateTransaction: () => tryHydrateTransaction,
|
|
2920
|
-
tryUnflattenHydratedBlock: () => tryUnflattenHydratedBlock,
|
|
2921
|
-
tryUnflattenHydratedTransaction: () => tryUnflattenHydratedTransaction,
|
|
2922
|
-
unflattenHydratedBlock: () => unflattenHydratedBlock,
|
|
2923
|
-
unflattenHydratedTransaction: () => unflattenHydratedTransaction,
|
|
2924
|
-
unmetBackings: () => unmetBackings,
|
|
2925
|
-
validateTransactionsOpcodes: () => validateTransactionsOpcodes,
|
|
2926
|
-
verifyEIP712Message: () => verifyEIP712Message,
|
|
2927
|
-
weightedStakeForRangeByPosition: () => weightedStakeForRangeByPosition,
|
|
2928
|
-
withContextCacheResponse: () => withContextCacheResponse,
|
|
2929
|
-
xl1BlockNumberToEthBlockNumber: () => xl1BlockNumberToEthBlockNumber
|
|
2930
|
-
});
|
|
2931
|
-
|
|
2932
2232
|
// src/amount/splitOnDecimal.ts
|
|
2933
2233
|
var splitOnDecimal = (value, places = 18) => {
|
|
2934
2234
|
const whole = value / BigInt(10 ** places);
|
|
@@ -8681,13 +7981,6 @@ var generateXyoBaseWalletFromPhrase = (walletPhrase) => {
|
|
|
8681
7981
|
const wallet = HDWallet.fromPhrase(walletPhrase, DEFAULT_WALLET_PATH);
|
|
8682
7982
|
return wallet;
|
|
8683
7983
|
};
|
|
8684
|
-
|
|
8685
|
-
// src/index.ts
|
|
8686
|
-
__reExport(index_exports, xl1_driver_memory_star);
|
|
8687
|
-
import * as xl1_driver_memory_star from "@xyo-network/xl1-driver-memory";
|
|
8688
|
-
|
|
8689
|
-
// src/index-node.ts
|
|
8690
|
-
__reExport(index_node_exports, index_exports);
|
|
8691
7984
|
export {
|
|
8692
7985
|
ACCOUNT_TYPE,
|
|
8693
7986
|
ADDRESS_INDEX,
|