@mintmoney/react 0.1.0-alpha.12 → 0.1.0-alpha.14
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/README.md +19 -0
- package/dist/css/styles.css +34 -0
- package/dist/esm/api/payments.js +1 -1
- package/dist/esm/api/types.js +1 -7
- package/dist/esm/api/types.js.map +1 -1
- package/dist/esm/checkout/index.js +17 -3
- package/dist/esm/checkout/index.js.map +1 -1
- package/dist/esm/checkout/modal.js +6 -0
- package/dist/esm/checkout/modal.js.map +1 -1
- package/dist/esm/checkout/views/crypto-intent/curreny.js +1 -1
- package/dist/esm/checkout/views/crypto-intent/curreny.js.map +1 -1
- package/dist/esm/checkout/views/crypto-intent/methods.js +3 -3
- package/dist/esm/checkout/views/crypto-intent/methods.js.map +1 -1
- package/dist/esm/checkout/views/crypto-intent/processing.js +2 -4
- package/dist/esm/checkout/views/crypto-intent/processing.js.map +1 -1
- package/dist/esm/checkout/views/crypto-intent/wallet-select.js +21 -0
- package/dist/esm/checkout/views/crypto-intent/wallet-select.js.map +1 -0
- package/dist/esm/components/buttons/async-button.js +16 -0
- package/dist/esm/components/buttons/async-button.js.map +1 -0
- package/dist/esm/components/buttons/index.js +74 -1
- package/dist/esm/components/buttons/index.js.map +1 -1
- package/dist/esm/components/buttons/use-async-button.js +44 -0
- package/dist/esm/components/buttons/use-async-button.js.map +1 -0
- package/dist/esm/components/icons/alert.js +20 -0
- package/dist/esm/components/icons/alert.js.map +1 -0
- package/dist/esm/components/icons/index.js +3 -0
- package/dist/esm/components/icons/index.js.map +1 -1
- package/dist/esm/components/icons/link.js +20 -0
- package/dist/esm/components/icons/link.js.map +1 -0
- package/dist/esm/components/icons/loading.js +20 -0
- package/dist/esm/components/icons/loading.js.map +1 -0
- package/dist/esm/components/inputs/index.js +32 -0
- package/dist/esm/components/inputs/index.js.map +1 -0
- package/dist/esm/components/wallet-selector/component.js +61 -0
- package/dist/esm/components/wallet-selector/component.js.map +1 -0
- package/dist/esm/components/wallet-selector/domain.js +2 -0
- package/dist/esm/components/wallet-selector/domain.js.map +1 -0
- package/dist/esm/components/wallet-selector/helper.js +12 -0
- package/dist/esm/components/wallet-selector/helper.js.map +1 -0
- package/dist/esm/components/wallet-selector/index.js +5 -0
- package/dist/esm/components/wallet-selector/index.js.map +1 -0
- package/dist/esm/components/wallet-selector/provider.js +15 -0
- package/dist/esm/components/wallet-selector/provider.js.map +1 -0
- package/dist/esm/components/wallet-selector/schemas.js +6 -0
- package/dist/esm/components/wallet-selector/schemas.js.map +1 -0
- package/dist/esm/components/wallet-selector/store.js +79 -0
- package/dist/esm/components/wallet-selector/store.js.map +1 -0
- package/dist/esm/components/wallet-selector/util/exceptions.js +16 -0
- package/dist/esm/components/wallet-selector/util/exceptions.js.map +1 -0
- package/dist/esm/components/wallet-selector/wallets/address/addressInput.js +17 -0
- package/dist/esm/components/wallet-selector/wallets/address/addressInput.js.map +1 -0
- package/dist/esm/components/wallet-selector/wallets/address/index.js +75 -0
- package/dist/esm/components/wallet-selector/wallets/address/index.js.map +1 -0
- package/dist/esm/components/wallet-selector/wallets/index.js +5 -0
- package/dist/esm/components/wallet-selector/wallets/index.js.map +1 -0
- package/dist/esm/components/wallet-selector/wallets/recommended/index.js +64 -0
- package/dist/esm/components/wallet-selector/wallets/recommended/index.js.map +1 -0
- package/dist/esm/components/wallet-selector/wallets/wagmi/index.js +211 -0
- package/dist/esm/components/wallet-selector/wallets/wagmi/index.js.map +1 -0
- package/dist/esm/components/wallet-selector/wallets/wagmi/usdt-abi.json +671 -0
- package/dist/esm/config.js +1 -10
- package/dist/esm/config.js.map +1 -1
- package/dist/esm/state/checkout/store.js +2 -2
- package/dist/esm/state/checkout/store.js.map +1 -1
- package/dist/esm/themes/default.js +42 -0
- package/dist/esm/themes/default.js.map +1 -1
- package/dist/types/api/types.d.ts +0 -6
- package/dist/types/api/types.d.ts.map +1 -1
- package/dist/types/checkout/index.d.ts.map +1 -1
- package/dist/types/checkout/modal.d.ts.map +1 -1
- package/dist/types/checkout/views/crypto-intent/curreny.d.ts.map +1 -1
- package/dist/types/checkout/views/crypto-intent/processing.d.ts.map +1 -1
- package/dist/types/checkout/views/crypto-intent/wallet-select.d.ts +3 -0
- package/dist/types/checkout/views/crypto-intent/wallet-select.d.ts.map +1 -0
- package/dist/types/components/buttons/async-button.d.ts +14 -0
- package/dist/types/components/buttons/async-button.d.ts.map +1 -0
- package/dist/types/components/buttons/index.d.ts +20 -3
- package/dist/types/components/buttons/index.d.ts.map +1 -1
- package/dist/types/components/buttons/use-async-button.d.ts +16 -0
- package/dist/types/components/buttons/use-async-button.d.ts.map +1 -0
- package/dist/types/components/icons/alert.d.ts +6 -0
- package/dist/types/components/icons/alert.d.ts.map +1 -0
- package/dist/types/components/icons/index.d.ts +3 -0
- package/dist/types/components/icons/index.d.ts.map +1 -1
- package/dist/types/components/icons/link.d.ts +6 -0
- package/dist/types/components/icons/link.d.ts.map +1 -0
- package/dist/types/components/icons/loading.d.ts +6 -0
- package/dist/types/components/icons/loading.d.ts.map +1 -0
- package/dist/types/components/inputs/index.d.ts +7 -0
- package/dist/types/components/inputs/index.d.ts.map +1 -0
- package/dist/types/components/wallet-selector/component.d.ts +13 -0
- package/dist/types/components/wallet-selector/component.d.ts.map +1 -0
- package/dist/types/components/wallet-selector/domain.d.ts +86 -0
- package/dist/types/components/wallet-selector/domain.d.ts.map +1 -0
- package/dist/types/components/wallet-selector/helper.d.ts +4 -0
- package/dist/types/components/wallet-selector/helper.d.ts.map +1 -0
- package/dist/types/components/wallet-selector/index.d.ts +7 -0
- package/dist/types/components/wallet-selector/index.d.ts.map +1 -0
- package/dist/types/components/wallet-selector/provider.d.ts +10 -0
- package/dist/types/components/wallet-selector/provider.d.ts.map +1 -0
- package/dist/types/components/wallet-selector/schemas.d.ts +4 -0
- package/dist/types/components/wallet-selector/schemas.d.ts.map +1 -0
- package/dist/types/components/wallet-selector/store.d.ts +27 -0
- package/dist/types/components/wallet-selector/store.d.ts.map +1 -0
- package/dist/types/components/wallet-selector/util/exceptions.d.ts +7 -0
- package/dist/types/components/wallet-selector/util/exceptions.d.ts.map +1 -0
- package/dist/types/components/wallet-selector/wallets/address/addressInput.d.ts +7 -0
- package/dist/types/components/wallet-selector/wallets/address/addressInput.d.ts.map +1 -0
- package/dist/types/components/wallet-selector/wallets/address/index.d.ts +7 -0
- package/dist/types/components/wallet-selector/wallets/address/index.d.ts.map +1 -0
- package/dist/types/components/wallet-selector/wallets/index.d.ts +5 -0
- package/dist/types/components/wallet-selector/wallets/index.d.ts.map +1 -0
- package/dist/types/components/wallet-selector/wallets/recommended/index.d.ts +23 -0
- package/dist/types/components/wallet-selector/wallets/recommended/index.d.ts.map +1 -0
- package/dist/types/components/wallet-selector/wallets/wagmi/index.d.ts +15 -0
- package/dist/types/components/wallet-selector/wallets/wagmi/index.d.ts.map +1 -0
- package/dist/types/config.d.ts +0 -7
- package/dist/types/config.d.ts.map +1 -1
- package/dist/types/state/checkout/store.d.ts +1 -1
- package/dist/types/state/checkout/store.d.ts.map +1 -1
- package/dist/types/themes/default.d.ts.map +1 -1
- package/dist/types/themes/types.d.ts +4 -0
- package/dist/types/themes/types.d.ts.map +1 -1
- package/package.json +6 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/components/wallet-selector/wallets/wagmi/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,UAAU,EACV,UAAU,EACV,UAAU,EACV,aAAa,EACb,kBAAkB,EAClB,eAAe,EACf,WAAW,EACX,yBAAyB,EACzB,aAAa,GAEd,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,eAAe,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAExD,OAAO,EAAE,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,MAAM,MAAM,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAC;AAE5C,OAAO,EA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AC;YAC7C,cAAc,CAAC,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAChD,CAAC;IACJ,CAAC;IACD,OAAO,eAAe,CAAC;AACzB,CAAC,CAAC"}
|
|
@@ -0,0 +1,671 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"constant": true,
|
|
4
|
+
"inputs": [],
|
|
5
|
+
"name": "name",
|
|
6
|
+
"outputs": [
|
|
7
|
+
{
|
|
8
|
+
"name": "",
|
|
9
|
+
"type": "string"
|
|
10
|
+
}
|
|
11
|
+
],
|
|
12
|
+
"payable": false,
|
|
13
|
+
"stateMutability": "view",
|
|
14
|
+
"type": "function"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"constant": false,
|
|
18
|
+
"inputs": [
|
|
19
|
+
{
|
|
20
|
+
"name": "_upgradedAddress",
|
|
21
|
+
"type": "address"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"name": "deprecate",
|
|
25
|
+
"outputs": [],
|
|
26
|
+
"payable": false,
|
|
27
|
+
"stateMutability": "nonpayable",
|
|
28
|
+
"type": "function"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"constant": false,
|
|
32
|
+
"inputs": [
|
|
33
|
+
{
|
|
34
|
+
"name": "_spender",
|
|
35
|
+
"type": "address"
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "_value",
|
|
39
|
+
"type": "uint256"
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"name": "approve",
|
|
43
|
+
"outputs": [],
|
|
44
|
+
"payable": false,
|
|
45
|
+
"stateMutability": "nonpayable",
|
|
46
|
+
"type": "function"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"constant": true,
|
|
50
|
+
"inputs": [],
|
|
51
|
+
"name": "deprecated",
|
|
52
|
+
"outputs": [
|
|
53
|
+
{
|
|
54
|
+
"name": "",
|
|
55
|
+
"type": "bool"
|
|
56
|
+
}
|
|
57
|
+
],
|
|
58
|
+
"payable": false,
|
|
59
|
+
"stateMutability": "view",
|
|
60
|
+
"type": "function"
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"constant": false,
|
|
64
|
+
"inputs": [
|
|
65
|
+
{
|
|
66
|
+
"name": "_evilUser",
|
|
67
|
+
"type": "address"
|
|
68
|
+
}
|
|
69
|
+
],
|
|
70
|
+
"name": "addBlackList",
|
|
71
|
+
"outputs": [],
|
|
72
|
+
"payable": false,
|
|
73
|
+
"stateMutability": "nonpayable",
|
|
74
|
+
"type": "function"
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
"constant": true,
|
|
78
|
+
"inputs": [],
|
|
79
|
+
"name": "totalSupply",
|
|
80
|
+
"outputs": [
|
|
81
|
+
{
|
|
82
|
+
"name": "",
|
|
83
|
+
"type": "uint256"
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"payable": false,
|
|
87
|
+
"stateMutability": "view",
|
|
88
|
+
"type": "function"
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"constant": false,
|
|
92
|
+
"inputs": [
|
|
93
|
+
{
|
|
94
|
+
"name": "_from",
|
|
95
|
+
"type": "address"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"name": "_to",
|
|
99
|
+
"type": "address"
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"name": "_value",
|
|
103
|
+
"type": "uint256"
|
|
104
|
+
}
|
|
105
|
+
],
|
|
106
|
+
"name": "transferFrom",
|
|
107
|
+
"outputs": [],
|
|
108
|
+
"payable": false,
|
|
109
|
+
"stateMutability": "nonpayable",
|
|
110
|
+
"type": "function"
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
"constant": true,
|
|
114
|
+
"inputs": [],
|
|
115
|
+
"name": "upgradedAddress",
|
|
116
|
+
"outputs": [
|
|
117
|
+
{
|
|
118
|
+
"name": "",
|
|
119
|
+
"type": "address"
|
|
120
|
+
}
|
|
121
|
+
],
|
|
122
|
+
"payable": false,
|
|
123
|
+
"stateMutability": "view",
|
|
124
|
+
"type": "function"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"constant": true,
|
|
128
|
+
"inputs": [
|
|
129
|
+
{
|
|
130
|
+
"name": "",
|
|
131
|
+
"type": "address"
|
|
132
|
+
}
|
|
133
|
+
],
|
|
134
|
+
"name": "balances",
|
|
135
|
+
"outputs": [
|
|
136
|
+
{
|
|
137
|
+
"name": "",
|
|
138
|
+
"type": "uint256"
|
|
139
|
+
}
|
|
140
|
+
],
|
|
141
|
+
"payable": false,
|
|
142
|
+
"stateMutability": "view",
|
|
143
|
+
"type": "function"
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"constant": true,
|
|
147
|
+
"inputs": [],
|
|
148
|
+
"name": "decimals",
|
|
149
|
+
"outputs": [
|
|
150
|
+
{
|
|
151
|
+
"name": "",
|
|
152
|
+
"type": "uint256"
|
|
153
|
+
}
|
|
154
|
+
],
|
|
155
|
+
"payable": false,
|
|
156
|
+
"stateMutability": "view",
|
|
157
|
+
"type": "function"
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
"constant": true,
|
|
161
|
+
"inputs": [],
|
|
162
|
+
"name": "maximumFee",
|
|
163
|
+
"outputs": [
|
|
164
|
+
{
|
|
165
|
+
"name": "",
|
|
166
|
+
"type": "uint256"
|
|
167
|
+
}
|
|
168
|
+
],
|
|
169
|
+
"payable": false,
|
|
170
|
+
"stateMutability": "view",
|
|
171
|
+
"type": "function"
|
|
172
|
+
},
|
|
173
|
+
{
|
|
174
|
+
"constant": true,
|
|
175
|
+
"inputs": [],
|
|
176
|
+
"name": "_totalSupply",
|
|
177
|
+
"outputs": [
|
|
178
|
+
{
|
|
179
|
+
"name": "",
|
|
180
|
+
"type": "uint256"
|
|
181
|
+
}
|
|
182
|
+
],
|
|
183
|
+
"payable": false,
|
|
184
|
+
"stateMutability": "view",
|
|
185
|
+
"type": "function"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"constant": false,
|
|
189
|
+
"inputs": [],
|
|
190
|
+
"name": "unpause",
|
|
191
|
+
"outputs": [],
|
|
192
|
+
"payable": false,
|
|
193
|
+
"stateMutability": "nonpayable",
|
|
194
|
+
"type": "function"
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"constant": true,
|
|
198
|
+
"inputs": [
|
|
199
|
+
{
|
|
200
|
+
"name": "_maker",
|
|
201
|
+
"type": "address"
|
|
202
|
+
}
|
|
203
|
+
],
|
|
204
|
+
"name": "getBlackListStatus",
|
|
205
|
+
"outputs": [
|
|
206
|
+
{
|
|
207
|
+
"name": "",
|
|
208
|
+
"type": "bool"
|
|
209
|
+
}
|
|
210
|
+
],
|
|
211
|
+
"payable": false,
|
|
212
|
+
"stateMutability": "view",
|
|
213
|
+
"type": "function"
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"constant": true,
|
|
217
|
+
"inputs": [
|
|
218
|
+
{
|
|
219
|
+
"name": "",
|
|
220
|
+
"type": "address"
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "",
|
|
224
|
+
"type": "address"
|
|
225
|
+
}
|
|
226
|
+
],
|
|
227
|
+
"name": "allowed",
|
|
228
|
+
"outputs": [
|
|
229
|
+
{
|
|
230
|
+
"name": "",
|
|
231
|
+
"type": "uint256"
|
|
232
|
+
}
|
|
233
|
+
],
|
|
234
|
+
"payable": false,
|
|
235
|
+
"stateMutability": "view",
|
|
236
|
+
"type": "function"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"constant": true,
|
|
240
|
+
"inputs": [],
|
|
241
|
+
"name": "paused",
|
|
242
|
+
"outputs": [
|
|
243
|
+
{
|
|
244
|
+
"name": "",
|
|
245
|
+
"type": "bool"
|
|
246
|
+
}
|
|
247
|
+
],
|
|
248
|
+
"payable": false,
|
|
249
|
+
"stateMutability": "view",
|
|
250
|
+
"type": "function"
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"constant": true,
|
|
254
|
+
"inputs": [
|
|
255
|
+
{
|
|
256
|
+
"name": "who",
|
|
257
|
+
"type": "address"
|
|
258
|
+
}
|
|
259
|
+
],
|
|
260
|
+
"name": "balanceOf",
|
|
261
|
+
"outputs": [
|
|
262
|
+
{
|
|
263
|
+
"name": "",
|
|
264
|
+
"type": "uint256"
|
|
265
|
+
}
|
|
266
|
+
],
|
|
267
|
+
"payable": false,
|
|
268
|
+
"stateMutability": "view",
|
|
269
|
+
"type": "function"
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"constant": false,
|
|
273
|
+
"inputs": [],
|
|
274
|
+
"name": "pause",
|
|
275
|
+
"outputs": [],
|
|
276
|
+
"payable": false,
|
|
277
|
+
"stateMutability": "nonpayable",
|
|
278
|
+
"type": "function"
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"constant": true,
|
|
282
|
+
"inputs": [],
|
|
283
|
+
"name": "getOwner",
|
|
284
|
+
"outputs": [
|
|
285
|
+
{
|
|
286
|
+
"name": "",
|
|
287
|
+
"type": "address"
|
|
288
|
+
}
|
|
289
|
+
],
|
|
290
|
+
"payable": false,
|
|
291
|
+
"stateMutability": "view",
|
|
292
|
+
"type": "function"
|
|
293
|
+
},
|
|
294
|
+
{
|
|
295
|
+
"constant": true,
|
|
296
|
+
"inputs": [],
|
|
297
|
+
"name": "owner",
|
|
298
|
+
"outputs": [
|
|
299
|
+
{
|
|
300
|
+
"name": "",
|
|
301
|
+
"type": "address"
|
|
302
|
+
}
|
|
303
|
+
],
|
|
304
|
+
"payable": false,
|
|
305
|
+
"stateMutability": "view",
|
|
306
|
+
"type": "function"
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
"constant": true,
|
|
310
|
+
"inputs": [],
|
|
311
|
+
"name": "symbol",
|
|
312
|
+
"outputs": [
|
|
313
|
+
{
|
|
314
|
+
"name": "",
|
|
315
|
+
"type": "string"
|
|
316
|
+
}
|
|
317
|
+
],
|
|
318
|
+
"payable": false,
|
|
319
|
+
"stateMutability": "view",
|
|
320
|
+
"type": "function"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"constant": false,
|
|
324
|
+
"inputs": [
|
|
325
|
+
{
|
|
326
|
+
"name": "_to",
|
|
327
|
+
"type": "address"
|
|
328
|
+
},
|
|
329
|
+
{
|
|
330
|
+
"name": "_value",
|
|
331
|
+
"type": "uint256"
|
|
332
|
+
}
|
|
333
|
+
],
|
|
334
|
+
"name": "transfer",
|
|
335
|
+
"outputs": [],
|
|
336
|
+
"payable": false,
|
|
337
|
+
"stateMutability": "nonpayable",
|
|
338
|
+
"type": "function"
|
|
339
|
+
},
|
|
340
|
+
{
|
|
341
|
+
"constant": false,
|
|
342
|
+
"inputs": [
|
|
343
|
+
{
|
|
344
|
+
"name": "newBasisPoints",
|
|
345
|
+
"type": "uint256"
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
"name": "newMaxFee",
|
|
349
|
+
"type": "uint256"
|
|
350
|
+
}
|
|
351
|
+
],
|
|
352
|
+
"name": "setParams",
|
|
353
|
+
"outputs": [],
|
|
354
|
+
"payable": false,
|
|
355
|
+
"stateMutability": "nonpayable",
|
|
356
|
+
"type": "function"
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"constant": false,
|
|
360
|
+
"inputs": [
|
|
361
|
+
{
|
|
362
|
+
"name": "amount",
|
|
363
|
+
"type": "uint256"
|
|
364
|
+
}
|
|
365
|
+
],
|
|
366
|
+
"name": "issue",
|
|
367
|
+
"outputs": [],
|
|
368
|
+
"payable": false,
|
|
369
|
+
"stateMutability": "nonpayable",
|
|
370
|
+
"type": "function"
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"constant": false,
|
|
374
|
+
"inputs": [
|
|
375
|
+
{
|
|
376
|
+
"name": "amount",
|
|
377
|
+
"type": "uint256"
|
|
378
|
+
}
|
|
379
|
+
],
|
|
380
|
+
"name": "redeem",
|
|
381
|
+
"outputs": [],
|
|
382
|
+
"payable": false,
|
|
383
|
+
"stateMutability": "nonpayable",
|
|
384
|
+
"type": "function"
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"constant": true,
|
|
388
|
+
"inputs": [
|
|
389
|
+
{
|
|
390
|
+
"name": "_owner",
|
|
391
|
+
"type": "address"
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"name": "_spender",
|
|
395
|
+
"type": "address"
|
|
396
|
+
}
|
|
397
|
+
],
|
|
398
|
+
"name": "allowance",
|
|
399
|
+
"outputs": [
|
|
400
|
+
{
|
|
401
|
+
"name": "remaining",
|
|
402
|
+
"type": "uint256"
|
|
403
|
+
}
|
|
404
|
+
],
|
|
405
|
+
"payable": false,
|
|
406
|
+
"stateMutability": "view",
|
|
407
|
+
"type": "function"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"constant": true,
|
|
411
|
+
"inputs": [],
|
|
412
|
+
"name": "basisPointsRate",
|
|
413
|
+
"outputs": [
|
|
414
|
+
{
|
|
415
|
+
"name": "",
|
|
416
|
+
"type": "uint256"
|
|
417
|
+
}
|
|
418
|
+
],
|
|
419
|
+
"payable": false,
|
|
420
|
+
"stateMutability": "view",
|
|
421
|
+
"type": "function"
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
"constant": true,
|
|
425
|
+
"inputs": [
|
|
426
|
+
{
|
|
427
|
+
"name": "",
|
|
428
|
+
"type": "address"
|
|
429
|
+
}
|
|
430
|
+
],
|
|
431
|
+
"name": "isBlackListed",
|
|
432
|
+
"outputs": [
|
|
433
|
+
{
|
|
434
|
+
"name": "",
|
|
435
|
+
"type": "bool"
|
|
436
|
+
}
|
|
437
|
+
],
|
|
438
|
+
"payable": false,
|
|
439
|
+
"stateMutability": "view",
|
|
440
|
+
"type": "function"
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
"constant": false,
|
|
444
|
+
"inputs": [
|
|
445
|
+
{
|
|
446
|
+
"name": "_clearedUser",
|
|
447
|
+
"type": "address"
|
|
448
|
+
}
|
|
449
|
+
],
|
|
450
|
+
"name": "removeBlackList",
|
|
451
|
+
"outputs": [],
|
|
452
|
+
"payable": false,
|
|
453
|
+
"stateMutability": "nonpayable",
|
|
454
|
+
"type": "function"
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"constant": true,
|
|
458
|
+
"inputs": [],
|
|
459
|
+
"name": "MAX_UINT",
|
|
460
|
+
"outputs": [
|
|
461
|
+
{
|
|
462
|
+
"name": "",
|
|
463
|
+
"type": "uint256"
|
|
464
|
+
}
|
|
465
|
+
],
|
|
466
|
+
"payable": false,
|
|
467
|
+
"stateMutability": "view",
|
|
468
|
+
"type": "function"
|
|
469
|
+
},
|
|
470
|
+
{
|
|
471
|
+
"constant": false,
|
|
472
|
+
"inputs": [
|
|
473
|
+
{
|
|
474
|
+
"name": "newOwner",
|
|
475
|
+
"type": "address"
|
|
476
|
+
}
|
|
477
|
+
],
|
|
478
|
+
"name": "transferOwnership",
|
|
479
|
+
"outputs": [],
|
|
480
|
+
"payable": false,
|
|
481
|
+
"stateMutability": "nonpayable",
|
|
482
|
+
"type": "function"
|
|
483
|
+
},
|
|
484
|
+
{
|
|
485
|
+
"constant": false,
|
|
486
|
+
"inputs": [
|
|
487
|
+
{
|
|
488
|
+
"name": "_blackListedUser",
|
|
489
|
+
"type": "address"
|
|
490
|
+
}
|
|
491
|
+
],
|
|
492
|
+
"name": "destroyBlackFunds",
|
|
493
|
+
"outputs": [],
|
|
494
|
+
"payable": false,
|
|
495
|
+
"stateMutability": "nonpayable",
|
|
496
|
+
"type": "function"
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
"inputs": [
|
|
500
|
+
{
|
|
501
|
+
"name": "_initialSupply",
|
|
502
|
+
"type": "uint256"
|
|
503
|
+
},
|
|
504
|
+
{
|
|
505
|
+
"name": "_name",
|
|
506
|
+
"type": "string"
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
"name": "_symbol",
|
|
510
|
+
"type": "string"
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
"name": "_decimals",
|
|
514
|
+
"type": "uint256"
|
|
515
|
+
}
|
|
516
|
+
],
|
|
517
|
+
"payable": false,
|
|
518
|
+
"stateMutability": "nonpayable",
|
|
519
|
+
"type": "constructor"
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"anonymous": false,
|
|
523
|
+
"inputs": [
|
|
524
|
+
{
|
|
525
|
+
"indexed": false,
|
|
526
|
+
"name": "amount",
|
|
527
|
+
"type": "uint256"
|
|
528
|
+
}
|
|
529
|
+
],
|
|
530
|
+
"name": "Issue",
|
|
531
|
+
"type": "event"
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
"anonymous": false,
|
|
535
|
+
"inputs": [
|
|
536
|
+
{
|
|
537
|
+
"indexed": false,
|
|
538
|
+
"name": "amount",
|
|
539
|
+
"type": "uint256"
|
|
540
|
+
}
|
|
541
|
+
],
|
|
542
|
+
"name": "Redeem",
|
|
543
|
+
"type": "event"
|
|
544
|
+
},
|
|
545
|
+
{
|
|
546
|
+
"anonymous": false,
|
|
547
|
+
"inputs": [
|
|
548
|
+
{
|
|
549
|
+
"indexed": false,
|
|
550
|
+
"name": "newAddress",
|
|
551
|
+
"type": "address"
|
|
552
|
+
}
|
|
553
|
+
],
|
|
554
|
+
"name": "Deprecate",
|
|
555
|
+
"type": "event"
|
|
556
|
+
},
|
|
557
|
+
{
|
|
558
|
+
"anonymous": false,
|
|
559
|
+
"inputs": [
|
|
560
|
+
{
|
|
561
|
+
"indexed": false,
|
|
562
|
+
"name": "feeBasisPoints",
|
|
563
|
+
"type": "uint256"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"indexed": false,
|
|
567
|
+
"name": "maxFee",
|
|
568
|
+
"type": "uint256"
|
|
569
|
+
}
|
|
570
|
+
],
|
|
571
|
+
"name": "Params",
|
|
572
|
+
"type": "event"
|
|
573
|
+
},
|
|
574
|
+
{
|
|
575
|
+
"anonymous": false,
|
|
576
|
+
"inputs": [
|
|
577
|
+
{
|
|
578
|
+
"indexed": false,
|
|
579
|
+
"name": "_blackListedUser",
|
|
580
|
+
"type": "address"
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
"indexed": false,
|
|
584
|
+
"name": "_balance",
|
|
585
|
+
"type": "uint256"
|
|
586
|
+
}
|
|
587
|
+
],
|
|
588
|
+
"name": "DestroyedBlackFunds",
|
|
589
|
+
"type": "event"
|
|
590
|
+
},
|
|
591
|
+
{
|
|
592
|
+
"anonymous": false,
|
|
593
|
+
"inputs": [
|
|
594
|
+
{
|
|
595
|
+
"indexed": false,
|
|
596
|
+
"name": "_user",
|
|
597
|
+
"type": "address"
|
|
598
|
+
}
|
|
599
|
+
],
|
|
600
|
+
"name": "AddedBlackList",
|
|
601
|
+
"type": "event"
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
"anonymous": false,
|
|
605
|
+
"inputs": [
|
|
606
|
+
{
|
|
607
|
+
"indexed": false,
|
|
608
|
+
"name": "_user",
|
|
609
|
+
"type": "address"
|
|
610
|
+
}
|
|
611
|
+
],
|
|
612
|
+
"name": "RemovedBlackList",
|
|
613
|
+
"type": "event"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"anonymous": false,
|
|
617
|
+
"inputs": [
|
|
618
|
+
{
|
|
619
|
+
"indexed": true,
|
|
620
|
+
"name": "owner",
|
|
621
|
+
"type": "address"
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"indexed": true,
|
|
625
|
+
"name": "spender",
|
|
626
|
+
"type": "address"
|
|
627
|
+
},
|
|
628
|
+
{
|
|
629
|
+
"indexed": false,
|
|
630
|
+
"name": "value",
|
|
631
|
+
"type": "uint256"
|
|
632
|
+
}
|
|
633
|
+
],
|
|
634
|
+
"name": "Approval",
|
|
635
|
+
"type": "event"
|
|
636
|
+
},
|
|
637
|
+
{
|
|
638
|
+
"anonymous": false,
|
|
639
|
+
"inputs": [
|
|
640
|
+
{
|
|
641
|
+
"indexed": true,
|
|
642
|
+
"name": "from",
|
|
643
|
+
"type": "address"
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
"indexed": true,
|
|
647
|
+
"name": "to",
|
|
648
|
+
"type": "address"
|
|
649
|
+
},
|
|
650
|
+
{
|
|
651
|
+
"indexed": false,
|
|
652
|
+
"name": "value",
|
|
653
|
+
"type": "uint256"
|
|
654
|
+
}
|
|
655
|
+
],
|
|
656
|
+
"name": "Transfer",
|
|
657
|
+
"type": "event"
|
|
658
|
+
},
|
|
659
|
+
{
|
|
660
|
+
"anonymous": false,
|
|
661
|
+
"inputs": [],
|
|
662
|
+
"name": "Pause",
|
|
663
|
+
"type": "event"
|
|
664
|
+
},
|
|
665
|
+
{
|
|
666
|
+
"anonymous": false,
|
|
667
|
+
"inputs": [],
|
|
668
|
+
"name": "Unpause",
|
|
669
|
+
"type": "event"
|
|
670
|
+
}
|
|
671
|
+
]
|
package/dist/esm/config.js
CHANGED
|
@@ -1,19 +1,10 @@
|
|
|
1
1
|
import merge from "lodash.merge";
|
|
2
|
-
import { PaymentStatus } from "./api/types.js";
|
|
3
2
|
import { defaultTheme } from "./themes/default.js";
|
|
4
3
|
const _MINT_API = "https://api.getmint.money";
|
|
5
4
|
export const createConfig = (publicKey, options) => {
|
|
6
|
-
const defaultCryptoConfig = {
|
|
7
|
-
numBlockConfirmations: 1,
|
|
8
|
-
paymentConfirmationStatus: PaymentStatus.CONFIRMING_PAYMENT,
|
|
9
|
-
};
|
|
10
5
|
return {
|
|
11
6
|
publicKey: publicKey,
|
|
12
|
-
...merge({
|
|
13
|
-
apiUrl: _MINT_API,
|
|
14
|
-
theme: defaultTheme,
|
|
15
|
-
cryptoCheckoutConfig: defaultCryptoConfig,
|
|
16
|
-
}, options),
|
|
7
|
+
...merge({ apiUrl: _MINT_API, theme: defaultTheme }, options),
|
|
17
8
|
};
|
|
18
9
|
};
|
|
19
10
|
//# sourceMappingURL=config.js.map
|