@flarenetwork/flare-periphery-contract-artifacts 0.1.40 → 0.1.41

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 (38) hide show
  1. package/coston/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
  2. package/coston/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
  3. package/coston/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
  4. package/coston2/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
  5. package/coston2/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
  6. package/coston2/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
  7. package/coston2/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +186 -0
  8. package/coston2/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +47 -0
  9. package/coston2/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +256 -0
  10. package/coston2/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +58 -0
  11. package/coston2/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +25 -0
  12. package/dist/coston/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
  13. package/dist/coston/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
  14. package/dist/coston/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
  15. package/dist/coston2/abis.d.ts.map +1 -1
  16. package/dist/coston2/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
  17. package/dist/coston2/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
  18. package/dist/coston2/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
  19. package/dist/coston2/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +186 -0
  20. package/dist/coston2/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +47 -0
  21. package/dist/coston2/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +256 -0
  22. package/dist/coston2/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +58 -0
  23. package/dist/coston2/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +25 -0
  24. package/dist/flare/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
  25. package/dist/flare/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
  26. package/dist/flare/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
  27. package/dist/index.js +2 -0
  28. package/dist/index.js.map +1 -1
  29. package/dist/songbird/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
  30. package/dist/songbird/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
  31. package/dist/songbird/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
  32. package/flare/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
  33. package/flare/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
  34. package/flare/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
  35. package/package.json +1 -1
  36. package/songbird/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
  37. package/songbird/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
  38. package/songbird/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
@@ -0,0 +1,186 @@
1
+ [
2
+ {
3
+ "inputs": [],
4
+ "name": "EmptyCustomInstruction",
5
+ "type": "error"
6
+ },
7
+ {
8
+ "inputs": [],
9
+ "name": "TargetAddressZero",
10
+ "type": "error"
11
+ },
12
+ {
13
+ "inputs": [
14
+ {
15
+ "internalType": "address",
16
+ "name": "target",
17
+ "type": "address"
18
+ }
19
+ ],
20
+ "name": "TargetNotAContract",
21
+ "type": "error"
22
+ },
23
+ {
24
+ "anonymous": false,
25
+ "inputs": [
26
+ {
27
+ "indexed": true,
28
+ "internalType": "bytes32",
29
+ "name": "customInstructionHash",
30
+ "type": "bytes32"
31
+ }
32
+ ],
33
+ "name": "CustomInstructionAlreadyRegistered",
34
+ "type": "event"
35
+ },
36
+ {
37
+ "anonymous": false,
38
+ "inputs": [
39
+ {
40
+ "indexed": true,
41
+ "internalType": "bytes32",
42
+ "name": "customInstructionHash",
43
+ "type": "bytes32"
44
+ }
45
+ ],
46
+ "name": "CustomInstructionRegistered",
47
+ "type": "event"
48
+ },
49
+ {
50
+ "inputs": [
51
+ {
52
+ "components": [
53
+ {
54
+ "internalType": "address",
55
+ "name": "targetContract",
56
+ "type": "address"
57
+ },
58
+ {
59
+ "internalType": "uint256",
60
+ "name": "value",
61
+ "type": "uint256"
62
+ },
63
+ {
64
+ "internalType": "bytes",
65
+ "name": "data",
66
+ "type": "bytes"
67
+ }
68
+ ],
69
+ "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
70
+ "name": "_customInstruction",
71
+ "type": "tuple[]"
72
+ }
73
+ ],
74
+ "name": "encodeCustomInstruction",
75
+ "outputs": [
76
+ {
77
+ "internalType": "bytes32",
78
+ "name": "_customInstructionHash",
79
+ "type": "bytes32"
80
+ }
81
+ ],
82
+ "stateMutability": "pure",
83
+ "type": "function"
84
+ },
85
+ {
86
+ "inputs": [
87
+ {
88
+ "internalType": "bytes32",
89
+ "name": "_customInstructionHash",
90
+ "type": "bytes32"
91
+ }
92
+ ],
93
+ "name": "getCustomInstruction",
94
+ "outputs": [
95
+ {
96
+ "components": [
97
+ {
98
+ "internalType": "address",
99
+ "name": "targetContract",
100
+ "type": "address"
101
+ },
102
+ {
103
+ "internalType": "uint256",
104
+ "name": "value",
105
+ "type": "uint256"
106
+ },
107
+ {
108
+ "internalType": "bytes",
109
+ "name": "data",
110
+ "type": "bytes"
111
+ }
112
+ ],
113
+ "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
114
+ "name": "_customInstruction",
115
+ "type": "tuple[]"
116
+ }
117
+ ],
118
+ "stateMutability": "view",
119
+ "type": "function"
120
+ },
121
+ {
122
+ "inputs": [
123
+ {
124
+ "internalType": "uint256",
125
+ "name": "_start",
126
+ "type": "uint256"
127
+ },
128
+ {
129
+ "internalType": "uint256",
130
+ "name": "_end",
131
+ "type": "uint256"
132
+ }
133
+ ],
134
+ "name": "getCustomInstructionHashes",
135
+ "outputs": [
136
+ {
137
+ "internalType": "bytes32[]",
138
+ "name": "_customInstructionHashes",
139
+ "type": "bytes32[]"
140
+ },
141
+ {
142
+ "internalType": "uint256",
143
+ "name": "_totalLength",
144
+ "type": "uint256"
145
+ }
146
+ ],
147
+ "stateMutability": "view",
148
+ "type": "function"
149
+ },
150
+ {
151
+ "inputs": [
152
+ {
153
+ "components": [
154
+ {
155
+ "internalType": "address",
156
+ "name": "targetContract",
157
+ "type": "address"
158
+ },
159
+ {
160
+ "internalType": "uint256",
161
+ "name": "value",
162
+ "type": "uint256"
163
+ },
164
+ {
165
+ "internalType": "bytes",
166
+ "name": "data",
167
+ "type": "bytes"
168
+ }
169
+ ],
170
+ "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
171
+ "name": "_customInstruction",
172
+ "type": "tuple[]"
173
+ }
174
+ ],
175
+ "name": "registerCustomInstruction",
176
+ "outputs": [
177
+ {
178
+ "internalType": "bytes32",
179
+ "name": "_customInstructionHash",
180
+ "type": "bytes32"
181
+ }
182
+ ],
183
+ "stateMutability": "nonpayable",
184
+ "type": "function"
185
+ }
186
+ ]
@@ -9,6 +9,11 @@
9
9
  "name": "InvalidAmount",
10
10
  "type": "error"
11
11
  },
12
+ {
13
+ "inputs": [],
14
+ "name": "InvalidCustomInstructionHash",
15
+ "type": "error"
16
+ },
12
17
  {
13
18
  "inputs": [
14
19
  {
@@ -218,6 +223,48 @@
218
223
  "name": "CollateralReserved",
219
224
  "type": "event"
220
225
  },
226
+ {
227
+ "anonymous": false,
228
+ "inputs": [
229
+ {
230
+ "indexed": true,
231
+ "internalType": "address",
232
+ "name": "personalAccount",
233
+ "type": "address"
234
+ },
235
+ {
236
+ "indexed": true,
237
+ "internalType": "bytes32",
238
+ "name": "callHash",
239
+ "type": "bytes32"
240
+ },
241
+ {
242
+ "components": [
243
+ {
244
+ "internalType": "address",
245
+ "name": "targetContract",
246
+ "type": "address"
247
+ },
248
+ {
249
+ "internalType": "uint256",
250
+ "name": "value",
251
+ "type": "uint256"
252
+ },
253
+ {
254
+ "internalType": "bytes",
255
+ "name": "data",
256
+ "type": "bytes"
257
+ }
258
+ ],
259
+ "indexed": false,
260
+ "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
261
+ "name": "customInstruction",
262
+ "type": "tuple[]"
263
+ }
264
+ ],
265
+ "name": "CustomInstructionExecuted",
266
+ "type": "event"
267
+ },
221
268
  {
222
269
  "anonymous": false,
223
270
  "inputs": [
@@ -64,6 +64,11 @@
64
64
  "name": "AgentsVaultsLengthsMismatch",
65
65
  "type": "error"
66
66
  },
67
+ {
68
+ "inputs": [],
69
+ "name": "EmptyCustomInstruction",
70
+ "type": "error"
71
+ },
67
72
  {
68
73
  "inputs": [
69
74
  {
@@ -96,6 +101,11 @@
96
101
  "name": "InvalidAmount",
97
102
  "type": "error"
98
103
  },
104
+ {
105
+ "inputs": [],
106
+ "name": "InvalidCustomInstructionHash",
107
+ "type": "error"
108
+ },
99
109
  {
100
110
  "inputs": [],
101
111
  "name": "InvalidExecutor",
@@ -279,6 +289,22 @@
279
289
  "name": "PersonalAccountNotSuccessfullyDeployed",
280
290
  "type": "error"
281
291
  },
292
+ {
293
+ "inputs": [],
294
+ "name": "TargetAddressZero",
295
+ "type": "error"
296
+ },
297
+ {
298
+ "inputs": [
299
+ {
300
+ "internalType": "address",
301
+ "name": "target",
302
+ "type": "address"
303
+ }
304
+ ],
305
+ "name": "TargetNotAContract",
306
+ "type": "error"
307
+ },
282
308
  {
283
309
  "inputs": [],
284
310
  "name": "TimelockDurationTooLong",
@@ -573,6 +599,74 @@
573
599
  "name": "CollateralReserved",
574
600
  "type": "event"
575
601
  },
602
+ {
603
+ "anonymous": false,
604
+ "inputs": [
605
+ {
606
+ "indexed": true,
607
+ "internalType": "bytes32",
608
+ "name": "customInstructionHash",
609
+ "type": "bytes32"
610
+ }
611
+ ],
612
+ "name": "CustomInstructionAlreadyRegistered",
613
+ "type": "event"
614
+ },
615
+ {
616
+ "anonymous": false,
617
+ "inputs": [
618
+ {
619
+ "indexed": true,
620
+ "internalType": "address",
621
+ "name": "personalAccount",
622
+ "type": "address"
623
+ },
624
+ {
625
+ "indexed": true,
626
+ "internalType": "bytes32",
627
+ "name": "callHash",
628
+ "type": "bytes32"
629
+ },
630
+ {
631
+ "components": [
632
+ {
633
+ "internalType": "address",
634
+ "name": "targetContract",
635
+ "type": "address"
636
+ },
637
+ {
638
+ "internalType": "uint256",
639
+ "name": "value",
640
+ "type": "uint256"
641
+ },
642
+ {
643
+ "internalType": "bytes",
644
+ "name": "data",
645
+ "type": "bytes"
646
+ }
647
+ ],
648
+ "indexed": false,
649
+ "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
650
+ "name": "customInstruction",
651
+ "type": "tuple[]"
652
+ }
653
+ ],
654
+ "name": "CustomInstructionExecuted",
655
+ "type": "event"
656
+ },
657
+ {
658
+ "anonymous": false,
659
+ "inputs": [
660
+ {
661
+ "indexed": true,
662
+ "internalType": "bytes32",
663
+ "name": "customInstructionHash",
664
+ "type": "bytes32"
665
+ }
666
+ ],
667
+ "name": "CustomInstructionRegistered",
668
+ "type": "event"
669
+ },
576
670
  {
577
671
  "anonymous": false,
578
672
  "inputs": [
@@ -1116,6 +1210,31 @@
1116
1210
  "name": "VaultAdded",
1117
1211
  "type": "event"
1118
1212
  },
1213
+ {
1214
+ "anonymous": false,
1215
+ "inputs": [
1216
+ {
1217
+ "indexed": true,
1218
+ "internalType": "uint256",
1219
+ "name": "vaultId",
1220
+ "type": "uint256"
1221
+ },
1222
+ {
1223
+ "indexed": true,
1224
+ "internalType": "address",
1225
+ "name": "vaultAddress",
1226
+ "type": "address"
1227
+ },
1228
+ {
1229
+ "indexed": true,
1230
+ "internalType": "uint8",
1231
+ "name": "vaultType",
1232
+ "type": "uint8"
1233
+ }
1234
+ ],
1235
+ "name": "VaultRemoved",
1236
+ "type": "event"
1237
+ },
1119
1238
  {
1120
1239
  "anonymous": false,
1121
1240
  "inputs": [
@@ -1213,6 +1332,42 @@
1213
1332
  "stateMutability": "nonpayable",
1214
1333
  "type": "function"
1215
1334
  },
1335
+ {
1336
+ "inputs": [
1337
+ {
1338
+ "components": [
1339
+ {
1340
+ "internalType": "address",
1341
+ "name": "targetContract",
1342
+ "type": "address"
1343
+ },
1344
+ {
1345
+ "internalType": "uint256",
1346
+ "name": "value",
1347
+ "type": "uint256"
1348
+ },
1349
+ {
1350
+ "internalType": "bytes",
1351
+ "name": "data",
1352
+ "type": "bytes"
1353
+ }
1354
+ ],
1355
+ "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
1356
+ "name": "_customInstruction",
1357
+ "type": "tuple[]"
1358
+ }
1359
+ ],
1360
+ "name": "encodeCustomInstruction",
1361
+ "outputs": [
1362
+ {
1363
+ "internalType": "bytes32",
1364
+ "name": "_customInstructionHash",
1365
+ "type": "bytes32"
1366
+ }
1367
+ ],
1368
+ "stateMutability": "pure",
1369
+ "type": "function"
1370
+ },
1216
1371
  {
1217
1372
  "inputs": [
1218
1373
  {
@@ -1617,6 +1772,71 @@
1617
1772
  "stateMutability": "view",
1618
1773
  "type": "function"
1619
1774
  },
1775
+ {
1776
+ "inputs": [
1777
+ {
1778
+ "internalType": "bytes32",
1779
+ "name": "_customInstructionHash",
1780
+ "type": "bytes32"
1781
+ }
1782
+ ],
1783
+ "name": "getCustomInstruction",
1784
+ "outputs": [
1785
+ {
1786
+ "components": [
1787
+ {
1788
+ "internalType": "address",
1789
+ "name": "targetContract",
1790
+ "type": "address"
1791
+ },
1792
+ {
1793
+ "internalType": "uint256",
1794
+ "name": "value",
1795
+ "type": "uint256"
1796
+ },
1797
+ {
1798
+ "internalType": "bytes",
1799
+ "name": "data",
1800
+ "type": "bytes"
1801
+ }
1802
+ ],
1803
+ "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
1804
+ "name": "_customInstruction",
1805
+ "type": "tuple[]"
1806
+ }
1807
+ ],
1808
+ "stateMutability": "view",
1809
+ "type": "function"
1810
+ },
1811
+ {
1812
+ "inputs": [
1813
+ {
1814
+ "internalType": "uint256",
1815
+ "name": "_start",
1816
+ "type": "uint256"
1817
+ },
1818
+ {
1819
+ "internalType": "uint256",
1820
+ "name": "_end",
1821
+ "type": "uint256"
1822
+ }
1823
+ ],
1824
+ "name": "getCustomInstructionHashes",
1825
+ "outputs": [
1826
+ {
1827
+ "internalType": "bytes32[]",
1828
+ "name": "_customInstructionHashes",
1829
+ "type": "bytes32[]"
1830
+ },
1831
+ {
1832
+ "internalType": "uint256",
1833
+ "name": "_totalLength",
1834
+ "type": "uint256"
1835
+ }
1836
+ ],
1837
+ "stateMutability": "view",
1838
+ "type": "function"
1839
+ },
1620
1840
  {
1621
1841
  "inputs": [],
1622
1842
  "name": "getDefaultInstructionFee",
@@ -1887,6 +2107,42 @@
1887
2107
  "stateMutability": "view",
1888
2108
  "type": "function"
1889
2109
  },
2110
+ {
2111
+ "inputs": [
2112
+ {
2113
+ "components": [
2114
+ {
2115
+ "internalType": "address",
2116
+ "name": "targetContract",
2117
+ "type": "address"
2118
+ },
2119
+ {
2120
+ "internalType": "uint256",
2121
+ "name": "value",
2122
+ "type": "uint256"
2123
+ },
2124
+ {
2125
+ "internalType": "bytes",
2126
+ "name": "data",
2127
+ "type": "bytes"
2128
+ }
2129
+ ],
2130
+ "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
2131
+ "name": "_customInstruction",
2132
+ "type": "tuple[]"
2133
+ }
2134
+ ],
2135
+ "name": "registerCustomInstruction",
2136
+ "outputs": [
2137
+ {
2138
+ "internalType": "bytes32",
2139
+ "name": "_customInstructionHash",
2140
+ "type": "bytes32"
2141
+ }
2142
+ ],
2143
+ "stateMutability": "nonpayable",
2144
+ "type": "function"
2145
+ },
1890
2146
  {
1891
2147
  "inputs": [
1892
2148
  {
@@ -14,6 +14,34 @@
14
14
  "name": "ApprovalFailed",
15
15
  "type": "error"
16
16
  },
17
+ {
18
+ "inputs": [
19
+ {
20
+ "components": [
21
+ {
22
+ "internalType": "address",
23
+ "name": "targetContract",
24
+ "type": "address"
25
+ },
26
+ {
27
+ "internalType": "uint256",
28
+ "name": "value",
29
+ "type": "uint256"
30
+ },
31
+ {
32
+ "internalType": "bytes",
33
+ "name": "data",
34
+ "type": "bytes"
35
+ }
36
+ ],
37
+ "internalType": "struct ICustomInstructionsFacet.CustomCall",
38
+ "name": "customCall",
39
+ "type": "tuple"
40
+ }
41
+ ],
42
+ "name": "CustomInstructionCallFailed",
43
+ "type": "error"
44
+ },
17
45
  {
18
46
  "inputs": [
19
47
  {
@@ -161,6 +189,36 @@
161
189
  "name": "CollateralReserved",
162
190
  "type": "event"
163
191
  },
192
+ {
193
+ "anonymous": false,
194
+ "inputs": [
195
+ {
196
+ "components": [
197
+ {
198
+ "internalType": "address",
199
+ "name": "targetContract",
200
+ "type": "address"
201
+ },
202
+ {
203
+ "internalType": "uint256",
204
+ "name": "value",
205
+ "type": "uint256"
206
+ },
207
+ {
208
+ "internalType": "bytes",
209
+ "name": "data",
210
+ "type": "bytes"
211
+ }
212
+ ],
213
+ "indexed": true,
214
+ "internalType": "struct ICustomInstructionsFacet.CustomCall[]",
215
+ "name": "customInstruction",
216
+ "type": "tuple[]"
217
+ }
218
+ ],
219
+ "name": "CustomInstructionExecuted",
220
+ "type": "event"
221
+ },
164
222
  {
165
223
  "anonymous": false,
166
224
  "inputs": [
@@ -95,6 +95,31 @@
95
95
  "name": "VaultAdded",
96
96
  "type": "event"
97
97
  },
98
+ {
99
+ "anonymous": false,
100
+ "inputs": [
101
+ {
102
+ "indexed": true,
103
+ "internalType": "uint256",
104
+ "name": "vaultId",
105
+ "type": "uint256"
106
+ },
107
+ {
108
+ "indexed": true,
109
+ "internalType": "address",
110
+ "name": "vaultAddress",
111
+ "type": "address"
112
+ },
113
+ {
114
+ "indexed": true,
115
+ "internalType": "uint8",
116
+ "name": "vaultType",
117
+ "type": "uint8"
118
+ }
119
+ ],
120
+ "name": "VaultRemoved",
121
+ "type": "event"
122
+ },
98
123
  {
99
124
  "inputs": [],
100
125
  "name": "getVaults",
@@ -676,6 +676,12 @@
676
676
  "name": "EmergencyPauseCanceled",
677
677
  "type": "event"
678
678
  },
679
+ {
680
+ "anonymous": false,
681
+ "inputs": [],
682
+ "name": "EmergencyPauseTotalDurationReset",
683
+ "type": "event"
684
+ },
679
685
  {
680
686
  "anonymous": false,
681
687
  "inputs": [
@@ -851,6 +857,19 @@
851
857
  "name": "MintingExecuted",
852
858
  "type": "event"
853
859
  },
860
+ {
861
+ "anonymous": false,
862
+ "inputs": [
863
+ {
864
+ "indexed": false,
865
+ "internalType": "bool",
866
+ "name": "paused",
867
+ "type": "bool"
868
+ }
869
+ ],
870
+ "name": "MintingPaused",
871
+ "type": "event"
872
+ },
854
873
  {
855
874
  "anonymous": false,
856
875
  "inputs": [
@@ -1909,7 +1928,7 @@
1909
1928
  },
1910
1929
  {
1911
1930
  "internalType": "uint256",
1912
- "name": "_valueNATWei",
1931
+ "name": "_valuePoolTokenWei",
1913
1932
  "type": "uint256"
1914
1933
  }
1915
1934
  ],