@xyo-network/xl1-protocol 1.4.3 → 1.4.5
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.mjs +45 -115
- package/dist/neutral/index.mjs.map +1 -1
- package/dist/node/index.mjs +45 -115
- package/dist/node/index.mjs.map +1 -1
- package/dist/types/block/AllowedBlockPayload.d.ts +2 -2
- package/dist/types/block/AllowedBlockPayload.d.ts.map +1 -1
- package/dist/types/chain/ChainAnalyzer.d.ts +1 -1
- package/dist/types/chain/ChainAnalyzer.d.ts.map +1 -1
- package/dist/types/constants/TransactionGasCosts.d.ts +6 -25
- package/dist/types/constants/TransactionGasCosts.d.ts.map +1 -1
- package/dist/types/index.d.ts +12 -12
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/iterator/ChainIterator.d.ts +3 -3
- package/dist/types/iterator/ChainIterator.d.ts.map +1 -1
- package/dist/types/iterator/ChainIteratorEventData.d.ts +1 -1
- package/dist/types/iterator/ChainIteratorEventData.d.ts.map +1 -1
- package/dist/types/payload/elevatable/ChainStakeIntent.d.ts +1 -1
- package/dist/types/payload/elevatable/ChainStakeIntent.d.ts.map +1 -1
- package/dist/types/provider/v1/XyoNetwork.d.ts +1 -1
- package/dist/types/provider/v1/XyoNetwork.d.ts.map +1 -1
- package/dist/types/provider/v1/XyoProvider.d.ts +2 -2
- package/dist/types/provider/v1/XyoProvider.d.ts.map +1 -1
- package/dist/types/provider/v1/XyoRunner.d.ts +1 -1
- package/dist/types/provider/v1/XyoRunner.d.ts.map +1 -1
- package/dist/types/provider/v1/XyoSigner.d.ts +2 -2
- package/dist/types/provider/v1/XyoSigner.d.ts.map +1 -1
- package/dist/types/provider/v1/XyoViewer.d.ts +3 -3
- package/dist/types/provider/v1/XyoViewer.d.ts.map +1 -1
- package/dist/types/provider/v2/viewer/Account.d.ts +1 -1
- package/dist/types/provider/v2/viewer/Account.d.ts.map +1 -1
- package/dist/types/provider/v2/viewer/Block.d.ts +1 -1
- package/dist/types/provider/v2/viewer/Block.d.ts.map +1 -1
- package/dist/types/provider/v2/viewer/Chain.d.ts +1 -1
- package/dist/types/provider/v2/viewer/Chain.d.ts.map +1 -1
- package/dist/types/provider/v2/viewer/Transaction.d.ts +1 -1
- package/dist/types/provider/v2/viewer/Transaction.d.ts.map +1 -1
- package/dist/types/repository/TransactionReadRepository.d.ts +1 -1
- package/dist/types/repository/TransactionReadRepository.d.ts.map +1 -1
- package/dist/types/repository/TransactionRepositoryIterator.d.ts +1 -1
- package/dist/types/repository/TransactionRepositoryIterator.d.ts.map +1 -1
- package/dist/types/repository/TransactionWriteRepository.d.ts +1 -1
- package/dist/types/repository/TransactionWriteRepository.d.ts.map +1 -1
- package/dist/types/services/BlockProducer.d.ts +3 -3
- package/dist/types/services/BlockProducer.d.ts.map +1 -1
- package/dist/types/services/Election.d.ts +1 -1
- package/dist/types/services/Election.d.ts.map +1 -1
- package/dist/types/services/PendingTransactionsService.d.ts +1 -1
- package/dist/types/services/PendingTransactionsService.d.ts.map +1 -1
- package/dist/types/services/stakeIntent/StakeIntentService.d.ts +1 -1
- package/dist/types/services/stakeIntent/StakeIntentService.d.ts.map +1 -1
- package/dist/types/transaction/TransactionBoundWitness.d.ts +2 -2
- package/dist/types/transaction/TransactionBoundWitness.d.ts.map +1 -1
- package/dist/types/transaction/TransactionFeesFields.d.ts +1 -1
- package/dist/types/transaction/TransactionFeesFields.d.ts.map +1 -1
- package/dist/types/validation/block/BlockValidationFunction.d.ts +1 -1
- package/dist/types/validation/block/BlockValidationFunction.d.ts.map +1 -1
- package/dist/types/validation/block/HydratedBlockStateValidationFunction.d.ts +5 -3
- package/dist/types/validation/block/HydratedBlockStateValidationFunction.d.ts.map +1 -1
- package/dist/types/validation/block/HydratedBlockValidationFunction.d.ts +1 -1
- package/dist/types/validation/block/HydratedBlockValidationFunction.d.ts.map +1 -1
- package/dist/types/validation/payload/InBlockPayloadValidationFunction.d.ts +1 -1
- package/dist/types/validation/payload/InBlockPayloadValidationFunction.d.ts.map +1 -1
- package/dist/types/validation/transaction/HydratedTransactionStateValidationFunction.d.ts +1 -1
- package/dist/types/validation/transaction/HydratedTransactionStateValidationFunction.d.ts.map +1 -1
- package/dist/types/validation/transaction/HydratedTransactionValidationFunction.d.ts +1 -1
- package/dist/types/validation/transaction/HydratedTransactionValidationFunction.d.ts.map +1 -1
- package/dist/types/xl1/XL1.d.ts +8 -25
- package/dist/types/xl1/XL1.d.ts.map +1 -1
- package/package.json +3 -10
- package/src/block/AllowedBlockPayload.ts +3 -3
- package/src/chain/ChainAnalyzer.ts +1 -1
- package/src/index.ts +12 -12
- package/src/iterator/ChainIterator.ts +3 -4
- package/src/iterator/ChainIteratorEventData.ts +1 -1
- package/src/payload/elevatable/ChainStakeIntent.ts +1 -2
- package/src/provider/v1/XyoNetwork.ts +1 -1
- package/src/provider/v1/XyoProvider.ts +2 -3
- package/src/provider/v1/XyoRunner.ts +1 -1
- package/src/provider/v1/XyoSigner.ts +2 -2
- package/src/provider/v1/XyoViewer.ts +3 -3
- package/src/provider/v2/viewer/Account.ts +1 -1
- package/src/provider/v2/viewer/Block.ts +1 -2
- package/src/provider/v2/viewer/Chain.ts +1 -2
- package/src/provider/v2/viewer/Transaction.ts +1 -2
- package/src/repository/TransactionReadRepository.ts +1 -2
- package/src/repository/TransactionRepositoryIterator.ts +1 -2
- package/src/repository/TransactionWriteRepository.ts +1 -2
- package/src/services/BlockProducer.ts +3 -3
- package/src/services/Election.ts +1 -2
- package/src/services/PendingTransactionsService.ts +1 -2
- package/src/services/stakeIntent/StakeIntentService.ts +1 -1
- package/src/transaction/TransactionBoundWitness.ts +2 -3
- package/src/transaction/TransactionFeesFields.ts +10 -8
- package/src/validation/block/BlockValidationFunction.ts +1 -1
- package/src/validation/block/HydratedBlockStateValidationFunction.ts +3 -3
- package/src/validation/block/HydratedBlockValidationFunction.ts +1 -1
- package/src/validation/payload/InBlockPayloadValidationFunction.ts +1 -1
- package/src/validation/transaction/HydratedTransactionStateValidationFunction.ts +1 -1
- package/src/validation/transaction/HydratedTransactionValidationFunction.ts +1 -1
- package/src/xl1/XL1.ts +9 -95
- package/tsconfig.json +0 -21
- package/dist/index.d.ts +0 -564
- package/dist/index.d.ts.map +0 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Schema, WithStorageMeta } from '@xyo-network/payload-model';
|
|
2
2
|
import type { SchemaPayload } from '@xyo-network/schema-payload-plugin';
|
|
3
|
-
import type { ChainStakeIntent, HashPayload, Transfer } from '
|
|
4
|
-
import { type TransactionBoundWitness } from '
|
|
3
|
+
import type { ChainStakeIntent, HashPayload, Transfer } from '../payload/index.ts';
|
|
4
|
+
import { type TransactionBoundWitness } from '../transaction/index.ts';
|
|
5
5
|
export type AllowedBlockPayload = Transfer | ChainStakeIntent | SchemaPayload | TransactionBoundWitness | HashPayload;
|
|
6
6
|
export declare const AllowedBlockPayloadSchemas: Schema[];
|
|
7
7
|
export type AllowedBlockPayloadSchema = typeof AllowedBlockPayloadSchemas[number];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AllowedBlockPayload.d.ts","sourceRoot":"","sources":["../../../src/block/AllowedBlockPayload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAEzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAGvE,OAAO,KAAK,EACV,gBAAgB,EAAE,WAAW,EAAE,QAAQ,EACxC,MAAM,
|
|
1
|
+
{"version":3,"file":"AllowedBlockPayload.d.ts","sourceRoot":"","sources":["../../../src/block/AllowedBlockPayload.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAEzE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oCAAoC,CAAA;AAGvE,OAAO,KAAK,EACV,gBAAgB,EAAE,WAAW,EAAE,QAAQ,EACxC,MAAM,qBAAqB,CAAA;AAI5B,OAAO,EAA6B,KAAK,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AAEjG,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,gBAAgB,GAAG,aAAa,GAAG,uBAAuB,GAAG,WAAW,CAAA;AACrH,eAAO,MAAM,0BAA0B,EAAE,MAAM,EAA2F,CAAA;AAC1I,MAAM,MAAM,yBAAyB,GAAG,OAAO,0BAA0B,CAAC,MAAM,CAAC,CAAA;AAEjF,eAAO,MAAM,2BAA2B,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,yBAErE,CAAA;AAED,eAAO,MAAM,qBAAqB,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,mBAE/D,CAAA;AAED,eAAO,MAAM,wCAAwC,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,eAAe,CAAC,mBAAmB,CAErH,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Promisable } from '@xylabs/promise';
|
|
2
2
|
import type { Payload } from '@xyo-network/payload-model';
|
|
3
|
-
import type { HydratedBlock } from '
|
|
3
|
+
import type { HydratedBlock } from '../block/index.ts';
|
|
4
4
|
export interface ChainAnalyzer<T extends Payload = Payload> {
|
|
5
5
|
onBlock(block: HydratedBlock): Promisable<boolean>;
|
|
6
6
|
result(): T;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChainAnalyzer.d.ts","sourceRoot":"","sources":["../../../src/chain/ChainAnalyzer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ChainAnalyzer.d.ts","sourceRoot":"","sources":["../../../src/chain/ChainAnalyzer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AAEtD,MAAM,WAAW,aAAa,CAAC,CAAC,SAAS,OAAO,GAAG,OAAO;IACxD,OAAO,CAAC,KAAK,EAAE,aAAa,GAAG,UAAU,CAAC,OAAO,CAAC,CAAA;IAClD,MAAM,IAAI,CAAC,CAAA;IACX,cAAc,IAAI,OAAO,CAAA;CAC1B"}
|
|
@@ -1,37 +1,18 @@
|
|
|
1
|
+
import { MicroXL1 } from '../xl1/index.ts';
|
|
1
2
|
export declare const TransactionGasCosts: {
|
|
2
3
|
/**
|
|
3
4
|
* The cost of storing each character that is added to the chain
|
|
4
5
|
* This includes the transaction JSON and all the elevated payloads' JSON
|
|
5
6
|
*/
|
|
6
|
-
readonly characterStorage:
|
|
7
|
-
readonly _tag: "MicroXL1";
|
|
8
|
-
} & {
|
|
9
|
-
toAtto(): import("../xl1/XL1.ts").AttoXL1;
|
|
10
|
-
};
|
|
7
|
+
readonly characterStorage: MicroXL1;
|
|
11
8
|
/** The cost of static validating every payload that will be included in the chain */
|
|
12
|
-
readonly payloadValidation:
|
|
13
|
-
readonly _tag: "MicroXL1";
|
|
14
|
-
} & {
|
|
15
|
-
toAtto(): import("../xl1/XL1.ts").AttoXL1;
|
|
16
|
-
};
|
|
9
|
+
readonly payloadValidation: MicroXL1;
|
|
17
10
|
/** The cost of validating each signature that will be included in the chain */
|
|
18
|
-
readonly signatureValidation:
|
|
19
|
-
readonly _tag: "MicroXL1";
|
|
20
|
-
} & {
|
|
21
|
-
toAtto(): import("../xl1/XL1.ts").AttoXL1;
|
|
22
|
-
};
|
|
11
|
+
readonly signatureValidation: MicroXL1;
|
|
23
12
|
/** The cost of validating each hash that will be included in the chain */
|
|
24
|
-
readonly hashValidation:
|
|
25
|
-
readonly _tag: "MicroXL1";
|
|
26
|
-
} & {
|
|
27
|
-
toAtto(): import("../xl1/XL1.ts").AttoXL1;
|
|
28
|
-
};
|
|
13
|
+
readonly hashValidation: MicroXL1;
|
|
29
14
|
/** The cost of validating a balance state, triggered by a Transfer payload or gas collection */
|
|
30
|
-
readonly balanceValidation:
|
|
31
|
-
readonly _tag: "MicroXL1";
|
|
32
|
-
} & {
|
|
33
|
-
toAtto(): import("../xl1/XL1.ts").AttoXL1;
|
|
34
|
-
};
|
|
15
|
+
readonly balanceValidation: MicroXL1;
|
|
35
16
|
};
|
|
36
17
|
/** Gas Calculation
|
|
37
18
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionGasCosts.d.ts","sourceRoot":"","sources":["../../../src/constants/TransactionGasCosts.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TransactionGasCosts.d.ts","sourceRoot":"","sources":["../../../src/constants/TransactionGasCosts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,iBAAiB,CAAA;AAE1C,eAAO,MAAM,mBAAmB;IAC9B;;;MAGE;;IAGF,qFAAqF;;IAGrF,+EAA+E;;IAG/E,0EAA0E;;IAG1E,gGAAgG;;CAExF,CAAA;AAEV;;;;;;;;;;;;;;;;;;;;GAoBG"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -1,16 +1,16 @@
|
|
|
1
|
+
export * from './block/index.ts';
|
|
2
|
+
export * from './chain/index.ts';
|
|
3
|
+
export * from './constants/index.ts';
|
|
4
|
+
export * from './fields/index.ts';
|
|
1
5
|
export * from './Initializable.ts';
|
|
6
|
+
export * from './iterator/index.ts';
|
|
7
|
+
export * from './network/index.ts';
|
|
2
8
|
export * from './OpenTelemetryProviders.ts';
|
|
9
|
+
export * from './payload/index.ts';
|
|
10
|
+
export * from './provider/index.ts';
|
|
11
|
+
export * from './repository/index.ts';
|
|
12
|
+
export * from './services/index.ts';
|
|
13
|
+
export * from './transaction/index.ts';
|
|
14
|
+
export * from './validation/index.ts';
|
|
3
15
|
export * from './xl1/index.ts';
|
|
4
|
-
export * from '#block';
|
|
5
|
-
export * from '#chain';
|
|
6
|
-
export * from '#constants';
|
|
7
|
-
export * from '#fields';
|
|
8
|
-
export * from '#iterator';
|
|
9
|
-
export * from '#network';
|
|
10
|
-
export * from '#payload';
|
|
11
|
-
export * from '#provider';
|
|
12
|
-
export * from '#repository';
|
|
13
|
-
export * from '#services';
|
|
14
|
-
export * from '#transaction';
|
|
15
|
-
export * from '#validation';
|
|
16
16
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA;AACjC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,wBAAwB,CAAA;AACtC,cAAc,uBAAuB,CAAA;AACrC,cAAc,gBAAgB,CAAA"}
|
|
@@ -2,9 +2,9 @@ import type { BaseParams } from '@xylabs/base';
|
|
|
2
2
|
import type { BaseEmitter } from '@xylabs/events';
|
|
3
3
|
import type { Hash } from '@xylabs/hex';
|
|
4
4
|
import type { ArchivistInstance } from '@xyo-network/archivist-model';
|
|
5
|
-
import type { BlockBoundWitness } from '
|
|
6
|
-
import type { IterableRepository, ReadRepository } from '
|
|
7
|
-
import type { BaseServiceParams, ChainIdentification } from '
|
|
5
|
+
import type { BlockBoundWitness } from '../block/index.ts';
|
|
6
|
+
import type { IterableRepository, ReadRepository } from '../repository/index.ts';
|
|
7
|
+
import type { BaseServiceParams, ChainIdentification } from '../services/index.ts';
|
|
8
8
|
import type { ChainIteratorEventData } from './ChainIteratorEventData.ts';
|
|
9
9
|
export interface ChainIterator<TKey, THead> extends ReadRepository<TKey, BlockBoundWitness>, IterableRepository<TKey, BlockBoundWitness> {
|
|
10
10
|
chainIdentification: ChainIdentification;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChainIterator.d.ts","sourceRoot":"","sources":["../../../src/iterator/ChainIterator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAErE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ChainIterator.d.ts","sourceRoot":"","sources":["../../../src/iterator/ChainIterator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAC9C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAA;AACjD,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAA;AAErE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAC1D,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAA;AAChF,OAAO,KAAK,EAAE,iBAAiB,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAClF,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAA;AAEzE,MAAM,WAAW,aAAa,CAAC,IAAI,EAAE,KAAK,CAAE,SAAQ,cAAc,CAAC,IAAI,EAAE,iBAAiB,CAAC,EAAE,kBAAkB,CAAC,IAAI,EAAE,iBAAiB,CAAC;IACtI,mBAAmB,EAAE,mBAAmB,CAAA;IACxC,IAAI,IAAI,OAAO,CAAC,KAAK,CAAC,CAAA;IACtB,QAAQ,CAAC,MAAM,CAAC,EAAE,IAAI,GAAG,SAAS,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,iBAAiB,EAAE,CAAC,CAAA;IACjF,UAAU,CAAC,IAAI,EAAE,KAAK,GAAG,OAAO,CAAC,IAAI,CAAC,CAAA;CACvC;AAED,MAAM,WAAW,qBAAqB,CAAC,IAAI,EAAE,KAAK,CAAE,SAAQ,aAAa,CAAC,IAAI,EAAE,KAAK,CAAC,EAAE,WAAW,CAAC,UAAU,EAAE,sBAAsB,CAAC;CAAI;AAE3I,MAAM,WAAW,wBAAyB,SAAQ,aAAa,CAAC,MAAM,EAAE,iBAAiB,CAAC;CAAI;AAC9F,MAAM,WAAW,gCAAiC,SAAQ,qBAAqB,CAAC,MAAM,EAAE,iBAAiB,CAAC;CAAI;AAE9G,MAAM,WAAW,iBAAkB,SAAQ,aAAa,CAAC,IAAI,EAAE,IAAI,CAAC;CAAI;AACxE,MAAM,WAAW,yBAA0B,SAAQ,qBAAqB,CAAC,IAAI,EAAE,IAAI,CAAC;CAAI;AAExF,MAAM,WAAW,sBAAuB,SAAQ,iBAAiB;IAC/D,cAAc,EAAE,iBAAiB,CAAA;IACjC,IAAI,EAAE,iBAAiB,CAAA;CACxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChainIteratorEventData.d.ts","sourceRoot":"","sources":["../../../src/iterator/ChainIteratorEventData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ChainIteratorEventData.d.ts","sourceRoot":"","sources":["../../../src/iterator/ChainIteratorEventData.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAE1D,MAAM,MAAM,aAAa,GAAG;IAAE,MAAM,EAAE,CAAC,iBAAiB,CAAC,CAAA;CAAE,CAAA;AAE3D,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,WAAW,EAAE,aAAa,CAAA;CAC3B;AAED,MAAM,WAAW,sBAAuB,SAAQ,aAAa;CAAI"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Payload } from '@xyo-network/payload-model';
|
|
2
|
-
import type { BlockDuration } from '
|
|
2
|
+
import type { BlockDuration } from '../../fields/index.ts';
|
|
3
3
|
import type { FromFields } from './Executable.ts';
|
|
4
4
|
export declare const ChainStakeIntentSchema: "network.xyo.chain.stake.intent";
|
|
5
5
|
export type ChainStakeIntentSchema = typeof ChainStakeIntentSchema;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChainStakeIntent.d.ts","sourceRoot":"","sources":["../../../../src/payload/elevatable/ChainStakeIntent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ChainStakeIntent.d.ts","sourceRoot":"","sources":["../../../../src/payload/elevatable/ChainStakeIntent.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAGzD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAA;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,eAAO,MAAM,sBAAsB,EAAG,gCAAyC,CAAA;AAC/E,MAAM,MAAM,sBAAsB,GAAG,OAAO,sBAAsB,CAAA;AAElE,MAAM,MAAM,MAAM,GAAG,UAAU,CAAA;AAE/B,MAAM,WAAW,sBAAuB,SAAQ,aAAa,EAAE,UAAU;IAIvE,MAAM,EAAE,MAAM,CAAA;CACf;AAED,MAAM,MAAM,gBAAgB,GAAG,OAAO,CAAC,sBAAsB,EAAE,sBAAsB,CAAC,CAAA;AAEtF,eAAO,MAAM,kBAAkB,GAAI,IAAI,OAAO,GAAG,IAAI,KAAG,CAAC,IAAI,gBAI5D,CAAA;AACD,eAAO,MAAM,kBAAkB;;;CAA6C,CAAA;AAC5E,eAAO,MAAM,0BAA0B,uGAAqD,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XyoNetwork.d.ts","sourceRoot":"","sources":["../../../../src/provider/v1/XyoNetwork.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"XyoNetwork.d.ts","sourceRoot":"","sources":["../../../../src/provider/v1/XyoNetwork.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAE3D,MAAM,WAAW,UAAU;IACzB,MAAM,IAAI,UAAU,CAAC,aAAa,CAAC,CAAA;CACpC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Address } from '@xylabs/hex';
|
|
2
2
|
import type { Signed } from '@xyo-network/boundwitness-model';
|
|
3
3
|
import type { Payload } from '@xyo-network/payload-model';
|
|
4
|
-
import type { AllowedBlockPayload } from '
|
|
5
|
-
import type { TransactionBoundWitness, TransactionFeesBigInt } from '
|
|
4
|
+
import type { AllowedBlockPayload } from '../../block/index.ts';
|
|
5
|
+
import type { TransactionBoundWitness, TransactionFeesBigInt } from '../../transaction/index.ts';
|
|
6
6
|
import type { XyoDataLakeProvider } from './XyoDataLake.ts';
|
|
7
7
|
import type { XyoNetwork } from './XyoNetwork.ts';
|
|
8
8
|
import type { XyoRunner } from './XyoRunner.ts';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XyoProvider.d.ts","sourceRoot":"","sources":["../../../../src/provider/v1/XyoProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"XyoProvider.d.ts","sourceRoot":"","sources":["../../../../src/provider/v1/XyoProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,KAAK,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAA;AAChG,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAA;AAC3D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC/C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE/C,MAAM,WAAW,WAAW;IAC1B,OAAO,CAAC,EAAE,UAAU,CAAA;IACpB,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,IAAI,CAAC,EAAE,CACL,gBAAgB,EAAE,mBAAmB,EAAE,EACvC,kBAAkB,EAAE,OAAO,EAAE,EAC7B,KAAK,CAAC,EAAE,OAAO,EACf,GAAG,CAAC,EAAE,MAAM,EACZ,GAAG,CAAC,EAAE,MAAM,EACZ,IAAI,CAAC,EAAE,OAAO,EACd,IAAI,CAAC,EAAE,qBAAqB,KACzB,OAAO,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC,CAAA;IAC7C,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,OAAO,CAAC,EAAE,mBAAmB,CAAA;IAC7B,MAAM,CAAC,EAAE,SAAS,CAAA;IAClB,MAAM,CAAC,EAAE,SAAS,CAAA;CACnB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Hash } from '@xylabs/hex';
|
|
2
2
|
import type { Promisable } from '@xylabs/promise';
|
|
3
|
-
import type { SignedHydratedTransaction } from '
|
|
3
|
+
import type { SignedHydratedTransaction } from '../../transaction/index.ts';
|
|
4
4
|
export interface XyoRunner {
|
|
5
5
|
broadcastTransaction(transaction: SignedHydratedTransaction): Promisable<Hash>;
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XyoRunner.d.ts","sourceRoot":"","sources":["../../../../src/provider/v1/XyoRunner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"XyoRunner.d.ts","sourceRoot":"","sources":["../../../../src/provider/v1/XyoRunner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAA;AAE3E,MAAM,WAAW,SAAS;IACxB,oBAAoB,CAAC,WAAW,EAAE,yBAAyB,GAAG,UAAU,CAAC,IAAI,CAAC,CAAA;CAC/E"}
|
|
@@ -2,8 +2,8 @@ import type { Address } from '@xylabs/hex';
|
|
|
2
2
|
import type { Promisable } from '@xylabs/promise';
|
|
3
3
|
import type { Signed } from '@xyo-network/boundwitness-model';
|
|
4
4
|
import type { Payload } from '@xyo-network/payload-model';
|
|
5
|
-
import type { AllowedBlockPayload } from '
|
|
6
|
-
import type { TransactionBoundWitness, TransactionFeesBigInt } from '
|
|
5
|
+
import type { AllowedBlockPayload } from '../../block/index.ts';
|
|
6
|
+
import type { TransactionBoundWitness, TransactionFeesBigInt } from '../../transaction/index.ts';
|
|
7
7
|
export interface XyoSigner {
|
|
8
8
|
address(): Promisable<Address>;
|
|
9
9
|
createSignedTransaction(chain: Address, elevatedPayloads: AllowedBlockPayload[], additionalPayloads: Payload[], nbf: number, exp: number, fees: TransactionFeesBigInt, from?: Address): Promisable<Signed<TransactionBoundWitness>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XyoSigner.d.ts","sourceRoot":"","sources":["../../../../src/provider/v1/XyoSigner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"XyoSigner.d.ts","sourceRoot":"","sources":["../../../../src/provider/v1/XyoSigner.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAC7D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAA;AAEzD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,KAAK,EAAE,uBAAuB,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAA;AAEhG,MAAM,WAAW,SAAS;IACxB,OAAO,IAAI,UAAU,CAAC,OAAO,CAAC,CAAA;IAC9B,uBAAuB,CACrB,KAAK,EAAE,OAAO,EACd,gBAAgB,EAAE,mBAAmB,EAAE,EACvC,kBAAkB,EAAE,OAAO,EAAE,EAC7B,GAAG,EAAE,MAAM,EACX,GAAG,EAAE,MAAM,EACX,IAAI,EAAE,qBAAqB,EAC3B,IAAI,CAAC,EAAE,OAAO,GACb,UAAU,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAAC,CAAA;CAC/C"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Address, Hash } from '@xylabs/hex';
|
|
2
2
|
import type { Promisable } from '@xylabs/promise';
|
|
3
|
-
import type { SignedHydratedBlock } from '
|
|
4
|
-
import type { Transfer } from '
|
|
5
|
-
import type { SignedHydratedTransaction, TransactionBoundWitness } from '
|
|
3
|
+
import type { SignedHydratedBlock } from '../../block/index.ts';
|
|
4
|
+
import type { Transfer } from '../../payload/index.ts';
|
|
5
|
+
import type { SignedHydratedTransaction, TransactionBoundWitness } from '../../transaction/index.ts';
|
|
6
6
|
export interface XyoViewer {
|
|
7
7
|
accountBalance: (address: Address) => Promisable<bigint>;
|
|
8
8
|
accountHistory: (address: Address) => Promisable<[TransactionBoundWitness[], Transfer[]]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"XyoViewer.d.ts","sourceRoot":"","sources":["../../../../src/provider/v1/XyoViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"XyoViewer.d.ts","sourceRoot":"","sources":["../../../../src/provider/v1/XyoViewer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC/D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAA;AACtD,OAAO,KAAK,EAAE,yBAAyB,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAA;AAEpG,MAAM,WAAW,SAAS;IACxB,cAAc,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,UAAU,CAAC,MAAM,CAAC,CAAA;IACxD,cAAc,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,UAAU,CAAC,CAAC,uBAAuB,EAAE,EAAE,QAAQ,EAAE,CAAC,CAAC,CAAA;IAEzF,WAAW,CAAC,IAAI,EAAE,IAAI,GAAG,UAAU,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAA;IAC/D,aAAa,CAAC,WAAW,EAAE,MAAM,GAAG,UAAU,CAAC,mBAAmB,GAAG,IAAI,CAAC,CAAA;IAC1E,YAAY,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,mBAAmB,EAAE,CAAC,CAAA;IAE3E,OAAO,IAAI,UAAU,CAAC,OAAO,CAAC,CAAA;IAE9B,YAAY,IAAI,UAAU,CAAC,mBAAmB,CAAC,CAAA;IAC/C,gBAAgB,IAAI,UAAU,CAAC,IAAI,CAAC,CAAA;IACpC,kBAAkB,IAAI,UAAU,CAAC,MAAM,CAAC,CAAA;IAExC,8BAA8B,CAAC,SAAS,EAAE,IAAI,EAAE,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAAC,yBAAyB,GAAG,IAAI,CAAC,CAAA;IACvH,gCAAgC,CAAC,WAAW,EAAE,MAAM,EAAE,gBAAgB,EAAE,MAAM,GAAG,UAAU,CAAC,yBAAyB,GAAG,IAAI,CAAC,CAAA;IAC7H,iBAAiB,CAAC,eAAe,EAAE,IAAI,GAAG,UAAU,CAAC,yBAAyB,GAAG,IAAI,CAAC,CAAA;CACvF"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Hash } from '@xylabs/hex';
|
|
2
2
|
import type { Promisable } from '@xylabs/promise';
|
|
3
|
-
import type { Transfer } from '
|
|
3
|
+
import type { Transfer } from '../../../payload/index.ts';
|
|
4
4
|
export interface AccountViewer {
|
|
5
5
|
balance(): Promisable<bigint>;
|
|
6
6
|
history(limit?: number, previous?: Hash): Promisable<Transfer[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../../src/provider/v2/viewer/Account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../../src/provider/v2/viewer/Account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AACvC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,2BAA2B,CAAA;AAEzD,MAAM,WAAW,aAAa;IAC5B,OAAO,IAAI,UAAU,CAAC,MAAM,CAAC,CAAA;IAC7B,OAAO,CAAC,KAAK,CAAC,EAAE,MAAM,EAAE,QAAQ,CAAC,EAAE,IAAI,GAAG,UAAU,CAAC,QAAQ,EAAE,CAAC,CAAA;CACjE"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Address, Hash } from '@xylabs/hex';
|
|
2
|
-
import type { SignedHydratedBlock } from '
|
|
2
|
+
import type { SignedHydratedBlock } from '../../../block/index.ts';
|
|
3
3
|
import type { TransactionViewer } from './Transaction.ts';
|
|
4
4
|
export interface BlockViewer {
|
|
5
5
|
chainId: Address;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Block.d.ts","sourceRoot":"","sources":["../../../../../src/provider/v2/viewer/Block.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAEhD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Block.d.ts","sourceRoot":"","sources":["../../../../../src/provider/v2/viewer/Block.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAEhD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAClE,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAA;AAEzD,MAAM,WAAW,WAAW;IAC1B,OAAO,EAAE,OAAO,CAAA;IAChB,KAAK,EAAE,mBAAmB,CAAA;IAC1B,WAAW,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,iBAAiB,CAAA;CAClD"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Address, Hash } from '@xylabs/hex';
|
|
2
2
|
import type { Promisable } from '@xylabs/promise';
|
|
3
|
-
import type { NetworkStatus } from '
|
|
3
|
+
import type { NetworkStatus } from '../../../network/index.ts';
|
|
4
4
|
import type { AccountViewer } from './Account.ts';
|
|
5
5
|
import type { BlockViewer } from './Block.ts';
|
|
6
6
|
export interface ChainViewer {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Chain.d.ts","sourceRoot":"","sources":["../../../../../src/provider/v2/viewer/Chain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Chain.d.ts","sourceRoot":"","sources":["../../../../../src/provider/v2/viewer/Chain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAChD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,cAAc,CAAA;AACjD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAE7C,MAAM,WAAW,WAAW;IAC1B,KAAK,EAAE,OAAO,CAAA;IACd,OAAO,CAAC,OAAO,EAAE,OAAO,GAAG,aAAa,CAAA;IACxC,KAAK,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,GAAG,WAAW,CAAA;IACrC,YAAY,IAAI,UAAU,CAAC,IAAI,CAAC,CAAA;IAChC,MAAM,IAAI,aAAa,CAAA;CACxB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transaction.d.ts","sourceRoot":"","sources":["../../../../../src/provider/v2/viewer/Transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Transaction.d.ts","sourceRoot":"","sources":["../../../../../src/provider/v2/viewer/Transaction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,+BAA+B,CAAA;AAC9E,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAA;AAE7C,MAAM,WAAW,iBAAiB;IAChC,KAAK,EAAE,WAAW,CAAA;IAClB,KAAK,EAAE,yBAAyB,CAAA;CACjC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HydratedTransaction, TransactionBoundWitness } from '
|
|
1
|
+
import type { HydratedTransaction, TransactionBoundWitness } from '../transaction/index.ts';
|
|
2
2
|
import type { ReadRepository } from './Repository.ts';
|
|
3
3
|
export interface TransactionReadRepository extends ReadRepository<TransactionBoundWitness, HydratedTransaction> {
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionReadRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/TransactionReadRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TransactionReadRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/TransactionReadRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAErD,MAAM,WAAW,yBAA0B,SAAQ,cAAc,CAAC,uBAAuB,EAAE,mBAAmB,CAAC;CAAG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HydratedTransaction, TransactionBoundWitness } from '
|
|
1
|
+
import type { HydratedTransaction, TransactionBoundWitness } from '../transaction/index.ts';
|
|
2
2
|
import type { IterableRepository } from './Repository.ts';
|
|
3
3
|
export interface TransactionRepositoryIterator extends IterableRepository<TransactionBoundWitness, HydratedTransaction> {
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionRepositoryIterator.d.ts","sourceRoot":"","sources":["../../../src/repository/TransactionRepositoryIterator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TransactionRepositoryIterator.d.ts","sourceRoot":"","sources":["../../../src/repository/TransactionRepositoryIterator.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,uBAAuB,EAAE,MAAM,yBAAyB,CAAA;AAC3F,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEzD,MAAM,WAAW,6BAA8B,SAAQ,kBAAkB,CAAC,uBAAuB,EAAE,mBAAmB,CAAC;CAAG"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { HydratedTransaction } from '
|
|
1
|
+
import type { HydratedTransaction } from '../transaction/index.ts';
|
|
2
2
|
import type { WriteRepository } from './Repository.ts';
|
|
3
3
|
export interface TransactionWriteRepository extends WriteRepository<HydratedTransaction, boolean> {
|
|
4
4
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionWriteRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/TransactionWriteRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TransactionWriteRepository.d.ts","sourceRoot":"","sources":["../../../src/repository/TransactionWriteRepository.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAA;AAEtD,MAAM,WAAW,0BAA2B,SAAQ,eAAe,CAAC,mBAAmB,EAAE,OAAO,CAAC;CAAG"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import type { BlockBoundWitness, HydratedBlock } from '
|
|
2
|
-
import type { Addressable } from '
|
|
3
|
-
import type { IterableRepository } from '
|
|
1
|
+
import type { BlockBoundWitness, HydratedBlock } from '../block/index.ts';
|
|
2
|
+
import type { Addressable } from '../fields/index.ts';
|
|
3
|
+
import type { IterableRepository } from '../repository/index.ts';
|
|
4
4
|
export type NextBlockProducer = IterableRepository<BlockBoundWitness, HydratedBlock>;
|
|
5
5
|
export interface BlockProducer extends Addressable, NextBlockProducer {
|
|
6
6
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockProducer.d.ts","sourceRoot":"","sources":["../../../src/services/BlockProducer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"BlockProducer.d.ts","sourceRoot":"","sources":["../../../src/services/BlockProducer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAA;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAA;AAEhE,MAAM,MAAM,iBAAiB,GAAG,kBAAkB,CAAC,iBAAiB,EAAE,aAAa,CAAC,CAAA;AAEpF,MAAM,WAAW,aAAc,SAAQ,WAAW,EAAE,iBAAiB;CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Election.d.ts","sourceRoot":"","sources":["../../../src/services/Election.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"Election.d.ts","sourceRoot":"","sources":["../../../src/services/Election.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AAC1D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C,MAAM,WAAW,eAAgB,SAAQ,OAAO;IAE9C;;;OAGG;IACH,+BAA+B,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC,CAAA;CAEhF"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Hash } from '@xylabs/hex';
|
|
2
|
-
import type { HydratedTransaction } from '
|
|
2
|
+
import type { HydratedTransaction } from '../transaction/index.ts';
|
|
3
3
|
import type { Service } from './Service.ts';
|
|
4
4
|
export interface PendingTransactionsService extends Service {
|
|
5
5
|
getPendingTransactions(head: Hash, limit: number, timeout?: number): Promise<HydratedTransaction[]>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PendingTransactionsService.d.ts","sourceRoot":"","sources":["../../../src/services/PendingTransactionsService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAEvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"PendingTransactionsService.d.ts","sourceRoot":"","sources":["../../../src/services/PendingTransactionsService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,aAAa,CAAA;AAEvC,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAA;AAClE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAA;AAE3C,MAAM,WAAW,0BAA2B,SAAQ,OAAO;IACzD,sBAAsB,CAAC,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,mBAAmB,EAAE,CAAC,CAAA;CACpG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StakeIntentService.d.ts","sourceRoot":"","sources":["../../../../src/services/stakeIntent/StakeIntentService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"StakeIntentService.d.ts","sourceRoot":"","sources":["../../../../src/services/stakeIntent/StakeIntentService.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAA;AAEpD,MAAM,WAAW,kBAAkB;IAEjC;;;;OAIG;IACH,0BAA0B,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAC,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;IAE7G;;;;MAIE;IACF,6BAA6B,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,OAAO,EAAE,CAAC,CAAA;IAEhF;;;;;OAKG;IACH,gBAAgB,CAAC,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAA;CACpF"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { Address } from '@xylabs/hex';
|
|
2
2
|
import type { BoundWitness, Signed } from '@xyo-network/boundwitness-model';
|
|
3
3
|
import type { WithStorageMeta } from '@xyo-network/payload-model';
|
|
4
|
-
import type { BlockDuration } from '
|
|
5
|
-
import type { FromFields, OptionalExecutable } from '
|
|
4
|
+
import type { BlockDuration } from '../fields/index.ts';
|
|
5
|
+
import type { FromFields, OptionalExecutable } from '../payload/index.ts';
|
|
6
6
|
import type { TransactionFeesFields } from './TransactionFeesFields.ts';
|
|
7
7
|
export interface TransactionBoundWitnessFields extends BlockDuration, TransactionFeesFields {
|
|
8
8
|
chain: Address;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/transaction/TransactionBoundWitness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAE3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAGjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"TransactionBoundWitness.d.ts","sourceRoot":"","sources":["../../../src/transaction/TransactionBoundWitness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAE1C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,iCAAiC,CAAA;AAE3E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAA;AAGjE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAA;AACvD,OAAO,KAAK,EAAE,UAAU,EAAE,kBAAkB,EAAE,MAAM,qBAAqB,CAAA;AACzE,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAA;AAEvE,MAAM,WAAW,6BAA8B,SAAQ,aAAa,EAAE,qBAAqB;IACzF,KAAK,EAAE,OAAO,CAAA;CACf;AAED,MAAM,MAAM,uBAAuB,GAAG,YAAY,CAAC,6BAA6B,GAAG,kBAAkB,GAAG,UAAU,CAAC,CAAA;AAEnH,eAAO,MAAM,yBAAyB,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,uBAOnE,CAAA;AAED,eAAO,MAAM,+BAA+B,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,MAAM,CAAC,uBAAuB,CAEvG,CAAA;AAED,eAAO,MAAM,QAAQ,GAAI,CAAC,SAAS,YAAY,GAAG,YAAY,EAAE,OAAO,OAAO,KAAG,KAAK,IAAI,MAAM,CAAC,CAAC,CAGnE,CAAA;AAE/B,eAAO,MAAM,wCAAwC,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,eAAe,CAAC,uBAAuB,CAEjG,CAAA;AAEzB,eAAO,MAAM,8CAA8C,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,eAAe,CAAC,MAAM,CAAC,uBAAuB,CAAC,CAE/G,CAAA;AAEzB,eAAO,MAAM,yBAAyB;;;CAAoD,CAAA;AAC1F,eAAO,MAAM,iCAAiC,8GAA4D,CAAA;AAE1G,eAAO,MAAM,wCAAwC;;;CAAmE,CAAA;AACxH,eAAO,MAAM,gDAAgD,+HAA2E,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TransactionFeesFields.d.ts","sourceRoot":"","sources":["../../../src/transaction/TransactionFeesFields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AAEtC,OAAO,
|
|
1
|
+
{"version":3,"file":"TransactionFeesFields.d.ts","sourceRoot":"","sources":["../../../src/transaction/TransactionFeesFields.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,aAAa,CAAA;AAEtC,OAAO,EACL,OAAO,EAER,MAAM,iBAAiB,CAAA;AAExB,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,OAAO,CAAA;IACb,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;IACjB,QAAQ,EAAE,OAAO,CAAA;CAClB;AAED,MAAM,MAAM,kBAAkB,GAAG;KAC9B,CAAC,IAAI,MAAM,qBAAqB,GAAG,GAAG;CACxC,CAAA;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,EAAE,kBAAkB,CAAA;CACzB;AAED,eAAO,MAAM,kBAAkB,EAAE,qBAKvB,CAAA;AAEV,eAAO,MAAM,sBAAsB,EAAE,qBAK3B,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Address } from '@xylabs/hex';
|
|
2
2
|
import type { Promisable } from '@xylabs/promise';
|
|
3
|
-
import type { BlockBoundWitness } from '
|
|
3
|
+
import type { BlockBoundWitness } from '../../block/index.ts';
|
|
4
4
|
export type BlockValidatorFunction = (block: BlockBoundWitness, chainId?: Address) => Promisable<Error[]>;
|
|
5
5
|
//# sourceMappingURL=BlockValidationFunction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BlockValidationFunction.d.ts","sourceRoot":"","sources":["../../../../src/validation/block/BlockValidationFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"BlockValidationFunction.d.ts","sourceRoot":"","sources":["../../../../src/validation/block/BlockValidationFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,sBAAsB,CAAA;AAE7D,MAAM,MAAM,sBAAsB,GAAG,CACnC,KAAK,EAAE,iBAAiB,EACxB,OAAO,CAAC,EAAE,OAAO,KACd,UAAU,CAAC,KAAK,EAAE,CAAC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Address } from '@xylabs/hex';
|
|
2
2
|
import type { Promisable } from '@xylabs/promise';
|
|
3
|
-
import type {
|
|
4
|
-
import type {
|
|
3
|
+
import type { HydratedBlock } from '../../block/index.ts';
|
|
4
|
+
import type { AccountBalanceService } from '../../services/index.ts';
|
|
5
5
|
/**
|
|
6
6
|
* A function that validates a hydrated block against chain state.
|
|
7
7
|
* @param hydratedBlock The hydrated block to validate.
|
|
@@ -9,5 +9,7 @@ import type { HydratedBlock } from '#block';
|
|
|
9
9
|
* @param archivist The archivist to use for validation.
|
|
10
10
|
* @returns An array of errors if the block is invalid, or an empty array if it is valid.
|
|
11
11
|
*/
|
|
12
|
-
export type HydratedBlockStateValidationFunction = (hydratedBlock: HydratedBlock, chainId: Address,
|
|
12
|
+
export type HydratedBlockStateValidationFunction = (hydratedBlock: HydratedBlock, chainId: Address, services: {
|
|
13
|
+
accountBalance: AccountBalanceService;
|
|
14
|
+
}) => Promisable<Error[]>;
|
|
13
15
|
//# sourceMappingURL=HydratedBlockStateValidationFunction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HydratedBlockStateValidationFunction.d.ts","sourceRoot":"","sources":["../../../../src/validation/block/HydratedBlockStateValidationFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"HydratedBlockStateValidationFunction.d.ts","sourceRoot":"","sources":["../../../../src/validation/block/HydratedBlockStateValidationFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AACzD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAA;AAEpE;;;;;;GAMG;AACH,MAAM,MAAM,oCAAoC,GAAG,CACjD,aAAa,EAAE,aAAa,EAC5B,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE;IAAE,cAAc,EAAE,qBAAqB,CAAA;CAAE,KAChD,UAAU,CAAC,KAAK,EAAE,CAAC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Address } from '@xylabs/hex';
|
|
2
2
|
import type { Promisable } from '@xylabs/promise';
|
|
3
|
-
import type { HydratedBlock } from '
|
|
3
|
+
import type { HydratedBlock } from '../../block/index.ts';
|
|
4
4
|
/**
|
|
5
5
|
* A function that validates a hydrated block.
|
|
6
6
|
* @param hydratedBlock The hydrated block to validate.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HydratedBlockValidationFunction.d.ts","sourceRoot":"","sources":["../../../../src/validation/block/HydratedBlockValidationFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"HydratedBlockValidationFunction.d.ts","sourceRoot":"","sources":["../../../../src/validation/block/HydratedBlockValidationFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD;;;;;GAKG;AACH,MAAM,MAAM,8BAA8B,GAAG,CAC3C,aAAa,EAAE,aAAa,EAC5B,OAAO,CAAC,EAAE,OAAO,KACd,UAAU,CAAC,KAAK,EAAE,CAAC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Promisable } from '@xylabs/promise';
|
|
2
2
|
import type { Payload, WithHashStorageMeta } from '@xyo-network/payload-model';
|
|
3
|
-
import type { HydratedBlock } from '
|
|
3
|
+
import type { HydratedBlock } from '../../block/index.ts';
|
|
4
4
|
export type InBlockPayloadValidationFunction = (payload: WithHashStorageMeta<Payload>, block: HydratedBlock) => Promisable<Error[]>;
|
|
5
5
|
//# sourceMappingURL=InBlockPayloadValidationFunction.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InBlockPayloadValidationFunction.d.ts","sourceRoot":"","sources":["../../../../src/validation/payload/InBlockPayloadValidationFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAE9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"InBlockPayloadValidationFunction.d.ts","sourceRoot":"","sources":["../../../../src/validation/payload/InBlockPayloadValidationFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,OAAO,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAA;AAE9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,sBAAsB,CAAA;AAEzD,MAAM,MAAM,gCAAgC,GAAG,CAC7C,OAAO,EAAE,mBAAmB,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,aAAa,KACxD,UAAU,CAAC,KAAK,EAAE,CAAC,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Address } from '@xylabs/hex';
|
|
2
2
|
import type { Promisable } from '@xylabs/promise';
|
|
3
3
|
import type { HydratedBoundWitnessWithStorageMeta, ReadArchivist } from '@xyo-network/archivist-model';
|
|
4
|
-
import type { TransactionBoundWitness } from '
|
|
4
|
+
import type { TransactionBoundWitness } from '../../transaction/index.ts';
|
|
5
5
|
/**
|
|
6
6
|
* A function that validates a hydrated transaction against chain state.
|
|
7
7
|
* @param hydratedTransaction The hydrated transaction to validate.
|
package/dist/types/validation/transaction/HydratedTransactionStateValidationFunction.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HydratedTransactionStateValidationFunction.d.ts","sourceRoot":"","sources":["../../../../src/validation/transaction/HydratedTransactionStateValidationFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,mCAAmC,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAEtG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"HydratedTransactionStateValidationFunction.d.ts","sourceRoot":"","sources":["../../../../src/validation/transaction/HydratedTransactionStateValidationFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,mCAAmC,EAAE,aAAa,EAAE,MAAM,8BAA8B,CAAA;AAEtG,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAA;AAEzE;;;;;;GAMG;AACH,MAAM,MAAM,0CAA0C,CAAC,CAAC,SAAS,uBAAuB,GAAG,uBAAuB,IAAI,CACpH,mBAAmB,EAAE,mCAAmC,CAAC,CAAC,CAAC,EAC3D,OAAO,EAAE,OAAO,EAChB,SAAS,EAAE,aAAa,KACrB,UAAU,CAAC,KAAK,EAAE,CAAC,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Address } from '@xylabs/hex';
|
|
2
2
|
import type { Promisable } from '@xylabs/promise';
|
|
3
|
-
import type { HydratedTransaction, HydratedTransactionWithHashStorageMeta, TransactionBoundWitness } from '
|
|
3
|
+
import type { HydratedTransaction, HydratedTransactionWithHashStorageMeta, TransactionBoundWitness } from '../../transaction/index.ts';
|
|
4
4
|
/**
|
|
5
5
|
* A function that validates a hydrated transaction.
|
|
6
6
|
* @param bw The hydrated transaction to validate.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HydratedTransactionValidationFunction.d.ts","sourceRoot":"","sources":["../../../../src/validation/transaction/HydratedTransactionValidationFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EACV,mBAAmB,EAAE,sCAAsC,EAAE,uBAAuB,EACrF,MAAM,
|
|
1
|
+
{"version":3,"file":"HydratedTransactionValidationFunction.d.ts","sourceRoot":"","sources":["../../../../src/validation/transaction/HydratedTransactionValidationFunction.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,aAAa,CAAA;AAC1C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAEjD,OAAO,KAAK,EACV,mBAAmB,EAAE,sCAAsC,EAAE,uBAAuB,EACrF,MAAM,4BAA4B,CAAA;AAEnC;;;;;GAKG;AACH,MAAM,MAAM,oCAAoC,CAAC,CAAC,SAAS,uBAAuB,GAAG,uBAAuB,IAAI,CAC9G,mBAAmB,EAAE,sCAAsC,CAAC,mBAAmB,CAAC,CAAC,CAAC,CAAC,EACnF,OAAO,CAAC,EAAE,OAAO,KACd,UAAU,CAAC,KAAK,EAAE,CAAC,CAAA"}
|