@flarenetwork/flare-periphery-contract-artifacts 0.1.2 → 0.1.4

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 (52) hide show
  1. package/coston/StateConnector/configs/AddressValidity.json +326 -0
  2. package/coston/StateConnector/configs/BalanceDecreasingTransaction.json +379 -0
  3. package/coston/StateConnector/configs/ConfirmedBlockHeightExists.json +363 -0
  4. package/coston/StateConnector/configs/EVMTransaction.json +600 -0
  5. package/coston/StateConnector/configs/Payment.json +512 -0
  6. package/coston/StateConnector/configs/ReferencedPaymentNonexistence.json +431 -0
  7. package/coston/StateConnector/configs/TypeTemplate.json +555 -0
  8. package/coston/artifacts/contracts/StateConnector/interface/AddressValidity.sol/AddressValidity.json +10 -0
  9. package/coston/artifacts/contracts/StateConnector/interface/BalanceDecreasingTransaction.sol/BalanceDecreasingTransaction.json +10 -0
  10. package/coston/artifacts/contracts/StateConnector/interface/ConfirmedBlockHeightExists.sol/ConfirmedBlockHeightExists.json +10 -0
  11. package/coston/artifacts/contracts/StateConnector/interface/EVMTransaction.sol/EVMTransaction.json +10 -0
  12. package/coston/artifacts/contracts/StateConnector/interface/IAddressValidityVerification.sol/IAddressValidityVerification.json +98 -0
  13. package/coston/artifacts/contracts/StateConnector/interface/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +113 -0
  14. package/coston/artifacts/contracts/StateConnector/interface/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +108 -0
  15. package/coston/artifacts/contracts/StateConnector/interface/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +175 -0
  16. package/coston/artifacts/contracts/StateConnector/interface/IPaymentVerification.sol/IPaymentVerification.json +153 -0
  17. package/coston/artifacts/contracts/StateConnector/interface/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +123 -0
  18. package/coston/artifacts/contracts/StateConnector/interface/IStateConnector.sol/IStateConnector.json +126 -0
  19. package/coston/artifacts/contracts/StateConnector/interface/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +149 -0
  20. package/coston/artifacts/contracts/StateConnector/interface/Payment.sol/Payment.json +10 -0
  21. package/coston/artifacts/contracts/StateConnector/interface/ReferencedPaymentNonexistence.sol/ReferencedPaymentNonexistence.json +10 -0
  22. package/coston/artifacts/contracts/StateConnector/interface/TypeTemplate.sol/TypeTemplate.json +10 -0
  23. package/coston/deploys/contracts.json +31 -1
  24. package/dist/coston/StateConnector/typescript/AddressValidity.d.ts +9 -5
  25. package/dist/coston/StateConnector/typescript/AddressValidity.d.ts.map +1 -1
  26. package/dist/coston/StateConnector/typescript/AddressValidity.js.map +1 -1
  27. package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts +6 -6
  28. package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts +6 -6
  29. package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts +9 -9
  30. package/dist/coston/StateConnector/typescript/Payment.d.ts +14 -14
  31. package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts +4 -4
  32. package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts +4 -4
  33. package/dist/coston/abis.d.ts.map +1 -1
  34. package/dist/coston/abis.js +30 -0
  35. package/dist/coston/abis.js.map +1 -1
  36. package/dist/coston/artifacts/contracts/StateConnector/interface/AddressValidity.sol/AddressValidity.json +10 -0
  37. package/dist/coston/artifacts/contracts/StateConnector/interface/BalanceDecreasingTransaction.sol/BalanceDecreasingTransaction.json +10 -0
  38. package/dist/coston/artifacts/contracts/StateConnector/interface/ConfirmedBlockHeightExists.sol/ConfirmedBlockHeightExists.json +10 -0
  39. package/dist/coston/artifacts/contracts/StateConnector/interface/EVMTransaction.sol/EVMTransaction.json +10 -0
  40. package/dist/coston/artifacts/contracts/StateConnector/interface/IAddressValidityVerification.sol/IAddressValidityVerification.json +98 -0
  41. package/dist/coston/artifacts/contracts/StateConnector/interface/IBalanceDecreasingTransactionVerification.sol/IBalanceDecreasingTransactionVerification.json +113 -0
  42. package/dist/coston/artifacts/contracts/StateConnector/interface/IConfirmedBlockHeightExistsVerification.sol/IConfirmedBlockHeightExistsVerification.json +108 -0
  43. package/dist/coston/artifacts/contracts/StateConnector/interface/IEVMTransactionVerification.sol/IEVMTransactionVerification.json +175 -0
  44. package/dist/coston/artifacts/contracts/StateConnector/interface/IPaymentVerification.sol/IPaymentVerification.json +153 -0
  45. package/dist/coston/artifacts/contracts/StateConnector/interface/IReferencedPaymentNonexistenceVerification.sol/IReferencedPaymentNonexistenceVerification.json +123 -0
  46. package/dist/coston/artifacts/contracts/StateConnector/interface/IStateConnector.sol/IStateConnector.json +126 -0
  47. package/dist/coston/artifacts/contracts/StateConnector/interface/ITypeTemplateVerification.sol/ITypeTemplateVerification.json +149 -0
  48. package/dist/coston/artifacts/contracts/StateConnector/interface/Payment.sol/Payment.json +10 -0
  49. package/dist/coston/artifacts/contracts/StateConnector/interface/ReferencedPaymentNonexistence.sol/ReferencedPaymentNonexistence.json +10 -0
  50. package/dist/coston/artifacts/contracts/StateConnector/interface/TypeTemplate.sol/TypeTemplate.json +10 -0
  51. package/dist/coston/deploys/contracts.json +31 -1
  52. package/package.json +2 -1
@@ -0,0 +1,123 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IReferencedPaymentNonexistenceVerification",
4
+ "sourceName": "contracts/StateConnector/interface/IReferencedPaymentNonexistenceVerification.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "components": [
10
+ {
11
+ "internalType": "bytes32[]",
12
+ "name": "merkleProof",
13
+ "type": "bytes32[]"
14
+ },
15
+ {
16
+ "components": [
17
+ {
18
+ "internalType": "bytes32",
19
+ "name": "attestationType",
20
+ "type": "bytes32"
21
+ },
22
+ {
23
+ "internalType": "bytes32",
24
+ "name": "sourceId",
25
+ "type": "bytes32"
26
+ },
27
+ {
28
+ "internalType": "uint64",
29
+ "name": "votingRound",
30
+ "type": "uint64"
31
+ },
32
+ {
33
+ "internalType": "uint64",
34
+ "name": "lowestUsedTimestamp",
35
+ "type": "uint64"
36
+ },
37
+ {
38
+ "components": [
39
+ {
40
+ "internalType": "uint64",
41
+ "name": "minimalBlockNumber",
42
+ "type": "uint64"
43
+ },
44
+ {
45
+ "internalType": "uint64",
46
+ "name": "deadlineBlockNumber",
47
+ "type": "uint64"
48
+ },
49
+ {
50
+ "internalType": "uint64",
51
+ "name": "deadlineTimestamp",
52
+ "type": "uint64"
53
+ },
54
+ {
55
+ "internalType": "bytes32",
56
+ "name": "destinationAddressHash",
57
+ "type": "bytes32"
58
+ },
59
+ {
60
+ "internalType": "uint256",
61
+ "name": "amount",
62
+ "type": "uint256"
63
+ },
64
+ {
65
+ "internalType": "bytes32",
66
+ "name": "standardPaymentReference",
67
+ "type": "bytes32"
68
+ }
69
+ ],
70
+ "internalType": "struct ReferencedPaymentNonexistence.RequestBody",
71
+ "name": "requestBody",
72
+ "type": "tuple"
73
+ },
74
+ {
75
+ "components": [
76
+ {
77
+ "internalType": "uint64",
78
+ "name": "minimalBlockTimestamp",
79
+ "type": "uint64"
80
+ },
81
+ {
82
+ "internalType": "uint64",
83
+ "name": "firstOverflowBlockNumber",
84
+ "type": "uint64"
85
+ },
86
+ {
87
+ "internalType": "uint64",
88
+ "name": "firstOverflowBlockTimestamp",
89
+ "type": "uint64"
90
+ }
91
+ ],
92
+ "internalType": "struct ReferencedPaymentNonexistence.ResponseBody",
93
+ "name": "responseBody",
94
+ "type": "tuple"
95
+ }
96
+ ],
97
+ "internalType": "struct ReferencedPaymentNonexistence.Response",
98
+ "name": "data",
99
+ "type": "tuple"
100
+ }
101
+ ],
102
+ "internalType": "struct ReferencedPaymentNonexistence.Proof",
103
+ "name": "_proof",
104
+ "type": "tuple"
105
+ }
106
+ ],
107
+ "name": "verifyReferencedPaymentNonexistence",
108
+ "outputs": [
109
+ {
110
+ "internalType": "bool",
111
+ "name": "_proved",
112
+ "type": "bool"
113
+ }
114
+ ],
115
+ "stateMutability": "view",
116
+ "type": "function"
117
+ }
118
+ ],
119
+ "bytecode": "0x",
120
+ "deployedBytecode": "0x",
121
+ "linkReferences": {},
122
+ "deployedLinkReferences": {}
123
+ }
@@ -0,0 +1,126 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "IStateConnector",
4
+ "sourceName": "contracts/StateConnector/interface/IStateConnector.sol",
5
+ "abi": [
6
+ {
7
+ "anonymous": false,
8
+ "inputs": [
9
+ {
10
+ "indexed": false,
11
+ "internalType": "address",
12
+ "name": "sender",
13
+ "type": "address"
14
+ },
15
+ {
16
+ "indexed": false,
17
+ "internalType": "uint256",
18
+ "name": "timestamp",
19
+ "type": "uint256"
20
+ },
21
+ {
22
+ "indexed": false,
23
+ "internalType": "bytes",
24
+ "name": "data",
25
+ "type": "bytes"
26
+ }
27
+ ],
28
+ "name": "AttestationRequest",
29
+ "type": "event"
30
+ },
31
+ {
32
+ "anonymous": false,
33
+ "inputs": [
34
+ {
35
+ "indexed": true,
36
+ "internalType": "uint256",
37
+ "name": "roundId",
38
+ "type": "uint256"
39
+ },
40
+ {
41
+ "indexed": false,
42
+ "internalType": "bytes32",
43
+ "name": "merkleRoot",
44
+ "type": "bytes32"
45
+ }
46
+ ],
47
+ "name": "RoundFinalised",
48
+ "type": "event"
49
+ },
50
+ {
51
+ "inputs": [],
52
+ "name": "BUFFER_TIMESTAMP_OFFSET",
53
+ "outputs": [
54
+ {
55
+ "internalType": "uint256",
56
+ "name": "",
57
+ "type": "uint256"
58
+ }
59
+ ],
60
+ "stateMutability": "view",
61
+ "type": "function"
62
+ },
63
+ {
64
+ "inputs": [],
65
+ "name": "BUFFER_WINDOW",
66
+ "outputs": [
67
+ {
68
+ "internalType": "uint256",
69
+ "name": "",
70
+ "type": "uint256"
71
+ }
72
+ ],
73
+ "stateMutability": "view",
74
+ "type": "function"
75
+ },
76
+ {
77
+ "inputs": [],
78
+ "name": "lastFinalizedRoundId",
79
+ "outputs": [
80
+ {
81
+ "internalType": "uint256",
82
+ "name": "_roundId",
83
+ "type": "uint256"
84
+ }
85
+ ],
86
+ "stateMutability": "view",
87
+ "type": "function"
88
+ },
89
+ {
90
+ "inputs": [
91
+ {
92
+ "internalType": "uint256",
93
+ "name": "_roundId",
94
+ "type": "uint256"
95
+ }
96
+ ],
97
+ "name": "merkleRoot",
98
+ "outputs": [
99
+ {
100
+ "internalType": "bytes32",
101
+ "name": "",
102
+ "type": "bytes32"
103
+ }
104
+ ],
105
+ "stateMutability": "view",
106
+ "type": "function"
107
+ },
108
+ {
109
+ "inputs": [
110
+ {
111
+ "internalType": "bytes",
112
+ "name": "_data",
113
+ "type": "bytes"
114
+ }
115
+ ],
116
+ "name": "requestAttestations",
117
+ "outputs": [],
118
+ "stateMutability": "nonpayable",
119
+ "type": "function"
120
+ }
121
+ ],
122
+ "bytecode": "0x",
123
+ "deployedBytecode": "0x",
124
+ "linkReferences": {},
125
+ "deployedLinkReferences": {}
126
+ }
@@ -0,0 +1,149 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ITypeTemplateVerification",
4
+ "sourceName": "contracts/StateConnector/interface/ITypeTemplateVerification.sol",
5
+ "abi": [
6
+ {
7
+ "inputs": [
8
+ {
9
+ "components": [
10
+ {
11
+ "internalType": "bytes32[]",
12
+ "name": "merkleProof",
13
+ "type": "bytes32[]"
14
+ },
15
+ {
16
+ "components": [
17
+ {
18
+ "internalType": "bytes32",
19
+ "name": "attestationType",
20
+ "type": "bytes32"
21
+ },
22
+ {
23
+ "internalType": "bytes32",
24
+ "name": "sourceId",
25
+ "type": "bytes32"
26
+ },
27
+ {
28
+ "internalType": "uint64",
29
+ "name": "votingRound",
30
+ "type": "uint64"
31
+ },
32
+ {
33
+ "internalType": "uint64",
34
+ "name": "lowestUsedTimestamp",
35
+ "type": "uint64"
36
+ },
37
+ {
38
+ "components": [
39
+ {
40
+ "internalType": "bytes32",
41
+ "name": "bytes32Field",
42
+ "type": "bytes32"
43
+ },
44
+ {
45
+ "internalType": "bool",
46
+ "name": "boolField",
47
+ "type": "bool"
48
+ },
49
+ {
50
+ "components": [
51
+ {
52
+ "internalType": "bytes32",
53
+ "name": "templateStructField",
54
+ "type": "bytes32"
55
+ },
56
+ {
57
+ "internalType": "uint256[]",
58
+ "name": "uintArrayField",
59
+ "type": "uint256[]"
60
+ },
61
+ {
62
+ "internalType": "bool[]",
63
+ "name": "boolArrayField",
64
+ "type": "bool[]"
65
+ }
66
+ ],
67
+ "internalType": "struct TypeTemplate.RequestSubstruct1",
68
+ "name": "requestSubstruct1",
69
+ "type": "tuple"
70
+ },
71
+ {
72
+ "components": [
73
+ {
74
+ "internalType": "bytes32",
75
+ "name": "templateStructField",
76
+ "type": "bytes32"
77
+ },
78
+ {
79
+ "internalType": "int256[]",
80
+ "name": "intArrayField",
81
+ "type": "int256[]"
82
+ },
83
+ {
84
+ "internalType": "bool[]",
85
+ "name": "boolArrayField",
86
+ "type": "bool[]"
87
+ }
88
+ ],
89
+ "internalType": "struct TypeTemplate.RequestSubstruct2[]",
90
+ "name": "requestSubstruct2Array",
91
+ "type": "tuple[]"
92
+ }
93
+ ],
94
+ "internalType": "struct TypeTemplate.RequestBody",
95
+ "name": "requestBody",
96
+ "type": "tuple"
97
+ },
98
+ {
99
+ "components": [
100
+ {
101
+ "internalType": "bytes32",
102
+ "name": "templateResponseField",
103
+ "type": "bytes32"
104
+ },
105
+ {
106
+ "components": [
107
+ {
108
+ "internalType": "bytes32",
109
+ "name": "templateStructField",
110
+ "type": "bytes32"
111
+ }
112
+ ],
113
+ "internalType": "struct TypeTemplate.ResponseSubstruct1[]",
114
+ "name": "responseSubstruct1Array",
115
+ "type": "tuple[]"
116
+ }
117
+ ],
118
+ "internalType": "struct TypeTemplate.ResponseBody",
119
+ "name": "responseBody",
120
+ "type": "tuple"
121
+ }
122
+ ],
123
+ "internalType": "struct TypeTemplate.Response",
124
+ "name": "data",
125
+ "type": "tuple"
126
+ }
127
+ ],
128
+ "internalType": "struct TypeTemplate.Proof",
129
+ "name": "_proof",
130
+ "type": "tuple"
131
+ }
132
+ ],
133
+ "name": "verifyTypeTemplate",
134
+ "outputs": [
135
+ {
136
+ "internalType": "bool",
137
+ "name": "_proved",
138
+ "type": "bool"
139
+ }
140
+ ],
141
+ "stateMutability": "view",
142
+ "type": "function"
143
+ }
144
+ ],
145
+ "bytecode": "0x",
146
+ "deployedBytecode": "0x",
147
+ "linkReferences": {},
148
+ "deployedLinkReferences": {}
149
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "Payment",
4
+ "sourceName": "contracts/StateConnector/interface/Payment.sol",
5
+ "abi": [],
6
+ "bytecode": "0x",
7
+ "deployedBytecode": "0x",
8
+ "linkReferences": {},
9
+ "deployedLinkReferences": {}
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "ReferencedPaymentNonexistence",
4
+ "sourceName": "contracts/StateConnector/interface/ReferencedPaymentNonexistence.sol",
5
+ "abi": [],
6
+ "bytecode": "0x",
7
+ "deployedBytecode": "0x",
8
+ "linkReferences": {},
9
+ "deployedLinkReferences": {}
10
+ }
@@ -0,0 +1,10 @@
1
+ {
2
+ "_format": "hh-sol-artifact-1",
3
+ "contractName": "TypeTemplate",
4
+ "sourceName": "contracts/StateConnector/interface/TypeTemplate.sol",
5
+ "abi": [],
6
+ "bytecode": "0x",
7
+ "deployedBytecode": "0x",
8
+ "linkReferences": {},
9
+ "deployedLinkReferences": {}
10
+ }
@@ -198,5 +198,35 @@
198
198
  "name": "WNatRegistryProvider",
199
199
  "contractName": "WNatRegistryProvider.sol",
200
200
  "address": "0x9819645ab3E99a0A2c0ECF797Da4B9312b31121F"
201
+ },
202
+ {
203
+ "name": "IEVMTransactionVerification",
204
+ "contractName": "IEVMTransactionVerification.sol",
205
+ "address": "0xC6B979a295aE1962045114392bc5BE7333840919"
206
+ },
207
+ {
208
+ "name": "IAddressValidityVerification",
209
+ "contractName": "IAddressValidityVerification.sol",
210
+ "address": "0x6493D7c0e4d81a73873067d14dfBFfaade072c5a"
211
+ },
212
+ {
213
+ "name": "IBalanceDecreasingTransactionVerification",
214
+ "contractName": "IBalanceDecreasingTransactionVerification.sol",
215
+ "address": "0x098088092EC01392609B1312c45F9E19b083888e"
216
+ },
217
+ {
218
+ "name": "IConfirmedBlockHeightExistsVerification",
219
+ "contractName": "IConfirmedBlockHeightExistsVerification.sol",
220
+ "address": "0x559eAa22affbeAD84D2F5271C2D8931f27CC316b"
221
+ },
222
+ {
223
+ "name": "IPaymentVerification",
224
+ "contractName": "IPaymentVerification.sol",
225
+ "address": "0x67aE5b59Bae06e61856e9Aff5605228a26D7b5bb"
226
+ },
227
+ {
228
+ "name": "IReferencedPaymentNonexistenceVerification",
229
+ "contractName": "IReferencedPaymentNonexistenceVerification.sol",
230
+ "address": "0x870Cfd102c2C549866CA87dB800EDdaABac02452"
201
231
  }
202
- ]
232
+ ]
@@ -6,7 +6,7 @@ export declare namespace AddressValidity {
6
6
  */
7
7
  interface Request {
8
8
  /**
9
- * Attestation type id as defined for each attestation type on [this repo](https://gitlab.com/flarenetwork/state-connector-protocol/)
9
+ * ID of the attestation type.
10
10
  */
11
11
  attestationType: string;
12
12
  /**
@@ -14,7 +14,7 @@ export declare namespace AddressValidity {
14
14
  */
15
15
  sourceId: string;
16
16
  /**
17
- * `MessageIntegrityCode` that is derived from the expected response as defined [here](/specs/attestations/hash-MIC.md#message-integrity-code).
17
+ * `MessageIntegrityCode` that is derived from the expected response.
18
18
  */
19
19
  messageIntegrityCode: string;
20
20
  /**
@@ -35,7 +35,7 @@ export declare namespace AddressValidity {
35
35
  */
36
36
  sourceId: string;
37
37
  /**
38
- * The id of the state connector round in which the request was considered.
38
+ * The ID of the State Connector round in which the request was considered.
39
39
  */
40
40
  votingRound: string;
41
41
  /**
@@ -78,11 +78,15 @@ export declare namespace AddressValidity {
78
78
  */
79
79
  interface ResponseBody {
80
80
  /**
81
- * Standard form of the validated address.
81
+ * Boolean indicator of the address validity.
82
+ */
83
+ isValid: boolean;
84
+ /**
85
+ * If `isValid`, standard form of the validated address. Otherwise an empty string.
82
86
  */
83
87
  standardAddress: string;
84
88
  /**
85
- * Standard address hash of the validated address.
89
+ * If `isValid`, standard address hash of the validated address. Otherwise a zero bytes32 string.
86
90
  */
87
91
  standardAddressHash: string;
88
92
  }
@@ -1 +1 @@
1
- {"version":3,"file":"AddressValidity.d.ts","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/AddressValidity.ts"],"names":[],"mappings":"AAAA,yBAAiB,eAAe,CAAC;IACtB,MAAM,IAAI,oBAAoB,CAAC;IAC/B,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,UAAU,EAAE,MAAM,CAAC;KACtB;IAED;;OAEG;IACH,UAAiB,YAAY;QACzB;;WAEG;QACH,eAAe,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;KAC/B;IAED,KAAY,YAAY,GAAG,IAAI,CAAC,OAAO,EAAE,sBAAsB,CAAC,CAAC;CACpE"}
1
+ {"version":3,"file":"AddressValidity.d.ts","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/AddressValidity.ts"],"names":[],"mappings":"AAAA,yBAAiB,eAAe,CAAC;IACtB,MAAM,IAAI,oBAAoB,CAAC;IAC/B,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,UAAU,EAAE,MAAM,CAAC;KACtB;IAED;;OAEG;IACH,UAAiB,YAAY;QACzB;;WAEG;QACH,OAAO,EAAE,OAAO,CAAC;QAEjB;;WAEG;QACH,eAAe,EAAE,MAAM,CAAC;QAExB;;WAEG;QACH,mBAAmB,EAAE,MAAM,CAAC;KAC/B;IAED,KAAY,YAAY,GAAG,IAAI,CAAC,OAAO,EAAE,sBAAsB,CAAC,CAAC;CACpE"}
@@ -1 +1 @@
1
- {"version":3,"file":"AddressValidity.js","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/AddressValidity.ts"],"names":[],"mappings":";;;AAAA,IAAiB,eAAe,CAyG/B;AAzGD,WAAiB,eAAe;IACf,oBAAI,GAAG,iBAAiB,CAAC;IACzB,oBAAI,GAAG,oEAAoE,CAAC;AAuG7F,CAAC,EAzGgB,eAAe,+BAAf,eAAe,QAyG/B"}
1
+ {"version":3,"file":"AddressValidity.js","sourceRoot":"","sources":["../../../../coston/StateConnector/typescript/AddressValidity.ts"],"names":[],"mappings":";;;AAAA,IAAiB,eAAe,CA8G/B;AA9GD,WAAiB,eAAe;IACf,oBAAI,GAAG,iBAAiB,CAAC;IACzB,oBAAI,GAAG,oEAAoE,CAAC;AA4G7F,CAAC,EA9GgB,eAAe,+BAAf,eAAe,QA8G/B"}
@@ -6,15 +6,15 @@ export declare namespace BalanceDecreasingTransaction {
6
6
  */
7
7
  interface Request {
8
8
  /**
9
- * Id of the attestation type.
9
+ * ID of the attestation type.
10
10
  */
11
11
  attestationType: string;
12
12
  /**
13
- * Id of the data source.
13
+ * ID of the data source.
14
14
  */
15
15
  sourceId: string;
16
16
  /**
17
- * `MessageIntegrityCode` that is derived from the expected response as defined [here](/specs/attestations/hash-MIC.md#message-integrity-code).
17
+ * `MessageIntegrityCode` that is derived from the expected response.
18
18
  */
19
19
  messageIntegrityCode: string;
20
20
  /**
@@ -35,7 +35,7 @@ export declare namespace BalanceDecreasingTransaction {
35
35
  */
36
36
  sourceId: string;
37
37
  /**
38
- * The id of the state connector round in which the request was considered. This is a security measure to prevent a collision of attestation hashes.
38
+ * The ID of the State Connector round in which the request was considered. This is a security measure to prevent a collision of attestation hashes.
39
39
  */
40
40
  votingRound: string;
41
41
  /**
@@ -69,7 +69,7 @@ export declare namespace BalanceDecreasingTransaction {
69
69
  */
70
70
  interface RequestBody {
71
71
  /**
72
- * Id of the payment transaction.
72
+ * ID of the payment transaction.
73
73
  */
74
74
  transactionId: string;
75
75
  /**
@@ -86,7 +86,7 @@ export declare namespace BalanceDecreasingTransaction {
86
86
  */
87
87
  blockNumber: string;
88
88
  /**
89
- * The timestamps of the block in which the transaction is included.
89
+ * The timestamp of the block in which the transaction is included.
90
90
  */
91
91
  blockTimestamp: string;
92
92
  /**
@@ -6,15 +6,15 @@ export declare namespace ConfirmedBlockHeightExists {
6
6
  */
7
7
  interface Request {
8
8
  /**
9
- * Id of the attestation type.
9
+ * ID of the attestation type.
10
10
  */
11
11
  attestationType: string;
12
12
  /**
13
- * Id of the data source.
13
+ * ID of the data source.
14
14
  */
15
15
  sourceId: string;
16
16
  /**
17
- * `MessageIntegrityCode` that is derived from the expected response as defined [here](/specs/attestations/hash-MIC.md#message-integrity-code).
17
+ * `MessageIntegrityCode` that is derived from the expected response as defined.
18
18
  */
19
19
  messageIntegrityCode: string;
20
20
  /**
@@ -35,7 +35,7 @@ export declare namespace ConfirmedBlockHeightExists {
35
35
  */
36
36
  sourceId: string;
37
37
  /**
38
- * The id of the state connector round in which the request was considered.
38
+ * The ID of the State Connector round in which the request was considered.
39
39
  */
40
40
  votingRound: string;
41
41
  /**
@@ -73,7 +73,7 @@ export declare namespace ConfirmedBlockHeightExists {
73
73
  */
74
74
  blockNumber: string;
75
75
  /**
76
- * The period in seconds for sampling. The range is from `blockNumber` to the blockNumber of the first block more than queryWindow before the `blockNumber`.
76
+ * The length of the period in which the block production rate is to be computed.
77
77
  */
78
78
  queryWindow: string;
79
79
  }
@@ -86,7 +86,7 @@ export declare namespace ConfirmedBlockHeightExists {
86
86
  */
87
87
  blockTimestamp: string;
88
88
  /**
89
- * The depth at which a block is considered confirmed depending on the chain. All attestation clients must agree on this number.
89
+ * The depth at which a block is considered confirmed depending on the chain. All attestation providers must agree on this number.
90
90
  */
91
91
  numberOfConfirmations: string;
92
92
  /**