@flarenetwork/flare-periphery-contract-artifacts 0.1.1 → 0.1.3
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/coston/StateConnector/configs/AddressValidity.json +310 -0
- package/coston/StateConnector/configs/BalanceDecreasingTransaction.json +379 -0
- package/coston/StateConnector/configs/ConfirmedBlockHeightExists.json +363 -0
- package/coston/StateConnector/configs/EVMTransaction.json +600 -0
- package/coston/StateConnector/configs/Payment.json +512 -0
- package/coston/StateConnector/configs/ReferencedPaymentNonexistence.json +431 -0
- package/coston/StateConnector/configs/TypeTemplate.json +555 -0
- package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.d.ts +68 -0
- package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.d.ts.map +1 -0
- package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.js +164 -0
- package/dist/coston/StateConnector/libs/ts/AttestationDefinitionStore.js.map +1 -0
- package/dist/coston/StateConnector/libs/ts/AttestationResponse.d.ts +33 -0
- package/dist/coston/StateConnector/libs/ts/AttestationResponse.d.ts.map +1 -0
- package/dist/coston/StateConnector/libs/ts/AttestationResponse.js +30 -0
- package/dist/coston/StateConnector/libs/ts/AttestationResponse.js.map +1 -0
- package/dist/coston/StateConnector/libs/ts/MerkleTree.d.ts +103 -0
- package/dist/coston/StateConnector/libs/ts/MerkleTree.d.ts.map +1 -0
- package/dist/coston/StateConnector/libs/ts/MerkleTree.js +212 -0
- package/dist/coston/StateConnector/libs/ts/MerkleTree.js.map +1 -0
- package/dist/coston/StateConnector/libs/ts/config-types.d.ts +143 -0
- package/dist/coston/StateConnector/libs/ts/config-types.d.ts.map +1 -0
- package/dist/coston/StateConnector/libs/ts/config-types.js +3 -0
- package/dist/coston/StateConnector/libs/ts/config-types.js.map +1 -0
- package/dist/coston/StateConnector/libs/ts/interfaces.d.ts +32 -0
- package/dist/coston/StateConnector/libs/ts/interfaces.d.ts.map +1 -0
- package/dist/coston/StateConnector/libs/ts/interfaces.js +3 -0
- package/dist/coston/StateConnector/libs/ts/interfaces.js.map +1 -0
- package/dist/coston/StateConnector/libs/ts/random.d.ts +9 -0
- package/dist/coston/StateConnector/libs/ts/random.d.ts.map +1 -0
- package/dist/coston/StateConnector/libs/ts/random.js +70 -0
- package/dist/coston/StateConnector/libs/ts/random.js.map +1 -0
- package/dist/coston/StateConnector/libs/ts/utils.d.ts +73 -0
- package/dist/coston/StateConnector/libs/ts/utils.d.ts.map +1 -0
- package/dist/coston/StateConnector/libs/ts/utils.js +282 -0
- package/dist/coston/StateConnector/libs/ts/utils.js.map +1 -0
- package/dist/coston/StateConnector/typescript/AddressValidity.d.ts +91 -0
- package/dist/coston/StateConnector/typescript/AddressValidity.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/AddressValidity.js +9 -0
- package/dist/coston/StateConnector/typescript/AddressValidity.js.map +1 -0
- package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts +107 -0
- package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.js +9 -0
- package/dist/coston/StateConnector/typescript/BalanceDecreasingTransaction.js.map +1 -0
- package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts +103 -0
- package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.js +9 -0
- package/dist/coston/StateConnector/typescript/ConfirmedBlockHeightExists.js.map +1 -0
- package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts +160 -0
- package/dist/coston/StateConnector/typescript/EVMTransaction.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/EVMTransaction.js +9 -0
- package/dist/coston/StateConnector/typescript/EVMTransaction.js.map +1 -0
- package/dist/coston/StateConnector/typescript/Payment.d.ts +139 -0
- package/dist/coston/StateConnector/typescript/Payment.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/Payment.js +9 -0
- package/dist/coston/StateConnector/typescript/Payment.js.map +1 -0
- package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts +115 -0
- package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.js +9 -0
- package/dist/coston/StateConnector/typescript/ReferencedPaymentNonexistence.js.map +1 -0
- package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts +146 -0
- package/dist/coston/StateConnector/typescript/TypeTemplate.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/TypeTemplate.js +9 -0
- package/dist/coston/StateConnector/typescript/TypeTemplate.js.map +1 -0
- package/dist/coston/StateConnector/typescript/data-sources/data-sources.d.ts +29 -0
- package/dist/coston/StateConnector/typescript/data-sources/data-sources.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/data-sources/data-sources.js +33 -0
- package/dist/coston/StateConnector/typescript/data-sources/data-sources.js.map +1 -0
- package/dist/coston/StateConnector/typescript/index.d.ts +9 -0
- package/dist/coston/StateConnector/typescript/index.d.ts.map +1 -0
- package/dist/coston/StateConnector/typescript/index.js +25 -0
- package/dist/coston/StateConnector/typescript/index.js.map +1 -0
- package/dist/coston/deploys/mapper.js.map +1 -1
- package/dist/coston2/deploys/mapper.js.map +1 -1
- package/dist/flare/deploys/mapper.js.map +1 -1
- package/dist/songbird/deploys/mapper.js.map +1 -1
- package/package.json +4 -2
|
@@ -0,0 +1,379 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "BalanceDecreasingTransaction",
|
|
3
|
+
"fullComment": " @custom:name BalanceDecreasingTransaction\n @custom:id 0x02\n @custom:supported BTC, DOGE, XRP, testBTC, testDOGE, testXRP\n @author Flare\n @notice The intention of this attestation type is to detect a transaction that either decreases the balance for some address or is signed by the source address.\n Such attestation could prove a violation of an agreement and give grounds to liquidate some funds locked by a smart contract on Flare.\n A transaction is considered “balance decreasing” for the address, if the balance after the transaction is lower than before or the address is among the signers of the transaction (even if its balance is greater than before the transaction).\n @custom:verification Based on transaction id, the transaction is fetched from the API of the source blockchain node or relevant indexer.\n If the transaction cannot be fetched or the transaction is in a block that does not have sufficient [number of confirmations](/specs/attestations/configs.md#finalityconfirmation), the attestation request is rejected.\n Once the transaction is received the response fields are extracted if the transaction is balance decreasing for the indicated address.\n Some of the request and response fields are chain specific as described below.\n The fields can be computed with a help of [balance decreasing summary](/specs/attestations/external-chains/transactions.md#balance-decreasing-summary).\n ### UTXO (Bitcoin and Dogecoin)\n - `sourceAddressIndicator` is the the index of the transaction input in hex padded to a 0x prefixed 32-byte string.\n If the indicated input does not exist or the indicated input does not have the address, the attestation request is rejected.\n The `sourceAddress` is the address of the indicated transaction input.\n - `spentAmount` is the sum of values of all inputs with sourceAddress minus the sum of all outputs with `sourceAddress`.\n Can be negative.\n ### XRPL\n - `sourceAddressIndicator` is the [standard address hash](/attestation-objects/standardAddressHash.md) of the address whose balance has been decreased.\n If the address indicated by `sourceAddressIndicator` is not among the signers of the transaction and the balance of the address was not lowered in the transaction, the attestation request is rejected.\n - `spentAmount` is the difference between the balance of the indicated address after and before the transaction.\n Can be negative.\n @custom:lut `blockTimestamp`.",
|
|
4
|
+
"description": "The intention of this attestation type is to detect a transaction that either decreases the balance for some address or is signed by the source address.\n Such attestation could prove a violation of an agreement and give grounds to liquidate some funds locked by a smart contract on Flare.\n A transaction is considered “balance decreasing” for the address, if the balance after the transaction is lower than before or the address is among the signers of the transaction (even if its balance is greater than before the transaction).",
|
|
5
|
+
"supported": [
|
|
6
|
+
"BTC",
|
|
7
|
+
"DOGE",
|
|
8
|
+
"XRP",
|
|
9
|
+
"testBTC",
|
|
10
|
+
"testDOGE",
|
|
11
|
+
"testXRP"
|
|
12
|
+
],
|
|
13
|
+
"verification": "Based on transaction id, the transaction is fetched from the API of the source blockchain node or relevant indexer.\n If the transaction cannot be fetched or the transaction is in a block that does not have sufficient [number of confirmations](/specs/attestations/configs.md#finalityconfirmation), the attestation request is rejected.\n Once the transaction is received the response fields are extracted if the transaction is balance decreasing for the indicated address.\n Some of the request and response fields are chain specific as described below.\n The fields can be computed with a help of [balance decreasing summary](/specs/attestations/external-chains/transactions.md#balance-decreasing-summary).\n ### UTXO (Bitcoin and Dogecoin)\n - `sourceAddressIndicator` is the the index of the transaction input in hex padded to a 0x prefixed 32-byte string.\n If the indicated input does not exist or the indicated input does not have the address, the attestation request is rejected.\n The `sourceAddress` is the address of the indicated transaction input.\n - `spentAmount` is the sum of values of all inputs with sourceAddress minus the sum of all outputs with `sourceAddress`.\n Can be negative.\n ### XRPL\n - `sourceAddressIndicator` is the [standard address hash](/attestation-objects/standardAddressHash.md) of the address whose balance has been decreased.\n If the address indicated by `sourceAddressIndicator` is not among the signers of the transaction and the balance of the address was not lowered in the transaction, the attestation request is rejected.\n - `spentAmount` is the difference between the balance of the indicated address after and before the transaction.\n Can be negative.",
|
|
14
|
+
"lut": "`blockTimestamp`.",
|
|
15
|
+
"proof": {
|
|
16
|
+
"name": "Proof",
|
|
17
|
+
"description": "Toplevel proof",
|
|
18
|
+
"above": "",
|
|
19
|
+
"below": "",
|
|
20
|
+
"fullComment": " @notice Toplevel proof\n @param merkleProof Merkle proof corresponding to the attestation response.\n @param data Attestation response.",
|
|
21
|
+
"params": [
|
|
22
|
+
{
|
|
23
|
+
"name": "merkleProof",
|
|
24
|
+
"type": "bytes32[]",
|
|
25
|
+
"typeSimple": "bytes32[]",
|
|
26
|
+
"comment": "Merkle proof corresponding to the attestation response."
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
"name": "data",
|
|
30
|
+
"type": "struct BalanceDecreasingTransaction.Response",
|
|
31
|
+
"typeSimple": "Response",
|
|
32
|
+
"comment": "Attestation response."
|
|
33
|
+
}
|
|
34
|
+
]
|
|
35
|
+
},
|
|
36
|
+
"request": {
|
|
37
|
+
"name": "Request",
|
|
38
|
+
"description": "Toplevel request",
|
|
39
|
+
"above": "",
|
|
40
|
+
"below": "",
|
|
41
|
+
"fullComment": " @notice Toplevel request\n @param attestationType Id of the attestation type.\n @param sourceId Id of the data source.\n @param messageIntegrityCode `MessageIntegrityCode` that is derived from the expected response as defined [here](/specs/attestations/hash-MIC.md#message-integrity-code).\n @param requestBody Data defining the request. Type (struct) and interpretation is determined by the `attestationType`.",
|
|
42
|
+
"params": [
|
|
43
|
+
{
|
|
44
|
+
"name": "attestationType",
|
|
45
|
+
"type": "bytes32",
|
|
46
|
+
"typeSimple": "bytes32",
|
|
47
|
+
"comment": "Id of the attestation type."
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "sourceId",
|
|
51
|
+
"type": "bytes32",
|
|
52
|
+
"typeSimple": "bytes32",
|
|
53
|
+
"comment": "Id of the data source."
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "messageIntegrityCode",
|
|
57
|
+
"type": "bytes32",
|
|
58
|
+
"typeSimple": "bytes32",
|
|
59
|
+
"comment": "`MessageIntegrityCode` that is derived from the expected response as defined [here](/specs/attestations/hash-MIC.md#message-integrity-code)."
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"name": "requestBody",
|
|
63
|
+
"type": "struct BalanceDecreasingTransaction.RequestBody",
|
|
64
|
+
"typeSimple": "RequestBody",
|
|
65
|
+
"comment": "Data defining the request. Type (struct) and interpretation is determined by the `attestationType`."
|
|
66
|
+
}
|
|
67
|
+
]
|
|
68
|
+
},
|
|
69
|
+
"response": {
|
|
70
|
+
"name": "Response",
|
|
71
|
+
"description": "Toplevel response",
|
|
72
|
+
"above": "",
|
|
73
|
+
"below": "",
|
|
74
|
+
"fullComment": " @notice Toplevel response\n @param attestationType Extracted from the request.\n @param sourceId Extracted from the request.\n @param votingRound 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.\n @param lowestUsedTimestamp The lowest timestamp used to generate the response.\n @param requestBody Extracted from the request.\n @param responseBody Data defining the response. The verification rules for the construction of the response body and the type are defined per specific `attestationType`.",
|
|
75
|
+
"params": [
|
|
76
|
+
{
|
|
77
|
+
"name": "attestationType",
|
|
78
|
+
"type": "bytes32",
|
|
79
|
+
"typeSimple": "bytes32",
|
|
80
|
+
"comment": "Extracted from the request."
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"name": "sourceId",
|
|
84
|
+
"type": "bytes32",
|
|
85
|
+
"typeSimple": "bytes32",
|
|
86
|
+
"comment": "Extracted from the request."
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
"name": "votingRound",
|
|
90
|
+
"type": "uint64",
|
|
91
|
+
"typeSimple": "uint64",
|
|
92
|
+
"comment": "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."
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
"name": "lowestUsedTimestamp",
|
|
96
|
+
"type": "uint64",
|
|
97
|
+
"typeSimple": "uint64",
|
|
98
|
+
"comment": "The lowest timestamp used to generate the response."
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"name": "requestBody",
|
|
102
|
+
"type": "struct BalanceDecreasingTransaction.RequestBody",
|
|
103
|
+
"typeSimple": "RequestBody",
|
|
104
|
+
"comment": "Extracted from the request."
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"name": "responseBody",
|
|
108
|
+
"type": "struct BalanceDecreasingTransaction.ResponseBody",
|
|
109
|
+
"typeSimple": "ResponseBody",
|
|
110
|
+
"comment": "Data defining the response. The verification rules for the construction of the response body and the type are defined per specific `attestationType`."
|
|
111
|
+
}
|
|
112
|
+
]
|
|
113
|
+
},
|
|
114
|
+
"requestBody": {
|
|
115
|
+
"name": "RequestBody",
|
|
116
|
+
"description": "Request body for BalanceDecreasingTransaction attestation type",
|
|
117
|
+
"above": "",
|
|
118
|
+
"below": "",
|
|
119
|
+
"fullComment": " @notice Request body for BalanceDecreasingTransaction attestation type\n @param transactionId Id of the payment transaction.\n @param sourceAddressIndicator The indicator of the address whose balance has been decreased.",
|
|
120
|
+
"params": [
|
|
121
|
+
{
|
|
122
|
+
"name": "transactionId",
|
|
123
|
+
"type": "bytes32",
|
|
124
|
+
"typeSimple": "bytes32",
|
|
125
|
+
"comment": "Id of the payment transaction."
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"name": "sourceAddressIndicator",
|
|
129
|
+
"type": "bytes32",
|
|
130
|
+
"typeSimple": "bytes32",
|
|
131
|
+
"comment": "The indicator of the address whose balance has been decreased."
|
|
132
|
+
}
|
|
133
|
+
]
|
|
134
|
+
},
|
|
135
|
+
"responseBody": {
|
|
136
|
+
"name": "ResponseBody",
|
|
137
|
+
"description": "Response body for BalanceDecreasingTransaction attestation type.",
|
|
138
|
+
"above": "",
|
|
139
|
+
"below": "",
|
|
140
|
+
"fullComment": " @notice Response body for BalanceDecreasingTransaction attestation type.\n @param blockNumber The number of the block in which the transaction is included.\n @param blockTimestamp The timestamps of the block in which the transaction is included.\n @param sourceAddressHash Standard address hash of the address indicated by the `sourceAddressIndicator`.\n @param spentAmount Amount spent by the source address in minimal units.\n @param standardPaymentReference Standard payment reference of the transaction.",
|
|
141
|
+
"params": [
|
|
142
|
+
{
|
|
143
|
+
"name": "blockNumber",
|
|
144
|
+
"type": "uint64",
|
|
145
|
+
"typeSimple": "uint64",
|
|
146
|
+
"comment": "The number of the block in which the transaction is included."
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"name": "blockTimestamp",
|
|
150
|
+
"type": "uint64",
|
|
151
|
+
"typeSimple": "uint64",
|
|
152
|
+
"comment": "The timestamps of the block in which the transaction is included."
|
|
153
|
+
},
|
|
154
|
+
{
|
|
155
|
+
"name": "sourceAddressHash",
|
|
156
|
+
"type": "bytes32",
|
|
157
|
+
"typeSimple": "bytes32",
|
|
158
|
+
"comment": "Standard address hash of the address indicated by the `sourceAddressIndicator`."
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "spentAmount",
|
|
162
|
+
"type": "int256",
|
|
163
|
+
"typeSimple": "int256",
|
|
164
|
+
"comment": "Amount spent by the source address in minimal units."
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "standardPaymentReference",
|
|
168
|
+
"type": "bytes32",
|
|
169
|
+
"typeSimple": "bytes32",
|
|
170
|
+
"comment": "Standard payment reference of the transaction."
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
},
|
|
174
|
+
"requestStructs": [],
|
|
175
|
+
"responseStructs": [],
|
|
176
|
+
"requestAbi": {
|
|
177
|
+
"components": [
|
|
178
|
+
{
|
|
179
|
+
"internalType": "bytes32",
|
|
180
|
+
"name": "attestationType",
|
|
181
|
+
"type": "bytes32"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"internalType": "bytes32",
|
|
185
|
+
"name": "sourceId",
|
|
186
|
+
"type": "bytes32"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"internalType": "bytes32",
|
|
190
|
+
"name": "messageIntegrityCode",
|
|
191
|
+
"type": "bytes32"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"components": [
|
|
195
|
+
{
|
|
196
|
+
"internalType": "bytes32",
|
|
197
|
+
"name": "transactionId",
|
|
198
|
+
"type": "bytes32"
|
|
199
|
+
},
|
|
200
|
+
{
|
|
201
|
+
"internalType": "bytes32",
|
|
202
|
+
"name": "sourceAddressIndicator",
|
|
203
|
+
"type": "bytes32"
|
|
204
|
+
}
|
|
205
|
+
],
|
|
206
|
+
"internalType": "struct BalanceDecreasingTransaction.RequestBody",
|
|
207
|
+
"name": "requestBody",
|
|
208
|
+
"type": "tuple"
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
"internalType": "struct BalanceDecreasingTransaction.Request",
|
|
212
|
+
"name": "_request",
|
|
213
|
+
"type": "tuple"
|
|
214
|
+
},
|
|
215
|
+
"responseAbi": {
|
|
216
|
+
"components": [
|
|
217
|
+
{
|
|
218
|
+
"internalType": "bytes32",
|
|
219
|
+
"name": "attestationType",
|
|
220
|
+
"type": "bytes32"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"internalType": "bytes32",
|
|
224
|
+
"name": "sourceId",
|
|
225
|
+
"type": "bytes32"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"internalType": "uint64",
|
|
229
|
+
"name": "votingRound",
|
|
230
|
+
"type": "uint64"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"internalType": "uint64",
|
|
234
|
+
"name": "lowestUsedTimestamp",
|
|
235
|
+
"type": "uint64"
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"components": [
|
|
239
|
+
{
|
|
240
|
+
"internalType": "bytes32",
|
|
241
|
+
"name": "transactionId",
|
|
242
|
+
"type": "bytes32"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"internalType": "bytes32",
|
|
246
|
+
"name": "sourceAddressIndicator",
|
|
247
|
+
"type": "bytes32"
|
|
248
|
+
}
|
|
249
|
+
],
|
|
250
|
+
"internalType": "struct BalanceDecreasingTransaction.RequestBody",
|
|
251
|
+
"name": "requestBody",
|
|
252
|
+
"type": "tuple"
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"components": [
|
|
256
|
+
{
|
|
257
|
+
"internalType": "uint64",
|
|
258
|
+
"name": "blockNumber",
|
|
259
|
+
"type": "uint64"
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"internalType": "uint64",
|
|
263
|
+
"name": "blockTimestamp",
|
|
264
|
+
"type": "uint64"
|
|
265
|
+
},
|
|
266
|
+
{
|
|
267
|
+
"internalType": "bytes32",
|
|
268
|
+
"name": "sourceAddressHash",
|
|
269
|
+
"type": "bytes32"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"internalType": "int256",
|
|
273
|
+
"name": "spentAmount",
|
|
274
|
+
"type": "int256"
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"internalType": "bytes32",
|
|
278
|
+
"name": "standardPaymentReference",
|
|
279
|
+
"type": "bytes32"
|
|
280
|
+
}
|
|
281
|
+
],
|
|
282
|
+
"internalType": "struct BalanceDecreasingTransaction.ResponseBody",
|
|
283
|
+
"name": "responseBody",
|
|
284
|
+
"type": "tuple"
|
|
285
|
+
}
|
|
286
|
+
],
|
|
287
|
+
"internalType": "struct BalanceDecreasingTransaction.Response",
|
|
288
|
+
"name": "_response",
|
|
289
|
+
"type": "tuple"
|
|
290
|
+
},
|
|
291
|
+
"proofAbi": {
|
|
292
|
+
"components": [
|
|
293
|
+
{
|
|
294
|
+
"internalType": "bytes32[]",
|
|
295
|
+
"name": "merkleProof",
|
|
296
|
+
"type": "bytes32[]"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"components": [
|
|
300
|
+
{
|
|
301
|
+
"internalType": "bytes32",
|
|
302
|
+
"name": "attestationType",
|
|
303
|
+
"type": "bytes32"
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"internalType": "bytes32",
|
|
307
|
+
"name": "sourceId",
|
|
308
|
+
"type": "bytes32"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"internalType": "uint64",
|
|
312
|
+
"name": "votingRound",
|
|
313
|
+
"type": "uint64"
|
|
314
|
+
},
|
|
315
|
+
{
|
|
316
|
+
"internalType": "uint64",
|
|
317
|
+
"name": "lowestUsedTimestamp",
|
|
318
|
+
"type": "uint64"
|
|
319
|
+
},
|
|
320
|
+
{
|
|
321
|
+
"components": [
|
|
322
|
+
{
|
|
323
|
+
"internalType": "bytes32",
|
|
324
|
+
"name": "transactionId",
|
|
325
|
+
"type": "bytes32"
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"internalType": "bytes32",
|
|
329
|
+
"name": "sourceAddressIndicator",
|
|
330
|
+
"type": "bytes32"
|
|
331
|
+
}
|
|
332
|
+
],
|
|
333
|
+
"internalType": "struct BalanceDecreasingTransaction.RequestBody",
|
|
334
|
+
"name": "requestBody",
|
|
335
|
+
"type": "tuple"
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"components": [
|
|
339
|
+
{
|
|
340
|
+
"internalType": "uint64",
|
|
341
|
+
"name": "blockNumber",
|
|
342
|
+
"type": "uint64"
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"internalType": "uint64",
|
|
346
|
+
"name": "blockTimestamp",
|
|
347
|
+
"type": "uint64"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"internalType": "bytes32",
|
|
351
|
+
"name": "sourceAddressHash",
|
|
352
|
+
"type": "bytes32"
|
|
353
|
+
},
|
|
354
|
+
{
|
|
355
|
+
"internalType": "int256",
|
|
356
|
+
"name": "spentAmount",
|
|
357
|
+
"type": "int256"
|
|
358
|
+
},
|
|
359
|
+
{
|
|
360
|
+
"internalType": "bytes32",
|
|
361
|
+
"name": "standardPaymentReference",
|
|
362
|
+
"type": "bytes32"
|
|
363
|
+
}
|
|
364
|
+
],
|
|
365
|
+
"internalType": "struct BalanceDecreasingTransaction.ResponseBody",
|
|
366
|
+
"name": "responseBody",
|
|
367
|
+
"type": "tuple"
|
|
368
|
+
}
|
|
369
|
+
],
|
|
370
|
+
"internalType": "struct BalanceDecreasingTransaction.Response",
|
|
371
|
+
"name": "data",
|
|
372
|
+
"type": "tuple"
|
|
373
|
+
}
|
|
374
|
+
],
|
|
375
|
+
"internalType": "struct BalanceDecreasingTransaction.Proof",
|
|
376
|
+
"name": "_proof",
|
|
377
|
+
"type": "tuple"
|
|
378
|
+
}
|
|
379
|
+
}
|