@verified-network/verified-sdk 2.5.6 → 2.5.8
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/dist/abi/distribution/Distribution.json +38 -36621
- package/dist/abi/liquidity/Liquidity.json +100 -72279
- package/dist/abi/payments/Bond.json +546 -383
- package/dist/abi/payments/Cash.json +404 -278
- package/dist/abi/payments/ERC20.json +147 -77
- package/dist/abi/payments/Factory.json +253 -373
- package/dist/abi/payments/Rates.json +38 -17
- package/dist/abi/payments/Token.json +246 -147
- package/dist/contract/liquidity/index.d.ts +5 -34
- package/dist/contract/liquidity/index.js +9 -61
- package/dist/contractAddress/index.js +25 -25
- package/package.json +1 -1
|
@@ -2,400 +2,308 @@
|
|
|
2
2
|
"contractName": "Factory",
|
|
3
3
|
"abi": [
|
|
4
4
|
{
|
|
5
|
-
"
|
|
5
|
+
"inputs": [],
|
|
6
|
+
"name": "FailedDeployment",
|
|
7
|
+
"type": "error"
|
|
8
|
+
},
|
|
9
|
+
{
|
|
6
10
|
"inputs": [
|
|
7
11
|
{
|
|
8
|
-
"
|
|
12
|
+
"internalType": "uint256",
|
|
13
|
+
"name": "balance",
|
|
9
14
|
"type": "uint256"
|
|
10
15
|
},
|
|
11
16
|
{
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
{
|
|
16
|
-
"name": "_admin",
|
|
17
|
-
"type": "address"
|
|
18
|
-
},
|
|
19
|
-
{
|
|
20
|
-
"name": "_data",
|
|
21
|
-
"type": "bytes"
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
"name": "_signature",
|
|
25
|
-
"type": "bytes"
|
|
17
|
+
"internalType": "uint256",
|
|
18
|
+
"name": "needed",
|
|
19
|
+
"type": "uint256"
|
|
26
20
|
}
|
|
27
21
|
],
|
|
28
|
-
"name": "
|
|
29
|
-
"
|
|
22
|
+
"name": "InsufficientBalance",
|
|
23
|
+
"type": "error"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"inputs": [],
|
|
27
|
+
"name": "InvalidInitialization",
|
|
28
|
+
"type": "error"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"inputs": [],
|
|
32
|
+
"name": "NotInitializing",
|
|
33
|
+
"type": "error"
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"inputs": [
|
|
30
37
|
{
|
|
31
|
-
"
|
|
38
|
+
"internalType": "address",
|
|
39
|
+
"name": "owner",
|
|
32
40
|
"type": "address"
|
|
33
41
|
}
|
|
34
42
|
],
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"type": "function"
|
|
43
|
+
"name": "OwnableInvalidOwner",
|
|
44
|
+
"type": "error"
|
|
38
45
|
},
|
|
39
46
|
{
|
|
40
|
-
"constant": false,
|
|
41
47
|
"inputs": [
|
|
42
48
|
{
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
},
|
|
46
|
-
{
|
|
47
|
-
"name": "_logic",
|
|
49
|
+
"internalType": "address",
|
|
50
|
+
"name": "account",
|
|
48
51
|
"type": "address"
|
|
49
|
-
}
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"name": "OwnableUnauthorizedAccount",
|
|
55
|
+
"type": "error"
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"anonymous": false,
|
|
59
|
+
"inputs": [
|
|
50
60
|
{
|
|
51
|
-
"
|
|
61
|
+
"indexed": true,
|
|
62
|
+
"internalType": "address",
|
|
63
|
+
"name": "issuer",
|
|
52
64
|
"type": "address"
|
|
53
65
|
},
|
|
54
66
|
{
|
|
55
|
-
"
|
|
56
|
-
"
|
|
67
|
+
"indexed": false,
|
|
68
|
+
"internalType": "bytes32",
|
|
69
|
+
"name": "tokenName",
|
|
70
|
+
"type": "bytes32"
|
|
57
71
|
},
|
|
58
72
|
{
|
|
59
|
-
"
|
|
60
|
-
"
|
|
73
|
+
"indexed": false,
|
|
74
|
+
"internalType": "bytes32",
|
|
75
|
+
"name": "tokenType",
|
|
76
|
+
"type": "bytes32"
|
|
61
77
|
}
|
|
62
78
|
],
|
|
63
|
-
"name": "
|
|
64
|
-
"
|
|
79
|
+
"name": "BondIssuerCreated",
|
|
80
|
+
"type": "event"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"anonymous": false,
|
|
84
|
+
"inputs": [
|
|
65
85
|
{
|
|
66
|
-
"
|
|
86
|
+
"indexed": true,
|
|
87
|
+
"internalType": "address",
|
|
88
|
+
"name": "issuer",
|
|
67
89
|
"type": "address"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"indexed": false,
|
|
93
|
+
"internalType": "bytes32",
|
|
94
|
+
"name": "tokenName",
|
|
95
|
+
"type": "bytes32"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"indexed": false,
|
|
99
|
+
"internalType": "bytes32",
|
|
100
|
+
"name": "tokenType",
|
|
101
|
+
"type": "bytes32"
|
|
68
102
|
}
|
|
69
103
|
],
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"type": "function"
|
|
104
|
+
"name": "CashIssuerCreated",
|
|
105
|
+
"type": "event"
|
|
73
106
|
},
|
|
74
107
|
{
|
|
75
|
-
"
|
|
108
|
+
"anonymous": false,
|
|
76
109
|
"inputs": [
|
|
77
110
|
{
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
"name": "tokens",
|
|
83
|
-
"outputs": [
|
|
84
|
-
{
|
|
85
|
-
"name": "",
|
|
86
|
-
"type": "address"
|
|
111
|
+
"indexed": false,
|
|
112
|
+
"internalType": "uint64",
|
|
113
|
+
"name": "version",
|
|
114
|
+
"type": "uint64"
|
|
87
115
|
}
|
|
88
116
|
],
|
|
89
|
-
"
|
|
90
|
-
"
|
|
91
|
-
"type": "function"
|
|
117
|
+
"name": "Initialized",
|
|
118
|
+
"type": "event"
|
|
92
119
|
},
|
|
93
120
|
{
|
|
94
|
-
"
|
|
121
|
+
"anonymous": false,
|
|
95
122
|
"inputs": [
|
|
96
123
|
{
|
|
97
|
-
"
|
|
98
|
-
"
|
|
99
|
-
|
|
100
|
-
{
|
|
101
|
-
"name": "_logic",
|
|
102
|
-
"type": "address"
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
"name": "_admin",
|
|
124
|
+
"indexed": true,
|
|
125
|
+
"internalType": "address",
|
|
126
|
+
"name": "previousOwner",
|
|
106
127
|
"type": "address"
|
|
107
128
|
},
|
|
108
129
|
{
|
|
109
|
-
"
|
|
110
|
-
"
|
|
111
|
-
|
|
112
|
-
],
|
|
113
|
-
"name": "deploy",
|
|
114
|
-
"outputs": [
|
|
115
|
-
{
|
|
116
|
-
"name": "",
|
|
130
|
+
"indexed": true,
|
|
131
|
+
"internalType": "address",
|
|
132
|
+
"name": "newOwner",
|
|
117
133
|
"type": "address"
|
|
118
134
|
}
|
|
119
135
|
],
|
|
120
|
-
"
|
|
121
|
-
"
|
|
122
|
-
"type": "function"
|
|
136
|
+
"name": "OwnershipTransferred",
|
|
137
|
+
"type": "event"
|
|
123
138
|
},
|
|
124
139
|
{
|
|
125
|
-
"
|
|
140
|
+
"anonymous": false,
|
|
126
141
|
"inputs": [
|
|
127
142
|
{
|
|
128
|
-
"
|
|
143
|
+
"indexed": true,
|
|
144
|
+
"internalType": "address",
|
|
145
|
+
"name": "token",
|
|
129
146
|
"type": "address"
|
|
130
|
-
}
|
|
131
|
-
],
|
|
132
|
-
"name": "token",
|
|
133
|
-
"outputs": [
|
|
147
|
+
},
|
|
134
148
|
{
|
|
135
|
-
"
|
|
149
|
+
"indexed": false,
|
|
150
|
+
"internalType": "bytes32",
|
|
151
|
+
"name": "tokenName",
|
|
136
152
|
"type": "bytes32"
|
|
137
153
|
},
|
|
138
154
|
{
|
|
139
|
-
"
|
|
155
|
+
"indexed": false,
|
|
156
|
+
"internalType": "bytes32",
|
|
157
|
+
"name": "tokenType",
|
|
140
158
|
"type": "bytes32"
|
|
141
159
|
}
|
|
142
160
|
],
|
|
143
|
-
"
|
|
144
|
-
"
|
|
145
|
-
"type": "function"
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
"constant": false,
|
|
149
|
-
"inputs": [],
|
|
150
|
-
"name": "renounceOwnership",
|
|
151
|
-
"outputs": [],
|
|
152
|
-
"payable": false,
|
|
153
|
-
"stateMutability": "nonpayable",
|
|
154
|
-
"type": "function"
|
|
161
|
+
"name": "TokenCreated",
|
|
162
|
+
"type": "event"
|
|
155
163
|
},
|
|
156
164
|
{
|
|
157
|
-
"constant": true,
|
|
158
165
|
"inputs": [
|
|
159
166
|
{
|
|
160
|
-
"
|
|
167
|
+
"internalType": "uint256",
|
|
168
|
+
"name": "",
|
|
161
169
|
"type": "uint256"
|
|
162
|
-
},
|
|
163
|
-
{
|
|
164
|
-
"name": "_sender",
|
|
165
|
-
"type": "address"
|
|
166
170
|
}
|
|
167
171
|
],
|
|
168
|
-
"name": "
|
|
172
|
+
"name": "currencies",
|
|
169
173
|
"outputs": [
|
|
170
174
|
{
|
|
175
|
+
"internalType": "bytes32",
|
|
171
176
|
"name": "",
|
|
172
|
-
"type": "
|
|
177
|
+
"type": "bytes32"
|
|
173
178
|
}
|
|
174
179
|
],
|
|
175
|
-
"payable": false,
|
|
176
180
|
"stateMutability": "view",
|
|
177
|
-
"type": "function"
|
|
181
|
+
"type": "function",
|
|
182
|
+
"constant": true
|
|
178
183
|
},
|
|
179
184
|
{
|
|
180
|
-
"constant": true,
|
|
181
185
|
"inputs": [],
|
|
182
186
|
"name": "owner",
|
|
183
187
|
"outputs": [
|
|
184
188
|
{
|
|
189
|
+
"internalType": "address",
|
|
185
190
|
"name": "",
|
|
186
191
|
"type": "address"
|
|
187
192
|
}
|
|
188
193
|
],
|
|
189
|
-
"payable": false,
|
|
190
194
|
"stateMutability": "view",
|
|
191
|
-
"type": "function"
|
|
195
|
+
"type": "function",
|
|
196
|
+
"constant": true
|
|
192
197
|
},
|
|
193
198
|
{
|
|
194
|
-
"constant": true,
|
|
195
199
|
"inputs": [],
|
|
196
|
-
"name": "
|
|
197
|
-
"outputs": [
|
|
198
|
-
{
|
|
199
|
-
"name": "",
|
|
200
|
-
"type": "bool"
|
|
201
|
-
}
|
|
202
|
-
],
|
|
203
|
-
"payable": false,
|
|
204
|
-
"stateMutability": "view",
|
|
205
|
-
"type": "function"
|
|
206
|
-
},
|
|
207
|
-
{
|
|
208
|
-
"constant": false,
|
|
209
|
-
"inputs": [
|
|
210
|
-
{
|
|
211
|
-
"name": "_logic",
|
|
212
|
-
"type": "address"
|
|
213
|
-
},
|
|
214
|
-
{
|
|
215
|
-
"name": "_data",
|
|
216
|
-
"type": "bytes"
|
|
217
|
-
}
|
|
218
|
-
],
|
|
219
|
-
"name": "deployMinimal",
|
|
220
|
-
"outputs": [
|
|
221
|
-
{
|
|
222
|
-
"name": "proxy",
|
|
223
|
-
"type": "address"
|
|
224
|
-
}
|
|
225
|
-
],
|
|
226
|
-
"payable": false,
|
|
227
|
-
"stateMutability": "nonpayable",
|
|
228
|
-
"type": "function"
|
|
229
|
-
},
|
|
230
|
-
{
|
|
231
|
-
"constant": false,
|
|
232
|
-
"inputs": [
|
|
233
|
-
{
|
|
234
|
-
"name": "newOwner",
|
|
235
|
-
"type": "address"
|
|
236
|
-
}
|
|
237
|
-
],
|
|
238
|
-
"name": "transferOwnership",
|
|
200
|
+
"name": "renounceOwnership",
|
|
239
201
|
"outputs": [],
|
|
240
|
-
"payable": false,
|
|
241
202
|
"stateMutability": "nonpayable",
|
|
242
203
|
"type": "function"
|
|
243
204
|
},
|
|
244
205
|
{
|
|
245
|
-
"constant": true,
|
|
246
206
|
"inputs": [
|
|
247
207
|
{
|
|
208
|
+
"internalType": "address",
|
|
248
209
|
"name": "",
|
|
249
|
-
"type": "
|
|
210
|
+
"type": "address"
|
|
250
211
|
}
|
|
251
212
|
],
|
|
252
|
-
"name": "
|
|
213
|
+
"name": "token",
|
|
253
214
|
"outputs": [
|
|
254
215
|
{
|
|
255
|
-
"
|
|
256
|
-
"
|
|
257
|
-
}
|
|
258
|
-
],
|
|
259
|
-
"payable": false,
|
|
260
|
-
"stateMutability": "view",
|
|
261
|
-
"type": "function"
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
"anonymous": false,
|
|
265
|
-
"inputs": [
|
|
266
|
-
{
|
|
267
|
-
"indexed": true,
|
|
268
|
-
"name": "issuer",
|
|
269
|
-
"type": "address"
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
"indexed": false,
|
|
273
|
-
"name": "tokenName",
|
|
216
|
+
"internalType": "bytes32",
|
|
217
|
+
"name": "tokenType",
|
|
274
218
|
"type": "bytes32"
|
|
275
219
|
},
|
|
276
220
|
{
|
|
277
|
-
"
|
|
278
|
-
"name": "
|
|
221
|
+
"internalType": "bytes32",
|
|
222
|
+
"name": "name",
|
|
279
223
|
"type": "bytes32"
|
|
280
224
|
}
|
|
281
225
|
],
|
|
282
|
-
"
|
|
283
|
-
"type": "
|
|
226
|
+
"stateMutability": "view",
|
|
227
|
+
"type": "function",
|
|
228
|
+
"constant": true
|
|
284
229
|
},
|
|
285
230
|
{
|
|
286
|
-
"anonymous": false,
|
|
287
231
|
"inputs": [
|
|
288
232
|
{
|
|
289
|
-
"
|
|
290
|
-
"name": "
|
|
291
|
-
"type": "
|
|
292
|
-
},
|
|
293
|
-
{
|
|
294
|
-
"indexed": false,
|
|
295
|
-
"name": "tokenName",
|
|
296
|
-
"type": "bytes32"
|
|
297
|
-
},
|
|
298
|
-
{
|
|
299
|
-
"indexed": false,
|
|
300
|
-
"name": "tokenType",
|
|
301
|
-
"type": "bytes32"
|
|
233
|
+
"internalType": "uint256",
|
|
234
|
+
"name": "",
|
|
235
|
+
"type": "uint256"
|
|
302
236
|
}
|
|
303
237
|
],
|
|
304
|
-
"name": "
|
|
305
|
-
"
|
|
306
|
-
},
|
|
307
|
-
{
|
|
308
|
-
"anonymous": false,
|
|
309
|
-
"inputs": [
|
|
238
|
+
"name": "tokens",
|
|
239
|
+
"outputs": [
|
|
310
240
|
{
|
|
311
|
-
"
|
|
312
|
-
"name": "
|
|
241
|
+
"internalType": "address",
|
|
242
|
+
"name": "",
|
|
313
243
|
"type": "address"
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
"indexed": false,
|
|
317
|
-
"name": "tokenName",
|
|
318
|
-
"type": "bytes32"
|
|
319
|
-
},
|
|
320
|
-
{
|
|
321
|
-
"indexed": false,
|
|
322
|
-
"name": "tokenType",
|
|
323
|
-
"type": "bytes32"
|
|
324
244
|
}
|
|
325
245
|
],
|
|
326
|
-
"
|
|
327
|
-
"type": "
|
|
246
|
+
"stateMutability": "view",
|
|
247
|
+
"type": "function",
|
|
248
|
+
"constant": true
|
|
328
249
|
},
|
|
329
250
|
{
|
|
330
|
-
"anonymous": false,
|
|
331
251
|
"inputs": [
|
|
332
252
|
{
|
|
333
|
-
"
|
|
334
|
-
"name": "previousOwner",
|
|
335
|
-
"type": "address"
|
|
336
|
-
},
|
|
337
|
-
{
|
|
338
|
-
"indexed": true,
|
|
253
|
+
"internalType": "address",
|
|
339
254
|
"name": "newOwner",
|
|
340
255
|
"type": "address"
|
|
341
256
|
}
|
|
342
257
|
],
|
|
343
|
-
"name": "
|
|
344
|
-
"
|
|
258
|
+
"name": "transferOwnership",
|
|
259
|
+
"outputs": [],
|
|
260
|
+
"stateMutability": "nonpayable",
|
|
261
|
+
"type": "function"
|
|
345
262
|
},
|
|
346
263
|
{
|
|
347
|
-
"anonymous": false,
|
|
348
264
|
"inputs": [
|
|
349
265
|
{
|
|
350
|
-
"
|
|
351
|
-
"name": "
|
|
266
|
+
"internalType": "address",
|
|
267
|
+
"name": "_owner",
|
|
352
268
|
"type": "address"
|
|
353
269
|
}
|
|
354
270
|
],
|
|
355
|
-
"name": "ProxyCreated",
|
|
356
|
-
"type": "event"
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
"constant": false,
|
|
360
|
-
"inputs": [],
|
|
361
271
|
"name": "initialize",
|
|
362
272
|
"outputs": [],
|
|
363
|
-
"payable": false,
|
|
364
273
|
"stateMutability": "nonpayable",
|
|
365
274
|
"type": "function"
|
|
366
275
|
},
|
|
367
276
|
{
|
|
368
|
-
"constant": false,
|
|
369
277
|
"inputs": [
|
|
370
278
|
{
|
|
371
|
-
"
|
|
279
|
+
"internalType": "address",
|
|
280
|
+
"name": "newOwner",
|
|
372
281
|
"type": "address"
|
|
373
282
|
}
|
|
374
283
|
],
|
|
375
|
-
"name": "
|
|
284
|
+
"name": "setOwner",
|
|
376
285
|
"outputs": [],
|
|
377
|
-
"payable": false,
|
|
378
286
|
"stateMutability": "nonpayable",
|
|
379
287
|
"type": "function"
|
|
380
288
|
},
|
|
381
289
|
{
|
|
382
|
-
"constant": true,
|
|
383
290
|
"inputs": [],
|
|
384
291
|
"name": "getTokenCount",
|
|
385
292
|
"outputs": [
|
|
386
293
|
{
|
|
294
|
+
"internalType": "uint256",
|
|
387
295
|
"name": "tokenCount",
|
|
388
296
|
"type": "uint256"
|
|
389
297
|
}
|
|
390
298
|
],
|
|
391
|
-
"payable": false,
|
|
392
299
|
"stateMutability": "view",
|
|
393
|
-
"type": "function"
|
|
300
|
+
"type": "function",
|
|
301
|
+
"constant": true
|
|
394
302
|
},
|
|
395
303
|
{
|
|
396
|
-
"constant": true,
|
|
397
304
|
"inputs": [
|
|
398
305
|
{
|
|
306
|
+
"internalType": "uint256",
|
|
399
307
|
"name": "n",
|
|
400
308
|
"type": "uint256"
|
|
401
309
|
}
|
|
@@ -403,18 +311,19 @@
|
|
|
403
311
|
"name": "getToken",
|
|
404
312
|
"outputs": [
|
|
405
313
|
{
|
|
314
|
+
"internalType": "address",
|
|
406
315
|
"name": "",
|
|
407
316
|
"type": "address"
|
|
408
317
|
}
|
|
409
318
|
],
|
|
410
|
-
"payable": false,
|
|
411
319
|
"stateMutability": "view",
|
|
412
|
-
"type": "function"
|
|
320
|
+
"type": "function",
|
|
321
|
+
"constant": true
|
|
413
322
|
},
|
|
414
323
|
{
|
|
415
|
-
"constant": true,
|
|
416
324
|
"inputs": [
|
|
417
325
|
{
|
|
326
|
+
"internalType": "address",
|
|
418
327
|
"name": "viaAddress",
|
|
419
328
|
"type": "address"
|
|
420
329
|
}
|
|
@@ -422,18 +331,19 @@
|
|
|
422
331
|
"name": "getName",
|
|
423
332
|
"outputs": [
|
|
424
333
|
{
|
|
334
|
+
"internalType": "bytes32",
|
|
425
335
|
"name": "",
|
|
426
336
|
"type": "bytes32"
|
|
427
337
|
}
|
|
428
338
|
],
|
|
429
|
-
"payable": false,
|
|
430
339
|
"stateMutability": "view",
|
|
431
|
-
"type": "function"
|
|
340
|
+
"type": "function",
|
|
341
|
+
"constant": true
|
|
432
342
|
},
|
|
433
343
|
{
|
|
434
|
-
"constant": true,
|
|
435
344
|
"inputs": [
|
|
436
345
|
{
|
|
346
|
+
"internalType": "address",
|
|
437
347
|
"name": "viaAddress",
|
|
438
348
|
"type": "address"
|
|
439
349
|
}
|
|
@@ -441,18 +351,19 @@
|
|
|
441
351
|
"name": "getType",
|
|
442
352
|
"outputs": [
|
|
443
353
|
{
|
|
354
|
+
"internalType": "bytes32",
|
|
444
355
|
"name": "",
|
|
445
356
|
"type": "bytes32"
|
|
446
357
|
}
|
|
447
358
|
],
|
|
448
|
-
"payable": false,
|
|
449
359
|
"stateMutability": "view",
|
|
450
|
-
"type": "function"
|
|
360
|
+
"type": "function",
|
|
361
|
+
"constant": true
|
|
451
362
|
},
|
|
452
363
|
{
|
|
453
|
-
"constant": true,
|
|
454
364
|
"inputs": [
|
|
455
365
|
{
|
|
366
|
+
"internalType": "address",
|
|
456
367
|
"name": "viaAddress",
|
|
457
368
|
"type": "address"
|
|
458
369
|
}
|
|
@@ -460,26 +371,29 @@
|
|
|
460
371
|
"name": "getNameAndType",
|
|
461
372
|
"outputs": [
|
|
462
373
|
{
|
|
374
|
+
"internalType": "bytes32",
|
|
463
375
|
"name": "",
|
|
464
376
|
"type": "bytes32"
|
|
465
377
|
},
|
|
466
378
|
{
|
|
379
|
+
"internalType": "bytes32",
|
|
467
380
|
"name": "",
|
|
468
381
|
"type": "bytes32"
|
|
469
382
|
}
|
|
470
383
|
],
|
|
471
|
-
"payable": false,
|
|
472
384
|
"stateMutability": "view",
|
|
473
|
-
"type": "function"
|
|
385
|
+
"type": "function",
|
|
386
|
+
"constant": true
|
|
474
387
|
},
|
|
475
388
|
{
|
|
476
|
-
"constant": true,
|
|
477
389
|
"inputs": [
|
|
478
390
|
{
|
|
391
|
+
"internalType": "bytes32",
|
|
479
392
|
"name": "tokenName",
|
|
480
393
|
"type": "bytes32"
|
|
481
394
|
},
|
|
482
395
|
{
|
|
396
|
+
"internalType": "bytes32",
|
|
483
397
|
"name": "tokenType",
|
|
484
398
|
"type": "bytes32"
|
|
485
399
|
}
|
|
@@ -487,22 +401,24 @@
|
|
|
487
401
|
"name": "getTokenByNameType",
|
|
488
402
|
"outputs": [
|
|
489
403
|
{
|
|
404
|
+
"internalType": "address",
|
|
490
405
|
"name": "",
|
|
491
406
|
"type": "address"
|
|
492
407
|
}
|
|
493
408
|
],
|
|
494
|
-
"payable": false,
|
|
495
409
|
"stateMutability": "view",
|
|
496
|
-
"type": "function"
|
|
410
|
+
"type": "function",
|
|
411
|
+
"constant": true
|
|
497
412
|
},
|
|
498
413
|
{
|
|
499
|
-
"constant": true,
|
|
500
414
|
"inputs": [
|
|
501
415
|
{
|
|
416
|
+
"internalType": "bytes32",
|
|
502
417
|
"name": "tokenType",
|
|
503
418
|
"type": "bytes32"
|
|
504
419
|
},
|
|
505
420
|
{
|
|
421
|
+
"internalType": "bytes32",
|
|
506
422
|
"name": "tokenName",
|
|
507
423
|
"type": "bytes32"
|
|
508
424
|
}
|
|
@@ -510,18 +426,19 @@
|
|
|
510
426
|
"name": "getIssuer",
|
|
511
427
|
"outputs": [
|
|
512
428
|
{
|
|
429
|
+
"internalType": "address",
|
|
513
430
|
"name": "",
|
|
514
431
|
"type": "address"
|
|
515
432
|
}
|
|
516
433
|
],
|
|
517
|
-
"payable": false,
|
|
518
434
|
"stateMutability": "view",
|
|
519
|
-
"type": "function"
|
|
435
|
+
"type": "function",
|
|
436
|
+
"constant": true
|
|
520
437
|
},
|
|
521
438
|
{
|
|
522
|
-
"constant": true,
|
|
523
439
|
"inputs": [
|
|
524
440
|
{
|
|
441
|
+
"internalType": "bytes32",
|
|
525
442
|
"name": "tokenName",
|
|
526
443
|
"type": "bytes32"
|
|
527
444
|
}
|
|
@@ -529,54 +446,29 @@
|
|
|
529
446
|
"name": "getAddressAndType",
|
|
530
447
|
"outputs": [
|
|
531
448
|
{
|
|
449
|
+
"internalType": "address",
|
|
532
450
|
"name": "",
|
|
533
451
|
"type": "address"
|
|
534
452
|
},
|
|
535
453
|
{
|
|
454
|
+
"internalType": "bytes32",
|
|
536
455
|
"name": "",
|
|
537
456
|
"type": "bytes32"
|
|
538
457
|
}
|
|
539
458
|
],
|
|
540
|
-
"payable": false,
|
|
541
|
-
"stateMutability": "view",
|
|
542
|
-
"type": "function"
|
|
543
|
-
},
|
|
544
|
-
{
|
|
545
|
-
"constant": true,
|
|
546
|
-
"inputs": [],
|
|
547
|
-
"name": "getViaOracleUrl",
|
|
548
|
-
"outputs": [
|
|
549
|
-
{
|
|
550
|
-
"name": "",
|
|
551
|
-
"type": "string"
|
|
552
|
-
}
|
|
553
|
-
],
|
|
554
|
-
"payable": false,
|
|
555
459
|
"stateMutability": "view",
|
|
556
|
-
"type": "function"
|
|
460
|
+
"type": "function",
|
|
461
|
+
"constant": true
|
|
557
462
|
},
|
|
558
463
|
{
|
|
559
|
-
"constant": true,
|
|
560
|
-
"inputs": [],
|
|
561
|
-
"name": "getFiatPayoutUrl",
|
|
562
|
-
"outputs": [
|
|
563
|
-
{
|
|
564
|
-
"name": "",
|
|
565
|
-
"type": "string"
|
|
566
|
-
}
|
|
567
|
-
],
|
|
568
|
-
"payable": false,
|
|
569
|
-
"stateMutability": "view",
|
|
570
|
-
"type": "function"
|
|
571
|
-
},
|
|
572
|
-
{
|
|
573
|
-
"constant": true,
|
|
574
464
|
"inputs": [
|
|
575
465
|
{
|
|
466
|
+
"internalType": "bytes32",
|
|
576
467
|
"name": "fromCurrency",
|
|
577
468
|
"type": "bytes32"
|
|
578
469
|
},
|
|
579
470
|
{
|
|
471
|
+
"internalType": "bytes32",
|
|
580
472
|
"name": "toCurrency",
|
|
581
473
|
"type": "bytes32"
|
|
582
474
|
}
|
|
@@ -584,46 +476,33 @@
|
|
|
584
476
|
"name": "getCryptoDataUrl",
|
|
585
477
|
"outputs": [
|
|
586
478
|
{
|
|
479
|
+
"internalType": "address",
|
|
587
480
|
"name": "",
|
|
588
|
-
"type": "
|
|
481
|
+
"type": "address"
|
|
589
482
|
}
|
|
590
483
|
],
|
|
591
|
-
"payable": false,
|
|
592
484
|
"stateMutability": "view",
|
|
593
|
-
"type": "function"
|
|
485
|
+
"type": "function",
|
|
486
|
+
"constant": true
|
|
594
487
|
},
|
|
595
488
|
{
|
|
596
|
-
"constant": true,
|
|
597
489
|
"inputs": [],
|
|
598
490
|
"name": "getClient",
|
|
599
491
|
"outputs": [
|
|
600
492
|
{
|
|
493
|
+
"internalType": "address",
|
|
601
494
|
"name": "",
|
|
602
495
|
"type": "address"
|
|
603
496
|
}
|
|
604
497
|
],
|
|
605
|
-
"payable": false,
|
|
606
|
-
"stateMutability": "view",
|
|
607
|
-
"type": "function"
|
|
608
|
-
},
|
|
609
|
-
{
|
|
610
|
-
"constant": true,
|
|
611
|
-
"inputs": [],
|
|
612
|
-
"name": "getOracles",
|
|
613
|
-
"outputs": [
|
|
614
|
-
{
|
|
615
|
-
"name": "",
|
|
616
|
-
"type": "address[]"
|
|
617
|
-
}
|
|
618
|
-
],
|
|
619
|
-
"payable": false,
|
|
620
498
|
"stateMutability": "view",
|
|
621
|
-
"type": "function"
|
|
499
|
+
"type": "function",
|
|
500
|
+
"constant": true
|
|
622
501
|
},
|
|
623
502
|
{
|
|
624
|
-
"constant": true,
|
|
625
503
|
"inputs": [
|
|
626
504
|
{
|
|
505
|
+
"internalType": "address",
|
|
627
506
|
"name": "_bondToken",
|
|
628
507
|
"type": "address"
|
|
629
508
|
}
|
|
@@ -631,68 +510,96 @@
|
|
|
631
510
|
"name": "getBondTerm",
|
|
632
511
|
"outputs": [
|
|
633
512
|
{
|
|
513
|
+
"internalType": "uint256",
|
|
634
514
|
"name": "",
|
|
635
515
|
"type": "uint256"
|
|
636
516
|
}
|
|
637
517
|
],
|
|
638
|
-
"payable": false,
|
|
639
518
|
"stateMutability": "view",
|
|
640
|
-
"type": "function"
|
|
519
|
+
"type": "function",
|
|
520
|
+
"constant": true
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
"inputs": [],
|
|
524
|
+
"name": "getFiatPayoutUrl",
|
|
525
|
+
"outputs": [
|
|
526
|
+
{
|
|
527
|
+
"internalType": "string",
|
|
528
|
+
"name": "",
|
|
529
|
+
"type": "string"
|
|
530
|
+
}
|
|
531
|
+
],
|
|
532
|
+
"stateMutability": "view",
|
|
533
|
+
"type": "function",
|
|
534
|
+
"constant": true
|
|
641
535
|
},
|
|
642
536
|
{
|
|
643
|
-
"constant": false,
|
|
644
537
|
"inputs": [
|
|
645
538
|
{
|
|
539
|
+
"internalType": "address",
|
|
646
540
|
"name": "_target",
|
|
647
541
|
"type": "address"
|
|
648
542
|
},
|
|
649
543
|
{
|
|
544
|
+
"internalType": "bytes32",
|
|
650
545
|
"name": "tokenName",
|
|
651
546
|
"type": "bytes32"
|
|
652
547
|
},
|
|
653
548
|
{
|
|
549
|
+
"internalType": "bytes32",
|
|
654
550
|
"name": "tokenType",
|
|
655
551
|
"type": "bytes32"
|
|
656
552
|
},
|
|
657
553
|
{
|
|
554
|
+
"internalType": "bytes32",
|
|
658
555
|
"name": "tokenCurrency",
|
|
659
556
|
"type": "bytes32"
|
|
660
557
|
},
|
|
661
558
|
{
|
|
559
|
+
"internalType": "address",
|
|
662
560
|
"name": "_oracle",
|
|
663
561
|
"type": "address"
|
|
664
562
|
},
|
|
665
563
|
{
|
|
564
|
+
"internalType": "address",
|
|
666
565
|
"name": "_token",
|
|
667
566
|
"type": "address"
|
|
668
567
|
},
|
|
669
568
|
{
|
|
569
|
+
"internalType": "address",
|
|
670
570
|
"name": "_fee",
|
|
671
571
|
"type": "address"
|
|
672
572
|
}
|
|
673
573
|
],
|
|
674
574
|
"name": "createIssuer",
|
|
675
575
|
"outputs": [],
|
|
676
|
-
"payable": false,
|
|
677
576
|
"stateMutability": "nonpayable",
|
|
678
577
|
"type": "function"
|
|
679
578
|
},
|
|
680
579
|
{
|
|
681
|
-
"constant": false,
|
|
682
580
|
"inputs": [
|
|
683
581
|
{
|
|
582
|
+
"internalType": "address",
|
|
684
583
|
"name": "_target",
|
|
685
584
|
"type": "address"
|
|
686
585
|
},
|
|
687
586
|
{
|
|
587
|
+
"internalType": "address",
|
|
688
588
|
"name": "issuer",
|
|
689
589
|
"type": "address"
|
|
690
590
|
},
|
|
691
591
|
{
|
|
592
|
+
"internalType": "address",
|
|
593
|
+
"name": "payee",
|
|
594
|
+
"type": "address"
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
"internalType": "bytes32",
|
|
692
598
|
"name": "tokenName",
|
|
693
599
|
"type": "bytes32"
|
|
694
600
|
},
|
|
695
601
|
{
|
|
602
|
+
"internalType": "bytes32",
|
|
696
603
|
"name": "tokenSymbol",
|
|
697
604
|
"type": "bytes32"
|
|
698
605
|
}
|
|
@@ -700,132 +607,103 @@
|
|
|
700
607
|
"name": "createToken",
|
|
701
608
|
"outputs": [
|
|
702
609
|
{
|
|
610
|
+
"internalType": "address",
|
|
703
611
|
"name": "",
|
|
704
612
|
"type": "address"
|
|
705
613
|
}
|
|
706
614
|
],
|
|
707
|
-
"payable": false,
|
|
708
|
-
"stateMutability": "nonpayable",
|
|
709
|
-
"type": "function"
|
|
710
|
-
},
|
|
711
|
-
{
|
|
712
|
-
"constant": false,
|
|
713
|
-
"inputs": [
|
|
714
|
-
{
|
|
715
|
-
"name": "_url",
|
|
716
|
-
"type": "string"
|
|
717
|
-
}
|
|
718
|
-
],
|
|
719
|
-
"name": "setViaOracleUrl",
|
|
720
|
-
"outputs": [],
|
|
721
|
-
"payable": false,
|
|
722
615
|
"stateMutability": "nonpayable",
|
|
723
616
|
"type": "function"
|
|
724
617
|
},
|
|
725
618
|
{
|
|
726
|
-
"constant": false,
|
|
727
619
|
"inputs": [
|
|
728
620
|
{
|
|
729
|
-
"
|
|
730
|
-
"
|
|
731
|
-
|
|
732
|
-
],
|
|
733
|
-
"name": "setFiatPayoutUrl",
|
|
734
|
-
"outputs": [],
|
|
735
|
-
"payable": false,
|
|
736
|
-
"stateMutability": "nonpayable",
|
|
737
|
-
"type": "function"
|
|
738
|
-
},
|
|
739
|
-
{
|
|
740
|
-
"constant": false,
|
|
741
|
-
"inputs": [
|
|
742
|
-
{
|
|
743
|
-
"name": "_url",
|
|
744
|
-
"type": "string"
|
|
621
|
+
"internalType": "address",
|
|
622
|
+
"name": "_feed",
|
|
623
|
+
"type": "address"
|
|
745
624
|
},
|
|
746
625
|
{
|
|
626
|
+
"internalType": "bytes32",
|
|
747
627
|
"name": "_fromCurrency",
|
|
748
628
|
"type": "bytes32"
|
|
749
629
|
},
|
|
750
630
|
{
|
|
631
|
+
"internalType": "bytes32",
|
|
751
632
|
"name": "_toCurrency",
|
|
752
633
|
"type": "bytes32"
|
|
753
634
|
}
|
|
754
635
|
],
|
|
755
636
|
"name": "setCryptoDataURL",
|
|
756
637
|
"outputs": [],
|
|
757
|
-
"payable": false,
|
|
758
638
|
"stateMutability": "nonpayable",
|
|
759
639
|
"type": "function"
|
|
760
640
|
},
|
|
761
641
|
{
|
|
762
|
-
"constant": false,
|
|
763
|
-
"inputs": [
|
|
764
|
-
{
|
|
765
|
-
"name": "_oracles",
|
|
766
|
-
"type": "address[]"
|
|
767
|
-
}
|
|
768
|
-
],
|
|
769
|
-
"name": "setOracles",
|
|
770
|
-
"outputs": [],
|
|
771
|
-
"payable": false,
|
|
772
|
-
"stateMutability": "nonpayable",
|
|
773
|
-
"type": "function"
|
|
774
|
-
},
|
|
775
|
-
{
|
|
776
|
-
"constant": false,
|
|
777
642
|
"inputs": [
|
|
778
643
|
{
|
|
644
|
+
"internalType": "address",
|
|
779
645
|
"name": "_bondToken",
|
|
780
646
|
"type": "address"
|
|
781
647
|
},
|
|
782
648
|
{
|
|
649
|
+
"internalType": "uint256",
|
|
783
650
|
"name": "_term",
|
|
784
651
|
"type": "uint256"
|
|
785
652
|
}
|
|
786
653
|
],
|
|
787
654
|
"name": "setBondTerm",
|
|
788
655
|
"outputs": [],
|
|
789
|
-
"payable": false,
|
|
790
656
|
"stateMutability": "nonpayable",
|
|
791
657
|
"type": "function"
|
|
792
658
|
},
|
|
793
659
|
{
|
|
794
|
-
"constant": false,
|
|
795
660
|
"inputs": [
|
|
796
661
|
{
|
|
662
|
+
"internalType": "address",
|
|
797
663
|
"name": "_client",
|
|
798
664
|
"type": "address"
|
|
799
665
|
}
|
|
800
666
|
],
|
|
801
667
|
"name": "setClientAddress",
|
|
802
668
|
"outputs": [],
|
|
803
|
-
"payable": false,
|
|
804
669
|
"stateMutability": "nonpayable",
|
|
805
670
|
"type": "function"
|
|
806
671
|
},
|
|
807
672
|
{
|
|
808
|
-
"constant": false,
|
|
809
673
|
"inputs": [
|
|
810
674
|
{
|
|
675
|
+
"internalType": "string",
|
|
676
|
+
"name": "_url",
|
|
677
|
+
"type": "string"
|
|
678
|
+
}
|
|
679
|
+
],
|
|
680
|
+
"name": "setFiatPayoutUrl",
|
|
681
|
+
"outputs": [],
|
|
682
|
+
"stateMutability": "nonpayable",
|
|
683
|
+
"type": "function"
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
"inputs": [
|
|
687
|
+
{
|
|
688
|
+
"internalType": "bytes32",
|
|
811
689
|
"name": "_currency",
|
|
812
690
|
"type": "bytes32"
|
|
813
691
|
},
|
|
814
692
|
{
|
|
693
|
+
"internalType": "address",
|
|
815
694
|
"name": "_address",
|
|
816
695
|
"type": "address"
|
|
817
696
|
}
|
|
818
697
|
],
|
|
819
698
|
"name": "supportTokens",
|
|
820
699
|
"outputs": [],
|
|
821
|
-
"payable": false,
|
|
822
700
|
"stateMutability": "nonpayable",
|
|
823
701
|
"type": "function"
|
|
824
702
|
},
|
|
825
703
|
{
|
|
826
|
-
"constant": true,
|
|
827
704
|
"inputs": [
|
|
828
705
|
{
|
|
706
|
+
"internalType": "bytes32",
|
|
829
707
|
"name": "_currency",
|
|
830
708
|
"type": "bytes32"
|
|
831
709
|
}
|
|
@@ -833,18 +711,19 @@
|
|
|
833
711
|
"name": "checkSupportForToken",
|
|
834
712
|
"outputs": [
|
|
835
713
|
{
|
|
714
|
+
"internalType": "bool",
|
|
836
715
|
"name": "",
|
|
837
716
|
"type": "bool"
|
|
838
717
|
}
|
|
839
718
|
],
|
|
840
|
-
"payable": false,
|
|
841
719
|
"stateMutability": "view",
|
|
842
|
-
"type": "function"
|
|
720
|
+
"type": "function",
|
|
721
|
+
"constant": true
|
|
843
722
|
},
|
|
844
723
|
{
|
|
845
|
-
"constant": true,
|
|
846
724
|
"inputs": [
|
|
847
725
|
{
|
|
726
|
+
"internalType": "bytes32",
|
|
848
727
|
"name": "_currency",
|
|
849
728
|
"type": "bytes32"
|
|
850
729
|
}
|
|
@@ -852,13 +731,14 @@
|
|
|
852
731
|
"name": "getCurrencyToken",
|
|
853
732
|
"outputs": [
|
|
854
733
|
{
|
|
734
|
+
"internalType": "address",
|
|
855
735
|
"name": "",
|
|
856
736
|
"type": "address"
|
|
857
737
|
}
|
|
858
738
|
],
|
|
859
|
-
"payable": false,
|
|
860
739
|
"stateMutability": "view",
|
|
861
|
-
"type": "function"
|
|
740
|
+
"type": "function",
|
|
741
|
+
"constant": true
|
|
862
742
|
}
|
|
863
743
|
]
|
|
864
744
|
}
|