@flarenetwork/flare-periphery-contract-artifacts 0.1.39 → 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.
- package/coston/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
- package/coston/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
- package/coston/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
- package/coston/artifacts/contracts/IFAsset.sol/IFAsset.json +263 -0
- package/coston2/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
- package/coston2/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
- package/coston2/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
- package/coston2/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +186 -0
- package/coston2/artifacts/contracts/IFAsset.sol/IFAsset.json +263 -0
- package/coston2/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +61 -2
- package/coston2/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +310 -15
- package/coston2/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +72 -2
- package/coston2/artifacts/contracts/ISwapFacet.sol/ISwapFacet.json +37 -10
- package/coston2/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +25 -0
- package/dist/coston/abis.d.ts.map +1 -1
- package/dist/coston/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
- package/dist/coston/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
- package/dist/coston/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
- package/dist/coston/artifacts/contracts/IFAsset.sol/IFAsset.json +263 -0
- package/dist/coston2/abis.d.ts.map +1 -1
- package/dist/coston2/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
- package/dist/coston2/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
- package/dist/coston2/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
- package/dist/coston2/artifacts/contracts/ICustomInstructionsFacet.sol/ICustomInstructionsFacet.json +186 -0
- package/dist/coston2/artifacts/contracts/IFAsset.sol/IFAsset.json +263 -0
- package/dist/coston2/artifacts/contracts/IInstructionsFacet.sol/IInstructionsFacet.json +61 -2
- package/dist/coston2/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json +310 -15
- package/dist/coston2/artifacts/contracts/IPersonalAccount.sol/IPersonalAccount.json +72 -2
- package/dist/coston2/artifacts/contracts/ISwapFacet.sol/ISwapFacet.json +37 -10
- package/dist/coston2/artifacts/contracts/IVaultsFacet.sol/IVaultsFacet.json +25 -0
- package/dist/flare/abis.d.ts.map +1 -1
- package/dist/flare/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
- package/dist/flare/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
- package/dist/flare/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
- package/dist/flare/artifacts/contracts/IFAsset.sol/IFAsset.json +263 -0
- package/dist/index.js +10 -0
- package/dist/index.js.map +1 -1
- package/dist/songbird/abis.d.ts.map +1 -1
- package/dist/songbird/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
- package/dist/songbird/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
- package/dist/songbird/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
- package/dist/songbird/artifacts/contracts/IFAsset.sol/IFAsset.json +263 -0
- package/flare/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
- package/flare/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
- package/flare/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
- package/flare/artifacts/contracts/IFAsset.sol/IFAsset.json +263 -0
- package/package.json +1 -1
- package/songbird/artifacts/contracts/IAssetManager.sol/IAssetManager.json +20 -1
- package/songbird/artifacts/contracts/IAssetManagerController.sol/IAssetManagerController.json +26 -0
- package/songbird/artifacts/contracts/IAssetManagerEvents.sol/IAssetManagerEvents.json +19 -0
- package/songbird/artifacts/contracts/IFAsset.sol/IFAsset.json +263 -0
package/coston2/artifacts/contracts/IMasterAccountController.sol/IMasterAccountController.json
CHANGED
|
@@ -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",
|
|
@@ -106,6 +116,11 @@
|
|
|
106
116
|
"name": "InvalidExecutorFee",
|
|
107
117
|
"type": "error"
|
|
108
118
|
},
|
|
119
|
+
{
|
|
120
|
+
"inputs": [],
|
|
121
|
+
"name": "InvalidFeedId",
|
|
122
|
+
"type": "error"
|
|
123
|
+
},
|
|
109
124
|
{
|
|
110
125
|
"inputs": [
|
|
111
126
|
{
|
|
@@ -192,27 +207,27 @@
|
|
|
192
207
|
},
|
|
193
208
|
{
|
|
194
209
|
"inputs": [],
|
|
195
|
-
"name": "
|
|
210
|
+
"name": "InvalidStableCoin",
|
|
196
211
|
"type": "error"
|
|
197
212
|
},
|
|
198
213
|
{
|
|
199
214
|
"inputs": [],
|
|
200
|
-
"name": "
|
|
215
|
+
"name": "InvalidTransactionId",
|
|
201
216
|
"type": "error"
|
|
202
217
|
},
|
|
203
218
|
{
|
|
204
219
|
"inputs": [],
|
|
205
|
-
"name": "
|
|
220
|
+
"name": "InvalidTransactionProof",
|
|
206
221
|
"type": "error"
|
|
207
222
|
},
|
|
208
223
|
{
|
|
209
224
|
"inputs": [],
|
|
210
|
-
"name": "
|
|
225
|
+
"name": "InvalidTransactionStatus",
|
|
211
226
|
"type": "error"
|
|
212
227
|
},
|
|
213
228
|
{
|
|
214
229
|
"inputs": [],
|
|
215
|
-
"name": "
|
|
230
|
+
"name": "InvalidUniswapV3Router",
|
|
216
231
|
"type": "error"
|
|
217
232
|
},
|
|
218
233
|
{
|
|
@@ -274,6 +289,22 @@
|
|
|
274
289
|
"name": "PersonalAccountNotSuccessfullyDeployed",
|
|
275
290
|
"type": "error"
|
|
276
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
|
+
},
|
|
277
308
|
{
|
|
278
309
|
"inputs": [],
|
|
279
310
|
"name": "TimelockDurationTooLong",
|
|
@@ -568,6 +599,74 @@
|
|
|
568
599
|
"name": "CollateralReserved",
|
|
569
600
|
"type": "event"
|
|
570
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
|
+
},
|
|
571
670
|
{
|
|
572
671
|
"anonymous": false,
|
|
573
672
|
"inputs": [
|
|
@@ -899,13 +998,25 @@
|
|
|
899
998
|
{
|
|
900
999
|
"indexed": false,
|
|
901
1000
|
"internalType": "uint256",
|
|
902
|
-
"name": "
|
|
1001
|
+
"name": "claimableEpoch",
|
|
903
1002
|
"type": "uint256"
|
|
904
1003
|
},
|
|
905
1004
|
{
|
|
906
1005
|
"indexed": false,
|
|
907
1006
|
"internalType": "uint256",
|
|
908
|
-
"name": "
|
|
1007
|
+
"name": "year",
|
|
1008
|
+
"type": "uint256"
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"indexed": false,
|
|
1012
|
+
"internalType": "uint256",
|
|
1013
|
+
"name": "month",
|
|
1014
|
+
"type": "uint256"
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
"indexed": false,
|
|
1018
|
+
"internalType": "uint256",
|
|
1019
|
+
"name": "day",
|
|
909
1020
|
"type": "uint256"
|
|
910
1021
|
}
|
|
911
1022
|
],
|
|
@@ -998,19 +1109,19 @@
|
|
|
998
1109
|
{
|
|
999
1110
|
"indexed": false,
|
|
1000
1111
|
"internalType": "address",
|
|
1001
|
-
"name": "
|
|
1112
|
+
"name": "stableCoin",
|
|
1002
1113
|
"type": "address"
|
|
1003
1114
|
},
|
|
1004
1115
|
{
|
|
1005
1116
|
"indexed": false,
|
|
1006
1117
|
"internalType": "uint24",
|
|
1007
|
-
"name": "
|
|
1118
|
+
"name": "wNatStableCoinPoolFeeTierPPM",
|
|
1008
1119
|
"type": "uint24"
|
|
1009
1120
|
},
|
|
1010
1121
|
{
|
|
1011
1122
|
"indexed": false,
|
|
1012
1123
|
"internalType": "uint24",
|
|
1013
|
-
"name": "
|
|
1124
|
+
"name": "stableCoinFXrpPoolFeeTierPPM",
|
|
1014
1125
|
"type": "uint24"
|
|
1015
1126
|
},
|
|
1016
1127
|
{
|
|
@@ -1018,6 +1129,18 @@
|
|
|
1018
1129
|
"internalType": "uint24",
|
|
1019
1130
|
"name": "maxSlippagePPM",
|
|
1020
1131
|
"type": "uint24"
|
|
1132
|
+
},
|
|
1133
|
+
{
|
|
1134
|
+
"indexed": false,
|
|
1135
|
+
"internalType": "bytes21",
|
|
1136
|
+
"name": "stableCoinUsdFeedId",
|
|
1137
|
+
"type": "bytes21"
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
"indexed": false,
|
|
1141
|
+
"internalType": "bytes21",
|
|
1142
|
+
"name": "wNatUsdFeedId",
|
|
1143
|
+
"type": "bytes21"
|
|
1021
1144
|
}
|
|
1022
1145
|
],
|
|
1023
1146
|
"name": "SwapParamsSet",
|
|
@@ -1087,6 +1210,31 @@
|
|
|
1087
1210
|
"name": "VaultAdded",
|
|
1088
1211
|
"type": "event"
|
|
1089
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
|
+
},
|
|
1090
1238
|
{
|
|
1091
1239
|
"anonymous": false,
|
|
1092
1240
|
"inputs": [
|
|
@@ -1184,6 +1332,42 @@
|
|
|
1184
1332
|
"stateMutability": "nonpayable",
|
|
1185
1333
|
"type": "function"
|
|
1186
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
|
+
},
|
|
1187
1371
|
{
|
|
1188
1372
|
"inputs": [
|
|
1189
1373
|
{
|
|
@@ -1588,6 +1772,71 @@
|
|
|
1588
1772
|
"stateMutability": "view",
|
|
1589
1773
|
"type": "function"
|
|
1590
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
|
+
},
|
|
1591
1840
|
{
|
|
1592
1841
|
"inputs": [],
|
|
1593
1842
|
"name": "getDefaultInstructionFee",
|
|
@@ -1713,23 +1962,33 @@
|
|
|
1713
1962
|
},
|
|
1714
1963
|
{
|
|
1715
1964
|
"internalType": "address",
|
|
1716
|
-
"name": "
|
|
1965
|
+
"name": "_stableCoin",
|
|
1717
1966
|
"type": "address"
|
|
1718
1967
|
},
|
|
1719
1968
|
{
|
|
1720
1969
|
"internalType": "uint24",
|
|
1721
|
-
"name": "
|
|
1970
|
+
"name": "_wNatStableCoinPoolFeeTierPPM",
|
|
1722
1971
|
"type": "uint24"
|
|
1723
1972
|
},
|
|
1724
1973
|
{
|
|
1725
1974
|
"internalType": "uint24",
|
|
1726
|
-
"name": "
|
|
1975
|
+
"name": "_stableCoinFXrpPoolFeeTierPPM",
|
|
1727
1976
|
"type": "uint24"
|
|
1728
1977
|
},
|
|
1729
1978
|
{
|
|
1730
1979
|
"internalType": "uint24",
|
|
1731
1980
|
"name": "_maxSlippagePPM",
|
|
1732
1981
|
"type": "uint24"
|
|
1982
|
+
},
|
|
1983
|
+
{
|
|
1984
|
+
"internalType": "bytes21",
|
|
1985
|
+
"name": "_stableCoinUsdFeedId",
|
|
1986
|
+
"type": "bytes21"
|
|
1987
|
+
},
|
|
1988
|
+
{
|
|
1989
|
+
"internalType": "bytes21",
|
|
1990
|
+
"name": "_wNatUsdFeedId",
|
|
1991
|
+
"type": "bytes21"
|
|
1733
1992
|
}
|
|
1734
1993
|
],
|
|
1735
1994
|
"stateMutability": "view",
|
|
@@ -1848,6 +2107,42 @@
|
|
|
1848
2107
|
"stateMutability": "view",
|
|
1849
2108
|
"type": "function"
|
|
1850
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
|
+
},
|
|
1851
2146
|
{
|
|
1852
2147
|
"inputs": [
|
|
1853
2148
|
{
|
|
@@ -1904,7 +2199,7 @@
|
|
|
1904
2199
|
"type": "string"
|
|
1905
2200
|
}
|
|
1906
2201
|
],
|
|
1907
|
-
"name": "
|
|
2202
|
+
"name": "swapStableCoinForFAsset",
|
|
1908
2203
|
"outputs": [],
|
|
1909
2204
|
"stateMutability": "nonpayable",
|
|
1910
2205
|
"type": "function"
|
|
@@ -1917,7 +2212,7 @@
|
|
|
1917
2212
|
"type": "string"
|
|
1918
2213
|
}
|
|
1919
2214
|
],
|
|
1920
|
-
"name": "
|
|
2215
|
+
"name": "swapWNatForStableCoin",
|
|
1921
2216
|
"outputs": [],
|
|
1922
2217
|
"stateMutability": "nonpayable",
|
|
1923
2218
|
"type": "function"
|
|
@@ -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": [
|
|
@@ -254,13 +312,25 @@
|
|
|
254
312
|
{
|
|
255
313
|
"indexed": false,
|
|
256
314
|
"internalType": "uint256",
|
|
257
|
-
"name": "
|
|
315
|
+
"name": "claimableEpoch",
|
|
258
316
|
"type": "uint256"
|
|
259
317
|
},
|
|
260
318
|
{
|
|
261
319
|
"indexed": false,
|
|
262
320
|
"internalType": "uint256",
|
|
263
|
-
"name": "
|
|
321
|
+
"name": "year",
|
|
322
|
+
"type": "uint256"
|
|
323
|
+
},
|
|
324
|
+
{
|
|
325
|
+
"indexed": false,
|
|
326
|
+
"internalType": "uint256",
|
|
327
|
+
"name": "month",
|
|
328
|
+
"type": "uint256"
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"indexed": false,
|
|
332
|
+
"internalType": "uint256",
|
|
333
|
+
"name": "day",
|
|
264
334
|
"type": "uint256"
|
|
265
335
|
}
|
|
266
336
|
],
|
|
@@ -1,4 +1,9 @@
|
|
|
1
1
|
[
|
|
2
|
+
{
|
|
3
|
+
"inputs": [],
|
|
4
|
+
"name": "InvalidFeedId",
|
|
5
|
+
"type": "error"
|
|
6
|
+
},
|
|
2
7
|
{
|
|
3
8
|
"inputs": [],
|
|
4
9
|
"name": "InvalidMaxSlippagePPM",
|
|
@@ -11,12 +16,12 @@
|
|
|
11
16
|
},
|
|
12
17
|
{
|
|
13
18
|
"inputs": [],
|
|
14
|
-
"name": "
|
|
19
|
+
"name": "InvalidStableCoin",
|
|
15
20
|
"type": "error"
|
|
16
21
|
},
|
|
17
22
|
{
|
|
18
23
|
"inputs": [],
|
|
19
|
-
"name": "
|
|
24
|
+
"name": "InvalidUniswapV3Router",
|
|
20
25
|
"type": "error"
|
|
21
26
|
},
|
|
22
27
|
{
|
|
@@ -74,19 +79,19 @@
|
|
|
74
79
|
{
|
|
75
80
|
"indexed": false,
|
|
76
81
|
"internalType": "address",
|
|
77
|
-
"name": "
|
|
82
|
+
"name": "stableCoin",
|
|
78
83
|
"type": "address"
|
|
79
84
|
},
|
|
80
85
|
{
|
|
81
86
|
"indexed": false,
|
|
82
87
|
"internalType": "uint24",
|
|
83
|
-
"name": "
|
|
88
|
+
"name": "wNatStableCoinPoolFeeTierPPM",
|
|
84
89
|
"type": "uint24"
|
|
85
90
|
},
|
|
86
91
|
{
|
|
87
92
|
"indexed": false,
|
|
88
93
|
"internalType": "uint24",
|
|
89
|
-
"name": "
|
|
94
|
+
"name": "stableCoinFXrpPoolFeeTierPPM",
|
|
90
95
|
"type": "uint24"
|
|
91
96
|
},
|
|
92
97
|
{
|
|
@@ -94,6 +99,18 @@
|
|
|
94
99
|
"internalType": "uint24",
|
|
95
100
|
"name": "maxSlippagePPM",
|
|
96
101
|
"type": "uint24"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"indexed": false,
|
|
105
|
+
"internalType": "bytes21",
|
|
106
|
+
"name": "stableCoinUsdFeedId",
|
|
107
|
+
"type": "bytes21"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"indexed": false,
|
|
111
|
+
"internalType": "bytes21",
|
|
112
|
+
"name": "wNatUsdFeedId",
|
|
113
|
+
"type": "bytes21"
|
|
97
114
|
}
|
|
98
115
|
],
|
|
99
116
|
"name": "SwapParamsSet",
|
|
@@ -110,23 +127,33 @@
|
|
|
110
127
|
},
|
|
111
128
|
{
|
|
112
129
|
"internalType": "address",
|
|
113
|
-
"name": "
|
|
130
|
+
"name": "_stableCoin",
|
|
114
131
|
"type": "address"
|
|
115
132
|
},
|
|
116
133
|
{
|
|
117
134
|
"internalType": "uint24",
|
|
118
|
-
"name": "
|
|
135
|
+
"name": "_wNatStableCoinPoolFeeTierPPM",
|
|
119
136
|
"type": "uint24"
|
|
120
137
|
},
|
|
121
138
|
{
|
|
122
139
|
"internalType": "uint24",
|
|
123
|
-
"name": "
|
|
140
|
+
"name": "_stableCoinFXrpPoolFeeTierPPM",
|
|
124
141
|
"type": "uint24"
|
|
125
142
|
},
|
|
126
143
|
{
|
|
127
144
|
"internalType": "uint24",
|
|
128
145
|
"name": "_maxSlippagePPM",
|
|
129
146
|
"type": "uint24"
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"internalType": "bytes21",
|
|
150
|
+
"name": "_stableCoinUsdFeedId",
|
|
151
|
+
"type": "bytes21"
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"internalType": "bytes21",
|
|
155
|
+
"name": "_wNatUsdFeedId",
|
|
156
|
+
"type": "bytes21"
|
|
130
157
|
}
|
|
131
158
|
],
|
|
132
159
|
"stateMutability": "view",
|
|
@@ -140,7 +167,7 @@
|
|
|
140
167
|
"type": "string"
|
|
141
168
|
}
|
|
142
169
|
],
|
|
143
|
-
"name": "
|
|
170
|
+
"name": "swapStableCoinForFAsset",
|
|
144
171
|
"outputs": [],
|
|
145
172
|
"stateMutability": "nonpayable",
|
|
146
173
|
"type": "function"
|
|
@@ -153,7 +180,7 @@
|
|
|
153
180
|
"type": "string"
|
|
154
181
|
}
|
|
155
182
|
],
|
|
156
|
-
"name": "
|
|
183
|
+
"name": "swapWNatForStableCoin",
|
|
157
184
|
"outputs": [],
|
|
158
185
|
"stateMutability": "nonpayable",
|
|
159
186
|
"type": "function"
|