ETH Price: $3,317.31 (-1.73%)
TON Bridge

Token

Wrapped TON Coin (TONCOIN)
 

Overview

Max Total Supply

11,960,896.748565911 TONCOIN

Holders

34,987 ( 0.020%)

Market

Price

$5.20 @ 0.001568 ETH (+4.24%)

Onchain Market Cap

$62,196,663.09

Circulating Supply Market Cap

$12,921,922,774.00

Other Info

Token Contract (WITH 9 Decimals)

Balance
0.45514285 TONCOIN

Value
$2.37 ( ~0.000714434881851582 Eth) [0.0000%]
0x9d028d94f984a81df53764a2e7387db85e2f00c2
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Open Network is a blockchain-based decentralized computer network. TON is designed to enable processing millions of transactions per second via infinite sharding paradigm. It allows building Web 3.0 empowered by decentralized storage and DNS, instant payments and decentralized services.

Market

Volume (24H):$405,124,520.00
Market Capitalization:$12,921,922,774.00
Circulating Supply:2,485,771,216.00 TONCOIN
Market Data Source: Coinmarketcap

 

 

 

# Exchange Pair Price  24H Volume % Volume
1
Binance
TON-USDT$5.18
0.0015552 Eth
$52,839,351.00
10,502,477.720 TON
0.8668%
2
Bybit
TON-USDT$5.19
0.0015566 Eth
$37,438,792.00
7,438,063.290 TON
0.6139%
3
OKX
TON-USDT$5.18
0.0015530 Eth
$37,017,634.00
7,357,750.370 TON
0.6072%
4
HTX
TON-USDT$5.19
0.0015554 Eth
$32,819,286.00
6,529,143.098 TON
0.5388%
5
WhiteBIT
TON-USDT$5.18
0.0015549 Eth
$19,143,164.00
3,693,074.600 TON
0.3048%
6
Websea
TON-USDT$5.20
0.0015585 Eth
$12,993,486.00
0.000 TON
0.0000%
7
MEXC
TON-USDT$5.20
0.0015572 Eth
$12,620,555.00
2,427,303.630 TON
0.2003%
8
Hotcoin
TON-USDT$5.21
0.0015588 Eth
$11,573,430.00
2,223,239.799 TON
0.1835%
9
KuCoin
TON-USDT$5.19
0.0015557 Eth
$11,306,839.00
2,179,633.098 TON
0.1799%
10
Bit2Me
TON-USDT$5.19
0.0015555 Eth
$10,355,998.00
2,065,873.360 TON
0.1705%
11
Gate.io
TON-USDT$5.19
0.0015560 Eth
$10,350,203.00
2,062,738.640 TON
0.1702%
12
Fastex
TON-USDT$5.17
0.0015702 Eth
$9,124,078.00
1,764,804.858 TON
0.1456%
13
DeDust
EQCXE6MUTQJKFNGFAROTKOT1LZBDIIX1KCIXRV7NW2ID_SDS-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.19
0.0015548 Eth
$8,629,558.00
8,369,021.668 EQCXE6MUTQJKFNGFAROTKOT1LZBDIIX1KCIXRV7NW2ID_SDS
0.6907%
14
OrangeX
TON-USDT$5.14
0.0015619 Eth
$7,895,040.00
1,570,616.290 TON
0.1296%
15
Bitget
TON-USDT$5.19
0.0015563 Eth
$7,247,691.00
1,436,729.510 TON
0.1186%
16
BTCC
TON-USDT$5.21
0.0015587 Eth
$6,833,693.00
1,357,316.590 TON
0.1120%
17
Bitunix
TON-USDT$5.20
0.0015575 Eth
$6,276,578.00
1,205,812.720 TON
0.0995%
18
Ourbit
TON-USDT$5.20
0.0015563 Eth
$5,981,516.00
1,189,578.800 TON
0.0982%
19
QMall
TONCOIN-USDT$5.19
0.0015563 Eth
$5,007,225.00
997,584.793 TONCOIN
0.0823%
20
LBank
TON-USDT$5.19
0.0015552 Eth
$4,845,718.00
933,237.641 TON
0.0770%
21
Azbit
TON-USDT$5.20
0.0015581 Eth
$4,622,923.00
915,740.752 TON
0.0756%
22
STON.fi (V2)
EQCXE6MUTQJKFNGFAROTKOT1LZBDIIX1KCIXRV7NW2ID_SDS-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.21
0.0015590 Eth
$4,025,103.00
3,888,612.537 EQCXE6MUTQJKFNGFAROTKOT1LZBDIIX1KCIXRV7NW2ID_SDS
0.3209%
23
Bitbegin
TON-USDT$5.16
0.0015649 Eth
$3,775,292.00
738,819.648 TON
0.0610%
24
CoinW
TON-USDT$5.21
0.0015590 Eth
$3,349,093.00
643,387.000 TON
0.0531%
25
Biconomy.com
TON-USDT$5.19
0.0015563 Eth
$3,347,072.00
665,107.170 TON
0.0549%
26
Hibt
TON-USDT$5.19
0.0015550 Eth
$2,973,237.00
590,139.016 TON
0.0487%
27
CoinEx
TON-USDT$5.19
0.0015556 Eth
$2,881,433.00
572,157.867 TON
0.0472%
28
Bullish
TON-USDC$5.20
0.0015545 Eth
$1,989,780.00
396,379.961 TON
0.0327%
29
DigiFinex
TON-USDT$5.18
0.0015550 Eth
$1,867,038.00
360,151.958 TON
0.0297%
30
Slex
TON-USDT$5.20
0.0015572 Eth
$1,694,562.00
336,412.180 TON
0.0278%
31
XT.COM
TON-USDT$5.20
0.0015565 Eth
$1,677,522.00
333,308.770 TON
0.0275%
32
SecondBTC
TON-USDT$5.14
0.0015601 Eth
$1,482,788.00
288,231.754 TON
0.0238%
33
Toobit
TON-USDT$5.19
0.0015555 Eth
$1,429,658.00
284,403.011 TON
0.0235%
34
Pionex
TON-USDT$5.16
0.0015635 Eth
$1,176,435.00
233,900.783 TON
0.0193%
35
Bybit
TON-USDC$5.19
0.0015565 Eth
$1,086,570.00
214,553.150 TON
0.0177%
36
Trubit
TON-USDT$5.20
0.0015574 Eth
$987,534.00
196,211.666 TON
0.0162%
37
BIT
TONCOIN-USDT$5.19
0.0015552 Eth
$984,693.00
189,750.307 TONCOIN
0.0157%
38
Phemex
TON-USDT$5.20
0.0015586 Eth
$846,540.00
162,658.248 TON
0.0134%
39
BVOX
TON-USDT$5.14
0.0015628 Eth
$841,528.00
167,439.830 TON
0.0138%
40
Dex-Trade
TON-USDT$5.19
0.0015550 Eth
$762,844.00
146,899.371 TON
0.0121%
41
WEEX
TON-USDT$5.19
0.0015560 Eth
$700,858.00
139,534.770 TON
0.0115%
42
EXMO
TON-USDT$5.19
0.0015558 Eth
$630,496.00
121,536.107 TON
0.0100%
43
Bitvavo
TON-EUR$5.20
0.0015567 Eth
$557,842.00
107,294.833 TON
0.0089%
44
PointPay
TON-USDT$5.20
0.0015557 Eth
$546,688.00
108,551.387 TON
0.0090%
45
Binance
TON-BTC$5.16
0.0015536 Eth
$541,185.00
105,845.370 TON
0.0087%
46
WEEX
TON-USDC$5.19
0.0015562 Eth
$515,811.00
102,807.600 TON
0.0085%
47
BTSE
TON-USDT$5.21
0.0015585 Eth
$508,337.00
97,628.840 TON
0.0081%
48
EXMO
TON-USDC$5.18
0.0015550 Eth
$427,804.00
82,527.379 TON
0.0068%
49
Binance
TON-FDUSD$5.19
0.0015560 Eth
$408,569.00
81,238.380 TON
0.0067%
50
Binance
TON-TRY$5.20
0.0015600 Eth
$373,910.00
73,401.260 TON
0.0061%
51
OKX
TON-USDC$5.19
0.0015562 Eth
$368,113.00
73,143.821 TON
0.0060%
52
Bittime
TON-IDR$5.22
0.0015627 Eth
$366,453.00
72,818.030 TON
0.0060%
53
bitcastle
TON-USDT$5.20
0.0015579 Eth
$361,016.00
71,804.100 TON
0.0059%
54
Bitget
TON-USDC$5.19
0.0015577 Eth
$264,981.00
52,719.730 TON
0.0044%
55
BloFin
TON-USDT$5.16
0.0015650 Eth
$207,481.00
41,161.594 TON
0.0034%
56
Tokpie
TON-USDT$5.12
0.0015525 Eth
$163,089.00
31,837.227 TON
0.0026%
57
STON.fi (V2)
EQBKYWOOFXLJPZYO8E44JG6UF6L3V4BYBBBBNKJ9OHWBXJZM-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.21
0.0015590 Eth
$155,856.00
436,409,381.661 EQBKYWOOFXLJPZYO8E44JG6UF6L3V4BYBBBBNKJ9OHWBXJZM
36.0167%
58
AscendEX (BitMax)
TON-USDT$5.21
0.0015623 Eth
$150,423.00
28,881.000 TON
0.0024%
59
Bitci TR
TON-TRY$5.22
0.0015622 Eth
$126,152.00
24,995.809 TON
0.0021%
60
STON.fi (V2)
EQAVLWFDXGF2LXM67Y4YZC17WYKD9A0GUWPKMS1GOSM__NOT-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.21
0.0015590 Eth
$119,133.00
22,213,999.165 EQAVLWFDXGF2LXM67Y4YZC17WYKD9A0GUWPKMS1GOSM__NOT
1.8333%
61
PancakeSwap V3 (BSC)
0X76A797A59BA2C17726896976B7B3747BFD1D220F-0XBB4CDB9CBD36B01BD1CBAEBF2DE08D9173BC095C$5.13
0.0015374 Eth
$118,066.00
23,314.768 0X76A797A59BA2C17726896976B7B3747BFD1D220F
0.0019%
62
STON.fi (V2)
EQBYNURILWBRWQP_RL-VXESBVTR2VMTFC4MANQ657N_BUILD-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.21
0.0015590 Eth
$111,249.00
302,640.187 EQBYNURILWBRWQP_RL-VXESBVTR2VMTFC4MANQ657N_BUILD
0.0250%
63
DeDust
EQAVLWFDXGF2LXM67Y4YZC17WYKD9A0GUWPKMS1GOSM__NOT-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.19
0.0015548 Eth
$91,230.00
17,116,179.324 EQAVLWFDXGF2LXM67Y4YZC17WYKD9A0GUWPKMS1GOSM__NOT
1.4126%
64
STON.fi (V2)
EQCWE0G3CEFHSZ4VK5NRTOZBKFESISXHCVUQVON7IM__SOON-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.21
0.0015590 Eth
$84,094.00
527,421,107.620 EQCWE0G3CEFHSZ4VK5NRTOZBKFESISXHCVUQVON7IM__SOON
43.5279%
65
DeDust
EQBYNURILWBRWQP_RL-VXESBVTR2VMTFC4MANQ657N_BUILD-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.19
0.0015548 Eth
$59,220.00
160,601.606 EQBYNURILWBRWQP_RL-VXESBVTR2VMTFC4MANQ657N_BUILD
0.0133%
66
PancakeSwap V3 (BSC)
0X76A797A59BA2C17726896976B7B3747BFD1D220F-0XBB4CDB9CBD36B01BD1CBAEBF2DE08D9173BC095C$5.14
0.0015385 Eth
$50,862.00
9,949.830 0X76A797A59BA2C17726896976B7B3747BFD1D220F
0.0008%
67
CEX.IO
TON-USDT$5.20
0.0015562 Eth
$50,582.00
9,797.176 TON
0.0008%
68
Bittime
TON-USDT$5.20
0.0015572 Eth
$46,122.00
9,214.395 TON
0.0008%
69
STON.fi (V2)
EQDO8QC6MVI7GQ6UGWDF4XVP3CZ4WKZ-BQKBKMHVMPM-1OJM-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.21
0.0015590 Eth
$35,602.00
9,105,359.956 EQDO8QC6MVI7GQ6UGWDF4XVP3CZ4WKZ-BQKBKMHVMPM-1OJM
0.7515%
70
STON.fi (V2)
EQDAV1QW_L0_JCXGVTYCKBCRGJOIRX_CZZOQZE1IIGDH5LWI-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.21
0.0015590 Eth
$35,506.00
176,097.480 EQDAV1QW_L0_JCXGVTYCKBCRGJOIRX_CZZOQZE1IIGDH5LWI
0.0145%
71
PancakeSwap (v2)
0X76A797A59BA2C17726896976B7B3747BFD1D220F-0X55D398326F99059FF775485246999027B3197955$5.12
0.0015357 Eth
$34,646.00
7,043.490 0X76A797A59BA2C17726896976B7B3747BFD1D220F
0.0006%
72
DeDust
EQAQXLWJVGBBFFE8F3OS8S87LIGDOVS455ISWFARDMJETTON-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.19
0.0015548 Eth
$33,969.00
199,527.096 EQAQXLWJVGBBFFE8F3OS8S87LIGDOVS455ISWFARDMJETTON
0.0165%
73
DeDust
EQBLQSM144DQ6SJBPI4JJZVA1HQTIP3CVHOVBIFW_T-SCALE-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.19
0.0015546 Eth
$32,391.00
14,970.387 EQBLQSM144DQ6SJBPI4JJZVA1HQTIP3CVHOVBIFW_T-SCALE
0.0012%
74
STON.fi (V2)
EQAQXLWJVGBBFFE8F3OS8S87LIGDOVS455ISWFARDMJETTON-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.21
0.0015590 Eth
$32,315.00
188,476.478 EQAQXLWJVGBBFFE8F3OS8S87LIGDOVS455ISWFARDMJETTON
0.0156%
75
CoinEx
TON-USDC$5.20
0.0015602 Eth
$27,432.00
5,483.880 TON
0.0005%
76
STON.fi (V2)
EQAJ8UWD7EBQSMPSWARDF_I-8R8-XHWH3GSNKHY-URDRPCUO-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.21
0.0015590 Eth
$25,078.00
8,557,973.419 EQAJ8UWD7EBQSMPSWARDF_I-8R8-XHWH3GSNKHY-URDRPCUO
0.7063%
77
DeDust
EQBYNBO23YWHY_CGARY9NK9FTZ0YDSG82PTCBSTQGGOXWIUA-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.19
0.0015548 Eth
$20,287.00
20,144.164 EQBYNBO23YWHY_CGARY9NK9FTZ0YDSG82PTCBSTQGGOXWIUA
0.0017%
78
DeDust
EQCVXJY4EG8HYHBFSZ7EEPXRRSUQSFE_JPPTRAYBMCG_DOGS-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.19
0.0015548 Eth
$19,514.53
56,454,754.554 EQCVXJY4EG8HYHBFSZ7EEPXRRSUQSFE_JPPTRAYBMCG_DOGS
4.6592%
79
CoinEx
TON-BTC$5.18
0.0015551 Eth
$18,635.94
3,623.338 TON
0.0003%
80
PancakeSwap V3 (BSC)
0X76A797A59BA2C17726896976B7B3747BFD1D220F-0X55D398326F99059FF775485246999027B3197955$5.13
0.0015355 Eth
$16,924.70
3,387.237 0X76A797A59BA2C17726896976B7B3747BFD1D220F
0.0003%
81
STON.fi (V2)
EQDJEOCQOV44Y3MIQSTUQ0CT5BXSV05E2QEV2VY1OXRQJGGB-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.21
0.0015590 Eth
$16,774.93
27,539,612.119 EQDJEOCQOV44Y3MIQSTUQ0CT5BXSV05E2QEV2VY1OXRQJGGB
2.2728%
82
STON.fi (V2)
EQDAKYL1M-JINSCNS4J1CKUYL5UWTWXMW8AVU2MCNUXEYU3_-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.21
0.0015590 Eth
$13,667.96
12,032,661.504 EQDAKYL1M-JINSCNS4J1CKUYL5UWTWXMW8AVU2MCNUXEYU3_
0.9931%
83
STON.fi (V2)
EQAZWJDXCZOO9JIBWBTL2A_ZZOAPHELICA4YG7LNILDZZMMX-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.21
0.0015590 Eth
$12,760.48
3,734,795.816 EQAZWJDXCZOO9JIBWBTL2A_ZZOAPHELICA4YG7LNILDZZMMX
0.3082%
84
STON.fi (V2)
EQAKG89BNBFKWSUP8ZZQCJM-DEKXWOWL_M7URAN7TBMLMGOJ-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.21
0.0015590 Eth
$12,178.07
86,374.932 EQAKG89BNBFKWSUP8ZZQCJM-DEKXWOWL_M7URAN7TBMLMGOJ
0.0071%
85
TokoCrypto
TON-USDT$5.19
0.0015560 Eth
$12,131.97
2,338.740 TON
0.0002%
86
STON.fi (V2)
EQCRWPQQMFSGLPLP6D5XEBIX50ASTBXJFQQNKSSFP_ISIQC3-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.21
0.0015590 Eth
$11,691.25
47,851.899 EQCRWPQQMFSGLPLP6D5XEBIX50ASTBXJFQQNKSSFP_ISIQC3
0.0039%
87
Bitkub
TON-THB$5.19
0.0015548 Eth
$11,297.59
2,174.941 TON
0.0002%
88
STON.fi (V2)
EQBSTWY-0Y5E1I6EVLKLVKLWS2QJMLLWWP7C4UQ0NI6QXAVE-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.21
0.0015590 Eth
$11,169.75
6,590,372.855 EQBSTWY-0Y5E1I6EVLKLVKLWS2QJMLLWWP7C4UQ0NI6QXAVE
0.5439%
89
Biswap
0X76A797A59BA2C17726896976B7B3747BFD1D220F-0X55D398326F99059FF775485246999027B3197955$5.13
0.0015351 Eth
$10,527.03
2,105.430 0X76A797A59BA2C17726896976B7B3747BFD1D220F
0.0002%
90
STON.fi (V2)
EQCLYEWQ9HIAPJRXTKRZHBNRZNGNIDOUXZY5TWS1QQ2DOIHN-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.21
0.0015590 Eth
$10,476.84
397,556.011 EQCLYEWQ9HIAPJRXTKRZHBNRZNGNIDOUXZY5TWS1QQ2DOIHN
0.0328%
91
PancakeSwap V3 (BSC)
0X0E09FABB73BD3ADE0A17ECC321FD13A19E81CE82-0X76A797A59BA2C17726896976B7B3747BFD1D220F$5.13
0.0015374 Eth
$8,217.37
3,720.208 0X0E09FABB73BD3ADE0A17ECC321FD13A19E81CE82
0.0003%
92
STON.fi (V2)
EQDCBWIUEEEBLHHQIW161YOBGVO7_BQZED3XR5E2Y_FWFIMG-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.21
0.0015590 Eth
$5,085.86
2,867,287.469 EQDCBWIUEEEBLHHQIW161YOBGVO7_BQZED3XR5E2Y_FWFIMG
0.2366%
93
DeDust
EQC47093OX5XHB0XUK2LCR2RHS8RJ-VUL61U4W2UH5ORMG_O-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.19
0.0015549 Eth
$4,447.47
1,316,959.789 EQC47093OX5XHB0XUK2LCR2RHS8RJ-VUL61U4W2UH5ORMG_O
0.1087%
94
DeDust
EQBSOSMCZRD6FHIJA7QWGLW5WO_AH8UN435HI935JJ_STORM-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.19
0.0015549 Eth
$4,370.07
188,520.391 EQBSOSMCZRD6FHIJA7QWGLW5WO_AH8UN435HI935JJ_STORM
0.0156%
95
PancakeSwap (v2)
0X76A797A59BA2C17726896976B7B3747BFD1D220F-0XE9E7CEA3DEDCA5984780BAFC599BD69ADD087D56$5.14
0.0015382 Eth
$3,105.93
547.086 0X76A797A59BA2C17726896976B7B3747BFD1D220F
0.0000%
96
DeDust
EQD-CVR0NZ6XAYRBVBHZ-ABTRRC6SI5TVHVVPEQRAV9UAAD7-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.18
0.0015492 Eth
$2,777.06
10,298.665 EQD-CVR0NZ6XAYRBVBHZ-ABTRRC6SI5TVHVVPEQRAV9UAAD7
0.0008%
97
STON.fi (V2)
EQDWXJNVWHEFEMAAAFN-CP4NDEHVGLLRXOZ8WQHM8SDEWN_C-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.19
0.0015509 Eth
$2,364.64
399,241.823 EQDWXJNVWHEFEMAAAFN-CP4NDEHVGLLRXOZ8WQHM8SDEWN_C
0.0329%
98
Uniswap V3 (BSC)
0X76A797A59BA2C17726896976B7B3747BFD1D220F-0XBB4CDB9CBD36B01BD1CBAEBF2DE08D9173BC095C$5.14
0.0015382 Eth
$1,558.57
307.655 0X76A797A59BA2C17726896976B7B3747BFD1D220F
0.0000%
99
THENA FUSION
0X76A797A59BA2C17726896976B7B3747BFD1D220F-0X55D398326F99059FF775485246999027B3197955$5.10
0.0015271 Eth
$600.11
119.823 0X76A797A59BA2C17726896976B7B3747BFD1D220F
0.0000%
100
DeDust
EQBZ_CAFPYDR5KUTS0ANXH0ZTDHKPEZONMLJA2SNGLLM4CKO-EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAM9C$5.18
0.0015492 Eth
$410.94
3,403.006 EQBZ_CAFPYDR5KUTS0ANXH0ZTDHKPEZONMLJA2SNGLLM4CKO
0.0003%

Contract Source Code Verified (Exact Match)

Contract Name:
Bridge

Compiler Version
v0.7.4+commit.3f05b770

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Audited
File 1 of 7 : Bridge.sol
pragma solidity ^0.7.0;
pragma experimental ABIEncoderV2;

import "./BridgeInterface.sol";
import "./SignatureChecker.sol";
import "./WrappedTON.sol";


contract Bridge is SignatureChecker, BridgeInterface, WrappedTON {
    address[] public oraclesSet;
    mapping(address => bool) public isOracle;
    mapping(bytes32 => bool) public finishedVotings;

    constructor (string memory name_, string memory symbol_, address[] memory initialSet) ERC20(name_, symbol_) {
        updateOracleSet(0, initialSet);
    }
    
    function generalVote(bytes32 digest, Signature[] memory signatures) internal {
      require(signatures.length >= 2 * oraclesSet.length / 3, "Not enough signatures");
      require(!finishedVotings[digest], "Vote is already finished");
      uint signum = signatures.length;
      uint last_signer = 0;
      for(uint i=0; i<signum; i++) {
        address signer = signatures[i].signer;
        require(isOracle[signer], "Unauthorized signer");
        uint next_signer = uint(signer);
        require(next_signer > last_signer, "Signatures are not sorted");
        last_signer = next_signer;
        checkSignature(digest, signatures[i]);
      }
      finishedVotings[digest] = true;
    }

    function voteForMinting(SwapData memory data, Signature[] memory signatures) override public {
      bytes32 _id = getSwapDataId(data);
      generalVote(_id, signatures);
      executeMinting(data);
    }

    function voteForNewOracleSet(int oracleSetHash, address[] memory newOracles, Signature[] memory signatures) override  public {
      bytes32 _id = getNewSetId(oracleSetHash, newOracles);
      require(newOracles.length > 2, "New set is too short");
      generalVote(_id, signatures);
      updateOracleSet(oracleSetHash, newOracles);
    }

    function voteForSwitchBurn(bool newBurnStatus, int nonce, Signature[] memory signatures) override public {
      bytes32 _id = getNewBurnStatusId(newBurnStatus, nonce);
      generalVote(_id, signatures);
      allowBurn = newBurnStatus;
    }

    function executeMinting(SwapData memory data) internal {
      mint(data);
    }

    function updateOracleSet(int oracleSetHash, address[] memory newSet) internal {
      uint oldSetLen = oraclesSet.length;
      for(uint i = 0; i < oldSetLen; i++) {
        isOracle[oraclesSet[i]] = false;
      }
      oraclesSet = newSet;
      uint newSetLen = oraclesSet.length;
      for(uint i = 0; i < newSetLen; i++) {
        require(!isOracle[newSet[i]], "Duplicate oracle in Set");
        isOracle[newSet[i]] = true;
      }
      emit NewOracleSet(oracleSetHash, newSet);
    }
    function getFullOracleSet() public view returns (address[] memory) {
        return oraclesSet;
    }
}

File 2 of 7 : BridgeInterface.sol
pragma solidity ^0.7.0;
pragma experimental ABIEncoderV2;

import "./TonUtils.sol";


interface BridgeInterface is TonUtils {
  function voteForMinting(SwapData memory data, Signature[] memory signatures) external;
  function voteForNewOracleSet(int oracleSetHash, address[] memory newOracles, Signature[] memory signatures) external;
  function voteForSwitchBurn(bool newBurnStatus, int nonce, Signature[] memory signatures) external;
  event NewOracleSet(int oracleSetHash, address[] newOracles);
}

File 3 of 7 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.7.4;

import "./IERC20.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is IERC20 {
    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(msg.sender, recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(msg.sender, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][msg.sender];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, msg.sender, currentAllowance - amount);

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(msg.sender, spender, _allowances[msg.sender][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[msg.sender][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(msg.sender, spender, currentAllowance - subtractedValue);

        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual { }
}

File 4 of 7 : IERC20.sol
pragma solidity ^0.7.0;

/* Source: @openzeppelin/contracts */
// SPDX-License-Identifier: MIT

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 5 of 7 : SignatureChecker.sol
pragma solidity ^0.7.0;
pragma experimental ABIEncoderV2;

import "./TonUtils.sol";

contract SignatureChecker is TonUtils {

    function checkSignature(bytes32 digest, Signature memory sig) public pure {
          if (sig.signature.length != 65) {
              revert("ECDSA: invalid signature length");
          }

          // Divide the signature in r, s and v variables
          bytes32 r;
          bytes32 s;
          uint8 v;

          bytes memory signature = sig.signature;

          // ecrecover takes the signature parameters, and the only way to get them
          // currently is to use assembly.
          // solhint-disable-next-line no-inline-assembly
          assembly {
              r := mload(add(signature, 0x20))
              s := mload(add(signature, 0x40))
              v := byte(0, mload(add(signature, 0x60)))
          }

          if (
              uint256(s) >
              0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0
          ) {
              revert("ECDSA: invalid signature 's' value");
          }

          if (v != 27 && v != 28) {
              revert("ECDSA: invalid signature 'v' value");
          }
          bytes memory prefix = "\x19Ethereum Signed Message:\n32";
          bytes32 prefixedHash = keccak256(abi.encodePacked(prefix, digest));
          require(ecrecover(prefixedHash, v, r, s) == sig.signer, "Wrong signature");
    }

    function getSwapDataId(SwapData memory data)
        public
        pure
        returns (bytes32 result)
    {
        result = 
            keccak256(
                abi.encode(
                    0xDA7A,
                    data.receiver,
                    data.amount,
                    data.tx.address_.workchain,
                    data.tx.address_.address_hash,
                    data.tx.tx_hash,
                    data.tx.lt                   
                )
            );
    }

    function getNewSetId(int oracleSetHash, address[] memory set)
        public
        pure
        returns (bytes32 result)
    {
        result = 
            keccak256(
                abi.encode(
                    0x5e7,
                    oracleSetHash,
                    set                    
                )
            );
    }

    function getNewBurnStatusId(bool newBurnStatus, int nonce)
        public
        pure
        returns (bytes32 result)
    {
        result =
            keccak256(
                abi.encode(
                    0xB012,
                    newBurnStatus,
                    nonce
                )
            );
    }


}

File 6 of 7 : TonUtils.sol
pragma solidity ^0.7.0;

interface TonUtils {
    struct TonAddress {
        int8 workchain;
        bytes32 address_hash;
    }
    struct TonTxID {
        TonAddress address_;
        bytes32 tx_hash;
        uint64 lt;
    }

  struct SwapData {
        address receiver;
        uint64 amount;
        TonTxID tx;
  }
  struct Signature {
        address signer;
        bytes signature;
  }

}

File 7 of 7 : WrappedTON.sol
pragma solidity ^0.7.0;
pragma experimental ABIEncoderV2;

import "./ERC20.sol";
import "./TonUtils.sol";


abstract contract WrappedTON is ERC20, TonUtils {
    bool public allowBurn;

    function mint(SwapData memory sd) internal {
      _mint(sd.receiver, sd.amount);
      emit SwapTonToEth(sd.tx.address_.workchain, sd.tx.address_.address_hash, sd.tx.tx_hash, sd.tx.lt, sd.receiver, sd.amount);
    }

    /**
     * @dev Destroys `amount` tokens from the caller and request transfer to `addr` on TON network
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount, TonAddress memory addr) external {
      require(allowBurn, "Burn is currently disabled");
      _burn(msg.sender, amount);
      emit SwapEthToTon(msg.sender, addr.workchain, addr.address_hash, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance and request transder to `addr`
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount, TonAddress memory addr) external {
        require(allowBurn, "Burn is currently disabled");
        uint256 currentAllowance = allowance(account,msg.sender);
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(account, msg.sender, currentAllowance - amount);
        _burn(account, amount);
        emit SwapEthToTon(account, addr.workchain, addr.address_hash, amount);
    }

    function decimals() public pure override returns (uint8) {
        return 9;
    }

    event SwapEthToTon(address indexed from, int8 to_wc, bytes32 indexed to_addr_hash, uint256 value);
    event SwapTonToEth(int8 workchain, bytes32 indexed ton_address_hash, bytes32 indexed ton_tx_hash, uint64 lt, address indexed to, uint256 value);
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address[]","name":"initialSet","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"int256","name":"oracleSetHash","type":"int256"},{"indexed":false,"internalType":"address[]","name":"newOracles","type":"address[]"}],"name":"NewOracleSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"int8","name":"to_wc","type":"int8"},{"indexed":true,"internalType":"bytes32","name":"to_addr_hash","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SwapEthToTon","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"int8","name":"workchain","type":"int8"},{"indexed":true,"internalType":"bytes32","name":"ton_address_hash","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"ton_tx_hash","type":"bytes32"},{"indexed":false,"internalType":"uint64","name":"lt","type":"uint64"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"SwapTonToEth","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"allowBurn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"components":[{"internalType":"int8","name":"workchain","type":"int8"},{"internalType":"bytes32","name":"address_hash","type":"bytes32"}],"internalType":"struct TonUtils.TonAddress","name":"addr","type":"tuple"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"components":[{"internalType":"int8","name":"workchain","type":"int8"},{"internalType":"bytes32","name":"address_hash","type":"bytes32"}],"internalType":"struct TonUtils.TonAddress","name":"addr","type":"tuple"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"digest","type":"bytes32"},{"components":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"}],"internalType":"struct TonUtils.Signature","name":"sig","type":"tuple"}],"name":"checkSignature","outputs":[],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"finishedVotings","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getFullOracleSet","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"newBurnStatus","type":"bool"},{"internalType":"int256","name":"nonce","type":"int256"}],"name":"getNewBurnStatusId","outputs":[{"internalType":"bytes32","name":"result","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"int256","name":"oracleSetHash","type":"int256"},{"internalType":"address[]","name":"set","type":"address[]"}],"name":"getNewSetId","outputs":[{"internalType":"bytes32","name":"result","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint64","name":"amount","type":"uint64"},{"components":[{"components":[{"internalType":"int8","name":"workchain","type":"int8"},{"internalType":"bytes32","name":"address_hash","type":"bytes32"}],"internalType":"struct TonUtils.TonAddress","name":"address_","type":"tuple"},{"internalType":"bytes32","name":"tx_hash","type":"bytes32"},{"internalType":"uint64","name":"lt","type":"uint64"}],"internalType":"struct TonUtils.TonTxID","name":"tx","type":"tuple"}],"internalType":"struct TonUtils.SwapData","name":"data","type":"tuple"}],"name":"getSwapDataId","outputs":[{"internalType":"bytes32","name":"result","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isOracle","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"oraclesSet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint64","name":"amount","type":"uint64"},{"components":[{"components":[{"internalType":"int8","name":"workchain","type":"int8"},{"internalType":"bytes32","name":"address_hash","type":"bytes32"}],"internalType":"struct TonUtils.TonAddress","name":"address_","type":"tuple"},{"internalType":"bytes32","name":"tx_hash","type":"bytes32"},{"internalType":"uint64","name":"lt","type":"uint64"}],"internalType":"struct TonUtils.TonTxID","name":"tx","type":"tuple"}],"internalType":"struct TonUtils.SwapData","name":"data","type":"tuple"},{"components":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"}],"internalType":"struct TonUtils.Signature[]","name":"signatures","type":"tuple[]"}],"name":"voteForMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"int256","name":"oracleSetHash","type":"int256"},{"internalType":"address[]","name":"newOracles","type":"address[]"},{"components":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"}],"internalType":"struct TonUtils.Signature[]","name":"signatures","type":"tuple[]"}],"name":"voteForNewOracleSet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newBurnStatus","type":"bool"},{"internalType":"int256","name":"nonce","type":"int256"},{"components":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"bytes","name":"signature","type":"bytes"}],"internalType":"struct TonUtils.Signature[]","name":"signatures","type":"tuple[]"}],"name":"voteForSwitchBurn","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b50604051620023fb380380620023fb8339810160408190526200003491620003a7565b8251839083906200004d906003906020850190620001f9565b50805162000063906004906020840190620001f9565b505050620000796000826200008260201b60201c565b50505062000557565b60065460005b81811015620000e25760006007600060068481548110620000a557fe5b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff191691151591909117905560010162000088565b508151620000f89060069060208501906200028e565b5060065460005b81811015620001b757600760008583815181106200011957fe5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff1615620001695760405162461bcd60e51b81526004016200016090620004fc565b60405180910390fd5b6001600760008684815181106200017c57fe5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101620000ff565b507fbf8eff3db76b38ea899a5a32c8b2bede5ec5a339a2c5080495d1b154f2b5f21e8484604051620001eb929190620004a4565b60405180910390a150505050565b828054600181600116156101000203166002900490600052602060002090601f0160209004810192826200023157600085556200027c565b82601f106200024c57805160ff19168380011785556200027c565b828001600101855582156200027c579182015b828111156200027c5782518255916020019190600101906200025f565b506200028a929150620002e6565b5090565b8280548282559060005260206000209081019282156200027c579160200282015b828111156200027c57825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620002af565b5b808211156200028a5760008155600101620002e7565b80516001600160a01b03811681146200031557600080fd5b919050565b600082601f8301126200032b578081fd5b81516001600160401b038111156200033f57fe5b602062000355601f8301601f1916820162000533565b925081835284818386010111156200036c57600080fd5b60005b828110156200038c5784810182015184820183015281016200036f565b828111156200039e5760008284860101525b50505092915050565b600080600060608486031215620003bc578283fd5b83516001600160401b0380821115620003d3578485fd5b620003e1878388016200031a565b9450602091508186015181811115620003f8578485fd5b62000406888289016200031a565b9450506040860151818111156200041b578384fd5b8601601f810188136200042c578384fd5b8051828111156200043957fe5b83810292506200044b84840162000533565b8181528481019083860185850187018c101562000466578788fd5b8795505b8386101562000493576200047e81620002fd565b8352600195909501949186019186016200046a565b508096505050505050509250925092565b60006040820184835260206040818501528185518084526060860191508287019350845b81811015620004ef5784516001600160a01b031683529383019391830191600101620004c8565b5090979650505050505050565b60208082526017908201527f4475706c6963617465206f7261636c6520696e20536574000000000000000000604082015260600190565b6040518181016001600160401b03811182821017156200054f57fe5b604052919050565b611e9480620005676000396000f3fe608060405234801561001057600080fd5b50600436106101735760003560e01c806370a08231116100de578063a9059cbb11610097578063cf1a0ce111610071578063cf1a0ce11461031e578063dd62ed3e14610331578063e057fbff14610344578063ffb6b2fa1461035757610173565b8063a9059cbb146102e5578063a97e5c93146102f8578063aefe7da41461030b57610173565b806370a082311461027c57806375f2d82b1461028f5780637ddc1027146102a457806395d89b41146102b7578063a2d7cab8146102bf578063a457c2d7146102d257610173565b806335e061fc1161013057806335e061fc1461020857806339509351146102105780634054b92b1461022357806343672af0146102365780634fd7795414610249578063633a0d181461026957610173565b806306fdde0314610178578063095ea7b3146101965780630a55ec25146101b657806318160ddd146101cb57806323b872dd146101e0578063313ce567146101f3575b600080fd5b61018061036a565b60405161018d91906119db565b60405180910390f35b6101a96101a43660046115e9565b610400565b60405161018d91906118be565b6101c96101c4366004611753565b610416565b005b6101d3610468565b60405161018d91906118c9565b6101a96101ee3660046115ae565b61046e565b6101fb6104f6565b60405161018d9190611ca0565b6101a96104fb565b6101a961021e3660046115e9565b610504565b6101c96102313660046117cd565b610537565b6101c9610244366004611612565b61055c565b61025c6102573660046116bd565b610615565b60405161018d9190611897565b6101d36102773660046117b2565b61063f565b6101d361028a36600461155b565b610692565b6102976106b1565b60405161018d91906118ab565b6101d36102b236600461164e565b610712565b610180610749565b6101c96102cd3660046116d5565b6107aa565b6101a96102e03660046115e9565b610954565b6101a96102f33660046115e9565b6109ce565b6101a961030636600461155b565b6109db565b6101d3610319366004611719565b6109f0565b6101a961032c3660046116bd565b610a09565b6101d361033f36600461157c565b610a1e565b6101c961035236600461180f565b610a49565b6101c9610365366004611669565b610abb565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103f65780601f106103cb576101008083540402835291602001916103f6565b820191906000526020600020905b8154815290600101906020018083116103d957829003601f168201915b5050505050905090565b600061040d338484610aea565b50600192915050565b600061042284846109f0565b9050600283511161044e5760405162461bcd60e51b815260040161044590611ad4565b60405180910390fd5b6104588183610bd6565b6104628484610d06565b50505050565b60025490565b600061047b848484610e66565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104de5760405162461bcd60e51b8152600401808060200182810382526028815260200180611da86028913960400191505060405180910390fd5b6104eb8533858403610aea565b506001949350505050565b600990565b60055460ff1681565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161040d9185908501610aea565b60006105428361063f565b905061054e8183610bd6565b61055783610fbc565b505050565b60055460ff1661057e5760405162461bcd60e51b815260040161044590611a9d565b600061058a8433610a1e565b9050828110156105ac5760405162461bcd60e51b815260040161044590611bbd565b6105b98433858403610aea565b6105c38484610fc8565b8160200151846001600160a01b03167f6b74e6f7dd6e60dc426635d2014db6f0d51f3ce50162504b561ccd9ca158f68c846000015186604051610607929190611911565b60405180910390a350505050565b6006818154811061062557600080fd5b6000918252602090912001546001600160a01b0316905081565b80516020808301516040808501518051805190850151828601519284015193516000976106759761da7a97919691959201611990565b604051602081830303815290604052805190602001209050919050565b6001600160a01b0381166000908152602081905260409020545b919050565b606060068054806020026020016040519081016040528092919081815260200182805480156103f657602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116106eb575050505050905090565b600061b012838360405160200161072b93929190611974565b60405160208183030381529060405280519060200120905092915050565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103f65780601f106103cb576101008083540402835291602001916103f6565b8060200151516041146107cf5760405162461bcd60e51b815260040161044590611a0e565b60208082015190810151604082015160608301519192909160001a907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561082b5760405162461bcd60e51b815260040161044590611b02565b8160ff16601b1415801561084357508160ff16601c14155b156108605760405162461bcd60e51b815260040161044590611b7b565b60606040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152509050600081886040516020016108af929190611875565b60405160208183030381529060405280519060200120905086600001516001600160a01b0316600182868989604051600081526020016040526040516108f894939291906118d2565b6020604051602081039080840390855afa15801561091a573d6000803e3d6000fd5b505050602060405103516001600160a01b03161461094a5760405162461bcd60e51b815260040161044590611a74565b5050505050505050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156109b75760405162461bcd60e51b8152600401808060200182810382526025815260200180611e3a6025913960400191505060405180910390fd5b6109c43385858403610aea565b5060019392505050565b600061040d338484610e66565b60076020526000908152604090205460ff1681565b60006105e7838360405160200161072b93929190611948565b60086020526000908152604090205460ff1681565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60055460ff16610a6b5760405162461bcd60e51b815260040161044590611a9d565b610a753383610fc8565b6020810151815160405133917f6b74e6f7dd6e60dc426635d2014db6f0d51f3ce50162504b561ccd9ca158f68c91610aaf91908790611911565b60405180910390a35050565b6000610ac78484610712565b9050610ad38183610bd6565b50506005805460ff19169215159290921790915550565b6001600160a01b038316610b2f5760405162461bcd60e51b8152600401808060200182810382526024815260200180611e166024913960400191505060405180910390fd5b6001600160a01b038216610b745760405162461bcd60e51b8152600401808060200182810382526022815260200180611d606022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6006546003906002020481511015610c005760405162461bcd60e51b815260040161044590611a45565b60008281526008602052604090205460ff1615610c2f5760405162461bcd60e51b815260040161044590611b44565b80516000805b82811015610ce7576000848281518110610c4b57fe5b602090810291909101810151516001600160a01b0381166000908152600790925260409091205490915060ff16610c945760405162461bcd60e51b815260040161044590611c3c565b6001600160a01b038116838111610cbd5760405162461bcd60e51b815260040161044590611c69565b809350610cdd87878581518110610cd057fe5b60200260200101516107aa565b5050600101610c35565b505050600091825250600860205260409020805460ff19166001179055565b60065460005b81811015610d635760006007600060068481548110610d2757fe5b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff1916911515919091179055600101610d0c565b508151610d7790600690602085019061121b565b5060065460005b81811015610e265760076000858381518110610d9657fe5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff1615610dda5760405162461bcd60e51b815260040161044590611c05565b600160076000868481518110610dec57fe5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101610d7e565b507fbf8eff3db76b38ea899a5a32c8b2bede5ec5a339a2c5080495d1b154f2b5f21e8484604051610e589291906118f0565b60405180910390a150505050565b6001600160a01b038316610eab5760405162461bcd60e51b8152600401808060200182810382526025815260200180611df16025913960400191505060405180910390fd5b6001600160a01b038216610ef05760405162461bcd60e51b8152600401808060200182810382526023815260200180611d1b6023913960400191505060405180910390fd5b610efb838383610557565b6001600160a01b03831660009081526020819052604090205481811015610f535760405162461bcd60e51b8152600401808060200182810382526026815260200180611d826026913960400191505060405180910390fd5b6001600160a01b038085166000818152602081815260408083208787039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a350505050565b610fc5816110d2565b50565b6001600160a01b03821661100d5760405162461bcd60e51b8152600401808060200182810382526021815260200180611dd06021913960400191505060405180910390fd5b61101982600083610557565b6001600160a01b038216600090815260208190526040902054818110156110715760405162461bcd60e51b8152600401808060200182810382526022815260200180611d3e6022913960400191505060405180910390fd5b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3505050565b6110ed816000015182602001516001600160401b0316611157565b80516040808301516020808201518251808301519051938501519287015194516001600160a01b0390961695919490937fb4970d7abac0f0a296c031e82e94fba581d5f7c71401083ff999b9d86e9b99029361114c9391929091611924565b60405180910390a450565b6001600160a01b0382166111b2576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6111be60008383610557565b60028054820190556001600160a01b038216600081815260208181526040808320805486019055805185815290517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35050565b828054828255906000526020600020908101928215611270579160200282015b8281111561127057825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019061123b565b5061127c929150611280565b5090565b5b8082111561127c5760008155600101611281565b80356001600160a01b03811681146106ac57600080fd5b600082601f8301126112bc578081fd5b81356112cf6112ca82611cd1565b611cae565b8181529150602080830190848101818402860182018710156112f057600080fd5b60005b848110156113165761130482611295565b845292820192908201906001016112f3565b505050505092915050565b600082601f830112611331578081fd5b813561133f6112ca82611cd1565b818152915060208083019084810160005b8481101561131657611367888484358a0101611389565b84529282019290820190600101611350565b803580151581146106ac57600080fd5b60006040828403121561139a578081fd5b604051604081016001600160401b0382821081831117156113b757fe5b816040528293506113c785611295565b83526020915081850135818111156113de57600080fd5b8501601f810187136113ef57600080fd5b8035828111156113fb57fe5b61140d601f8201601f19168501611cae565b9250808352878482840101111561142357600080fd5b808483018585013760009083018401525091015292915050565b600081830360c081121561144f578182fd5b60408051606081016001600160401b03828210818311171561146d57fe5b81845282955061147c87611295565b835261148a60208801611544565b60208401526080603f19860112156114a157600080fd5b8351945060608501915084821081831117156114b957fe5b5082526114c8868684016114ec565b8352608085013560208401526114e060a08601611544565b83830152015292915050565b6000604082840312156114fd578081fd5b604051604081018181106001600160401b038211171561151957fe5b6040529050808235600081900b811461153157600080fd5b8152602092830135920191909152919050565b80356001600160401b03811681146106ac57600080fd5b60006020828403121561156c578081fd5b61157582611295565b9392505050565b6000806040838503121561158e578081fd5b61159783611295565b91506115a560208401611295565b90509250929050565b6000806000606084860312156115c2578081fd5b6115cb84611295565b92506115d960208501611295565b9150604084013590509250925092565b600080604083850312156115fb578182fd5b61160483611295565b946020939093013593505050565b600080600060808486031215611626578283fd5b61162f84611295565b92506020840135915061164585604086016114ec565b90509250925092565b60008060408385031215611660578182fd5b61160483611379565b60008060006060848603121561167d578283fd5b61168684611379565b92506020840135915060408401356001600160401b038111156116a7578182fd5b6116b386828701611321565b9150509250925092565b6000602082840312156116ce578081fd5b5035919050565b600080604083850312156116e7578182fd5b8235915060208301356001600160401b03811115611703578182fd5b61170f85828601611389565b9150509250929050565b6000806040838503121561172b578182fd5b8235915060208301356001600160401b03811115611747578182fd5b61170f858286016112ac565b600080600060608486031215611767578081fd5b8335925060208401356001600160401b0380821115611784578283fd5b611790878388016112ac565b935060408601359150808211156117a5578283fd5b506116b386828701611321565b600060c082840312156117c3578081fd5b611575838361143d565b60008060e083850312156117df578182fd5b6117e9848461143d565b915060c08301356001600160401b03811115611803578182fd5b61170f85828601611321565b60008060608385031215611821578182fd5b823591506115a584602085016114ec565b6000815180845260208085019450808401835b8381101561186a5781516001600160a01b031687529582019590820190600101611845565b509495945050505050565b60008351611887818460208801611cee565b9190910191825250602001919050565b6001600160a01b0391909116815260200190565b6000602082526115756020830184611832565b901515815260200190565b90815260200190565b93845260ff9290921660208401526040830152606082015260800190565b6000838252604060208301526119096040830184611832565b949350505050565b60009290920b8252602082015260400190565b60009390930b83526001600160401b03918216602084015216604082015260600190565b600061ffff851682528360208301526060604083015261196b6060830184611832565b95945050505050565b61ffff9390931683529015156020830152604082015260600190565b61ffff9790971687526001600160a01b039590951660208701526001600160401b03938416604087015260009290920b6060860152608085015260a08401521660c082015260e00190565b60006020825282518060208401526119fa816040850160208701611cee565b601f01601f19169190910160400192915050565b6020808252601f908201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604082015260600190565b6020808252601590820152744e6f7420656e6f756768207369676e61747572657360581b604082015260600190565b6020808252600f908201526e57726f6e67207369676e617475726560881b604082015260600190565b6020808252601a908201527f4275726e2069732063757272656e746c792064697361626c6564000000000000604082015260600190565b60208082526014908201527313995dc81cd95d081a5cc81d1bdbc81cda1bdc9d60621b604082015260600190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604082015261756560f01b606082015260800190565b60208082526018908201527f566f746520697320616c72656164792066696e69736865640000000000000000604082015260600190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604082015261756560f01b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b60208082526017908201527f4475706c6963617465206f7261636c6520696e20536574000000000000000000604082015260600190565b6020808252601390820152722ab730baba3437b934bd32b21039b4b3b732b960691b604082015260600190565b60208082526019908201527f5369676e61747572657320617265206e6f7420736f7274656400000000000000604082015260600190565b60ff91909116815260200190565b6040518181016001600160401b0381118282101715611cc957fe5b604052919050565b60006001600160401b03821115611ce457fe5b5060209081020190565b60005b83811015611d09578181015183820152602001611cf1565b83811115610462575050600091015256fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122059e486842dfe8c7ab44224799a35633a87ec346b1f567828e3450c99e78e54a864736f6c63430007040033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000105772617070656420544f4e20436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007544f4e434f494e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009000000000000000000000000c4c9bd836ab8b446519736166919e3d62491e041000000000000000000000000cf4a7c26186aa41390e246fa04115a0495085ab900000000000000000000000017dcab1b1481610f6c7a7a98cf0370dc0ec704a600000000000000000000000032162caaed276e77ef63194820586c942009a962000000000000000000000000039f4e886432bd4f3cb5062f9861efef3f6ada28000000000000000000000000ff441f9889aa475d9d3b1c638c59b84c5179846d0000000000000000000000000933738699dc733c46a0d4cbebda2f842e1ac7d90000000000000000000000007f2bbaac14f0f1834e6d0219f8855a5f619fe2c4000000000000000000000000fc5c6a2d01a984ba9eab7cf87a6d169aa9720c0c

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101735760003560e01c806370a08231116100de578063a9059cbb11610097578063cf1a0ce111610071578063cf1a0ce11461031e578063dd62ed3e14610331578063e057fbff14610344578063ffb6b2fa1461035757610173565b8063a9059cbb146102e5578063a97e5c93146102f8578063aefe7da41461030b57610173565b806370a082311461027c57806375f2d82b1461028f5780637ddc1027146102a457806395d89b41146102b7578063a2d7cab8146102bf578063a457c2d7146102d257610173565b806335e061fc1161013057806335e061fc1461020857806339509351146102105780634054b92b1461022357806343672af0146102365780634fd7795414610249578063633a0d181461026957610173565b806306fdde0314610178578063095ea7b3146101965780630a55ec25146101b657806318160ddd146101cb57806323b872dd146101e0578063313ce567146101f3575b600080fd5b61018061036a565b60405161018d91906119db565b60405180910390f35b6101a96101a43660046115e9565b610400565b60405161018d91906118be565b6101c96101c4366004611753565b610416565b005b6101d3610468565b60405161018d91906118c9565b6101a96101ee3660046115ae565b61046e565b6101fb6104f6565b60405161018d9190611ca0565b6101a96104fb565b6101a961021e3660046115e9565b610504565b6101c96102313660046117cd565b610537565b6101c9610244366004611612565b61055c565b61025c6102573660046116bd565b610615565b60405161018d9190611897565b6101d36102773660046117b2565b61063f565b6101d361028a36600461155b565b610692565b6102976106b1565b60405161018d91906118ab565b6101d36102b236600461164e565b610712565b610180610749565b6101c96102cd3660046116d5565b6107aa565b6101a96102e03660046115e9565b610954565b6101a96102f33660046115e9565b6109ce565b6101a961030636600461155b565b6109db565b6101d3610319366004611719565b6109f0565b6101a961032c3660046116bd565b610a09565b6101d361033f36600461157c565b610a1e565b6101c961035236600461180f565b610a49565b6101c9610365366004611669565b610abb565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103f65780601f106103cb576101008083540402835291602001916103f6565b820191906000526020600020905b8154815290600101906020018083116103d957829003601f168201915b5050505050905090565b600061040d338484610aea565b50600192915050565b600061042284846109f0565b9050600283511161044e5760405162461bcd60e51b815260040161044590611ad4565b60405180910390fd5b6104588183610bd6565b6104628484610d06565b50505050565b60025490565b600061047b848484610e66565b6001600160a01b0384166000908152600160209081526040808320338452909152902054828110156104de5760405162461bcd60e51b8152600401808060200182810382526028815260200180611da86028913960400191505060405180910390fd5b6104eb8533858403610aea565b506001949350505050565b600990565b60055460ff1681565b3360008181526001602090815260408083206001600160a01b0387168452909152812054909161040d9185908501610aea565b60006105428361063f565b905061054e8183610bd6565b61055783610fbc565b505050565b60055460ff1661057e5760405162461bcd60e51b815260040161044590611a9d565b600061058a8433610a1e565b9050828110156105ac5760405162461bcd60e51b815260040161044590611bbd565b6105b98433858403610aea565b6105c38484610fc8565b8160200151846001600160a01b03167f6b74e6f7dd6e60dc426635d2014db6f0d51f3ce50162504b561ccd9ca158f68c846000015186604051610607929190611911565b60405180910390a350505050565b6006818154811061062557600080fd5b6000918252602090912001546001600160a01b0316905081565b80516020808301516040808501518051805190850151828601519284015193516000976106759761da7a97919691959201611990565b604051602081830303815290604052805190602001209050919050565b6001600160a01b0381166000908152602081905260409020545b919050565b606060068054806020026020016040519081016040528092919081815260200182805480156103f657602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116106eb575050505050905090565b600061b012838360405160200161072b93929190611974565b60405160208183030381529060405280519060200120905092915050565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103f65780601f106103cb576101008083540402835291602001916103f6565b8060200151516041146107cf5760405162461bcd60e51b815260040161044590611a0e565b60208082015190810151604082015160608301519192909160001a907f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a083111561082b5760405162461bcd60e51b815260040161044590611b02565b8160ff16601b1415801561084357508160ff16601c14155b156108605760405162461bcd60e51b815260040161044590611b7b565b60606040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a3332000000008152509050600081886040516020016108af929190611875565b60405160208183030381529060405280519060200120905086600001516001600160a01b0316600182868989604051600081526020016040526040516108f894939291906118d2565b6020604051602081039080840390855afa15801561091a573d6000803e3d6000fd5b505050602060405103516001600160a01b03161461094a5760405162461bcd60e51b815260040161044590611a74565b5050505050505050565b3360009081526001602090815260408083206001600160a01b0386168452909152812054828110156109b75760405162461bcd60e51b8152600401808060200182810382526025815260200180611e3a6025913960400191505060405180910390fd5b6109c43385858403610aea565b5060019392505050565b600061040d338484610e66565b60076020526000908152604090205460ff1681565b60006105e7838360405160200161072b93929190611948565b60086020526000908152604090205460ff1681565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60055460ff16610a6b5760405162461bcd60e51b815260040161044590611a9d565b610a753383610fc8565b6020810151815160405133917f6b74e6f7dd6e60dc426635d2014db6f0d51f3ce50162504b561ccd9ca158f68c91610aaf91908790611911565b60405180910390a35050565b6000610ac78484610712565b9050610ad38183610bd6565b50506005805460ff19169215159290921790915550565b6001600160a01b038316610b2f5760405162461bcd60e51b8152600401808060200182810382526024815260200180611e166024913960400191505060405180910390fd5b6001600160a01b038216610b745760405162461bcd60e51b8152600401808060200182810382526022815260200180611d606022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6006546003906002020481511015610c005760405162461bcd60e51b815260040161044590611a45565b60008281526008602052604090205460ff1615610c2f5760405162461bcd60e51b815260040161044590611b44565b80516000805b82811015610ce7576000848281518110610c4b57fe5b602090810291909101810151516001600160a01b0381166000908152600790925260409091205490915060ff16610c945760405162461bcd60e51b815260040161044590611c3c565b6001600160a01b038116838111610cbd5760405162461bcd60e51b815260040161044590611c69565b809350610cdd87878581518110610cd057fe5b60200260200101516107aa565b5050600101610c35565b505050600091825250600860205260409020805460ff19166001179055565b60065460005b81811015610d635760006007600060068481548110610d2757fe5b6000918252602080832091909101546001600160a01b031683528201929092526040019020805460ff1916911515919091179055600101610d0c565b508151610d7790600690602085019061121b565b5060065460005b81811015610e265760076000858381518110610d9657fe5b6020908102919091018101516001600160a01b031682528101919091526040016000205460ff1615610dda5760405162461bcd60e51b815260040161044590611c05565b600160076000868481518110610dec57fe5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055600101610d7e565b507fbf8eff3db76b38ea899a5a32c8b2bede5ec5a339a2c5080495d1b154f2b5f21e8484604051610e589291906118f0565b60405180910390a150505050565b6001600160a01b038316610eab5760405162461bcd60e51b8152600401808060200182810382526025815260200180611df16025913960400191505060405180910390fd5b6001600160a01b038216610ef05760405162461bcd60e51b8152600401808060200182810382526023815260200180611d1b6023913960400191505060405180910390fd5b610efb838383610557565b6001600160a01b03831660009081526020819052604090205481811015610f535760405162461bcd60e51b8152600401808060200182810382526026815260200180611d826026913960400191505060405180910390fd5b6001600160a01b038085166000818152602081815260408083208787039055938716808352918490208054870190558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a350505050565b610fc5816110d2565b50565b6001600160a01b03821661100d5760405162461bcd60e51b8152600401808060200182810382526021815260200180611dd06021913960400191505060405180910390fd5b61101982600083610557565b6001600160a01b038216600090815260208190526040902054818110156110715760405162461bcd60e51b8152600401808060200182810382526022815260200180611d3e6022913960400191505060405180910390fd5b6001600160a01b0383166000818152602081815260408083208686039055600280548790039055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a3505050565b6110ed816000015182602001516001600160401b0316611157565b80516040808301516020808201518251808301519051938501519287015194516001600160a01b0390961695919490937fb4970d7abac0f0a296c031e82e94fba581d5f7c71401083ff999b9d86e9b99029361114c9391929091611924565b60405180910390a450565b6001600160a01b0382166111b2576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6111be60008383610557565b60028054820190556001600160a01b038216600081815260208181526040808320805486019055805185815290517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35050565b828054828255906000526020600020908101928215611270579160200282015b8281111561127057825182546001600160a01b0319166001600160a01b0390911617825560209092019160019091019061123b565b5061127c929150611280565b5090565b5b8082111561127c5760008155600101611281565b80356001600160a01b03811681146106ac57600080fd5b600082601f8301126112bc578081fd5b81356112cf6112ca82611cd1565b611cae565b8181529150602080830190848101818402860182018710156112f057600080fd5b60005b848110156113165761130482611295565b845292820192908201906001016112f3565b505050505092915050565b600082601f830112611331578081fd5b813561133f6112ca82611cd1565b818152915060208083019084810160005b8481101561131657611367888484358a0101611389565b84529282019290820190600101611350565b803580151581146106ac57600080fd5b60006040828403121561139a578081fd5b604051604081016001600160401b0382821081831117156113b757fe5b816040528293506113c785611295565b83526020915081850135818111156113de57600080fd5b8501601f810187136113ef57600080fd5b8035828111156113fb57fe5b61140d601f8201601f19168501611cae565b9250808352878482840101111561142357600080fd5b808483018585013760009083018401525091015292915050565b600081830360c081121561144f578182fd5b60408051606081016001600160401b03828210818311171561146d57fe5b81845282955061147c87611295565b835261148a60208801611544565b60208401526080603f19860112156114a157600080fd5b8351945060608501915084821081831117156114b957fe5b5082526114c8868684016114ec565b8352608085013560208401526114e060a08601611544565b83830152015292915050565b6000604082840312156114fd578081fd5b604051604081018181106001600160401b038211171561151957fe5b6040529050808235600081900b811461153157600080fd5b8152602092830135920191909152919050565b80356001600160401b03811681146106ac57600080fd5b60006020828403121561156c578081fd5b61157582611295565b9392505050565b6000806040838503121561158e578081fd5b61159783611295565b91506115a560208401611295565b90509250929050565b6000806000606084860312156115c2578081fd5b6115cb84611295565b92506115d960208501611295565b9150604084013590509250925092565b600080604083850312156115fb578182fd5b61160483611295565b946020939093013593505050565b600080600060808486031215611626578283fd5b61162f84611295565b92506020840135915061164585604086016114ec565b90509250925092565b60008060408385031215611660578182fd5b61160483611379565b60008060006060848603121561167d578283fd5b61168684611379565b92506020840135915060408401356001600160401b038111156116a7578182fd5b6116b386828701611321565b9150509250925092565b6000602082840312156116ce578081fd5b5035919050565b600080604083850312156116e7578182fd5b8235915060208301356001600160401b03811115611703578182fd5b61170f85828601611389565b9150509250929050565b6000806040838503121561172b578182fd5b8235915060208301356001600160401b03811115611747578182fd5b61170f858286016112ac565b600080600060608486031215611767578081fd5b8335925060208401356001600160401b0380821115611784578283fd5b611790878388016112ac565b935060408601359150808211156117a5578283fd5b506116b386828701611321565b600060c082840312156117c3578081fd5b611575838361143d565b60008060e083850312156117df578182fd5b6117e9848461143d565b915060c08301356001600160401b03811115611803578182fd5b61170f85828601611321565b60008060608385031215611821578182fd5b823591506115a584602085016114ec565b6000815180845260208085019450808401835b8381101561186a5781516001600160a01b031687529582019590820190600101611845565b509495945050505050565b60008351611887818460208801611cee565b9190910191825250602001919050565b6001600160a01b0391909116815260200190565b6000602082526115756020830184611832565b901515815260200190565b90815260200190565b93845260ff9290921660208401526040830152606082015260800190565b6000838252604060208301526119096040830184611832565b949350505050565b60009290920b8252602082015260400190565b60009390930b83526001600160401b03918216602084015216604082015260600190565b600061ffff851682528360208301526060604083015261196b6060830184611832565b95945050505050565b61ffff9390931683529015156020830152604082015260600190565b61ffff9790971687526001600160a01b039590951660208701526001600160401b03938416604087015260009290920b6060860152608085015260a08401521660c082015260e00190565b60006020825282518060208401526119fa816040850160208701611cee565b601f01601f19169190910160400192915050565b6020808252601f908201527f45434453413a20696e76616c6964207369676e6174757265206c656e67746800604082015260600190565b6020808252601590820152744e6f7420656e6f756768207369676e61747572657360581b604082015260600190565b6020808252600f908201526e57726f6e67207369676e617475726560881b604082015260600190565b6020808252601a908201527f4275726e2069732063757272656e746c792064697361626c6564000000000000604082015260600190565b60208082526014908201527313995dc81cd95d081a5cc81d1bdbc81cda1bdc9d60621b604082015260600190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604082015261756560f01b606082015260800190565b60208082526018908201527f566f746520697320616c72656164792066696e69736865640000000000000000604082015260600190565b60208082526022908201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604082015261756560f01b606082015260800190565b60208082526028908201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616040820152676c6c6f77616e636560c01b606082015260800190565b60208082526017908201527f4475706c6963617465206f7261636c6520696e20536574000000000000000000604082015260600190565b6020808252601390820152722ab730baba3437b934bd32b21039b4b3b732b960691b604082015260600190565b60208082526019908201527f5369676e61747572657320617265206e6f7420736f7274656400000000000000604082015260600190565b60ff91909116815260200190565b6040518181016001600160401b0381118282101715611cc957fe5b604052919050565b60006001600160401b03821115611ce457fe5b5060209081020190565b60005b83811015611d09578181015183820152602001611cf1565b83811115610462575050600091015256fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e636545524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122059e486842dfe8c7ab44224799a35633a87ec346b1f567828e3450c99e78e54a864736f6c63430007040033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000105772617070656420544f4e20436f696e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007544f4e434f494e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000009000000000000000000000000c4c9bd836ab8b446519736166919e3d62491e041000000000000000000000000cf4a7c26186aa41390e246fa04115a0495085ab900000000000000000000000017dcab1b1481610f6c7a7a98cf0370dc0ec704a600000000000000000000000032162caaed276e77ef63194820586c942009a962000000000000000000000000039f4e886432bd4f3cb5062f9861efef3f6ada28000000000000000000000000ff441f9889aa475d9d3b1c638c59b84c5179846d0000000000000000000000000933738699dc733c46a0d4cbebda2f842e1ac7d90000000000000000000000007f2bbaac14f0f1834e6d0219f8855a5f619fe2c4000000000000000000000000fc5c6a2d01a984ba9eab7cf87a6d169aa9720c0c

-----Decoded View---------------
Arg [0] : name_ (string): Wrapped TON Coin
Arg [1] : symbol_ (string): TONCOIN
Arg [2] : initialSet (address[]): 0xC4c9bd836ab8b446519736166919e3d62491E041,0xCF4A7c26186aA41390E246FA04115A0495085Ab9,0x17DcaB1B1481610F6C7a7A98cf0370dC0EC704a6,0x32162CAaEd276E77EF63194820586C942009a962,0x039f4e886432bd4f3cb5062f9861EFef3F6aDA28,0xFf441F9889Aa475d9D3b1C638C59B84c5179846D,0x0933738699dc733C46A0D4CBEbDA2f842e1Ac7d9,0x7F2bbaaC14F0f1834E6D0219F8855A5F619Fe2C4,0xfc5c6A2d01A984ba9eab7CF87A6D169aA9720c0C

-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [4] : 5772617070656420544f4e20436f696e00000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [6] : 544f4e434f494e00000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [8] : 000000000000000000000000c4c9bd836ab8b446519736166919e3d62491e041
Arg [9] : 000000000000000000000000cf4a7c26186aa41390e246fa04115a0495085ab9
Arg [10] : 00000000000000000000000017dcab1b1481610f6c7a7a98cf0370dc0ec704a6
Arg [11] : 00000000000000000000000032162caaed276e77ef63194820586c942009a962
Arg [12] : 000000000000000000000000039f4e886432bd4f3cb5062f9861efef3f6ada28
Arg [13] : 000000000000000000000000ff441f9889aa475d9d3b1c638c59b84c5179846d
Arg [14] : 0000000000000000000000000933738699dc733c46a0d4cbebda2f842e1ac7d9
Arg [15] : 0000000000000000000000007f2bbaac14f0f1834e6d0219f8855a5f619fe2c4
Arg [16] : 000000000000000000000000fc5c6a2d01a984ba9eab7cf87a6d169aa9720c0c


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.