@flarenetwork/flare-periphery-contract-artifacts 0.1.1 → 0.1.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 (69) hide show
  1. package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.d.ts +68 -0
  2. package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.d.ts.map +1 -0
  3. package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.js +164 -0
  4. package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.js.map +1 -0
  5. package/dist/coston/StateConnector/libs/ts/AttestationResponse.d.ts +33 -0
  6. package/dist/coston/StateConnector/libs/ts/AttestationResponse.d.ts.map +1 -0
  7. package/dist/coston/StateConnector/libs/ts/AttestationResponse.js +30 -0
  8. package/dist/coston/StateConnector/libs/ts/AttestationResponse.js.map +1 -0
  9. package/dist/coston/StateConnector/libs/ts/MerkleTree.d.ts +103 -0
  10. package/dist/coston/StateConnector/libs/ts/MerkleTree.d.ts.map +1 -0
  11. package/dist/coston/StateConnector/libs/ts/MerkleTree.js +212 -0
  12. package/dist/coston/StateConnector/libs/ts/MerkleTree.js.map +1 -0
  13. package/dist/coston/StateConnector/libs/ts/config-types.d.ts +143 -0
  14. package/dist/coston/StateConnector/libs/ts/config-types.d.ts.map +1 -0
  15. package/dist/coston/StateConnector/libs/ts/config-types.js +3 -0
  16. package/dist/coston/StateConnector/libs/ts/config-types.js.map +1 -0
  17. package/dist/coston/StateConnector/libs/ts/interfaces.d.ts +32 -0
  18. package/dist/coston/StateConnector/libs/ts/interfaces.d.ts.map +1 -0
  19. package/dist/coston/StateConnector/libs/ts/interfaces.js +3 -0
  20. package/dist/coston/StateConnector/libs/ts/interfaces.js.map +1 -0
  21. package/dist/coston/StateConnector/libs/ts/random.d.ts +9 -0
  22. package/dist/coston/StateConnector/libs/ts/random.d.ts.map +1 -0
  23. package/dist/coston/StateConnector/libs/ts/random.js +70 -0
  24. package/dist/coston/StateConnector/libs/ts/random.js.map +1 -0
  25. package/dist/coston/StateConnector/libs/ts/utils.d.ts +73 -0
  26. package/dist/coston/StateConnector/libs/ts/utils.d.ts.map +1 -0
  27. package/dist/coston/StateConnector/libs/ts/utils.js +282 -0
  28. package/dist/coston/StateConnector/libs/ts/utils.js.map +1 -0
  29. package/dist/coston/StateConnector/typescript/AddressValidity.d.ts +91 -0
  30. package/dist/coston/StateConnector/typescript/AddressValidity.d.ts.map +1 -0
  31. package/dist/coston/StateConnector/typescript/AddressValidity.js +9 -0
  32. package/dist/coston/StateConnector/typescript/AddressValidity.js.map +1 -0
  33. package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts +107 -0
  34. package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts.map +1 -0
  35. package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.js +9 -0
  36. package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.js.map +1 -0
  37. package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts +103 -0
  38. package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts.map +1 -0
  39. package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.js +9 -0
  40. package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.js.map +1 -0
  41. package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts +160 -0
  42. package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts.map +1 -0
  43. package/dist/coston/StateConnector/typescript/EVMTransaction.js +9 -0
  44. package/dist/coston/StateConnector/typescript/EVMTransaction.js.map +1 -0
  45. package/dist/coston/StateConnector/typescript/Payment.d.ts +139 -0
  46. package/dist/coston/StateConnector/typescript/Payment.d.ts.map +1 -0
  47. package/dist/coston/StateConnector/typescript/Payment.js +9 -0
  48. package/dist/coston/StateConnector/typescript/Payment.js.map +1 -0
  49. package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts +115 -0
  50. package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts.map +1 -0
  51. package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.js +9 -0
  52. package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.js.map +1 -0
  53. package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts +146 -0
  54. package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts.map +1 -0
  55. package/dist/coston/StateConnector/typescript/TypeTemplate.js +9 -0
  56. package/dist/coston/StateConnector/typescript/TypeTemplate.js.map +1 -0
  57. package/dist/coston/StateConnector/typescript/data-sources/data-sources.d.ts +29 -0
  58. package/dist/coston/StateConnector/typescript/data-sources/data-sources.d.ts.map +1 -0
  59. package/dist/coston/StateConnector/typescript/data-sources/data-sources.js +33 -0
  60. package/dist/coston/StateConnector/typescript/data-sources/data-sources.js.map +1 -0
  61. package/dist/coston/StateConnector/typescript/index.d.ts +9 -0
  62. package/dist/coston/StateConnector/typescript/index.d.ts.map +1 -0
  63. package/dist/coston/StateConnector/typescript/index.js +25 -0
  64. package/dist/coston/StateConnector/typescript/index.js.map +1 -0
  65. package/dist/coston/deploys/mapper.js.map +1 -1
  66. package/dist/coston2/deploys/mapper.js.map +1 -1
  67. package/dist/flare/deploys/mapper.js.map +1 -1
  68. package/dist/songbird/deploys/mapper.js.map +1 -1
  69. package/package.json +3 -2
@@ -0,0 +1,139 @@
1
+ export declare namespace Payment {
2
+ const NAME = "Payment";
3
+ const TYPE = "0x5061796d656e7400000000000000000000000000000000000000000000000000";
4
+ /**
5
+ * Toplevel request
6
+ */
7
+ interface Request {
8
+ /**
9
+ * Id of the attestation type.
10
+ */
11
+ attestationType: string;
12
+ /**
13
+ * Id of the data source.
14
+ */
15
+ sourceId: string;
16
+ /**
17
+ * `MessageIntegrityCode` that is derived from the expected response as defined [here](/specs/attestations/hash-MIC.md#message-integrity-code).
18
+ */
19
+ messageIntegrityCode: string;
20
+ /**
21
+ * Data defining the request. Type (struct) and interpretation is determined by the `attestationType`.
22
+ */
23
+ requestBody: RequestBody;
24
+ }
25
+ /**
26
+ * Toplevel response
27
+ */
28
+ interface Response {
29
+ /**
30
+ * Extracted from the request.
31
+ */
32
+ attestationType: string;
33
+ /**
34
+ * Extracted from the request.
35
+ */
36
+ sourceId: string;
37
+ /**
38
+ * The id of the state connector round in which the request was considered.
39
+ */
40
+ votingRound: string;
41
+ /**
42
+ * The lowest timestamp used to generate the response.
43
+ */
44
+ lowestUsedTimestamp: string;
45
+ /**
46
+ * Extracted from the request.
47
+ */
48
+ requestBody: RequestBody;
49
+ /**
50
+ * Data defining the response. The verification rules for the construction of the response body and the type are defined per specific `attestationType`.
51
+ */
52
+ responseBody: ResponseBody;
53
+ }
54
+ /**
55
+ * Toplevel proof
56
+ */
57
+ interface Proof {
58
+ /**
59
+ * Merkle proof corresponding to the attestation response.
60
+ */
61
+ merkleProof: string[];
62
+ /**
63
+ * Attestation response.
64
+ */
65
+ data: Response;
66
+ }
67
+ /**
68
+ * Request body for Payment attestation type
69
+ */
70
+ interface RequestBody {
71
+ /**
72
+ * Id of the payment transaction.
73
+ */
74
+ transactionId: string;
75
+ /**
76
+ * For UTXO, this is the index of the transaction input with source address. Always 0 for the non-utxo chains.
77
+ */
78
+ inUtxo: string;
79
+ /**
80
+ * For UTXO, this is the index of the transaction output with receiving address. Always 0 for the non-utxo chains.
81
+ */
82
+ utxo: string;
83
+ }
84
+ /**
85
+ * Response body for Payment attestation type
86
+ */
87
+ interface ResponseBody {
88
+ /**
89
+ * Number of the block in which the transaction is included.
90
+ */
91
+ blockNumber: string;
92
+ /**
93
+ * The timestamps of the block in which the transaction is included.
94
+ */
95
+ blockTimestamp: string;
96
+ /**
97
+ * Standard address hash of the source address.
98
+ */
99
+ sourceAddressHash: string;
100
+ /**
101
+ * Standard address hash of the receiving address. Zero 32-byte string if there is no receivingAddress (if `status` is not success).
102
+ */
103
+ receivingAddressHash: string;
104
+ /**
105
+ * Standard address hash of the intended receiving address. Relevant if the transaction was unsuccessful.
106
+ */
107
+ intendedReceivingAddressHash: string;
108
+ /**
109
+ * Amount in minimal units spent by the source address.
110
+ */
111
+ spentAmount: string;
112
+ /**
113
+ * Amount in minimal units to be spent by the source address. Relevant if the transaction status is not success.
114
+ */
115
+ intendedSpentAmount: string;
116
+ /**
117
+ * Amount in minimal units received by the receiving address.
118
+ */
119
+ receivedAmount: string;
120
+ /**
121
+ * Amount in minimal units intended to be received by the receiving address. Relevant if the transaction was unsuccessful.
122
+ */
123
+ intendedReceivedAmount: string;
124
+ /**
125
+ * Identifier of the transaction as defined [here](/specs/attestations/external-chains/standardPaymentReference.md).
126
+ */
127
+ standardPaymentReference: string;
128
+ /**
129
+ * Indicator whether only one source and one receiver are involved in the transaction.
130
+ */
131
+ oneToOne: boolean;
132
+ /**
133
+ * Status of the transaction as described [here](/specs/attestations/external-chains/transactions.md#transaction-success-status):
134
+ */
135
+ status: string;
136
+ }
137
+ type RequestNoMic = Omit<Request, "messageIntegrityCode">;
138
+ }
139
+ //# sourceMappingURL=Payment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payment.d.ts","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/Payment.ts"],"names":[],"mappings":"AAAA,yBAAiB,OAAO,CAAC;IACd,MAAM,IAAI,YAAY,CAAC;IACvB,MAAM,IAAI,uEAAuE,CAAC;IAEzF;;OAEG;IACH,UAAiB,OAAO;QACpB;;WAEG;QACH,eAAe,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,oBAAoB,EAAE,MAAM,CAAC;QAE7B;;WAEG;QACH,WAAW,EAAE,WAAW,CAAC;KAC5B;IAED;;OAEG;IACH,UAAiB,QAAQ;QACrB;;WAEG;QACH,eAAe,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,WAAW,EAAE,WAAW,CAAC;QAEzB;;WAEG;QACH,YAAY,EAAE,YAAY,CAAC;KAC9B;IAED;;OAEG;IACH,UAAiB,KAAK;QAClB;;WAEG;QACH,WAAW,EAAE,MAAM,EAAE,CAAC;QAEtB;;WAEG;QACH,IAAI,EAAE,QAAQ,CAAC;KAClB;IAED;;OAEG;IACH,UAAiB,WAAW;QACxB;;WAEG;QACH,aAAa,EAAE,MAAM,CAAC;QAEtB;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;KAChB;IAED;;OAEG;IACH,UAAiB,YAAY;QACzB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,cAAc,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,iBAAiB,EAAE,MAAM,CAAC;QAE1B;;WAEG;QACH,oBAAoB,EAAE,MAAM,CAAC;QAE7B;;WAEG;QACH,4BAA4B,EAAE,MAAM,CAAC;QAErC;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,cAAc,EAAE,MAAM,CAAC;QAEvB;;WAEG;QACH,sBAAsB,EAAE,MAAM,CAAC;QAE/B;;WAEG;QACH,wBAAwB,EAAE,MAAM,CAAC;QAEjC;;WAEG;QACH,QAAQ,EAAE,OAAO,CAAC;QAElB;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;KAClB;IAED,KAAY,YAAY,GAAG,IAAI,CAAC,OAAO,EAAE,sBAAsB,CAAC,CAAC;CACpE"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Payment = void 0;
4
+ var Payment;
5
+ (function (Payment) {
6
+ Payment.NAME = "Payment";
7
+ Payment.TYPE = "0x5061796d656e7400000000000000000000000000000000000000000000000000";
8
+ })(Payment || (exports.Payment = Payment = {}));
9
+ //# sourceMappingURL=Payment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Payment.js","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/Payment.ts"],"names":[],"mappings":";;;AAAA,IAAiB,OAAO,CAqKvB;AArKD,WAAiB,OAAO;IACP,YAAI,GAAG,SAAS,CAAC;IACjB,YAAI,GAAG,oEAAoE,CAAC;AAmK7F,CAAC,EArKgB,OAAO,uBAAP,OAAO,QAqKvB"}
@@ -0,0 +1,115 @@
1
+ export declare namespace ReferencedPaymentNonexistence {
2
+ const NAME = "ReferencedPaymentNonexistence";
3
+ const TYPE = "0x5265666572656e6365645061796d656e744e6f6e6578697374656e6365000000";
4
+ /**
5
+ * Toplevel request
6
+ */
7
+ interface Request {
8
+ /**
9
+ * Id of the attestation type.
10
+ */
11
+ attestationType: string;
12
+ /**
13
+ * Id of the data source.
14
+ */
15
+ sourceId: string;
16
+ /**
17
+ * `MessageIntegrityCode` that is derived from the expected response as defined [here](/specs/attestations/hash-MIC.md#message-integrity-code).
18
+ */
19
+ messageIntegrityCode: string;
20
+ /**
21
+ * Data defining the request. Type (struct) and interpretation is determined by the `attestationType`.
22
+ */
23
+ requestBody: RequestBody;
24
+ }
25
+ /**
26
+ * Toplevel response
27
+ */
28
+ interface Response {
29
+ /**
30
+ * Extracted from the request.
31
+ */
32
+ attestationType: string;
33
+ /**
34
+ * Extracted from the request.
35
+ */
36
+ sourceId: string;
37
+ /**
38
+ * The id of the state connector round in which the request was considered.
39
+ */
40
+ votingRound: string;
41
+ /**
42
+ * The lowest timestamp used to generate the response.
43
+ */
44
+ lowestUsedTimestamp: string;
45
+ /**
46
+ * Extracted from the request.
47
+ */
48
+ requestBody: RequestBody;
49
+ /**
50
+ * Data defining the response. The verification rules for the construction of the response body and the type are defined per specific `attestationType`.
51
+ */
52
+ responseBody: ResponseBody;
53
+ }
54
+ /**
55
+ * Toplevel proof
56
+ */
57
+ interface Proof {
58
+ /**
59
+ * Merkle proof corresponding to the attestation response.
60
+ */
61
+ merkleProof: string[];
62
+ /**
63
+ * Attestation response.
64
+ */
65
+ data: Response;
66
+ }
67
+ /**
68
+ * Request body for ReferencePaymentNonexistence attestation type
69
+ */
70
+ interface RequestBody {
71
+ /**
72
+ * The start block of the search range.
73
+ */
74
+ minimalBlockNumber: string;
75
+ /**
76
+ * The blockNumber to be included in the search range.
77
+ */
78
+ deadlineBlockNumber: string;
79
+ /**
80
+ * The timestamp to be included in the search range.
81
+ */
82
+ deadlineTimestamp: string;
83
+ /**
84
+ * The standard address hash of the address to which the payment had to be done.
85
+ */
86
+ destinationAddressHash: string;
87
+ /**
88
+ * The requested amount in minimal units that had to be payed.
89
+ */
90
+ amount: string;
91
+ /**
92
+ * The requested standard payment reference.
93
+ */
94
+ standardPaymentReference: string;
95
+ }
96
+ /**
97
+ * Response body for ReferencePaymentNonexistence attestation type.
98
+ */
99
+ interface ResponseBody {
100
+ /**
101
+ * The timestamp of the minimalBlock.
102
+ */
103
+ minimalBlockTimestamp: string;
104
+ /**
105
+ * The height of the firstOverflowBlock.
106
+ */
107
+ firstOverflowBlockNumber: string;
108
+ /**
109
+ * The timestamp of the firstOverflowBlock.
110
+ */
111
+ firstOverflowBlockTimestamp: string;
112
+ }
113
+ type RequestNoMic = Omit<Request, "messageIntegrityCode">;
114
+ }
115
+ //# sourceMappingURL=ReferencedPaymentNonexistence.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReferencedPaymentNonexistence.d.ts","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/ReferencedPaymentNonexistence.ts"],"names":[],"mappings":"AAAA,yBAAiB,6BAA6B,CAAC;IACpC,MAAM,IAAI,kCAAkC,CAAC;IAC7C,MAAM,IAAI,uEAAuE,CAAC;IAEzF;;OAEG;IACH,UAAiB,OAAO;QACpB;;WAEG;QACH,eAAe,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,oBAAoB,EAAE,MAAM,CAAC;QAE7B;;WAEG;QACH,WAAW,EAAE,WAAW,CAAC;KAC5B;IAED;;OAEG;IACH,UAAiB,QAAQ;QACrB;;WAEG;QACH,eAAe,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,WAAW,EAAE,WAAW,CAAC;QAEzB;;WAEG;QACH,YAAY,EAAE,YAAY,CAAC;KAC9B;IAED;;OAEG;IACH,UAAiB,KAAK;QAClB;;WAEG;QACH,WAAW,EAAE,MAAM,EAAE,CAAC;QAEtB;;WAEG;QACH,IAAI,EAAE,QAAQ,CAAC;KAClB;IAED;;OAEG;IACH,UAAiB,WAAW;QACxB;;WAEG;QACH,kBAAkB,EAAE,MAAM,CAAC;QAE3B;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,iBAAiB,EAAE,MAAM,CAAC;QAE1B;;WAEG;QACH,sBAAsB,EAAE,MAAM,CAAC;QAE/B;;WAEG;QACH,MAAM,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,wBAAwB,EAAE,MAAM,CAAC;KACpC;IAED;;OAEG;IACH,UAAiB,YAAY;QACzB;;WAEG;QACH,qBAAqB,EAAE,MAAM,CAAC;QAE9B;;WAEG;QACH,wBAAwB,EAAE,MAAM,CAAC;QAEjC;;WAEG;QACH,2BAA2B,EAAE,MAAM,CAAC;KACvC;IAED,KAAY,YAAY,GAAG,IAAI,CAAC,OAAO,EAAE,sBAAsB,CAAC,CAAC;CACpE"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ReferencedPaymentNonexistence = void 0;
4
+ var ReferencedPaymentNonexistence;
5
+ (function (ReferencedPaymentNonexistence) {
6
+ ReferencedPaymentNonexistence.NAME = "ReferencedPaymentNonexistence";
7
+ ReferencedPaymentNonexistence.TYPE = "0x5265666572656e6365645061796d656e744e6f6e6578697374656e6365000000";
8
+ })(ReferencedPaymentNonexistence || (exports.ReferencedPaymentNonexistence = ReferencedPaymentNonexistence = {}));
9
+ //# sourceMappingURL=ReferencedPaymentNonexistence.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ReferencedPaymentNonexistence.js","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/ReferencedPaymentNonexistence.ts"],"names":[],"mappings":";;;AAAA,IAAiB,6BAA6B,CAuI7C;AAvID,WAAiB,6BAA6B;IAC7B,kCAAI,GAAG,+BAA+B,CAAC;IACvC,kCAAI,GAAG,oEAAoE,CAAC;AAqI7F,CAAC,EAvIgB,6BAA6B,6CAA7B,6BAA6B,QAuI7C"}
@@ -0,0 +1,146 @@
1
+ export declare namespace TypeTemplate {
2
+ const NAME = "TypeTemplate";
3
+ const TYPE = "0x5479706554656d706c6174650000000000000000000000000000000000000000";
4
+ /**
5
+ * Toplevel request
6
+ */
7
+ interface Request {
8
+ /**
9
+ * Id of the attestation type.
10
+ */
11
+ attestationType: string;
12
+ /**
13
+ * Id of the data source.
14
+ */
15
+ sourceId: string;
16
+ /**
17
+ * `MessageIntegrityCode` that is derived from the expected response as defined [here](/specs/attestations/hash-MIC.md#message-integrity-code).
18
+ */
19
+ messageIntegrityCode: string;
20
+ /**
21
+ * Data defining the request. Type (struct) and interpretation is determined by the `attestationType`.
22
+ */
23
+ requestBody: RequestBody;
24
+ }
25
+ /**
26
+ * Toplevel response
27
+ */
28
+ interface Response {
29
+ /**
30
+ * Extracted from the request.
31
+ */
32
+ attestationType: string;
33
+ /**
34
+ * Extracted from the request.
35
+ */
36
+ sourceId: string;
37
+ /**
38
+ * The id of the state connector round in which the request was considered.
39
+ */
40
+ votingRound: string;
41
+ /**
42
+ * The lowest timestamp used to generate the response.
43
+ */
44
+ lowestUsedTimestamp: string;
45
+ /**
46
+ * Extracted from the request.
47
+ */
48
+ requestBody: RequestBody;
49
+ /**
50
+ * Data defining the response. The verification rules for the construction of the response body and the type are defined per specific `attestationType`.
51
+ */
52
+ responseBody: ResponseBody;
53
+ }
54
+ /**
55
+ * Toplevel proof
56
+ */
57
+ interface Proof {
58
+ /**
59
+ * Merkle proof corresponding to the attestation response.
60
+ */
61
+ merkleProof: string[];
62
+ /**
63
+ * Attestation response.
64
+ */
65
+ data: Response;
66
+ }
67
+ /**
68
+ * Request body for TypeTemplate attestation type
69
+ */
70
+ interface RequestBody {
71
+ /**
72
+ * example bytes32 field with explanation
73
+ */
74
+ bytes32Field: string;
75
+ /**
76
+ * example bool field field with explanation
77
+ */
78
+ boolField: boolean;
79
+ /**
80
+ * example RequestSubstruct1 field with explanation
81
+ */
82
+ requestSubstruct1: RequestSubstruct1;
83
+ /**
84
+ * example RequestSubstruct2 array field with explanation*
85
+ */
86
+ requestSubstruct2Array: RequestSubstruct2[];
87
+ }
88
+ /**
89
+ * Additional struct first used in Request body fields
90
+ */
91
+ interface RequestSubstruct1 {
92
+ /**
93
+ * example bytes32 field with explanation
94
+ */
95
+ templateStructField: string;
96
+ /**
97
+ * example uint256 array field with explanation
98
+ */
99
+ uintArrayField: string[];
100
+ /**
101
+ * example bool array field with explanation*
102
+ */
103
+ boolArrayField: boolean[];
104
+ }
105
+ /**
106
+ * Additional struct first used in Request body fields
107
+ */
108
+ interface RequestSubstruct2 {
109
+ /**
110
+ * example bytes32 field with explanation
111
+ */
112
+ templateStructField: string;
113
+ /**
114
+ * example int256 array field with explanation
115
+ */
116
+ intArrayField: string[];
117
+ /**
118
+ * example bool array field with explanation*
119
+ */
120
+ boolArrayField: boolean[];
121
+ }
122
+ /**
123
+ * Response body for TypeTemplate attestation type.
124
+ */
125
+ interface ResponseBody {
126
+ /**
127
+ * example bytes32 field with explanation
128
+ */
129
+ templateResponseField: string;
130
+ /**
131
+ * example ResponseSubstruct1 array field with explanation*
132
+ */
133
+ responseSubstruct1Array: ResponseSubstruct1[];
134
+ }
135
+ /**
136
+ * Additional struct first used in Response body fields
137
+ */
138
+ interface ResponseSubstruct1 {
139
+ /**
140
+ * description*
141
+ */
142
+ templateStructField: string;
143
+ }
144
+ type RequestNoMic = Omit<Request, "messageIntegrityCode">;
145
+ }
146
+ //# sourceMappingURL=TypeTemplate.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TypeTemplate.d.ts","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/TypeTemplate.ts"],"names":[],"mappings":"AAAA,yBAAiB,YAAY,CAAC;IACnB,MAAM,IAAI,iBAAiB,CAAC;IAC5B,MAAM,IAAI,uEAAuE,CAAC;IAEzF;;OAEG;IACH,UAAiB,OAAO;QACpB;;WAEG;QACH,eAAe,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,oBAAoB,EAAE,MAAM,CAAC;QAE7B;;WAEG;QACH,WAAW,EAAE,WAAW,CAAC;KAC5B;IAED;;OAEG;IACH,UAAiB,QAAQ;QACrB;;WAEG;QACH,eAAe,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,QAAQ,EAAE,MAAM,CAAC;QAEjB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,WAAW,EAAE,WAAW,CAAC;QAEzB;;WAEG;QACH,YAAY,EAAE,YAAY,CAAC;KAC9B;IAED;;OAEG;IACH,UAAiB,KAAK;QAClB;;WAEG;QACH,WAAW,EAAE,MAAM,EAAE,CAAC;QAEtB;;WAEG;QACH,IAAI,EAAE,QAAQ,CAAC;KAClB;IAED;;OAEG;IACH,UAAiB,WAAW;QACxB;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,SAAS,EAAE,OAAO,CAAC;QAEnB;;WAEG;QACH,iBAAiB,EAAE,iBAAiB,CAAC;QAErC;;WAEG;QACH,sBAAsB,EAAE,iBAAiB,EAAE,CAAC;KAC/C;IAED;;OAEG;IACH,UAAiB,iBAAiB;QAC9B;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,cAAc,EAAE,MAAM,EAAE,CAAC;QAEzB;;WAEG;QACH,cAAc,EAAE,OAAO,EAAE,CAAC;KAC7B;IACD;;OAEG;IACH,UAAiB,iBAAiB;QAC9B;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;QAE5B;;WAEG;QACH,aAAa,EAAE,MAAM,EAAE,CAAC;QAExB;;WAEG;QACH,cAAc,EAAE,OAAO,EAAE,CAAC;KAC7B;IAED;;OAEG;IACH,UAAiB,YAAY;QACzB;;WAEG;QACH,qBAAqB,EAAE,MAAM,CAAC;QAE9B;;WAEG;QACH,uBAAuB,EAAE,kBAAkB,EAAE,CAAC;KACjD;IAED;;OAEG;IACH,UAAiB,kBAAkB;QAC/B;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;KAC/B;IAED,KAAY,YAAY,GAAG,IAAI,CAAC,OAAO,EAAE,sBAAsB,CAAC,CAAC;CACpE"}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TypeTemplate = void 0;
4
+ var TypeTemplate;
5
+ (function (TypeTemplate) {
6
+ TypeTemplate.NAME = "TypeTemplate";
7
+ TypeTemplate.TYPE = "0x5479706554656d706c6174650000000000000000000000000000000000000000";
8
+ })(TypeTemplate || (exports.TypeTemplate = TypeTemplate = {}));
9
+ //# sourceMappingURL=TypeTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TypeTemplate.js","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/TypeTemplate.ts"],"names":[],"mappings":";;;AAAA,IAAiB,YAAY,CAyK5B;AAzKD,WAAiB,YAAY;IACZ,iBAAI,GAAG,cAAc,CAAC;IACtB,iBAAI,GAAG,oEAAoE,CAAC;AAuK7F,CAAC,EAzKgB,YAAY,4BAAZ,YAAY,QAyK5B"}
@@ -0,0 +1,29 @@
1
+ export declare namespace DataSources {
2
+ const BTC = "BTC";
3
+ const testBTC = "testBTC";
4
+ const DOGE = "DOGE";
5
+ const testDOGE = "testDOGE";
6
+ const XRP = "XRP";
7
+ const testXRP = "testXRP";
8
+ const ETH = "ETH";
9
+ const testETH = "testETH";
10
+ const FLR = "FLR";
11
+ const testFLR = "testFLR";
12
+ const SGB = "SGB";
13
+ const testSGB = "testSGB";
14
+ const descriptions: {
15
+ BTC: string;
16
+ testBTC: string;
17
+ DOGE: string;
18
+ testDOGE: string;
19
+ XRP: string;
20
+ testXRP: string;
21
+ ETH: string;
22
+ testETH: string;
23
+ FLR: string;
24
+ testFLR: string;
25
+ SGB: string;
26
+ testSGB: string;
27
+ };
28
+ }
29
+ //# sourceMappingURL=data-sources.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-sources.d.ts","sourceRoot":"","sources":["../../../../../coston/StateConnector/typescript/data-sources/data-sources.ts"],"names":[],"mappings":"AAAA,yBAAiB,WAAW,CAAC;IAClB,MAAM,GAAG,QAAQ,CAAC;IAClB,MAAM,OAAO,YAAY,CAAC;IAC1B,MAAM,IAAI,SAAS,CAAC;IACpB,MAAM,QAAQ,aAAa,CAAC;IAC5B,MAAM,GAAG,QAAQ,CAAC;IAClB,MAAM,OAAO,YAAY,CAAC;IAC1B,MAAM,GAAG,QAAQ,CAAC;IAClB,MAAM,OAAO,YAAY,CAAC;IAC1B,MAAM,GAAG,QAAQ,CAAC;IAClB,MAAM,OAAO,YAAY,CAAC;IAC1B,MAAM,GAAG,QAAQ,CAAC;IAClB,MAAM,OAAO,YAAY,CAAC;IAE1B,MAAM,YAAY;;;;;;;;;;;;;KAaxB,CAAC;CACL"}
@@ -0,0 +1,33 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.DataSources = void 0;
4
+ var DataSources;
5
+ (function (DataSources) {
6
+ DataSources.BTC = "BTC";
7
+ DataSources.testBTC = "testBTC";
8
+ DataSources.DOGE = "DOGE";
9
+ DataSources.testDOGE = "testDOGE";
10
+ DataSources.XRP = "XRP";
11
+ DataSources.testXRP = "testXRP";
12
+ DataSources.ETH = "ETH";
13
+ DataSources.testETH = "testETH";
14
+ DataSources.FLR = "FLR";
15
+ DataSources.testFLR = "testFLR";
16
+ DataSources.SGB = "SGB";
17
+ DataSources.testSGB = "testSGB";
18
+ DataSources.descriptions = {
19
+ BTC: `Bitcoin mainnet`,
20
+ testBTC: `Bitcon testnet`,
21
+ DOGE: `Dogecoin mainnet`,
22
+ testDOGE: `Dogecoin testnet`,
23
+ XRP: `XRPL mainnet`,
24
+ testXRP: `XRPL testnet`,
25
+ ETH: `Ethereum mainnet`,
26
+ testETH: `Sepolia testnet`,
27
+ FLR: `Flare mainnet`,
28
+ testFLR: `Coston 2 testnet`,
29
+ SGB: `Songbird mainnet`,
30
+ testSGB: `Coston testnet`,
31
+ };
32
+ })(DataSources || (exports.DataSources = DataSources = {}));
33
+ //# sourceMappingURL=data-sources.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"data-sources.js","sourceRoot":"","sources":["../../../../../coston/StateConnector/typescript/data-sources/data-sources.ts"],"names":[],"mappings":";;;AAAA,IAAiB,WAAW,CA4B3B;AA5BD,WAAiB,WAAW;IACX,eAAG,GAAG,KAAK,CAAC;IACZ,mBAAO,GAAG,SAAS,CAAC;IACpB,gBAAI,GAAG,MAAM,CAAC;IACd,oBAAQ,GAAG,UAAU,CAAC;IACtB,eAAG,GAAG,KAAK,CAAC;IACZ,mBAAO,GAAG,SAAS,CAAC;IACpB,eAAG,GAAG,KAAK,CAAC;IACZ,mBAAO,GAAG,SAAS,CAAC;IACpB,eAAG,GAAG,KAAK,CAAC;IACZ,mBAAO,GAAG,SAAS,CAAC;IACpB,eAAG,GAAG,KAAK,CAAC;IACZ,mBAAO,GAAG,SAAS,CAAC;IAEpB,wBAAY,GAAG;QACxB,GAAG,EAAE,iBAAiB;QACtB,OAAO,EAAE,gBAAgB;QACzB,IAAI,EAAE,kBAAkB;QACxB,QAAQ,EAAE,kBAAkB;QAC5B,GAAG,EAAE,cAAc;QACnB,OAAO,EAAE,cAAc;QACvB,GAAG,EAAE,kBAAkB;QACvB,OAAO,EAAE,iBAAiB;QAC1B,GAAG,EAAE,eAAe;QACpB,OAAO,EAAE,kBAAkB;QAC3B,GAAG,EAAE,kBAAkB;QACvB,OAAO,EAAE,gBAAgB;KAC5B,CAAC;AACN,CAAC,EA5BgB,WAAW,2BAAX,WAAW,QA4B3B"}
@@ -0,0 +1,9 @@
1
+ export * from "./AddressValidity";
2
+ export * from "./BalanceDecreasingTransaction";
3
+ export * from "./ConfirmedBlockHeightExists";
4
+ export * from "./EVMTransaction";
5
+ export * from "./Payment";
6
+ export * from "./ReferencedPaymentNonexistence";
7
+ export * from "./TypeTemplate";
8
+ export * from "./data-sources/data-sources";
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC;AAClC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,kBAAkB,CAAC;AACjC,cAAc,WAAW,CAAC;AAC1B,cAAc,iCAAiC,CAAC;AAChD,cAAc,gBAAgB,CAAC;AAC/B,cAAc,6BAA6B,CAAC"}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./AddressValidity"), exports);
18
+ __exportStar(require("./BalanceDecreasingTransaction"), exports);
19
+ __exportStar(require("./ConfirmedBlockHeightExists"), exports);
20
+ __exportStar(require("./EVMTransaction"), exports);
21
+ __exportStar(require("./Payment"), exports);
22
+ __exportStar(require("./ReferencedPaymentNonexistence"), exports);
23
+ __exportStar(require("./TypeTemplate"), exports);
24
+ __exportStar(require("./data-sources/data-sources"), exports);
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAkC;AAClC,iEAA+C;AAC/C,+DAA6C;AAC7C,mDAAiC;AACjC,4CAA0B;AAC1B,kEAAgD;AAChD,iDAA+B;AAC/B,8DAA4C"}
@@ -1 +1 @@
1
- {"version":3,"file":"mapper.js","sourceRoot":"","sources":["../../../coston/deploys/mapper.ts"],"names":[],"mappings":";;;;;;AAAA,kCAA+B;AAC/B,sEAAyC;AAElC,MAAM,aAAa,GAAG,CAAC,IAAY,EAAE,EAAE;IAC5C,MAAM,UAAU,GAAG,wBAAS,CAAC,IAAI,CAAC,CAAC,EAAO,EAAE,EAAE,CAAC,EAAE,CAAC,IAAI,IAAI,IAAI,CAAC,CAAC;IAChE,IAAI,UAAU;QAAE,OAAO,UAAU,CAAC,OAAO,CAAC;IAC1C,OAAO,EAAE,CAAC;AACZ,CAAC,CAAC;AAJW,QAAA,aAAa,iBAIxB;AAEK,MAAM,aAAa,GAAG,CAAC,OAAe,EAAE,EAAE;IAC/C,MAAM,U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,YAAY,SAAS,EAAE,CAAC;YAC3B,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,oDAAoD,EAAE,CAAC;QACpF,CAAC;IACH,CAAC;IAED,OAAO,EAAE,IAAI,EAAE,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE,CAAC;AAC/C,CAAC,CAAC;AAbW,QAAA,SAAS,aAapB"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@flarenetwork/flare-periphery-contract-artifacts",
3
3
  "description": "Smart contracts artifacts for all Flare chains",
4
- "version": "0.1.1",
4
+ "version": "0.1.2",
5
5
  "author": "Flare Network",
6
6
  "license": "MIT",
7
7
  "main": "./dist/index.js",
@@ -18,6 +18,7 @@
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/node": "^20.6.0",
21
- "typescript": "^5.2.2"
21
+ "typescript": "^5.2.2",
22
+ "ethers": "^6.7.1"
22
23
  }
23
24
  }