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