@nexusmutual/sdk 0.3.23 → 0.4.0

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.
Binary file
Binary file
Binary file
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexusmutual/sdk",
3
- "version": "0.3.23",
3
+ "version": "0.4.0",
4
4
  "description": "Nexus Mutual SDK",
5
5
  "scripts": {
6
6
  "build": "node scripts/build.js",
@@ -31,7 +31,7 @@
31
31
  "node": ">=11.14.0"
32
32
  },
33
33
  "dependencies": {
34
- "@nexusmutual/deployments": "^2.6.2",
34
+ "@nexusmutual/deployments": "^2.7.1",
35
35
  "axios": "^1.6.8",
36
36
  "rimraf": "^5.0.1",
37
37
  "svgo": "^3.0.2"
@@ -1,195 +0,0 @@
1
- [
2
- {
3
- "inputs": [
4
- {
5
- "internalType": "address",
6
- "name": "_quotationData",
7
- "type": "address"
8
- },
9
- {
10
- "internalType": "address",
11
- "name": "_productsV1",
12
- "type": "address"
13
- }
14
- ],
15
- "stateMutability": "nonpayable",
16
- "type": "constructor"
17
- },
18
- {
19
- "anonymous": false,
20
- "inputs": [
21
- {
22
- "indexed": false,
23
- "internalType": "uint256",
24
- "name": "coverIdV1",
25
- "type": "uint256"
26
- },
27
- {
28
- "indexed": false,
29
- "internalType": "uint256",
30
- "name": "coverIdV2",
31
- "type": "uint256"
32
- },
33
- {
34
- "indexed": false,
35
- "internalType": "address",
36
- "name": "newOwner",
37
- "type": "address"
38
- }
39
- ],
40
- "name": "CoverMigrated",
41
- "type": "event"
42
- },
43
- {
44
- "inputs": [],
45
- "name": "changeDependentContractAddress",
46
- "outputs": [],
47
- "stateMutability": "nonpayable",
48
- "type": "function"
49
- },
50
- {
51
- "inputs": [
52
- {
53
- "internalType": "address",
54
- "name": "masterAddress",
55
- "type": "address"
56
- }
57
- ],
58
- "name": "changeMasterAddress",
59
- "outputs": [],
60
- "stateMutability": "nonpayable",
61
- "type": "function"
62
- },
63
- {
64
- "inputs": [
65
- {
66
- "internalType": "uint256",
67
- "name": "",
68
- "type": "uint256"
69
- }
70
- ],
71
- "name": "internalContracts",
72
- "outputs": [
73
- {
74
- "internalType": "address payable",
75
- "name": "",
76
- "type": "address"
77
- }
78
- ],
79
- "stateMutability": "view",
80
- "type": "function"
81
- },
82
- {
83
- "inputs": [],
84
- "name": "master",
85
- "outputs": [
86
- {
87
- "internalType": "contract INXMMaster",
88
- "name": "",
89
- "type": "address"
90
- }
91
- ],
92
- "stateMutability": "view",
93
- "type": "function"
94
- },
95
- {
96
- "inputs": [
97
- {
98
- "internalType": "uint32",
99
- "name": "coverId",
100
- "type": "uint32"
101
- },
102
- {
103
- "internalType": "uint16",
104
- "name": "segmentId",
105
- "type": "uint16"
106
- },
107
- {
108
- "internalType": "uint96",
109
- "name": "requestedAmount",
110
- "type": "uint96"
111
- },
112
- {
113
- "internalType": "string",
114
- "name": "ipfsMetadata",
115
- "type": "string"
116
- }
117
- ],
118
- "name": "migrateAndSubmitClaim",
119
- "outputs": [
120
- {
121
- "internalType": "uint256",
122
- "name": "newCoverId",
123
- "type": "uint256"
124
- }
125
- ],
126
- "stateMutability": "payable",
127
- "type": "function"
128
- },
129
- {
130
- "inputs": [
131
- {
132
- "internalType": "uint256",
133
- "name": "coverId",
134
- "type": "uint256"
135
- },
136
- {
137
- "internalType": "address",
138
- "name": "msgSender",
139
- "type": "address"
140
- },
141
- {
142
- "internalType": "address",
143
- "name": "newOwner",
144
- "type": "address"
145
- }
146
- ],
147
- "name": "migrateCoverFrom",
148
- "outputs": [
149
- {
150
- "internalType": "uint256",
151
- "name": "newCoverId",
152
- "type": "uint256"
153
- }
154
- ],
155
- "stateMutability": "nonpayable",
156
- "type": "function"
157
- },
158
- {
159
- "inputs": [
160
- {
161
- "internalType": "uint256[]",
162
- "name": "coverIds",
163
- "type": "uint256[]"
164
- },
165
- {
166
- "internalType": "address",
167
- "name": "newOwner",
168
- "type": "address"
169
- }
170
- ],
171
- "name": "migrateCovers",
172
- "outputs": [
173
- {
174
- "internalType": "uint256[]",
175
- "name": "newCoverIds",
176
- "type": "uint256[]"
177
- }
178
- ],
179
- "stateMutability": "nonpayable",
180
- "type": "function"
181
- },
182
- {
183
- "inputs": [
184
- {
185
- "internalType": "uint256",
186
- "name": "coverId",
187
- "type": "uint256"
188
- }
189
- ],
190
- "name": "submitClaim",
191
- "outputs": [],
192
- "stateMutability": "nonpayable",
193
- "type": "function"
194
- }
195
- ]