@cmts-dev/carmentis-sdk-core 1.2.21 → 1.2.23
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/carmentis-sdk-core.cjs +2 -2
- package/dist/carmentis-sdk-core.d.ts +1 -0
- package/dist/carmentis-sdk-core.d.ts.map +1 -1
- package/dist/carmentis-sdk-core.js +1557 -1535
- package/dist/providers/NetworkProvider.d.ts +11 -1
- package/dist/providers/NetworkProvider.d.ts.map +1 -1
- package/dist/type/Transaction.d.ts +2 -1
- package/dist/type/Transaction.d.ts.map +1 -1
- package/dist/type/valibot/account/Account.d.ts +99 -30
- package/dist/type/valibot/account/Account.d.ts.map +1 -1
- package/dist/type/valibot/blockchain/chainReference/ChainReference.d.ts +79 -0
- package/dist/type/valibot/blockchain/chainReference/ChainReference.d.ts.map +1 -0
- package/dist/type/valibot/provider/abci/AbciResponse.d.ts +132 -40
- package/dist/type/valibot/provider/abci/AbciResponse.d.ts.map +1 -1
- package/dist/utils/AccountTransactions.d.ts +2 -1
- package/dist/utils/AccountTransactions.d.ts.map +1 -1
- package/dist/utils/BlockchainUtils.d.ts +3 -0
- package/dist/utils/BlockchainUtils.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -79,7 +79,17 @@ export declare class NetworkProvider implements IExternalProvider {
|
|
|
79
79
|
timestamp: number;
|
|
80
80
|
linkedAccount: Uint8Array<ArrayBufferLike>;
|
|
81
81
|
amount: number;
|
|
82
|
-
chainReference:
|
|
82
|
+
chainReference: {
|
|
83
|
+
type: import("../carmentis-sdk-core").ChainReferenceType.BLOCK;
|
|
84
|
+
height: number;
|
|
85
|
+
} | {
|
|
86
|
+
type: import("../carmentis-sdk-core").ChainReferenceType.MICROBLOCK;
|
|
87
|
+
microblockHash: Uint8Array<ArrayBufferLike>;
|
|
88
|
+
} | {
|
|
89
|
+
type: import("../carmentis-sdk-core").ChainReferenceType.SECTION;
|
|
90
|
+
microblockHash: Uint8Array<ArrayBufferLike>;
|
|
91
|
+
sectionIndex: number;
|
|
92
|
+
};
|
|
83
93
|
}[];
|
|
84
94
|
}>;
|
|
85
95
|
getAccountByPublicKeyHash(publicKeyHash: Uint8Array): Promise<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NetworkProvider.d.ts","sourceRoot":"","sources":["../../src/providers/NetworkProvider.ts"],"names":[],"mappings":"AAUA,OAAO,EAAC,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AAEtD,OAAO,EAAC,qBAAqB,EAA8B,MAAM,sDAAsD,CAAC;AACxH,OAAO,EAAC,WAAW,EAAkB,MAAM,2CAA2C,CAAC;AACvF,OAAO,EACH,YAAY,EACZ,gBAAgB,EAEkB,wBAAwB,EAK1D,2BAA2B,EAE3B,2BAA2B,EAM9B,MAAM,4CAA4C,CAAC;AAIpD,qBAAa,eAAgB,YAAW,iBAAiB;IAiBzC,OAAO,CAAC,QAAQ,CAAC,OAAO;IAhBpC,OAAO,CAAC,MAAM,CAAC,YAAY,CAAqC;IAChE,OAAO,CAAC,MAAM,CAAgC;IAC9C,OAAO,CAAC,aAAa,CAAoD;IACzE,OAAO,CAAC,cAAc,CAAqD;IAE3E,MAAM,CAAC,aAAa,CAAC,GAAG,EAAE,MAAM,GAAG,eAAe;gBAWrB,OAAO,EAAE,MAAM;IAGtC,wBAAwB,CAAC,oBAAoB,EAAE,UAAU;cA+M5C,MAAM;;IArMnB,wBAAwB,CAAC,IAAI,EAAE,UAAU;;;;;;;;;;;;;;;;IAazC,mBAAmB;;;;;;;;IAUnB,mBAAmB,CAAC,MAAM,EAAE,MAAM;;;;;;;;;;;;;;;IAYlC,eAAe,CAAC,MAAM,EAAE,MAAM;;;;;;;;;;;IAa9B,yBAAyB,CAAC,OAAO,EAAE,UAAU;;;;IAiB7C,eAAe,CAAC,WAAW,EAAE,UAAU,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAmB3E,iBAAiB,CAAC,WAAW,EAAE,UAAU,EAAE,e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nD,wBAAwB,CAAC,IAAI,EAAE,UAAU,GAAG,OAAO,CAAC,qBAAqB,GAAG,IAAI,CAAC;IAoBjF,+BAA+B,CAAC,mBAAmB,EAAE,UAAU,EAAE,MAAM,EAAE,MAAM,GAAG,OAAO,CAAC,UAAU,GAAG,IAAI,CAAC;IAc5G,kBAAkB,CAAC,MAAM,EAAE,UAAU,EAAE,GAAG,OAAO,CAAC,2BAA2B,GAAG,IAAI,CAAC;IAgBrF,0BAA0B,CAAC,mBAAmB,EAAE,UAAU,EAAE,cAAc,EAAE,UAAU;;;;;;IAYtF,mCAAmC,CAAC,mBAAmB,EAAE,UAAU;mBAepD,KAAK;IA+CpB,WAAW,CAAC,IAAI,EAAE,UAAU;cA3Cf,MAAM;;IA8DnB,SAAS,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC,YAAY,CAAC;WAO/C,yBAAyB,CAAC,OAAO,EAAE,MAAM,EAAE,iBAAiB,EAAE,UAAU,GAAG,OAAO,CAAC,YAAY,CAAC;WAkChG,2BAA2B,CAAC,OAAO,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAclD,kBAAkB,IAAI,OAAO,CAAC,2BAA2B,CAAC;CAanE"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { AccountHistoryEntry } from './valibot/account/Account';
|
|
2
|
+
import { ChainReference } from './valibot/blockchain/chainReference/ChainReference';
|
|
2
3
|
import { Height } from './Height';
|
|
3
4
|
import { Hash } from '../entities/Hash';
|
|
4
5
|
import { CMTSToken } from '../economics/currencies/token';
|
|
@@ -16,7 +17,7 @@ export declare class Transaction {
|
|
|
16
17
|
*/
|
|
17
18
|
getLinkedAccount(): Hash;
|
|
18
19
|
getAmount(): CMTSToken;
|
|
19
|
-
getChainReference():
|
|
20
|
+
getChainReference(): ChainReference;
|
|
20
21
|
/**
|
|
21
22
|
* Determines if the transaction is for a positive (or zero) amount.
|
|
22
23
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Transaction.d.ts","sourceRoot":"","sources":["../../src/type/Transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAC,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAChC,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAC,SAAS,EAAC,MAAM,+BAA+B,CAAC;AAexD,qBAAa,WAAW;IAEjB,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,mBAAmB;IAG7C,SAAS,IAAI,MAAM;IAInB,sBAAsB,IAAI,IAAI;IAI9B,YAAY,IAAI,MAAM;IAItB,aAAa,IAAI,IAAI;IAI5B;;;;OAIG;IACI,gBAAgB,IAAI,IAAI;IAIxB,SAAS,IAAI,SAAS;IAKtB,iBAAiB,IAAI,
|
|
1
|
+
{"version":3,"file":"Transaction.d.ts","sourceRoot":"","sources":["../../src/type/Transaction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,mBAAmB,EAAC,MAAM,2BAA2B,CAAC;AAC9D,OAAO,EAAC,cAAc,EAAC,MAAM,oDAAoD,CAAC;AAClF,OAAO,EAAC,MAAM,EAAC,MAAM,UAAU,CAAC;AAChC,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AACtC,OAAO,EAAC,SAAS,EAAC,MAAM,+BAA+B,CAAC;AAexD,qBAAa,WAAW;IAEjB,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,mBAAmB;IAG7C,SAAS,IAAI,MAAM;IAInB,sBAAsB,IAAI,IAAI;IAI9B,YAAY,IAAI,MAAM;IAItB,aAAa,IAAI,IAAI;IAI5B;;;;OAIG;IACI,gBAAgB,IAAI,IAAI;IAIxB,SAAS,IAAI,SAAS;IAKtB,iBAAiB,IAAI,cAAc;IAI1C;;;;OAIG;IACI,UAAU,IAAI,OAAO;IAI5B;;;;OAIG;IACI,UAAU,IAAI,OAAO;IAI5B;;;;OAIG;IACI,YAAY,IAAI,OAAO;IAIvB,iBAAiB,IAAI,OAAO;IAI5B,cAAc,IAAI,OAAO;IAIzB,eAAe,IAAI,OAAO;IAI1B,YAAY,IAAI,OAAO;IAI9B;;;;;;OAMG;IACI,kBAAkB,IAAI,OAAO;IAK7B,cAAc,IAAI,OAAO;IAIhC;;;;;;OAMG;IACI,MAAM,IAAI,OAAO;IAIxB;;;;;;OAMG;IACI,aAAa,IAAI,OAAO;IAIxB,UAAU,IAAI,OAAO;IAI5B;;;;;;OAMG;IACI,UAAU,IAAI,OAAO;IAI5B;;;;;;OAMG;IACI,iBAAiB,IAAI,OAAO;CAGtC"}
|
|
@@ -415,16 +415,39 @@ export declare const AccountHistoryEntrySchema: v.ObjectSchema<{
|
|
|
415
415
|
readonly typeId: 12;
|
|
416
416
|
}>]>;
|
|
417
417
|
readonly amount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
418
|
-
readonly chainReference: v.
|
|
419
|
-
|
|
420
|
-
readonly
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
418
|
+
readonly chainReference: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
419
|
+
readonly type: v.LiteralSchema<import("../blockchain/chainReference/ChainReference").ChainReferenceType.BLOCK, undefined>;
|
|
420
|
+
readonly height: v.NumberSchema<undefined>;
|
|
421
|
+
}, undefined>, v.ObjectSchema<{
|
|
422
|
+
readonly type: v.LiteralSchema<import("../blockchain/chainReference/ChainReference").ChainReferenceType.MICROBLOCK, undefined>;
|
|
423
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
424
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
425
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
426
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
427
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
428
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
429
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
430
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
431
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
432
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
433
|
+
readonly typeId: 12;
|
|
434
|
+
}>]>;
|
|
435
|
+
}, undefined>, v.ObjectSchema<{
|
|
436
|
+
readonly type: v.LiteralSchema<import("../blockchain/chainReference/ChainReference").ChainReferenceType.SECTION, undefined>;
|
|
437
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
438
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
439
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
440
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
441
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
442
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
443
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
444
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
445
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
446
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
447
|
+
readonly typeId: 12;
|
|
448
|
+
}>]>;
|
|
449
|
+
readonly sectionIndex: v.NumberSchema<undefined>;
|
|
450
|
+
}, undefined>], undefined>;
|
|
428
451
|
}, undefined>;
|
|
429
452
|
export type AccountHistoryEntry = v.InferOutput<typeof AccountHistoryEntrySchema>;
|
|
430
453
|
export declare const AccountHistorySchema: v.ArraySchema<v.ObjectSchema<{
|
|
@@ -458,16 +481,39 @@ export declare const AccountHistorySchema: v.ArraySchema<v.ObjectSchema<{
|
|
|
458
481
|
readonly typeId: 12;
|
|
459
482
|
}>]>;
|
|
460
483
|
readonly amount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
461
|
-
readonly chainReference: v.
|
|
462
|
-
|
|
463
|
-
readonly
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
484
|
+
readonly chainReference: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
485
|
+
readonly type: v.LiteralSchema<import("../blockchain/chainReference/ChainReference").ChainReferenceType.BLOCK, undefined>;
|
|
486
|
+
readonly height: v.NumberSchema<undefined>;
|
|
487
|
+
}, undefined>, v.ObjectSchema<{
|
|
488
|
+
readonly type: v.LiteralSchema<import("../blockchain/chainReference/ChainReference").ChainReferenceType.MICROBLOCK, undefined>;
|
|
489
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
490
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
491
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
492
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
493
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
494
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
495
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
496
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
497
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
498
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
499
|
+
readonly typeId: 12;
|
|
500
|
+
}>]>;
|
|
501
|
+
}, undefined>, v.ObjectSchema<{
|
|
502
|
+
readonly type: v.LiteralSchema<import("../blockchain/chainReference/ChainReference").ChainReferenceType.SECTION, undefined>;
|
|
503
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
504
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
505
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
506
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
507
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
508
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
509
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
510
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
511
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
512
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
513
|
+
readonly typeId: 12;
|
|
514
|
+
}>]>;
|
|
515
|
+
readonly sectionIndex: v.NumberSchema<undefined>;
|
|
516
|
+
}, undefined>], undefined>;
|
|
471
517
|
}, undefined>, undefined>;
|
|
472
518
|
export type AccountHistory = v.InferOutput<typeof AccountHistorySchema>;
|
|
473
519
|
export declare const RequestedAccountUpdateSchema: v.ObjectSchema<{
|
|
@@ -616,16 +662,39 @@ export declare const AccountUpdateSchema: v.ObjectSchema<{
|
|
|
616
662
|
readonly typeId: 12;
|
|
617
663
|
}>]>;
|
|
618
664
|
readonly amount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
619
|
-
readonly chainReference: v.
|
|
620
|
-
|
|
621
|
-
readonly
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
|
|
628
|
-
|
|
665
|
+
readonly chainReference: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
666
|
+
readonly type: v.LiteralSchema<import("../blockchain/chainReference/ChainReference").ChainReferenceType.BLOCK, undefined>;
|
|
667
|
+
readonly height: v.NumberSchema<undefined>;
|
|
668
|
+
}, undefined>, v.ObjectSchema<{
|
|
669
|
+
readonly type: v.LiteralSchema<import("../blockchain/chainReference/ChainReference").ChainReferenceType.MICROBLOCK, undefined>;
|
|
670
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
671
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
672
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
673
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
674
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
675
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
676
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
677
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
678
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
679
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
680
|
+
readonly typeId: 12;
|
|
681
|
+
}>]>;
|
|
682
|
+
}, undefined>, v.ObjectSchema<{
|
|
683
|
+
readonly type: v.LiteralSchema<import("../blockchain/chainReference/ChainReference").ChainReferenceType.SECTION, undefined>;
|
|
684
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
685
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
686
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
687
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
688
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
689
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
690
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
691
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
692
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
693
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
694
|
+
readonly typeId: 12;
|
|
695
|
+
}>]>;
|
|
696
|
+
readonly sectionIndex: v.NumberSchema<undefined>;
|
|
697
|
+
}, undefined>], undefined>;
|
|
629
698
|
}, undefined>, undefined>;
|
|
630
699
|
}, undefined>;
|
|
631
700
|
export type AccountUpdate = v.InferOutput<typeof AccountUpdateSchema>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../src/type/valibot/account/Account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"Account.d.ts","sourceRoot":"","sources":["../../../../src/type/valibot/account/Account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAC;AAI7B,eAAO,MAAM,eAAe,IAAI,CAAC;AACjC,oBAAY,QAAQ;IAChB,MAAM,IAAI;IACV,OAAO,IAAI;IACX,WAAW,IAAI;CAClB;AAGD,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAMjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE5E,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAI3B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAGhE,eAAO,MAAM,uBAAuB;;;;;aAKlC,CAAC;AACH,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAC;AAE9E,eAAO,MAAM,iBAAiB;;;;;;;;;aAI5B,CAAC;AACH,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAGlE,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;aAOtC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEtF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;aAIhC,CAAC;AACH,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,C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;AACH,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,4BAA4B,CAAC,CAAC;AAExF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAI9B,CAAC;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import * as v from 'valibot';
|
|
2
|
+
export declare enum ChainReferenceType {
|
|
3
|
+
BLOCK = 0,
|
|
4
|
+
MICROBLOCK = 1,
|
|
5
|
+
SECTION = 2
|
|
6
|
+
}
|
|
7
|
+
export declare const BlockReferenceSchema: v.ObjectSchema<{
|
|
8
|
+
readonly type: v.LiteralSchema<ChainReferenceType.BLOCK, undefined>;
|
|
9
|
+
readonly height: v.NumberSchema<undefined>;
|
|
10
|
+
}, undefined>;
|
|
11
|
+
export type BlockReference = v.InferOutput<typeof BlockReferenceSchema>;
|
|
12
|
+
export declare const MicroblockReferenceSchema: v.ObjectSchema<{
|
|
13
|
+
readonly type: v.LiteralSchema<ChainReferenceType.MICROBLOCK, undefined>;
|
|
14
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
15
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
16
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
17
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
18
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
19
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
20
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
21
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
22
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
23
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
24
|
+
readonly typeId: 12;
|
|
25
|
+
}>]>;
|
|
26
|
+
}, undefined>;
|
|
27
|
+
export type MicroblockReference = v.InferOutput<typeof MicroblockReferenceSchema>;
|
|
28
|
+
export declare const SectionReferenceSchema: v.ObjectSchema<{
|
|
29
|
+
readonly type: v.LiteralSchema<ChainReferenceType.SECTION, undefined>;
|
|
30
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
31
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
32
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
33
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
34
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
35
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
36
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
37
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
38
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
39
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
40
|
+
readonly typeId: 12;
|
|
41
|
+
}>]>;
|
|
42
|
+
readonly sectionIndex: v.NumberSchema<undefined>;
|
|
43
|
+
}, undefined>;
|
|
44
|
+
export type SectionReference = v.InferOutput<typeof SectionReferenceSchema>;
|
|
45
|
+
export declare const ChainReferenceSchema: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
46
|
+
readonly type: v.LiteralSchema<ChainReferenceType.BLOCK, undefined>;
|
|
47
|
+
readonly height: v.NumberSchema<undefined>;
|
|
48
|
+
}, undefined>, v.ObjectSchema<{
|
|
49
|
+
readonly type: v.LiteralSchema<ChainReferenceType.MICROBLOCK, undefined>;
|
|
50
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
51
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
52
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
53
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
54
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
55
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
56
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
57
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
58
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
59
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
60
|
+
readonly typeId: 12;
|
|
61
|
+
}>]>;
|
|
62
|
+
}, undefined>, v.ObjectSchema<{
|
|
63
|
+
readonly type: v.LiteralSchema<ChainReferenceType.SECTION, undefined>;
|
|
64
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
65
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
66
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
67
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
68
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
69
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
70
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
71
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
72
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
73
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
74
|
+
readonly typeId: 12;
|
|
75
|
+
}>]>;
|
|
76
|
+
readonly sectionIndex: v.NumberSchema<undefined>;
|
|
77
|
+
}, undefined>], undefined>;
|
|
78
|
+
export type ChainReference = v.InferOutput<typeof ChainReferenceSchema>;
|
|
79
|
+
//# sourceMappingURL=ChainReference.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ChainReference.d.ts","sourceRoot":"","sources":["../../../../../src/type/valibot/blockchain/chainReference/ChainReference.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAC;AAG7B,oBAAY,kBAAkB;IAC1B,KAAK,IAAI;IACT,UAAU,IAAI;IACd,OAAO,IAAI;CACd;AAED,eAAO,MAAM,oBAAoB;;;aAG/B,CAAC;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAExE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;aAGpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAElF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;aAIjC,CAAC;AACH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,sBAAsB,CAAC,CAAC;AAE5E,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0BAOhC,CAAC;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -1568,16 +1568,39 @@ export declare const AccountHistoryAbciResponseSchema: v.ObjectSchema<{
|
|
|
1568
1568
|
readonly typeId: 12;
|
|
1569
1569
|
}>]>;
|
|
1570
1570
|
readonly amount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1571
|
-
readonly chainReference: v.
|
|
1572
|
-
|
|
1573
|
-
readonly
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
|
-
|
|
1577
|
-
|
|
1578
|
-
|
|
1579
|
-
|
|
1580
|
-
|
|
1571
|
+
readonly chainReference: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1572
|
+
readonly type: v.LiteralSchema<import("../../blockchain/chainReference/ChainReference").ChainReferenceType.BLOCK, undefined>;
|
|
1573
|
+
readonly height: v.NumberSchema<undefined>;
|
|
1574
|
+
}, undefined>, v.ObjectSchema<{
|
|
1575
|
+
readonly type: v.LiteralSchema<import("../../blockchain/chainReference/ChainReference").ChainReferenceType.MICROBLOCK, undefined>;
|
|
1576
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
1577
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
1578
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
1579
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
1580
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
1581
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
1582
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
1583
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
1584
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
1585
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
1586
|
+
readonly typeId: 12;
|
|
1587
|
+
}>]>;
|
|
1588
|
+
}, undefined>, v.ObjectSchema<{
|
|
1589
|
+
readonly type: v.LiteralSchema<import("../../blockchain/chainReference/ChainReference").ChainReferenceType.SECTION, undefined>;
|
|
1590
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
1591
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
1592
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
1593
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
1594
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
1595
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
1596
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
1597
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
1598
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
1599
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
1600
|
+
readonly typeId: 12;
|
|
1601
|
+
}>]>;
|
|
1602
|
+
readonly sectionIndex: v.NumberSchema<undefined>;
|
|
1603
|
+
}, undefined>], undefined>;
|
|
1581
1604
|
}, undefined>, undefined>;
|
|
1582
1605
|
}, undefined>;
|
|
1583
1606
|
export declare const AccountByPublicKeyHashAbciResponseSchema: v.ObjectSchema<{
|
|
@@ -1767,16 +1790,39 @@ export declare const AccountUpdatesAbciResponseSchema: v.ObjectSchema<{
|
|
|
1767
1790
|
readonly typeId: 12;
|
|
1768
1791
|
}>]>;
|
|
1769
1792
|
readonly amount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
1770
|
-
readonly chainReference: v.
|
|
1771
|
-
|
|
1772
|
-
readonly
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1793
|
+
readonly chainReference: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
1794
|
+
readonly type: v.LiteralSchema<import("../../blockchain/chainReference/ChainReference").ChainReferenceType.BLOCK, undefined>;
|
|
1795
|
+
readonly height: v.NumberSchema<undefined>;
|
|
1796
|
+
}, undefined>, v.ObjectSchema<{
|
|
1797
|
+
readonly type: v.LiteralSchema<import("../../blockchain/chainReference/ChainReference").ChainReferenceType.MICROBLOCK, undefined>;
|
|
1798
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
1799
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
1800
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
1801
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
1802
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
1803
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
1804
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
1805
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
1806
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
1807
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
1808
|
+
readonly typeId: 12;
|
|
1809
|
+
}>]>;
|
|
1810
|
+
}, undefined>, v.ObjectSchema<{
|
|
1811
|
+
readonly type: v.LiteralSchema<import("../../blockchain/chainReference/ChainReference").ChainReferenceType.SECTION, undefined>;
|
|
1812
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
1813
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
1814
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
1815
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
1816
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
1817
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
1818
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
1819
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
1820
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
1821
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
1822
|
+
readonly typeId: 12;
|
|
1823
|
+
}>]>;
|
|
1824
|
+
readonly sectionIndex: v.NumberSchema<undefined>;
|
|
1825
|
+
}, undefined>], undefined>;
|
|
1780
1826
|
}, undefined>, undefined>;
|
|
1781
1827
|
}, undefined>, undefined>;
|
|
1782
1828
|
}, undefined>;
|
|
@@ -3356,16 +3402,39 @@ export declare const AbciResponseSchema: v.VariantSchema<"responseType", [v.Obje
|
|
|
3356
3402
|
readonly typeId: 12;
|
|
3357
3403
|
}>]>;
|
|
3358
3404
|
readonly amount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
3359
|
-
readonly chainReference: v.
|
|
3360
|
-
|
|
3361
|
-
readonly
|
|
3362
|
-
|
|
3363
|
-
|
|
3364
|
-
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3405
|
+
readonly chainReference: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
3406
|
+
readonly type: v.LiteralSchema<import("../../blockchain/chainReference/ChainReference").ChainReferenceType.BLOCK, undefined>;
|
|
3407
|
+
readonly height: v.NumberSchema<undefined>;
|
|
3408
|
+
}, undefined>, v.ObjectSchema<{
|
|
3409
|
+
readonly type: v.LiteralSchema<import("../../blockchain/chainReference/ChainReference").ChainReferenceType.MICROBLOCK, undefined>;
|
|
3410
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
3411
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
3412
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
3413
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
3414
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
3415
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
3416
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
3417
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
3418
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
3419
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
3420
|
+
readonly typeId: 12;
|
|
3421
|
+
}>]>;
|
|
3422
|
+
}, undefined>, v.ObjectSchema<{
|
|
3423
|
+
readonly type: v.LiteralSchema<import("../../blockchain/chainReference/ChainReference").ChainReferenceType.SECTION, undefined>;
|
|
3424
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
3425
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
3426
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
3427
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
3428
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
3429
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
3430
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
3431
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
3432
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
3433
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
3434
|
+
readonly typeId: 12;
|
|
3435
|
+
}>]>;
|
|
3436
|
+
readonly sectionIndex: v.NumberSchema<undefined>;
|
|
3437
|
+
}, undefined>], undefined>;
|
|
3369
3438
|
}, undefined>, undefined>;
|
|
3370
3439
|
}, undefined>, v.ObjectSchema<{
|
|
3371
3440
|
readonly responseType: v.LiteralSchema<AbciResponseType.ACCOUNT_BY_PUBLIC_KEY_HASH, undefined>;
|
|
@@ -3535,16 +3604,39 @@ export declare const AbciResponseSchema: v.VariantSchema<"responseType", [v.Obje
|
|
|
3535
3604
|
readonly typeId: 12;
|
|
3536
3605
|
}>]>;
|
|
3537
3606
|
readonly amount: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 0, undefined>]>;
|
|
3538
|
-
readonly chainReference: v.
|
|
3539
|
-
|
|
3540
|
-
readonly
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3607
|
+
readonly chainReference: v.VariantSchema<"type", [v.ObjectSchema<{
|
|
3608
|
+
readonly type: v.LiteralSchema<import("../../blockchain/chainReference/ChainReference").ChainReferenceType.BLOCK, undefined>;
|
|
3609
|
+
readonly height: v.NumberSchema<undefined>;
|
|
3610
|
+
}, undefined>, v.ObjectSchema<{
|
|
3611
|
+
readonly type: v.LiteralSchema<import("../../blockchain/chainReference/ChainReference").ChainReferenceType.MICROBLOCK, undefined>;
|
|
3612
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
3613
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
3614
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
3615
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
3616
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
3617
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
3618
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
3619
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
3620
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
3621
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
3622
|
+
readonly typeId: 12;
|
|
3623
|
+
}>]>;
|
|
3624
|
+
}, undefined>, v.ObjectSchema<{
|
|
3625
|
+
readonly type: v.LiteralSchema<import("../../blockchain/chainReference/ChainReference").ChainReferenceType.SECTION, undefined>;
|
|
3626
|
+
readonly microblockHash: v.SchemaWithPipe<readonly [v.InstanceSchema<{
|
|
3627
|
+
new (buffer: ArrayBufferLike, byteOffset?: number, length?: number): Uint8Array<ArrayBufferLike>;
|
|
3628
|
+
readonly prototype: Uint8Array<ArrayBufferLike>;
|
|
3629
|
+
readonly BYTES_PER_ELEMENT: number;
|
|
3630
|
+
of(...items: number[]): Uint8Array<ArrayBuffer>;
|
|
3631
|
+
from(arrayLike: ArrayLike<number>): Uint8Array<ArrayBuffer>;
|
|
3632
|
+
from<T>(arrayLike: ArrayLike<T>, mapfn: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
3633
|
+
from(elements: Iterable<number>): Uint8Array<ArrayBuffer>;
|
|
3634
|
+
from<T>(elements: Iterable<T>, mapfn?: (v: T, k: number) => number, thisArg?: any): Uint8Array<ArrayBuffer>;
|
|
3635
|
+
}, undefined>, v.CustomSchema<Uint8Array<ArrayBufferLike>, "Expected Uint8Array of 32 bytes">, v.MetadataAction<Uint8Array<ArrayBufferLike>, {
|
|
3636
|
+
readonly typeId: 12;
|
|
3637
|
+
}>]>;
|
|
3638
|
+
readonly sectionIndex: v.NumberSchema<undefined>;
|
|
3639
|
+
}, undefined>], undefined>;
|
|
3548
3640
|
}, undefined>, undefined>;
|
|
3549
3641
|
}, undefined>, undefined>;
|
|
3550
3642
|
}, undefined>, v.ObjectSchema<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AbciResponse.d.ts","sourceRoot":"","sources":["../../../../../src/type/valibot/provider/abci/AbciResponse.ts"],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Reference } from '../type/valibot/blockchain/chainReference/ChainReference';
|
|
2
3
|
import { Height } from '../type/Height';
|
|
3
4
|
import { AccountHistoryAbciResponse } from '../type/valibot/provider/abci/AbciResponse';
|
|
4
5
|
import { AccountHistoryEntry, AccountHistory } from '../type/valibot/account/Account';
|
|
@@ -25,7 +26,7 @@ export declare class AccountTransaction {
|
|
|
25
26
|
*/
|
|
26
27
|
getLinkedAccount(): Hash;
|
|
27
28
|
getAmount(): CMTSToken;
|
|
28
|
-
getChainReference():
|
|
29
|
+
getChainReference(): ChainReference;
|
|
29
30
|
/**
|
|
30
31
|
* Determines if the transaction is for a positive (or zero) amount.
|
|
31
32
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"AccountTransactions.d.ts","sourceRoot":"","sources":["../../src/utils/AccountTransactions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,+BAA+B,CAAC;
|
|
1
|
+
{"version":3,"file":"AccountTransactions.d.ts","sourceRoot":"","sources":["../../src/utils/AccountTransactions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,+BAA+B,CAAC;AACxD,OAAO,EAAC,cAAc,EAAC,MAAM,0DAA0D,CAAC;AAYxF,OAAO,EAAC,MAAM,EAAC,MAAM,gBAAgB,CAAC;AACtC,OAAO,EAAC,0BAA0B,EAAC,MAAM,4CAA4C,CAAC;AACtF,OAAO,EAAC,mBAAmB,EAAE,cAAc,EAAC,MAAM,iCAAiC,CAAC;AACpF,OAAO,EAAC,IAAI,EAAC,MAAM,kBAAkB,CAAC;AAEtC,qBAAa,mBAAmB;IAKhB,OAAO,CAAC,QAAQ,CAAC,YAAY;IAJzC,MAAM,CAAC,sBAAsB,CAAC,QAAQ,EAAE,0BAA0B;gBAIrC,YAAY,EAAE,cAAc;IAGzD,oBAAoB,IAAI,OAAO;IAI/B,eAAe,IAAI,kBAAkB,EAAE;CAG1C;AAED,qBAAa,kBAAkB;IAEvB,OAAO,CAAC,QAAQ,CAAC,WAAW;gBAAX,WAAW,EAAE,mBAAmB;IAG9C,SAAS,IAAI,MAAM;IAInB,sBAAsB,IAAI,IAAI;IAI9B,YAAY,IAAI,MAAM;IAItB,aAAa,IAAI,IAAI;IAIrB,uBAAuB;IAY9B;;;;OAIG;IACI,gBAAgB,IAAI,IAAI;IAIxB,SAAS,IAAI,SAAS;IAKtB,iBAAiB,IAAI,cAAc;IAI1C;;;;OAIG;IACI,UAAU,IAAI,OAAO;IAI5B;;;;OAIG;IACI,UAAU,IAAI,OAAO;IAI5B;;;;OAIG;IACI,YAAY,IAAI,OAAO;IAIvB,iBAAiB,IAAI,OAAO;IAI5B,cAAc,IAAI,OAAO;IAIzB,eAAe,IAAI,OAAO;IAI1B,YAAY,IAAI,OAAO;IAI9B;;;;;;OAMG;IACI,kBAAkB,IAAI,OAAO;IAI7B,cAAc,IAAI,OAAO;IAIhC;;;;;;OAMG;IACI,MAAM,IAAI,OAAO;IAIxB;;;;;;OAMG;IACI,aAAa,IAAI,OAAO;IAIxB,UAAU,IAAI,OAAO;IAI5B;;;;;;OAMG;IACI,UAAU,IAAI,OAAO;IAI5B;;;;;;OAMG;IACI,iBAAiB,IAAI,OAAO;CAGtC"}
|
|
@@ -5,6 +5,7 @@ import { Section } from '../type/valibot/blockchain/section/sections';
|
|
|
5
5
|
import { VirtualBlockchainInfo } from '../type/valibot/provider/VirtualBlockchainInfo';
|
|
6
6
|
import { MicroblockInformation } from '../type/valibot/provider/MicroblockInformationSchema';
|
|
7
7
|
import { AccountBreakdown, AccountInformation, AccountState, EscrowLock, EscrowParameters, Lock, NodeStakingLock, NodeStakingParameters, VestingLock, VestingParameters } from '../type/valibot/account/Account';
|
|
8
|
+
import { ChainReference } from '../type/valibot/blockchain/chainReference/ChainReference';
|
|
8
9
|
export declare class BlockchainUtils {
|
|
9
10
|
private static encoder;
|
|
10
11
|
private static logger;
|
|
@@ -21,6 +22,8 @@ export declare class BlockchainUtils {
|
|
|
21
22
|
Extracts the 'previousHash' field from a microblock header in binary format.
|
|
22
23
|
*/
|
|
23
24
|
static previousHashFromHeader(serializedHeader: Uint8Array): Uint8Array<ArrayBufferLike>;
|
|
25
|
+
static encodeChainReference(chainReference: ChainReference): Uint8Array;
|
|
26
|
+
static decodeChainReference(serializedInfo: Uint8Array): ChainReference;
|
|
24
27
|
static encodeVirtualBlockchainInfo(virtualBlockchainInfo: VirtualBlockchainInfo): Uint8Array;
|
|
25
28
|
static decodeVirtualBlockchainInfo(serializedInfo: Uint8Array): VirtualBlockchainInfo;
|
|
26
29
|
/**
|