@nexusmutual/sdk 0.3.8 → 0.3.10

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.
@@ -15,6 +15,11 @@
15
15
  "internalType": "uint8[]",
16
16
  "name": "_assetDecimals",
17
17
  "type": "uint8[]"
18
+ },
19
+ {
20
+ "internalType": "address",
21
+ "name": "_safeTracker",
22
+ "type": "address"
18
23
  }
19
24
  ],
20
25
  "stateMutability": "nonpayable",
@@ -123,5 +128,18 @@
123
128
  ],
124
129
  "stateMutability": "view",
125
130
  "type": "function"
131
+ },
132
+ {
133
+ "inputs": [],
134
+ "name": "safeTracker",
135
+ "outputs": [
136
+ {
137
+ "internalType": "address",
138
+ "name": "",
139
+ "type": "address"
140
+ }
141
+ ],
142
+ "stateMutability": "view",
143
+ "type": "function"
126
144
  }
127
145
  ]
@@ -26,6 +26,21 @@
26
26
  "name": "_enzymeV4VaultProxyAddress",
27
27
  "type": "address"
28
28
  },
29
+ {
30
+ "internalType": "address",
31
+ "name": "_safe",
32
+ "type": "address"
33
+ },
34
+ {
35
+ "internalType": "address",
36
+ "name": "_dai",
37
+ "type": "address"
38
+ },
39
+ {
40
+ "internalType": "address",
41
+ "name": "_usdc",
42
+ "type": "address"
43
+ },
29
44
  {
30
45
  "internalType": "contract IEnzymeFundValueCalculatorRouter",
31
46
  "name": "_enzymeFundValueCalculatorRouter",
@@ -442,6 +457,25 @@
442
457
  "name": "Swapped",
443
458
  "type": "event"
444
459
  },
460
+ {
461
+ "anonymous": false,
462
+ "inputs": [
463
+ {
464
+ "indexed": false,
465
+ "internalType": "address",
466
+ "name": "asset",
467
+ "type": "address"
468
+ },
469
+ {
470
+ "indexed": false,
471
+ "internalType": "uint256",
472
+ "name": "amount",
473
+ "type": "uint256"
474
+ }
475
+ ],
476
+ "name": "TransferredToSafe",
477
+ "type": "event"
478
+ },
445
479
  {
446
480
  "inputs": [],
447
481
  "name": "ETH",
@@ -520,6 +554,25 @@
520
554
  "stateMutability": "view",
521
555
  "type": "function"
522
556
  },
557
+ {
558
+ "inputs": [
559
+ {
560
+ "internalType": "address",
561
+ "name": "",
562
+ "type": "address"
563
+ }
564
+ ],
565
+ "name": "allowedSafeTransferAssets",
566
+ "outputs": [
567
+ {
568
+ "internalType": "bool",
569
+ "name": "",
570
+ "type": "bool"
571
+ }
572
+ ],
573
+ "stateMutability": "view",
574
+ "type": "function"
575
+ },
523
576
  {
524
577
  "inputs": [
525
578
  {
@@ -972,6 +1025,37 @@
972
1025
  "stateMutability": "nonpayable",
973
1026
  "type": "function"
974
1027
  },
1028
+ {
1029
+ "inputs": [
1030
+ {
1031
+ "internalType": "address",
1032
+ "name": "asset",
1033
+ "type": "address"
1034
+ },
1035
+ {
1036
+ "internalType": "uint256",
1037
+ "name": "amount",
1038
+ "type": "uint256"
1039
+ }
1040
+ ],
1041
+ "name": "requestAsset",
1042
+ "outputs": [],
1043
+ "stateMutability": "nonpayable",
1044
+ "type": "function"
1045
+ },
1046
+ {
1047
+ "inputs": [],
1048
+ "name": "safe",
1049
+ "outputs": [
1050
+ {
1051
+ "internalType": "address",
1052
+ "name": "",
1053
+ "type": "address"
1054
+ }
1055
+ ],
1056
+ "stateMutability": "view",
1057
+ "type": "function"
1058
+ },
975
1059
  {
976
1060
  "inputs": [],
977
1061
  "name": "swapController",
@@ -1021,6 +1105,42 @@
1021
1105
  "stateMutability": "nonpayable",
1022
1106
  "type": "function"
1023
1107
  },
1108
+ {
1109
+ "inputs": [],
1110
+ "name": "transferRequest",
1111
+ "outputs": [
1112
+ {
1113
+ "internalType": "address",
1114
+ "name": "asset",
1115
+ "type": "address"
1116
+ },
1117
+ {
1118
+ "internalType": "uint256",
1119
+ "name": "amount",
1120
+ "type": "uint256"
1121
+ }
1122
+ ],
1123
+ "stateMutability": "view",
1124
+ "type": "function"
1125
+ },
1126
+ {
1127
+ "inputs": [
1128
+ {
1129
+ "internalType": "address",
1130
+ "name": "requestedAsset",
1131
+ "type": "address"
1132
+ },
1133
+ {
1134
+ "internalType": "uint256",
1135
+ "name": "requestedAmount",
1136
+ "type": "uint256"
1137
+ }
1138
+ ],
1139
+ "name": "transferRequestedAsset",
1140
+ "outputs": [],
1141
+ "stateMutability": "nonpayable",
1142
+ "type": "function"
1143
+ },
1024
1144
  {
1025
1145
  "inputs": [],
1026
1146
  "name": "weth",
@@ -1360,7 +1360,7 @@
1360
1360
  "DAI"
1361
1361
  ],
1362
1362
  "isPrivate": true,
1363
- "timestamp": 1684312727
1363
+ "timestamp": 1704980411
1364
1364
  },
1365
1365
  {
1366
1366
  "id": 84,
@@ -1422,7 +1422,7 @@
1422
1422
  "DAI"
1423
1423
  ],
1424
1424
  "isPrivate": true,
1425
- "timestamp": 1684312727
1425
+ "timestamp": 1704981731
1426
1426
  },
1427
1427
  {
1428
1428
  "id": 88,
@@ -1439,7 +1439,7 @@
1439
1439
  "DAI"
1440
1440
  ],
1441
1441
  "isPrivate": true,
1442
- "timestamp": 1684312727
1442
+ "timestamp": 1704980411
1443
1443
  },
1444
1444
  {
1445
1445
  "id": 89,
@@ -1516,7 +1516,7 @@
1516
1516
  "DAI"
1517
1517
  ],
1518
1518
  "isPrivate": true,
1519
- "timestamp": 1684312727
1519
+ "timestamp": 1704980411
1520
1520
  },
1521
1521
  {
1522
1522
  "id": 94,
@@ -1683,7 +1683,7 @@
1683
1683
  "DAI"
1684
1684
  ],
1685
1685
  "isPrivate": true,
1686
- "timestamp": 1704981731
1686
+ "timestamp": 1689782903
1687
1687
  },
1688
1688
  {
1689
1689
  "id": 105,
@@ -1700,7 +1700,7 @@
1700
1700
  "DAI"
1701
1701
  ],
1702
1702
  "isPrivate": true,
1703
- "timestamp": 1689782903
1703
+ "timestamp": 1704980411
1704
1704
  },
1705
1705
  {
1706
1706
  "id": 106,
@@ -1822,7 +1822,7 @@
1822
1822
  "DAI"
1823
1823
  ],
1824
1824
  "isPrivate": true,
1825
- "timestamp": 1691493035
1825
+ "timestamp": 1691495087
1826
1826
  },
1827
1827
  {
1828
1828
  "id": 114,
@@ -2240,7 +2240,7 @@
2240
2240
  "DAI"
2241
2241
  ],
2242
2242
  "isPrivate": false,
2243
- "timestamp": 1715349875
2243
+ "timestamp": 1710254231
2244
2244
  },
2245
2245
  {
2246
2246
  "id": 142,
@@ -2273,7 +2273,7 @@
2273
2273
  "ETH"
2274
2274
  ],
2275
2275
  "isPrivate": false,
2276
- "timestamp": 1710254231
2276
+ "timestamp": 1715349875
2277
2277
  },
2278
2278
  {
2279
2279
  "id": 144,
@@ -2371,7 +2371,7 @@
2371
2371
  "DAI"
2372
2372
  ],
2373
2373
  "isPrivate": false,
2374
- "timestamp": 1710850979
2374
+ "timestamp": 1715349875
2375
2375
  },
2376
2376
  {
2377
2377
  "id": 150,
@@ -2420,7 +2420,7 @@
2420
2420
  "DAI"
2421
2421
  ],
2422
2422
  "isPrivate": false,
2423
- "timestamp": 1715349875
2423
+ "timestamp": 1711473767
2424
2424
  },
2425
2425
  {
2426
2426
  "id": 153,
@@ -2452,7 +2452,7 @@
2452
2452
  "ETH"
2453
2453
  ],
2454
2454
  "isPrivate": false,
2455
- "timestamp": 1715349875
2455
+ "timestamp": 1711473767
2456
2456
  },
2457
2457
  {
2458
2458
  "id": 155,
@@ -2468,7 +2468,7 @@
2468
2468
  "ETH"
2469
2469
  ],
2470
2470
  "isPrivate": false,
2471
- "timestamp": 1715349875
2471
+ "timestamp": 1711473767
2472
2472
  },
2473
2473
  {
2474
2474
  "id": 156,
@@ -2516,7 +2516,7 @@
2516
2516
  "ETH"
2517
2517
  ],
2518
2518
  "isPrivate": false,
2519
- "timestamp": 1715349875
2519
+ "timestamp": 1712244083
2520
2520
  },
2521
2521
  {
2522
2522
  "id": 159,
@@ -2565,7 +2565,7 @@
2565
2565
  "ETH"
2566
2566
  ],
2567
2567
  "isPrivate": false,
2568
- "timestamp": 1715349875
2568
+ "timestamp": 1713185771
2569
2569
  },
2570
2570
  {
2571
2571
  "id": 162,