@xyo-network/chain-services 1.7.0 → 1.7.2

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.
Files changed (38) hide show
  1. package/dist/neutral/AccountBalance/BaseAccountBalanceService.d.ts +1 -1
  2. package/dist/neutral/AccountBalance/BaseAccountBalanceService.d.ts.map +1 -1
  3. package/dist/neutral/BaseService.d.ts +1 -1
  4. package/dist/neutral/BaseService.d.ts.map +1 -1
  5. package/dist/neutral/BlockProducer/BaseBlockProducerService.d.ts +1 -1
  6. package/dist/neutral/BlockProducer/BaseBlockProducerService.d.ts.map +1 -1
  7. package/dist/neutral/BlockReward/BaseBlockRewardService.d.ts +1 -1
  8. package/dist/neutral/BlockReward/BaseBlockRewardService.d.ts.map +1 -1
  9. package/dist/neutral/ChainBlockNumberIteration/ChainBlockNumberIterationService.d.ts +1 -1
  10. package/dist/neutral/ChainBlockNumberIteration/ChainBlockNumberIterationService.d.ts.map +1 -1
  11. package/dist/neutral/ChainBlockNumberIteration/model/Params.d.ts +1 -1
  12. package/dist/neutral/ChainBlockNumberIteration/model/Params.d.ts.map +1 -1
  13. package/dist/neutral/ChainService/Evm/Evm.d.ts +1 -1
  14. package/dist/neutral/ChainService/Evm/Evm.d.ts.map +1 -1
  15. package/dist/neutral/ChainService/Memory/Memory.d.ts +1 -1
  16. package/dist/neutral/ChainService/Memory/Memory.d.ts.map +1 -1
  17. package/dist/neutral/ChainValidator/XyoValidator.d.ts +2 -2
  18. package/dist/neutral/ChainValidator/XyoValidator.d.ts.map +1 -1
  19. package/dist/neutral/Election/BaseElectionService.d.ts +1 -1
  20. package/dist/neutral/Election/BaseElectionService.d.ts.map +1 -1
  21. package/dist/neutral/PendingTransactions/BasePendingTransactions.d.ts +1 -1
  22. package/dist/neutral/PendingTransactions/BasePendingTransactions.d.ts.map +1 -1
  23. package/dist/neutral/StakeIntent/XyoStakeIntentService.d.ts +3 -3
  24. package/dist/neutral/StakeIntent/XyoStakeIntentService.d.ts.map +1 -1
  25. package/dist/neutral/index.d.ts +12 -362
  26. package/dist/neutral/index.mjs.map +1 -1
  27. package/package.json +39 -39
  28. package/src/AccountBalance/BaseAccountBalanceService.ts +1 -1
  29. package/src/BaseService.ts +1 -1
  30. package/src/BlockReward/BaseBlockRewardService.ts +1 -1
  31. package/src/ChainBlockNumberIteration/ChainBlockNumberIterationService.ts +1 -1
  32. package/src/ChainBlockNumberIteration/model/Params.ts +1 -1
  33. package/src/ChainService/Evm/Evm.ts +1 -1
  34. package/src/ChainService/Memory/Memory.ts +1 -1
  35. package/src/ChainValidator/XyoValidator.ts +1 -1
  36. package/src/Election/BaseElectionService.ts +1 -1
  37. package/src/PendingTransactions/BasePendingTransactions.ts +1 -1
  38. package/src/StakeIntent/XyoStakeIntentService.ts +1 -1
@@ -1,362 +1,12 @@
1
- import * as _xyo_network_archivist_model from '@xyo-network/archivist-model';
2
- import { ReadArchivist, ArchivistInstance } from '@xyo-network/archivist-model';
3
- import * as _xyo_network_xl1_protocol from '@xyo-network/xl1-protocol';
4
- import { AccountBalanceServiceV2, OpenTelemetryProviders, Service, PayloadRepository, AttoXL1, BlockBoundWitness, HydratedTransaction, ElectionService, BlockRewardService, StakeIntentService, HydratedBlockStateValidationFunctionV2, PendingTransactionsService, BlockProducerService, HydratedBlock, Transfer, ChainStakeIntent, ChainService, ChainIteratorEventData, EventingChainBlockNumberIterator, ChainBlockNumberIterator, ChainStakeViewer, Intent } from '@xyo-network/xl1-protocol';
5
- import { Hash, Address } from '@xylabs/hex';
6
- import { BalancesStepSummary } from '@xyo-network/xl1-protocol-sdk';
7
- import { CreatableParams, AbstractCreatable } from '@xylabs/creatable';
8
- import { EventData } from '@xylabs/events';
9
- import { Promisable } from '@xylabs/promise';
10
- import * as _xyo_network_account_model from '@xyo-network/account-model';
11
- import { AccountInstance } from '@xyo-network/account-model';
12
- import * as _xyo_network_module_model from '@xyo-network/module-model';
13
- import * as _xyo_network_payload_model from '@xyo-network/payload-model';
14
- import { WithStorageMeta, Payload } from '@xyo-network/payload-model';
15
- import { BlockRewardDiviner } from '@xyo-network/chain-modules';
16
- import { Provider, ContractRunner } from 'ethers/providers';
17
- import { LRUCache } from 'lru-cache';
18
- import { StakedXyoChain } from '@xyo-network/typechain';
19
- import { IntervalMap } from '@xyo-network/chain-utils';
20
- import { Mutex } from 'async-mutex';
21
-
22
- declare const accountBalanceServiceFromArchivist: (archivist: ReadArchivist) => Promise<AccountBalanceServiceV2>;
23
- /** @deprecated use accountBalanceServiceFromArchivist */
24
- declare const accountBalanceServiceFromArchivistV2: (archivist: ReadArchivist) => Promise<AccountBalanceServiceV2>;
25
-
26
- interface BaseServiceParams extends CreatableParams, OpenTelemetryProviders {
27
- }
28
- interface BaseAccountableServiceParams extends BaseServiceParams {
29
- account: AccountInstance;
30
- }
31
-
32
- declare global {
33
- var xyoServiceSingletons: Record<string, unknown>;
34
- }
35
- declare class BaseService<TParams extends BaseServiceParams = BaseServiceParams, TEventData extends EventData = EventData> extends AbstractCreatable<TParams, TEventData> {
36
- private static singletonInitMutex;
37
- static get singletons(): Record<string, unknown>;
38
- static initSingleton<TService extends BaseService<TParams>, TParams extends BaseServiceParams>(params: Partial<TParams>): Promise<TService>;
39
- paramsHandler(params?: Partial<TParams>): TParams;
40
- span<T>(name: string, fn: () => T): T;
41
- spanAsync<T>(name: string, fn: () => Promise<T>): Promise<T>;
42
- }
43
- declare abstract class BaseAccountableService<TParams extends BaseAccountableServiceParams = BaseAccountableServiceParams> extends BaseService<TParams> {
44
- }
45
- interface CreatableService<T extends BaseService = BaseService> extends Service {
46
- new (params: T['params']): T;
47
- create<T extends BaseService>(this: CreatableService<T>, params?: Partial<T['params']>): Promisable<T>;
48
- }
49
- declare function creatableService<T extends BaseService = BaseService>(): <U extends CreatableService<T>>(constructor: U) => void;
50
-
51
- interface BaseAccountBalanceServiceParams extends BaseServiceParams {
52
- chainArchivist: ReadArchivist;
53
- summaryRepository: PayloadRepository<Hash, BalancesStepSummary>;
54
- }
55
- declare class BaseAccountBalanceService extends BaseService<BaseAccountBalanceServiceParams> implements AccountBalanceServiceV2 {
56
- balances(head: Hash, address: Address[]): Promise<Partial<Record<Address, AttoXL1>>>;
57
- }
58
-
59
- interface Validator {
60
- validatePendingBlock(block: BlockBoundWitness): Promisable<Error[]>;
61
- validatePendingTransaction(tx: HydratedTransaction): Promise<boolean>;
62
- }
63
-
64
- interface XyoValidatorParams extends BaseServiceParams {
65
- account: AccountInstance;
66
- chainArchivist: ReadArchivist;
67
- chainId: Address;
68
- electionService: ElectionService;
69
- pendingBundledTransactionsArchivist: ArchivistInstance;
70
- rewardService: BlockRewardService;
71
- stakeIntentService: StakeIntentService;
72
- validateHydratedBlockState: HydratedBlockStateValidationFunctionV2;
73
- }
74
- declare class XyoValidator<TParams extends XyoValidatorParams = XyoValidatorParams> extends BaseService<TParams> implements Validator {
75
- get address(): Lowercase<string>;
76
- protected get account(): AccountInstance;
77
- protected get chainArchivist(): ReadArchivist<_xyo_network_payload_model.Payload, Lowercase<string>>;
78
- protected get chainInfo(): Lowercase<string>;
79
- protected get electionService(): ElectionService;
80
- protected get pendingBundledTransactionsArchivist(): ArchivistInstance<_xyo_network_archivist_model.ArchivistParams<_xyo_network_module_model.AnyConfigSchema<_xyo_network_archivist_model.ArchivistConfig<void, void>>>, _xyo_network_archivist_model.ArchivistModuleEventData, _xyo_network_payload_model.Payload>;
81
- protected get rewardService(): BlockRewardService;
82
- validatePendingBlock(_block: BlockBoundWitness): Promisable<Error[]>;
83
- validatePendingTransaction(hydratedTransaction: HydratedTransaction): Promise<boolean>;
84
- }
85
-
86
- /**
87
- * The default block size for a block
88
- */
89
- declare const DEFAULT_BLOCK_SIZE = 10;
90
- declare const XYO_PRODUCER_REDECLARATION_DURATION = 10000;
91
- /**
92
- * The number of blocks within which a producer will redeclare
93
- * their intent to produce blocks
94
- */
95
- declare const XYO_PRODUCER_REDECLARATION_WINDOW = 500;
96
- interface BaseBlockProducerServiceParams extends XyoValidatorParams {
97
- balanceService: AccountBalanceServiceV2;
98
- pendingTransactionsService: PendingTransactionsService;
99
- rejectedTransactionsArchivist: ArchivistInstance;
100
- rewardAddress: Address;
101
- }
102
- declare class BaseBlockProducerService extends BaseService<BaseBlockProducerServiceParams> implements BlockProducerService {
103
- protected _blockRewardDiviner: BlockRewardDiviner | undefined;
104
- /**
105
- * The default block size for a block
106
- */
107
- static get DefaultBlockSize(): number;
108
- /**
109
- * The amount of time for which the producer will redeclare
110
- * their intent to continue producing blocks
111
- */
112
- static get RedeclarationDuration(): number;
113
- /**
114
- * The number of blocks within which the producer will redeclare
115
- * their intent to continue producing blocks
116
- */
117
- static get RedeclarationWindow(): number;
118
- /**
119
- * Should the producer should redeclare
120
- * their intent to continue producing blocks
121
- */
122
- static get RedeclareIntent(): boolean;
123
- get address(): Lowercase<string>;
124
- protected get account(): _xyo_network_account_model.AccountInstance;
125
- protected get balanceService(): AccountBalanceServiceV2;
126
- protected get chainArchivist(): _xyo_network_archivist_model.ReadArchivist<_xyo_network_payload_model.Payload, Lowercase<string>>;
127
- protected get chainId(): Lowercase<string>;
128
- protected get electionService(): _xyo_network_xl1_protocol.ElectionService;
129
- protected get pendingTransactionsService(): PendingTransactionsService;
130
- protected get rejectedTransactionsArchivist(): ArchivistInstance<_xyo_network_archivist_model.ArchivistParams<_xyo_network_module_model.AnyConfigSchema<_xyo_network_archivist_model.ArchivistConfig<void, void>>>, _xyo_network_archivist_model.ArchivistModuleEventData, _xyo_network_payload_model.Payload>;
131
- protected get rewardAddress(): Address;
132
- protected get rewardService(): _xyo_network_xl1_protocol.BlockRewardService;
133
- protected get stakeIntentService(): StakeIntentService;
134
- protected get validateHydratedBlockState(): _xyo_network_xl1_protocol.HydratedBlockStateValidationFunctionV2;
135
- next(head: WithStorageMeta<BlockBoundWitness>): Promise<HydratedBlock | undefined>;
136
- protected getBlockRewardTransfer(block: number): Promise<Transfer | undefined>;
137
- /**
138
- * Handles the producer redeclaration logic
139
- * @param head The current head block
140
- * @returns chain stake intent for the producer redeclaration, or undefined if no redeclaration is needed
141
- */
142
- protected getProducerRedeclaration(head: WithStorageMeta<BlockBoundWitness>): Promise<ChainStakeIntent | undefined>;
143
- protected proposeNextValidBlock(head: WithStorageMeta<BlockBoundWitness>, validateBalances?: boolean): Promise<HydratedBlock | undefined>;
144
- }
145
-
146
- interface BaseBlockRewardServiceParams extends BaseServiceParams {
147
- }
148
- declare class BaseBlockRewardService<TParams extends BaseBlockRewardServiceParams = BaseBlockRewardServiceParams> extends BaseService<TParams> implements BlockRewardService {
149
- getRewardForBlock(_blockNumber: bigint): Promisable<bigint>;
150
- }
151
-
152
- interface EvmBlockRewardServiceParams extends BaseBlockRewardServiceParams {
153
- account: AccountInstance;
154
- chainService?: ChainService;
155
- provider?: Provider;
156
- }
157
- declare class EvmBlockRewardService extends BaseBlockRewardService<EvmBlockRewardServiceParams> implements BlockRewardService {
158
- protected _contractAddress: string | undefined;
159
- protected get chainService(): ChainService;
160
- protected get contractAddress(): string;
161
- protected get provider(): Provider;
162
- createHandler(): Promise<void>;
163
- getRewardForBlock(blockNumber: bigint): Promise<bigint>;
164
- }
165
-
166
- interface MemoryBlockRewardServiceParams extends BaseBlockRewardServiceParams {
167
- creatorReward?: bigint;
168
- initialStepReward?: bigint;
169
- minRewardPerBlock?: bigint;
170
- stepFactorDenominator?: bigint;
171
- stepFactorNumerator?: bigint;
172
- stepSize?: bigint;
173
- }
174
- declare class MemoryBlockRewardService<TParams extends MemoryBlockRewardServiceParams = MemoryBlockRewardServiceParams> extends BaseBlockRewardService<TParams> implements BlockRewardService {
175
- protected readonly rewardFromBlockNumber: (blockNumber: bigint, startingReward?: bigint, blocksPerStep?: bigint, stepFactorNumerator?: bigint, stepFactorDenominator?: bigint, minBlockReward?: bigint, creatorReward?: bigint) => bigint;
176
- get creatorReward(): bigint;
177
- get initialReward(): bigint;
178
- get minRewardPerBlock(): bigint;
179
- get stepFactorDenominator(): bigint;
180
- get stepFactorNumerator(): bigint;
181
- get stepSize(): bigint;
182
- static paramsHandler<T extends MemoryBlockRewardService['params']>(inParams?: Partial<T>): Promise<T>;
183
- getRewardForBlock(blockNumber: bigint): Promisable<bigint>;
184
- }
185
-
186
- interface XyoChainIteratorParams extends BaseServiceParams {
187
- chainArchivist: ArchivistInstance;
188
- head: BlockBoundWitness;
189
- }
190
-
191
- declare class ChainBlockNumberIterationService extends BaseService<XyoChainIteratorParams, ChainIteratorEventData> implements EventingChainBlockNumberIterator {
192
- protected _blocksByBlockNumber: LRUCache<number, BlockBoundWitness, unknown>;
193
- get chainArchivist(): ArchivistInstance;
194
- get chainId(): Address;
195
- get(block: number): Promise<BlockBoundWitness>;
196
- head(): Promise<BlockBoundWitness>;
197
- next(block: number): Promise<BlockBoundWitness | undefined>;
198
- previous(block?: number | undefined, count?: number): Promise<BlockBoundWitness[]>;
199
- updateHead(head: BlockBoundWitness): Promise<void>;
200
- }
201
-
202
- interface BlockNumberIteration {
203
- validatePendingBlock(block: BlockBoundWitness): Promisable<Error[]>;
204
- validatePendingTransaction(tx: HydratedTransaction): Promise<boolean>;
205
- }
206
-
207
- interface EvmChainServiceParams extends BaseServiceParams {
208
- contract: StakedXyoChain;
209
- id: Address;
210
- runner: ContractRunner;
211
- }
212
- /**
213
- * A class that represents a chain stake as backed by an EVM smart contract
214
- */
215
- declare class EvmChainService extends BaseService<EvmChainServiceParams> implements ChainService {
216
- get chainId(): Address;
217
- get contract(): StakedXyoChain;
218
- get runner(): ContractRunner;
219
- active(): Promise<bigint>;
220
- activeByAddressStaked(address: string): Promise<bigint>;
221
- activeByStaker(address: string): Promise<bigint>;
222
- addStake(staked: string, amount: bigint): Promise<boolean>;
223
- forkedAtBlockNumber(): Promise<bigint>;
224
- forkedAtHash(): Promise<bigint>;
225
- forkedChainId(): Promise<Address>;
226
- minWithdrawalBlocks(): Promise<bigint>;
227
- pending(): Promise<bigint>;
228
- pendingByStaker(staker: string): Promise<bigint>;
229
- removeStake(slot: bigint): Promise<boolean>;
230
- rewardsContract(): Promise<string>;
231
- stakingTokenAddress(): Promise<string>;
232
- withdrawStake(slot: bigint): Promise<boolean>;
233
- withdrawn(): Promise<bigint>;
234
- withdrawnByStaker(staker: string): Promise<bigint>;
235
- }
236
-
237
- interface MemoryChainServiceParams extends BaseServiceParams {
238
- }
239
- /**
240
- * A class that represents a chain stake as backed in memory
241
- */
242
- declare class MemoryChainService extends BaseService<MemoryChainServiceParams> implements ChainService {
243
- protected _simulatedStake: bigint;
244
- get chainId(): Address;
245
- active(): Promise<bigint>;
246
- activeByAddressStaked(_address: string): Promise<bigint>;
247
- activeByStaker(_address: string): Promise<bigint>;
248
- addStake(_staked: string, _amount: bigint): Promise<boolean>;
249
- createHandler(): void;
250
- forkedAtBlockNumber(): Promise<bigint>;
251
- forkedAtHash(): Promise<bigint>;
252
- forkedChainId(): Promise<Address>;
253
- minWithdrawalBlocks(): Promise<bigint>;
254
- pending(): Promise<bigint>;
255
- pendingByStaker(_staker: string): Promise<bigint>;
256
- removeStake(_slot: bigint): Promise<boolean>;
257
- rewardsContract(): Promise<string>;
258
- stakingTokenAddress(): Promise<string>;
259
- withdrawStake(_slot: bigint): Promise<boolean>;
260
- withdrawn(): Promise<bigint>;
261
- withdrawnByStaker(_staker: string): Promise<bigint>;
262
- }
263
-
264
- interface BaseElectionServicesParams extends BaseServiceParams {
265
- chainIterator?: ChainBlockNumberIterator;
266
- chainStakeViewer?: ChainStakeViewer;
267
- stakeIntentService?: StakeIntentService;
268
- }
269
- declare class BaseElectionService extends BaseService<BaseElectionServicesParams> implements ElectionService {
270
- get chainIterator(): ChainBlockNumberIterator;
271
- get chainStakeViewer(): ChainStakeViewer;
272
- get stakeIntentService(): StakeIntentService;
273
- getCreatorCommitteeForNextBlock(current: BlockBoundWitness): Promise<Address[]>;
274
- protected generateCreatorCommittee(candidates: Address[], previousBlockHash: Hash, maxSize?: number): Address[];
275
- }
276
-
277
- interface BasePendingTransactionsServiceParams extends BaseServiceParams {
278
- chainArchivist?: ArchivistInstance;
279
- chainId?: Address;
280
- pendingBundledTransactionsArchivist?: ArchivistInstance;
281
- rejectedTransactionsArchivist?: ArchivistInstance;
282
- }
283
- declare class BasePendingTransactionsService extends BaseService<BasePendingTransactionsServiceParams> implements PendingTransactionsService {
284
- private static readonly MutexPriority;
285
- /**
286
- * A mutex to ensure that the counting the number of pending transactions is
287
- * not called concurrently
288
- */
289
- private _countPendingTransactionsMutex;
290
- /**
291
- * A local Archivist optimized for fast retrieval that stores only validated
292
- * pending transactions
293
- */
294
- private _curatedPendingBundledTransactionsArchivist;
295
- /**
296
- * The last count of total pending transactions
297
- */
298
- private _pendingTransactionsCount;
299
- /**
300
- * A set of transaction hashes that are pending removal from the
301
- * curated pending transactions archivist. This is used to track
302
- * which transactions need to be removed from the archivist.
303
- */
304
- private _removablePendingTransactionHashes;
305
- /**
306
- * A mutex to ensure that the curated pending transactions archivist is
307
- * updated in a thread-safe manner
308
- */
309
- private _updateCuratedPendingTransactionsArchivistMutex;
310
- private get chainArchivist();
311
- private get chainId();
312
- private get pendingBundledTransactionsArchivist();
313
- private get pendingBundledTransactionsLocalArchivist();
314
- private get pendingTransactionsCount();
315
- private get rejectedTransactionsArchivist();
316
- createHandler(): Promise<void>;
317
- getPendingTransactions(head: Hash, limit: number): Promise<HydratedTransaction[]>;
318
- private cleanupWorker;
319
- private countPendingTransactions;
320
- private filterAlreadyFinalizedTransactions;
321
- private insertNewTransactions;
322
- /**
323
- * Marks any included transactions in the provided payloads for removal preventing them
324
- * from being included in the curated pending transactions archivist and from being offered
325
- * during the next retrieval of pending transactions.
326
- * @param payloads An array of payloads that may contain transactions.
327
- */
328
- private markAnyIncludedTransactionsForRemoval;
329
- private pruneCuratedPendingTransactionsArchivist;
330
- }
331
-
332
- declare const getBlockSignedStakeDeclarations: (block: BlockBoundWitness, archivist: ArchivistInstance, intent: Intent) => Promise<ChainStakeIntent[]>;
333
-
334
- interface XyoStakeIntentServiceParams extends BaseServiceParams {
335
- chainArchivist?: ArchivistInstance;
336
- chainIterator?: EventingChainBlockNumberIterator;
337
- chainStakeViewer?: ChainStakeViewer;
338
- stakeIntentStateArchivist?: ArchivistInstance;
339
- }
340
- declare class XyoStakeIntentService extends BaseService<XyoStakeIntentServiceParams> implements StakeIntentService {
341
- protected _lastIndexedBlockHash: Hash | undefined;
342
- protected _producers: IntervalMap<Address>;
343
- protected _stakeCache: LRUCache<Lowercase<string>, bigint, unknown>;
344
- protected _updateMutex: Mutex;
345
- protected get chainArchivist(): ArchivistInstance<_xyo_network_archivist_model.ArchivistParams<_xyo_network_module_model.AnyConfigSchema<_xyo_network_archivist_model.ArchivistConfig<void, void>>>, _xyo_network_archivist_model.ArchivistModuleEventData, Payload>;
346
- protected get chainIterator(): EventingChainBlockNumberIterator;
347
- protected get chainStakeViewer(): ChainStakeViewer;
348
- protected get stakeIntentStateArchivist(): ArchivistInstance<_xyo_network_archivist_model.ArchivistParams<_xyo_network_module_model.AnyConfigSchema<_xyo_network_archivist_model.ArchivistConfig<void, void>>>, _xyo_network_archivist_model.ArchivistModuleEventData, Payload>;
349
- createHandler(): Promise<void>;
350
- getDeclaredCandidateRanges(address: Address, intent: Intent): Promise<Readonly<Readonly<[number, number]>[]>>;
351
- getDeclaredCandidatesForBlock(block: number, intent: Intent): Promise<Address[]>;
352
- getRequiredMinimumStakeForIntent(intent: Intent): bigint;
353
- isStakedForBlock(block: number, intent: Intent, address: Address): Promise<boolean>;
354
- startHandler(): Promise<void>;
355
- private filterToValidStake;
356
- private persistState;
357
- private recoverState;
358
- private updateIndex;
359
- }
360
-
361
- export { BaseAccountBalanceService, BaseAccountableService, BaseBlockProducerService, BaseBlockRewardService, BaseElectionService, BasePendingTransactionsService, BaseService, ChainBlockNumberIterationService, DEFAULT_BLOCK_SIZE, EvmBlockRewardService, EvmChainService, MemoryBlockRewardService, MemoryChainService, XYO_PRODUCER_REDECLARATION_DURATION, XYO_PRODUCER_REDECLARATION_WINDOW, XyoStakeIntentService, XyoValidator, accountBalanceServiceFromArchivist, accountBalanceServiceFromArchivistV2, creatableService, getBlockSignedStakeDeclarations };
362
- export type { BaseAccountBalanceServiceParams, BaseAccountableServiceParams, BaseBlockProducerServiceParams, BaseBlockRewardServiceParams, BaseElectionServicesParams, BasePendingTransactionsServiceParams, BaseServiceParams, BlockNumberIteration, CreatableService, EvmBlockRewardServiceParams, EvmChainServiceParams, MemoryBlockRewardServiceParams, MemoryChainServiceParams, Validator, XyoChainIteratorParams, XyoStakeIntentServiceParams, XyoValidatorParams };
1
+ export * from './AccountBalance/index.ts';
2
+ export * from './BaseService.ts';
3
+ export * from './BlockProducer/index.ts';
4
+ export * from './BlockReward/index.ts';
5
+ export * from './ChainBlockNumberIteration/index.ts';
6
+ export * from './ChainService/index.ts';
7
+ export * from './ChainValidator/index.ts';
8
+ export * from './Election/index.ts';
9
+ export * from './model/index.ts';
10
+ export * from './PendingTransactions/index.ts';
11
+ export * from './StakeIntent/index.ts';
12
+ //# sourceMappingURL=index.d.ts.map