@nexusmutual/sdk 1.12.0-rc.2 → 1.12.0-rc.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.
@@ -1,9 +1,14 @@
1
1
  [
2
2
  {
3
3
  "inputs": [
4
+ {
5
+ "internalType": "address",
6
+ "name": "_registry",
7
+ "type": "address"
8
+ },
4
9
  {
5
10
  "internalType": "uint256",
6
- "name": "spotPriceB",
11
+ "name": "initialSpotPriceB",
7
12
  "type": "uint256"
8
13
  }
9
14
  ],
@@ -36,6 +41,11 @@
36
41
  "name": "InsufficientAmountOut",
37
42
  "type": "error"
38
43
  },
44
+ {
45
+ "inputs": [],
46
+ "name": "LockedForVoting",
47
+ "type": "error"
48
+ },
39
49
  {
40
50
  "inputs": [],
41
51
  "name": "NoSwapsInBufferZone",
@@ -56,6 +66,32 @@
56
66
  "name": "OneInputRequired",
57
67
  "type": "error"
58
68
  },
69
+ {
70
+ "inputs": [],
71
+ "name": "OnlyMember",
72
+ "type": "error"
73
+ },
74
+ {
75
+ "inputs": [
76
+ {
77
+ "internalType": "uint256",
78
+ "name": "currentState",
79
+ "type": "uint256"
80
+ },
81
+ {
82
+ "internalType": "uint256",
83
+ "name": "checks",
84
+ "type": "uint256"
85
+ }
86
+ ],
87
+ "name": "Paused",
88
+ "type": "error"
89
+ },
90
+ {
91
+ "inputs": [],
92
+ "name": "ReentrantCall",
93
+ "type": "error"
94
+ },
59
95
  {
60
96
  "inputs": [
61
97
  {
@@ -82,6 +118,27 @@
82
118
  "name": "SystemPaused",
83
119
  "type": "error"
84
120
  },
121
+ {
122
+ "inputs": [
123
+ {
124
+ "internalType": "address",
125
+ "name": "caller",
126
+ "type": "address"
127
+ },
128
+ {
129
+ "internalType": "uint256",
130
+ "name": "callerIndex",
131
+ "type": "uint256"
132
+ },
133
+ {
134
+ "internalType": "uint256",
135
+ "name": "authorizedBitmap",
136
+ "type": "uint256"
137
+ }
138
+ ],
139
+ "name": "Unauthorized",
140
+ "type": "error"
141
+ },
85
142
  {
86
143
  "anonymous": false,
87
144
  "inputs": [],
@@ -696,26 +753,6 @@
696
753
  "stateMutability": "pure",
697
754
  "type": "function"
698
755
  },
699
- {
700
- "inputs": [],
701
- "name": "changeDependentContractAddress",
702
- "outputs": [],
703
- "stateMutability": "nonpayable",
704
- "type": "function"
705
- },
706
- {
707
- "inputs": [
708
- {
709
- "internalType": "address",
710
- "name": "masterAddress",
711
- "type": "address"
712
- }
713
- ],
714
- "name": "changeMasterAddress",
715
- "outputs": [],
716
- "stateMutability": "nonpayable",
717
- "type": "function"
718
- },
719
756
  {
720
757
  "inputs": [],
721
758
  "name": "ethLimit",
@@ -1011,22 +1048,10 @@
1011
1048
  "type": "function"
1012
1049
  },
1013
1050
  {
1014
- "inputs": [
1015
- {
1016
- "internalType": "uint256",
1017
- "name": "",
1018
- "type": "uint256"
1019
- }
1020
- ],
1021
- "name": "internalContracts",
1022
- "outputs": [
1023
- {
1024
- "internalType": "address payable",
1025
- "name": "",
1026
- "type": "address"
1027
- }
1028
- ],
1029
- "stateMutability": "view",
1051
+ "inputs": [],
1052
+ "name": "initialize",
1053
+ "outputs": [],
1054
+ "stateMutability": "nonpayable",
1030
1055
  "type": "function"
1031
1056
  },
1032
1057
  {
@@ -1074,19 +1099,6 @@
1074
1099
  "stateMutability": "view",
1075
1100
  "type": "function"
1076
1101
  },
1077
- {
1078
- "inputs": [],
1079
- "name": "master",
1080
- "outputs": [
1081
- {
1082
- "internalType": "contract INXMMaster",
1083
- "name": "",
1084
- "type": "address"
1085
- }
1086
- ],
1087
- "stateMutability": "view",
1088
- "type": "function"
1089
- },
1090
1102
  {
1091
1103
  "inputs": [],
1092
1104
  "name": "nxmLimit",
@@ -1142,6 +1154,19 @@
1142
1154
  "stateMutability": "view",
1143
1155
  "type": "function"
1144
1156
  },
1157
+ {
1158
+ "inputs": [],
1159
+ "name": "pool",
1160
+ "outputs": [
1161
+ {
1162
+ "internalType": "contract IPool",
1163
+ "name": "",
1164
+ "type": "address"
1165
+ }
1166
+ ],
1167
+ "stateMutability": "view",
1168
+ "type": "function"
1169
+ },
1145
1170
  {
1146
1171
  "inputs": [],
1147
1172
  "name": "ratchetSpeedB",
@@ -1155,6 +1180,19 @@
1155
1180
  "stateMutability": "view",
1156
1181
  "type": "function"
1157
1182
  },
1183
+ {
1184
+ "inputs": [],
1185
+ "name": "registry",
1186
+ "outputs": [
1187
+ {
1188
+ "internalType": "contract IRegistry",
1189
+ "name": "",
1190
+ "type": "address"
1191
+ }
1192
+ ],
1193
+ "stateMutability": "view",
1194
+ "type": "function"
1195
+ },
1158
1196
  {
1159
1197
  "inputs": [],
1160
1198
  "name": "removeBudget",
@@ -1180,19 +1218,6 @@
1180
1218
  "stateMutability": "nonpayable",
1181
1219
  "type": "function"
1182
1220
  },
1183
- {
1184
- "inputs": [
1185
- {
1186
- "internalType": "bool",
1187
- "name": "_swapPaused",
1188
- "type": "bool"
1189
- }
1190
- ],
1191
- "name": "setEmergencySwapPause",
1192
- "outputs": [],
1193
- "stateMutability": "nonpayable",
1194
- "type": "function"
1195
- },
1196
1221
  {
1197
1222
  "inputs": [],
1198
1223
  "name": "slot0",
@@ -1232,7 +1257,7 @@
1232
1257
  },
1233
1258
  {
1234
1259
  "internalType": "bool",
1235
- "name": "swapPaused",
1260
+ "name": "_unusedPause",
1236
1261
  "type": "bool"
1237
1262
  }
1238
1263
  ],
@@ -1270,12 +1295,12 @@
1270
1295
  },
1271
1296
  {
1272
1297
  "inputs": [],
1273
- "name": "swapPaused",
1298
+ "name": "tokenController",
1274
1299
  "outputs": [
1275
1300
  {
1276
- "internalType": "bool",
1301
+ "internalType": "contract ITokenController",
1277
1302
  "name": "",
1278
- "type": "bool"
1303
+ "type": "address"
1279
1304
  }
1280
1305
  ],
1281
1306
  "stateMutability": "view",