@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,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
+ ]
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.2",
4
+ "version": "0.1.4",
5
5
  "author": "Flare Network",
6
6
  "license": "MIT",
7
7
  "main": "./dist/index.js",
@@ -10,6 +10,7 @@
10
10
  "dist/",
11
11
  "**/artifacts/**/*.json",
12
12
  "**/deploys/**/*.json",
13
+ "**/configs/**/*.json",
13
14
  "**/README.md"
14
15
  ],
15
16
  "scripts": {