@xyo-network/xl1-protocol-sdk 2.1.8 → 2.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts +62 -8
- package/dist/neutral/CreatableProvider/AbstractCreatableProvider.d.ts.map +1 -1
- package/dist/neutral/capabilities/resolveProviders.d.ts +6 -0
- package/dist/neutral/capabilities/resolveProviders.d.ts.map +1 -1
- package/dist/neutral/config/Actor.d.ts +372 -48
- package/dist/neutral/config/Actor.d.ts.map +1 -1
- package/dist/neutral/config/Actors.d.ts +62 -8
- package/dist/neutral/config/Actors.d.ts.map +1 -1
- package/dist/neutral/config/Base.d.ts +62 -8
- package/dist/neutral/config/Base.d.ts.map +1 -1
- package/dist/neutral/config/Chain.d.ts +1 -1
- package/dist/neutral/config/Config.d.ts +248 -32
- package/dist/neutral/config/Config.d.ts.map +1 -1
- package/dist/neutral/config/HostActor.d.ts +372 -48
- package/dist/neutral/config/HostActor.d.ts.map +1 -1
- package/dist/neutral/config/ProviderBinding.d.ts +18 -0
- package/dist/neutral/config/ProviderBinding.d.ts.map +1 -0
- package/dist/neutral/config/Validation.d.ts +2 -2
- package/dist/neutral/config/adaptLegacyConfig.d.ts +9 -0
- package/dist/neutral/config/adaptLegacyConfig.d.ts.map +1 -0
- package/dist/neutral/config/index.d.ts +5 -1
- package/dist/neutral/config/index.d.ts.map +1 -1
- package/dist/neutral/config/storage/Storage.d.ts +26 -5
- package/dist/neutral/config/storage/Storage.d.ts.map +1 -1
- package/dist/neutral/config/storage/driver/S3.d.ts +77 -0
- package/dist/neutral/config/storage/driver/S3.d.ts.map +1 -0
- package/dist/neutral/config/storage/driver/index.d.ts +1 -1
- package/dist/neutral/config/transports/Transport.d.ts +111 -0
- package/dist/neutral/config/transports/Transport.d.ts.map +1 -0
- package/dist/neutral/config/transports/index.d.ts +2 -0
- package/dist/neutral/config/transports/index.d.ts.map +1 -0
- package/dist/neutral/context/Actor.d.ts +372 -48
- package/dist/neutral/context/Actor.d.ts.map +1 -1
- package/dist/neutral/context/HostActor.d.ts +372 -48
- package/dist/neutral/context/HostActor.d.ts.map +1 -1
- package/dist/neutral/createDeclarationPayload.d.ts +1 -1
- package/dist/neutral/createDeclarationPayload.d.ts.map +1 -1
- package/dist/neutral/createTransferPayload.d.ts +1 -1
- package/dist/neutral/createTransferPayload.d.ts.map +1 -1
- package/dist/neutral/getFileConfig.d.ts +124 -16
- package/dist/neutral/getFileConfig.d.ts.map +1 -1
- package/dist/neutral/getFileConfig.mjs +157 -108
- package/dist/neutral/getFileConfig.mjs.map +4 -4
- package/dist/neutral/index.mjs +427 -216
- package/dist/neutral/index.mjs.map +4 -4
- package/dist/neutral/instances/Address.d.ts +1 -1
- package/dist/neutral/instances/Address.d.ts.map +1 -1
- package/dist/neutral/instances/Signature.d.ts +1 -1
- package/dist/neutral/instances/Signature.d.ts.map +1 -1
- package/dist/neutral/model/CreatableProviderContext.zod.d.ts +372 -48
- package/dist/neutral/model/CreatableProviderContext.zod.d.ts.map +1 -1
- package/dist/neutral/payloads/AddressPairPayload.d.ts +1 -2
- package/dist/neutral/payloads/AddressPairPayload.d.ts.map +1 -1
- package/dist/neutral/payloads/netBalancesForPayloads.d.ts +2 -2
- package/dist/neutral/payloads/netBalancesForPayloads.d.ts.map +1 -1
- package/dist/neutral/payloads/netSchemasForPayloads.d.ts +2 -2
- package/dist/neutral/payloads/netSchemasForPayloads.d.ts.map +1 -1
- package/dist/neutral/payloads/netTransfersForPayloads.d.ts +1 -2
- package/dist/neutral/payloads/netTransfersForPayloads.d.ts.map +1 -1
- package/dist/neutral/primitives/chain/step/chainStepRewardAddress.d.ts +1 -1
- package/dist/neutral/primitives/chain/step/chainStepRewardAddress.d.ts.map +1 -1
- package/dist/neutral/primitives/payload/mergeTransfers.d.ts +1 -1
- package/dist/neutral/primitives/payload/mergeTransfers.d.ts.map +1 -1
- package/dist/neutral/primitives/stake/activeStakeAtTimeByAddress.d.ts +1 -1
- package/dist/neutral/primitives/stake/activeStakeAtTimeByAddress.d.ts.map +1 -1
- package/dist/neutral/primitives/stake/allStakersForRange.d.ts +1 -1
- package/dist/neutral/primitives/stake/allStakersForRange.d.ts.map +1 -1
- package/dist/neutral/primitives/stake/allStakersForStep.d.ts +1 -1
- package/dist/neutral/primitives/stake/allStakersForStep.d.ts.map +1 -1
- package/dist/neutral/primitives/stake/mergedAddRemoveStakeEventsByStaker.d.ts +1 -1
- package/dist/neutral/primitives/stake/mergedAddRemoveStakeEventsByStaker.d.ts.map +1 -1
- package/dist/neutral/primitives/stake/weightedStakeForRangeByPosition.d.ts +1 -1
- package/dist/neutral/primitives/stake/weightedStakeForRangeByPosition.d.ts.map +1 -1
- package/dist/neutral/primitives/uncle/findUncles.d.ts +2 -2
- package/dist/neutral/services/AccountTransfersService.d.ts +1 -1
- package/dist/neutral/services/AccountTransfersService.d.ts.map +1 -1
- package/dist/neutral/services/Election.d.ts +1 -2
- package/dist/neutral/services/Election.d.ts.map +1 -1
- package/dist/neutral/services/StakeIntentService/StakeIntentService.d.ts +1 -1
- package/dist/neutral/services/StakeIntentService/StakeIntentService.d.ts.map +1 -1
- package/dist/neutral/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.d.ts +1 -1
- package/dist/neutral/simple/StakeTotalsViewer/SimpleStakeTotalsViewer.d.ts.map +1 -1
- package/dist/neutral/simple/StakeViewer/SimpleStakeViewer.d.ts +1 -1
- package/dist/neutral/simple/StakeViewer/SimpleStakeViewer.d.ts.map +1 -1
- package/dist/neutral/simple/accountBalance/SimpleAccountBalanceViewer.d.ts +9 -10
- package/dist/neutral/simple/accountBalance/SimpleAccountBalanceViewer.d.ts.map +1 -1
- package/dist/neutral/simple/blockInvalidation/SimpleBlockInvalidationViewer.d.ts +1 -1
- package/dist/neutral/simple/blockValidation/SimpleBlockValidationViewer.d.ts +1 -1
- package/dist/neutral/simple/chainContractViewer/SimpleChainContractViewer.d.ts +3 -3
- package/dist/neutral/simple/chainContractViewer/SimpleChainContractViewer.d.ts.map +1 -1
- package/dist/neutral/simple/gateway/SimpleXyoGatewayRunner.d.ts +1 -2
- package/dist/neutral/simple/gateway/SimpleXyoGatewayRunner.d.ts.map +1 -1
- package/dist/neutral/simple/mempool/SimpleMempoolRunner.d.ts +1 -1
- package/dist/neutral/simple/signer/SimpleXyoSigner.d.ts +1 -2
- package/dist/neutral/simple/signer/SimpleXyoSigner.d.ts.map +1 -1
- package/dist/neutral/simple/timeSync2/SimpleTimeSyncViewer.d.ts +1 -1
- package/dist/neutral/simple/timeSync2/SimpleTimeSyncViewer.d.ts.map +1 -1
- package/dist/neutral/simple/transactionInvalidation/SimpleTransactionInvalidationViewer.d.ts +1 -1
- package/dist/neutral/simple/transactionValidation/SimpleTransactionValidationViewer.d.ts +1 -1
- package/dist/neutral/summary/model/BalancesStepSummary.d.ts +1 -2
- package/dist/neutral/summary/model/BalancesStepSummary.d.ts.map +1 -1
- package/dist/neutral/summary/model/TransfersSummary.d.ts +1 -2
- package/dist/neutral/summary/model/TransfersSummary.d.ts.map +1 -1
- package/dist/neutral/summary/primitives/balances/balancesSummary.d.ts +1 -1
- package/dist/neutral/summary/primitives/balances/balancesSummary.d.ts.map +1 -1
- package/dist/neutral/summary/primitives/transfers/transfersSummary.d.ts +1 -1
- package/dist/neutral/summary/primitives/transfers/transfersSummary.d.ts.map +1 -1
- package/dist/neutral/test/BuildBlockOptions.d.ts +1 -2
- package/dist/neutral/test/BuildBlockOptions.d.ts.map +1 -1
- package/dist/neutral/test/buildNextBlock.d.ts +1 -2
- package/dist/neutral/test/buildNextBlock.d.ts.map +1 -1
- package/dist/neutral/test/buildRandomChain.d.ts +1 -2
- package/dist/neutral/test/buildRandomChain.d.ts.map +1 -1
- package/dist/neutral/test/buildRandomTransaction.d.ts +1 -2
- package/dist/neutral/test/buildRandomTransaction.d.ts.map +1 -1
- package/dist/neutral/test/createGenesisBlock.d.ts +1 -2
- package/dist/neutral/test/createGenesisBlock.d.ts.map +1 -1
- package/dist/neutral/test/createProducerChainStakeIntentTransaction.d.ts +1 -2
- package/dist/neutral/test/createProducerChainStakeIntentTransaction.d.ts.map +1 -1
- package/dist/neutral/test/getSimpleBlockViewerLocator.d.ts +1 -2
- package/dist/neutral/test/getSimpleBlockViewerLocator.d.ts.map +1 -1
- package/dist/neutral/test/index.mjs +159 -110
- package/dist/neutral/test/index.mjs.map +4 -4
- package/dist/neutral/transaction/buildTransaction.d.ts +1 -2
- package/dist/neutral/transaction/buildTransaction.d.ts.map +1 -1
- package/dist/neutral/transaction/buildUnsignedTransaction.d.ts +1 -2
- package/dist/neutral/transaction/buildUnsignedTransaction.d.ts.map +1 -1
- package/package.json +14 -16
- package/dist/neutral/config/storage/driver/R2.d.ts +0 -27
- package/dist/neutral/config/storage/driver/R2.d.ts.map +0 -1
|
@@ -8,7 +8,7 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
8
8
|
readonly __hex: true;
|
|
9
9
|
} & {
|
|
10
10
|
readonly __address: true;
|
|
11
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/
|
|
11
|
+
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-protocol-js").XyoQuantAddress, string>>]>>;
|
|
12
12
|
}, z.core.$strip>>;
|
|
13
13
|
dataLake: z.ZodMiniOptional<import("zod").ZodType<import("./index.ts").DataLakeConfig, unknown, z.core.$ZodTypeInternals<import("./index.ts").DataLakeConfig, unknown>>>;
|
|
14
14
|
evm: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
@@ -32,6 +32,10 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
32
32
|
}>>;
|
|
33
33
|
silent: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
34
34
|
}, z.core.$strip>>;
|
|
35
|
+
providerBindings: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
36
|
+
implementation: import("zod").ZodOptional<import("zod").ZodString>;
|
|
37
|
+
transport: import("zod").ZodOptional<import("zod").ZodString>;
|
|
38
|
+
}, z.core.$strip>>>>;
|
|
35
39
|
providers: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
36
40
|
moniker: import("zod").ZodString;
|
|
37
41
|
labels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
@@ -46,6 +50,35 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
46
50
|
sessionId: import("zod").ZodString;
|
|
47
51
|
}, z.core.$strip>]>>;
|
|
48
52
|
}, z.core.$strip>>;
|
|
53
|
+
transports: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
54
|
+
type: import("zod").ZodLiteral<"lmdb">;
|
|
55
|
+
root: import("zod").ZodString;
|
|
56
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
57
|
+
type: import("zod").ZodLiteral<"mongo">;
|
|
58
|
+
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
59
|
+
database: import("zod").ZodOptional<import("zod").ZodString>;
|
|
60
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
|
61
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
62
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
63
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
64
|
+
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
65
|
+
url: import("zod").ZodString;
|
|
66
|
+
type: import("zod").ZodLiteral<"rpc">;
|
|
67
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
68
|
+
type: import("zod").ZodLiteral<"rest">;
|
|
69
|
+
baseUrl: import("zod").ZodString;
|
|
70
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
71
|
+
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
72
|
+
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
73
|
+
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
74
|
+
type: import("zod").ZodLiteral<"s3">;
|
|
75
|
+
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
76
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
77
|
+
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
78
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
79
|
+
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
80
|
+
url: import("zod").ZodString;
|
|
81
|
+
}, z.core.$strip>], "type">>>>;
|
|
49
82
|
storage: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
50
83
|
mongo: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
51
84
|
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -54,16 +87,37 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
54
87
|
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
55
88
|
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
56
89
|
}, z.core.$strip>>;
|
|
57
|
-
|
|
90
|
+
root: import("zod").ZodOptional<import("zod").ZodString>;
|
|
91
|
+
s3: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
58
92
|
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
59
93
|
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
94
|
+
chainState: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
95
|
+
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
96
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
97
|
+
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
98
|
+
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
99
|
+
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
100
|
+
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
101
|
+
}, z.core.$strip>>;
|
|
102
|
+
finalized: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
103
|
+
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
104
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
105
|
+
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
106
|
+
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
107
|
+
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
108
|
+
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
109
|
+
}, z.core.$strip>>;
|
|
110
|
+
index: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
111
|
+
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
112
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
113
|
+
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
114
|
+
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
115
|
+
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
116
|
+
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
117
|
+
}, z.core.$strip>>;
|
|
63
118
|
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
119
|
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
65
120
|
}, z.core.$strip>>;
|
|
66
|
-
root: import("zod").ZodOptional<import("zod").ZodString>;
|
|
67
121
|
}, z.core.$strip>>;
|
|
68
122
|
telemetry: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
69
123
|
metrics: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -81,12 +135,12 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
81
135
|
readonly __hex: true;
|
|
82
136
|
} & {
|
|
83
137
|
readonly __address: true;
|
|
84
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/
|
|
138
|
+
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-protocol-js").XyoQuantAddress, string>>]>>>;
|
|
85
139
|
allowedRewardEscrowAccountSigners: import("zod").ZodOptional<import("zod").ZodArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
86
140
|
readonly __hex: true;
|
|
87
141
|
} & {
|
|
88
142
|
readonly __address: true;
|
|
89
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/
|
|
143
|
+
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-protocol-js").XyoQuantAddress, string>>]>>>;
|
|
90
144
|
minCandidates: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
91
145
|
backoffMs: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
92
146
|
}, z.core.$strip>>;
|
|
@@ -97,7 +151,7 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
97
151
|
readonly __hex: true;
|
|
98
152
|
} & {
|
|
99
153
|
readonly __address: true;
|
|
100
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/
|
|
154
|
+
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-protocol-js").XyoQuantAddress, string>>]>>;
|
|
101
155
|
}, z.core.$strip>>;
|
|
102
156
|
dataLake: z.ZodMiniOptional<import("zod").ZodType<import("./index.ts").DataLakeConfig, unknown, z.core.$ZodTypeInternals<import("./index.ts").DataLakeConfig, unknown>>>;
|
|
103
157
|
evm: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
@@ -121,6 +175,10 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
121
175
|
}>>;
|
|
122
176
|
silent: import("zod").ZodDefault<import("zod").ZodBoolean>;
|
|
123
177
|
}, z.core.$strip>>;
|
|
178
|
+
providerBindings: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodObject<{
|
|
179
|
+
implementation: import("zod").ZodOptional<import("zod").ZodString>;
|
|
180
|
+
transport: import("zod").ZodOptional<import("zod").ZodString>;
|
|
181
|
+
}, z.core.$strip>>>>;
|
|
124
182
|
providers: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodArray<import("zod").ZodObject<{
|
|
125
183
|
moniker: import("zod").ZodString;
|
|
126
184
|
labels: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
|
|
@@ -135,6 +193,35 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
135
193
|
sessionId: import("zod").ZodString;
|
|
136
194
|
}, z.core.$strip>]>>;
|
|
137
195
|
}, z.core.$strip>>;
|
|
196
|
+
transports: z.ZodMiniDefault<import("zod").ZodDefault<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
197
|
+
type: import("zod").ZodLiteral<"lmdb">;
|
|
198
|
+
root: import("zod").ZodString;
|
|
199
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
200
|
+
type: import("zod").ZodLiteral<"mongo">;
|
|
201
|
+
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
202
|
+
database: import("zod").ZodOptional<import("zod").ZodString>;
|
|
203
|
+
domain: import("zod").ZodOptional<import("zod").ZodString>;
|
|
204
|
+
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
205
|
+
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
206
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
207
|
+
protocol: import("zod").ZodDefault<import("zod").ZodString>;
|
|
208
|
+
url: import("zod").ZodString;
|
|
209
|
+
type: import("zod").ZodLiteral<"rpc">;
|
|
210
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
211
|
+
type: import("zod").ZodLiteral<"rest">;
|
|
212
|
+
baseUrl: import("zod").ZodString;
|
|
213
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
214
|
+
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
215
|
+
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
216
|
+
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
217
|
+
type: import("zod").ZodLiteral<"s3">;
|
|
218
|
+
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
219
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
220
|
+
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
221
|
+
}, z.core.$strip>, import("zod").ZodObject<{
|
|
222
|
+
type: import("zod").ZodLiteral<"evm-rpc">;
|
|
223
|
+
url: import("zod").ZodString;
|
|
224
|
+
}, z.core.$strip>], "type">>>>;
|
|
138
225
|
storage: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
139
226
|
mongo: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
140
227
|
connectionString: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -143,16 +230,37 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
143
230
|
password: import("zod").ZodOptional<import("zod").ZodString>;
|
|
144
231
|
username: import("zod").ZodOptional<import("zod").ZodString>;
|
|
145
232
|
}, z.core.$strip>>;
|
|
146
|
-
|
|
233
|
+
root: import("zod").ZodOptional<import("zod").ZodString>;
|
|
234
|
+
s3: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
147
235
|
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
148
236
|
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
237
|
+
chainState: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
238
|
+
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
239
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
240
|
+
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
241
|
+
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
242
|
+
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
243
|
+
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
244
|
+
}, z.core.$strip>>;
|
|
245
|
+
finalized: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
246
|
+
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
247
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
248
|
+
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
249
|
+
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
250
|
+
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
251
|
+
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
252
|
+
}, z.core.$strip>>;
|
|
253
|
+
index: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
254
|
+
accessKeyId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
255
|
+
accountId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
256
|
+
bucket: import("zod").ZodOptional<import("zod").ZodString>;
|
|
257
|
+
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
258
|
+
readUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
259
|
+
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
260
|
+
}, z.core.$strip>>;
|
|
152
261
|
prefix: import("zod").ZodOptional<import("zod").ZodString>;
|
|
153
262
|
secretAccessKey: import("zod").ZodOptional<import("zod").ZodString>;
|
|
154
263
|
}, z.core.$strip>>;
|
|
155
|
-
root: import("zod").ZodOptional<import("zod").ZodString>;
|
|
156
264
|
}, z.core.$strip>>;
|
|
157
265
|
telemetry: z.ZodMiniDefault<import("zod").ZodObject<{
|
|
158
266
|
metrics: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -170,12 +278,12 @@ export declare const ConfigZod: z.ZodMiniObject<{
|
|
|
170
278
|
readonly __hex: true;
|
|
171
279
|
} & {
|
|
172
280
|
readonly __address: true;
|
|
173
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/
|
|
281
|
+
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-protocol-js").XyoQuantAddress, string>>]>>>;
|
|
174
282
|
allowedRewardEscrowAccountSigners: import("zod").ZodOptional<import("zod").ZodArray<z.ZodMiniUnion<readonly [z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<Lowercase<string> & {
|
|
175
283
|
readonly __hex: true;
|
|
176
284
|
} & {
|
|
177
285
|
readonly __address: true;
|
|
178
|
-
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/
|
|
286
|
+
}, string>>, z.ZodMiniPipe<z.ZodMiniString<string>, z.ZodMiniTransform<import("@xyo-network/sdk-protocol-js").XyoQuantAddress, string>>]>>>;
|
|
179
287
|
minCandidates: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
180
288
|
backoffMs: import("zod").ZodDefault<import("zod").ZodCoercedNumber<unknown>>;
|
|
181
289
|
}, z.core.$strip>>;
|
|
@@ -194,7 +302,7 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
194
302
|
readonly __hex: true;
|
|
195
303
|
} & {
|
|
196
304
|
readonly __address: true;
|
|
197
|
-
}) | import("@xyo-network/
|
|
305
|
+
}) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
|
|
198
306
|
};
|
|
199
307
|
evm: {
|
|
200
308
|
chainId?: string | undefined;
|
|
@@ -210,6 +318,10 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
210
318
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
211
319
|
silent: boolean;
|
|
212
320
|
};
|
|
321
|
+
providerBindings: Record<string, {
|
|
322
|
+
implementation?: string | undefined;
|
|
323
|
+
transport?: string | undefined;
|
|
324
|
+
}>;
|
|
213
325
|
providers: {
|
|
214
326
|
[x: string]: unknown;
|
|
215
327
|
moniker: string;
|
|
@@ -225,6 +337,35 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
225
337
|
sessionId: string;
|
|
226
338
|
} | undefined;
|
|
227
339
|
};
|
|
340
|
+
transports: Record<string, {
|
|
341
|
+
type: "lmdb";
|
|
342
|
+
root: string;
|
|
343
|
+
} | {
|
|
344
|
+
type: "mongo";
|
|
345
|
+
connectionString?: string | undefined;
|
|
346
|
+
database?: string | undefined;
|
|
347
|
+
domain?: string | undefined;
|
|
348
|
+
password?: string | undefined;
|
|
349
|
+
username?: string | undefined;
|
|
350
|
+
} | {
|
|
351
|
+
protocol: string;
|
|
352
|
+
url: string;
|
|
353
|
+
type: "rpc";
|
|
354
|
+
} | {
|
|
355
|
+
type: "rest";
|
|
356
|
+
baseUrl: string;
|
|
357
|
+
} | {
|
|
358
|
+
type: "s3";
|
|
359
|
+
bucket?: string | undefined;
|
|
360
|
+
prefix?: string | undefined;
|
|
361
|
+
readUrl?: string | undefined;
|
|
362
|
+
accessKeyId?: string | undefined;
|
|
363
|
+
accountId?: string | undefined;
|
|
364
|
+
secretAccessKey?: string | undefined;
|
|
365
|
+
} | {
|
|
366
|
+
type: "evm-rpc";
|
|
367
|
+
url: string;
|
|
368
|
+
}>;
|
|
228
369
|
storage: {
|
|
229
370
|
mongo?: {
|
|
230
371
|
connectionString?: string | undefined;
|
|
@@ -233,16 +374,37 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
233
374
|
password?: string | undefined;
|
|
234
375
|
username?: string | undefined;
|
|
235
376
|
} | undefined;
|
|
236
|
-
|
|
377
|
+
root?: string | undefined;
|
|
378
|
+
s3?: {
|
|
237
379
|
accessKeyId?: string | undefined;
|
|
238
380
|
accountId?: string | undefined;
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
381
|
+
chainState?: {
|
|
382
|
+
accessKeyId?: string | undefined;
|
|
383
|
+
accountId?: string | undefined;
|
|
384
|
+
bucket?: string | undefined;
|
|
385
|
+
prefix?: string | undefined;
|
|
386
|
+
readUrl?: string | undefined;
|
|
387
|
+
secretAccessKey?: string | undefined;
|
|
388
|
+
} | undefined;
|
|
389
|
+
finalized?: {
|
|
390
|
+
accessKeyId?: string | undefined;
|
|
391
|
+
accountId?: string | undefined;
|
|
392
|
+
bucket?: string | undefined;
|
|
393
|
+
prefix?: string | undefined;
|
|
394
|
+
readUrl?: string | undefined;
|
|
395
|
+
secretAccessKey?: string | undefined;
|
|
396
|
+
} | undefined;
|
|
397
|
+
index?: {
|
|
398
|
+
accessKeyId?: string | undefined;
|
|
399
|
+
accountId?: string | undefined;
|
|
400
|
+
bucket?: string | undefined;
|
|
401
|
+
prefix?: string | undefined;
|
|
402
|
+
readUrl?: string | undefined;
|
|
403
|
+
secretAccessKey?: string | undefined;
|
|
404
|
+
} | undefined;
|
|
242
405
|
prefix?: string | undefined;
|
|
243
406
|
secretAccessKey?: string | undefined;
|
|
244
407
|
} | undefined;
|
|
245
|
-
root?: string | undefined;
|
|
246
408
|
};
|
|
247
409
|
telemetry: {
|
|
248
410
|
metrics?: {
|
|
@@ -262,12 +424,12 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
262
424
|
readonly __hex: true;
|
|
263
425
|
} & {
|
|
264
426
|
readonly __address: true;
|
|
265
|
-
}) | import("@xyo-network/
|
|
427
|
+
}) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress)[] | undefined;
|
|
266
428
|
allowedRewardEscrowAccountSigners?: ((Lowercase<string> & {
|
|
267
429
|
readonly __hex: true;
|
|
268
430
|
} & {
|
|
269
431
|
readonly __address: true;
|
|
270
|
-
}) | import("@xyo-network/
|
|
432
|
+
}) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress)[] | undefined;
|
|
271
433
|
};
|
|
272
434
|
actors: {
|
|
273
435
|
[x: string]: unknown;
|
|
@@ -277,7 +439,7 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
277
439
|
readonly __hex: true;
|
|
278
440
|
} & {
|
|
279
441
|
readonly __address: true;
|
|
280
|
-
}) | import("@xyo-network/
|
|
442
|
+
}) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress | undefined;
|
|
281
443
|
};
|
|
282
444
|
evm: {
|
|
283
445
|
chainId?: string | undefined;
|
|
@@ -293,6 +455,10 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
293
455
|
logLevel: "error" | "warn" | "info" | "log" | "debug" | "trace";
|
|
294
456
|
silent: boolean;
|
|
295
457
|
};
|
|
458
|
+
providerBindings: Record<string, {
|
|
459
|
+
implementation?: string | undefined;
|
|
460
|
+
transport?: string | undefined;
|
|
461
|
+
}>;
|
|
296
462
|
providers: {
|
|
297
463
|
[x: string]: unknown;
|
|
298
464
|
moniker: string;
|
|
@@ -308,6 +474,35 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
308
474
|
sessionId: string;
|
|
309
475
|
} | undefined;
|
|
310
476
|
};
|
|
477
|
+
transports: Record<string, {
|
|
478
|
+
type: "lmdb";
|
|
479
|
+
root: string;
|
|
480
|
+
} | {
|
|
481
|
+
type: "mongo";
|
|
482
|
+
connectionString?: string | undefined;
|
|
483
|
+
database?: string | undefined;
|
|
484
|
+
domain?: string | undefined;
|
|
485
|
+
password?: string | undefined;
|
|
486
|
+
username?: string | undefined;
|
|
487
|
+
} | {
|
|
488
|
+
protocol: string;
|
|
489
|
+
url: string;
|
|
490
|
+
type: "rpc";
|
|
491
|
+
} | {
|
|
492
|
+
type: "rest";
|
|
493
|
+
baseUrl: string;
|
|
494
|
+
} | {
|
|
495
|
+
type: "s3";
|
|
496
|
+
bucket?: string | undefined;
|
|
497
|
+
prefix?: string | undefined;
|
|
498
|
+
readUrl?: string | undefined;
|
|
499
|
+
accessKeyId?: string | undefined;
|
|
500
|
+
accountId?: string | undefined;
|
|
501
|
+
secretAccessKey?: string | undefined;
|
|
502
|
+
} | {
|
|
503
|
+
type: "evm-rpc";
|
|
504
|
+
url: string;
|
|
505
|
+
}>;
|
|
311
506
|
storage: {
|
|
312
507
|
mongo?: {
|
|
313
508
|
connectionString?: string | undefined;
|
|
@@ -316,16 +511,37 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
316
511
|
password?: string | undefined;
|
|
317
512
|
username?: string | undefined;
|
|
318
513
|
} | undefined;
|
|
319
|
-
|
|
514
|
+
root?: string | undefined;
|
|
515
|
+
s3?: {
|
|
320
516
|
accessKeyId?: string | undefined;
|
|
321
517
|
accountId?: string | undefined;
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
518
|
+
chainState?: {
|
|
519
|
+
accessKeyId?: string | undefined;
|
|
520
|
+
accountId?: string | undefined;
|
|
521
|
+
bucket?: string | undefined;
|
|
522
|
+
prefix?: string | undefined;
|
|
523
|
+
readUrl?: string | undefined;
|
|
524
|
+
secretAccessKey?: string | undefined;
|
|
525
|
+
} | undefined;
|
|
526
|
+
finalized?: {
|
|
527
|
+
accessKeyId?: string | undefined;
|
|
528
|
+
accountId?: string | undefined;
|
|
529
|
+
bucket?: string | undefined;
|
|
530
|
+
prefix?: string | undefined;
|
|
531
|
+
readUrl?: string | undefined;
|
|
532
|
+
secretAccessKey?: string | undefined;
|
|
533
|
+
} | undefined;
|
|
534
|
+
index?: {
|
|
535
|
+
accessKeyId?: string | undefined;
|
|
536
|
+
accountId?: string | undefined;
|
|
537
|
+
bucket?: string | undefined;
|
|
538
|
+
prefix?: string | undefined;
|
|
539
|
+
readUrl?: string | undefined;
|
|
540
|
+
secretAccessKey?: string | undefined;
|
|
541
|
+
} | undefined;
|
|
325
542
|
prefix?: string | undefined;
|
|
326
543
|
secretAccessKey?: string | undefined;
|
|
327
544
|
} | undefined;
|
|
328
|
-
root?: string | undefined;
|
|
329
545
|
};
|
|
330
546
|
telemetry: {
|
|
331
547
|
metrics?: {
|
|
@@ -345,12 +561,12 @@ export declare function resolveConfig(config: DeepPartial<Config>): {
|
|
|
345
561
|
readonly __hex: true;
|
|
346
562
|
} & {
|
|
347
563
|
readonly __address: true;
|
|
348
|
-
}) | import("@xyo-network/
|
|
564
|
+
}) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress)[] | undefined;
|
|
349
565
|
allowedRewardEscrowAccountSigners?: ((Lowercase<string> & {
|
|
350
566
|
readonly __hex: true;
|
|
351
567
|
} & {
|
|
352
568
|
readonly __address: true;
|
|
353
|
-
}) | import("@xyo-network/
|
|
569
|
+
}) | import("@xyo-network/sdk-protocol-js").XyoQuantAddress)[] | undefined;
|
|
354
570
|
};
|
|
355
571
|
name: string;
|
|
356
572
|
dataLake?: import("./index.ts").DataLakeConfig | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,CAAC,EAAE,MAAM,UAAU,CAAA;AAK5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,0BAA0B;AAC1B,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"Config.d.ts","sourceRoot":"","sources":["../../../src/config/Config.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,CAAC,EAAE,MAAM,UAAU,CAAA;AAK5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAEnD,0BAA0B;AAC1B,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAOqG,CAAA;AAE3H,mBAAmB;AACnB,MAAM,MAAM,MAAM,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAA;AAE9C,qCAAqC;AACrC,wBAAgB,aAAa,CAC3B,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAU5B"}
|