Token (PoS) Dai Stablecoin

 

Overview ERC-20

Price
$1.00 @ 1.091091 MATIC (-0.13%)
Fully Diluted Market Cap
Total Supply:
139,075,682.369547 DAI

Holders:
749,291 addresses
 
Balance
0 DAI

Value
$0.00
0x4dde991518f617bcb5d2399bc5d7ceb82eafc65d
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

OVERVIEW

Multi-Collateral Dai, brings a lot of new and exciting features, such as support for new CDP collateral types and Dai Savings Rate.

Market

Volume (24H):$150,776,475.00
Market Capitalization:$5,175,925,813.00
Circulating Supply:5,176,755,869.00 DAI
Market Data Source: Coinmarketcap


Update? Click here to update the token ICO / general information
# Exchange Pair Price  24H Volume % Volume
1
OKX
ETH-DAI$1.001
0.0000584 Btc
$22,008,150.00
17,175.903 ETH
0.0411%
2
BitMart
BTC-DAI$1.001
0.0000584 Btc
$11,009,015.00
641.907 BTC
0.0015%
3
Uniswap (v3)
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$1.003
0.0000585 Btc
$5,575,593.00
5,578,338.946 0X6B175474E89094C44DA98B954EEDEAC495271D0F
13.3585%
4
Uniswap (v3)
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48$0.9979
0.0000582 Btc
$5,258,679.00
5,268,952.823 0X6B175474E89094C44DA98B954EEDEAC495271D0F
12.6176%
5
Hotbit
DAI-USDT$1.001
0.0000584 Btc
$3,718,188.00
3,715,802.290 DAI
8.8983%
6
Kraken
DAI-EUR$0.9996
0.0000583 Btc
$3,064,724.00
3,065,901.568 DAI
7.3420%
7
BitMart
ETH-DAI$1.001
0.0000584 Btc
$2,703,650.00
2,129.360 ETH
0.0051%
8
Uniswap (v3)
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XDAC17F958D2EE523A2206206994597C13D831EC7$1.004
0.0000586 Btc
$2,338,522.00
2,332,269.133 0X6B175474E89094C44DA98B954EEDEAC495271D0F
5.5851%
9
Uniswap (v3)
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$1.003
0.0000585 Btc
$2,191,815.00
2,208,495.955 0X6B175474E89094C44DA98B954EEDEAC495271D0F
5.2887%
10
Kraken
DAI-USD$0.9997
0.0000583 Btc
$2,109,930.00
2,110,647.291 DAI
5.0544%
11
XT.COM
BTC-DAI$1.001
0.0000584 Btc
$2,045,795.00
118.799 BTC
0.0003%
12
BKEX
USDT-DAI$0.9999
0.0000583 Btc
$1,403,753.00
1,403,476.253 USDT
3.3609%
13
LBank
DAI-USDT$1.00
0.0000583 Btc
$1,402,608.00
1,402,169.120 DAI
3.3578%
14
OKX
BTC-DAI$1.001
0.0000584 Btc
$1,354,237.00
78.603 BTC
0.0002%
15
Binance
USDT-DAI$0.9999
0.0000583 Btc
$1,323,213.00
1,323,104.797 USDT
3.1685%
16
XT.COM
ETH-DAI$1.001
0.0000584 Btc
$1,198,542.00
935.482 ETH
0.0022%
17
WhiteBIT
DAI-USDT$1.00
0.0000583 Btc
$1,184,502.00
1,184,412.360 DAI
2.8363%
18
Binance
ETH-DAI$0.9996
0.0000583 Btc
$1,033,333.00
815.349 ETH
0.0020%
19
Kraken
DAI-USDT$1.001
0.0000584 Btc
$824,745.00
824,311.735 DAI
1.9740%
20
Coinbase Exchange
DAI-USD$0.9998
0.0000583 Btc
$804,115.00
804,275.755 DAI
1.9260%
21
Uniswap (Polygon)
0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.001
0.0000584 Btc
$688,645.00
688,030.927 0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174
1.6476%
22
BitMart
DAI-USDT$1.001
0.0000584 Btc
$661,400.00
661,058.360 DAI
1.5830%
23
Quickswap
0XE5417AF564E4BFDA1C483642DB72007871397896-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.004
0.0000585 Btc
$620,834.00
150,496.111 0XE5417AF564E4BFDA1C483642DB72007871397896
0.3604%
24
Sushiswap
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$0.997
0.0000581 Btc
$565,002.00
586,206.721 0X6B175474E89094C44DA98B954EEDEAC495271D0F
1.4038%
25
Uniswap (Optimism)
0X7F5C764CBC14F9669B88837CA1490CCA17C31607-0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1$1.001
0.0000584 Btc
$408,941.00
408,619.002 0X7F5C764CBC14F9669B88837CA1490CCA17C31607
0.9785%
26
KuCoin
USDT-DAI$0.9999
0.0000583 Btc
$400,853.00
400,419.836 USDT
0.9589%
27
Kyberswap Elastic (Arbitrum)
0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1-0XFF970A61A04B1CA14834A43F5DE4533EBDDB5CC8$1.001
0.0000584 Btc
$375,092.00
374,794.312 0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1
0.8975%
28
Binance
BTC-DAI$1.001
0.0000584 Btc
$371,584.00
21.676 BTC
0.0001%
29
Beethoven X
0X04068DA6C83AFCFA0E13BA15A6696662335D5B75-DAI$1.001
0.0000584 Btc
$370,468.00
370,029.637 0X04068DA6C83AFCFA0E13BA15A6696662335D5B75
0.8861%
30
Beethoven X
0X8D11EC38A3EB5E956B052F67DA8BDC9BEF8ABF3E-USDC$1.00
0.0000583 Btc
$370,300.00
370,143.347 0X8D11EC38A3EB5E956B052F67DA8BDC9BEF8ABF3E
0.8864%
31
Azbit
DAI-USDT$1.00
0.0000583 Btc
$329,897.00
329,779.084 DAI
0.7897%
32
Kyberswap Elastic (Polygon)
0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063-0XC2132D05D31C914A87C6611C10748AEB04B58E8F$1.001
0.0000584 Btc
$325,423.00
325,097.402 0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063
0.7785%
33
OKX
DAI-USDT$1.001
0.0000583 Btc
$314,183.00
313,999.572 DAI
0.7519%
34
Kyberswap Elastic (Optimism)
0X7F5C764CBC14F9669B88837CA1490CCA17C31607-0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1$1.001
0.0000584 Btc
$308,060.00
307,787.562 0X7F5C764CBC14F9669B88837CA1490CCA17C31607
0.7371%
35
Uniswap (Optimism)
0X4200000000000000000000000000000000000006-0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1$0.9981
0.0000582 Btc
$301,877.00
236.563 0X4200000000000000000000000000000000000006
0.0006%
36
DigiFinex
DAI-USDT$1.00
0.0000583 Btc
$297,011.00
296,947.220 DAI
0.7111%
37
Kyberswap Elastic (Arbitrum)
0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1-0XFD086BC7CD5C481DCC9C85EBE478A1C0B69FCBB9$1.001
0.0000584 Btc
$261,192.00
260,967.918 0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1
0.6249%
38
Kyberswap Elastic (Polygon)
0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.001
0.0000584 Btc
$243,336.00
243,160.741 0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174
0.5823%
39
Bybit
DAI-USDT$1.00
0.0000583 Btc
$233,614.00
233,530.200 DAI
0.5592%
40
Huobi
DAI-USDT$1.00
0.0000583 Btc
$211,636.00
211,569.333 DAI
0.5066%
41
Quickswap (v3)
0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063-0XC2132D05D31C914A87C6611C10748AEB04B58E8F$1.001
0.0000584 Btc
$210,649.00
210,319.015 0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063
0.5037%
42
Bitget
DAI-USDT$1.00
0.0000583 Btc
$196,019.00
195,959.000 DAI
0.4693%
43
Bybit
BIT-DAI$1.001
0.0000584 Btc
$194,351.00
631,527.100 BIT
1.5123%
44
Bithumb
DAI-KRW$1.024
0.0000597 Btc
$190,715.00
186,215.134 DAI
0.4459%
45
Platypus Finance
0XA7D7079B0FEAD91F3E65F86E8915CB59C1A4C664-0XD586E7F844CEA2F87F50152665BCBC2C279D8D70$1.001
0.0000584 Btc
$177,399.00
177,247.684 0XA7D7079B0FEAD91F3E65F86E8915CB59C1A4C664
0.4245%
46
Uniswap (Arbitrum One)
0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1-0XFF970A61A04B1CA14834A43F5DE4533EBDDB5CC8$1.00
0.0000583 Btc
$171,378.00
171,391.895 0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1
0.4104%
47
Uniswap (v3)
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0X956F47F50A910163D8BF957CF5846D573E7F87CA$1.003
0.0000585 Btc
$156,835.00
156,507.472 0X6B175474E89094C44DA98B954EEDEAC495271D0F
0.3748%
48
Quickswap (v3)
0XA3FA99A148FA48D14ED51D610C367C61876997F1-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.001
0.0000584 Btc
$155,981.00
156,897.167 0XA3FA99A148FA48D14ED51D610C367C61876997F1
0.3757%
49
Quickswap (v3)
0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.001
0.0000584 Btc
$155,492.00
155,362.454 0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174
0.3720%
50
Gemini
DAI-USD$1.00
0.0000583 Btc
$152,637.00
152,588.128 DAI
0.3654%
51
Bitget
DAI-USDC$0.9998
0.0000583 Btc
$152,540.00
152,639.000 DAI
0.3655%
52
BKEX
ETH-DAI$0.9999
0.0000583 Btc
$150,785.00
117.834 ETH
0.0003%
53
Osmosis
IBC/0CD3A0285E1341859B5E86B6AB7682F023D03E97607CCC1DC95706411D866DF7-UOSMO$1.002
0.0000584 Btc
$132,051.00
131,830.916 IBC/0CD3A0285E1341859B5E86B6AB7682F023D03E97607CCC1DC95706411D866DF7
0.3157%
54
Platypus Finance
0XB97EF9EF8734C71904D8002F8B6BC66DD9C48A6E-0XD586E7F844CEA2F87F50152665BCBC2C279D8D70$1.001
0.0000584 Btc
$112,618.00
112,527.086 0XB97EF9EF8734C71904D8002F8B6BC66DD9C48A6E
0.2695%
55
Platypus Finance
0XD586E7F844CEA2F87F50152665BCBC2C279D8D70-0XB97EF9EF8734C71904D8002F8B6BC66DD9C48A6E$1.001
0.0000584 Btc
$112,611.00
112,527.546 0XD586E7F844CEA2F87F50152665BCBC2C279D8D70
0.2695%
56
ApeSwap (Polygon)
0X0D500B1D8E8EF31E21C99D1DB9A6444D3ADF1270-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.001
0.0000584 Btc
$97,931.00
106,319.003 0X0D500B1D8E8EF31E21C99D1DB9A6444D3ADF1270
0.2546%
57
BitMart
DAI-USDC$1.001
0.0000584 Btc
$97,200.00
97,131.000 DAI
0.2326%
58
Velodrome Finance
0X7F5C764CBC14F9669B88837CA1490CCA17C31607-0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1$1.00
0.0000583 Btc
$95,349.00
95,293.168 0X7F5C764CBC14F9669B88837CA1490CCA17C31607
0.2282%
59
Balancer (Arbitrum)
0XF0B5CEEFC89684889E5F7E0A7775BD100FCD3709-DAI$1.001
0.0000584 Btc
$94,436.00
96,081.350 0XF0B5CEEFC89684889E5F7E0A7775BD100FCD3709
0.2301%
60
Quickswap (v3)
0X7CEB23FD6BC0ADD59E62AC25578270CFF1B9F619-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.003
0.0000585 Btc
$75,047.00
58.479 0X7CEB23FD6BC0ADD59E62AC25578270CFF1B9F619
0.0001%
61
Uniswap (Polygon)
0XA3FA99A148FA48D14ED51D610C367C61876997F1-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.001
0.0000584 Btc
$73,438.00
73,858.126 0XA3FA99A148FA48D14ED51D610C367C61876997F1
0.1769%
62
Uniswap (v2)
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XB53ECF1345CABEE6EA1A65100EBB153CEBCAC40F$1.001
0.0000584 Btc
$70,879.00
67,767.809 0X6B175474E89094C44DA98B954EEDEAC495271D0F
0.1623%
63
Tokpie
DAI-USDC$1.00
0.0000583 Btc
$63,583.00
63,573.840 DAI
0.1522%
64
Uniswap (Arbitrum One)
0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1-0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1$1.003
0.0000585 Btc
$63,259.00
49.490 0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1
0.0001%
65
ZigZag (zkSync v1)
ETH-DAI$1.001
0.0000584 Btc
$58,406.00
45.626 ETH
0.0001%
66
Platypus Finance
0XC7198437980C041C805A1EDCBA50C1CE5DB95118-0XD586E7F844CEA2F87F50152665BCBC2C279D8D70$1.001
0.0000584 Btc
$56,921.00
56,873.196 0XC7198437980C041C805A1EDCBA50C1CE5DB95118
0.1362%
67
Platypus Finance
0XD586E7F844CEA2F87F50152665BCBC2C279D8D70-0XC7198437980C041C805A1EDCBA50C1CE5DB95118$1.001
0.0000584 Btc
$56,913.00
56,874.405 0XD586E7F844CEA2F87F50152665BCBC2C279D8D70
0.1362%
68
CoinEx
DAI-USDT$1.005
0.0000586 Btc
$52,072.00
51,856.901 DAI
0.1242%
69
Crypto.com Exchange
DAI-USDT$0.9987
0.0000582 Btc
$48,661.00
48,724.600 DAI
0.1167%
70
Bancor (V3)
DAI-BNT$1.009
0.0000589 Btc
$48,264.00
48,160.687 DAI
0.1153%
71
Quickswap
0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.004
0.0000585 Btc
$45,740.00
45,700.537 0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174
0.1094%
72
ZigZag (zkSync v1)
DAI-USDC$0.9849
0.0000574 Btc
$42,199.00
42,149.200 DAI
0.1009%
73
Crypto.com Exchange
DAI-USD$0.9979
0.0000582 Btc
$41,532.00
41,620.000 DAI
0.0997%
74
EXMO
DAI-ETH$1.001
0.0000584 Btc
$40,601.00
40,556.903 DAI
0.0971%
75
PancakeSwap (v2)
0X1AF3F329E8BE154074D8769D1FFA4EE058B1DBC3-BUSD$0.9995
0.0000583 Btc
$36,635.00
36,738.565 0X1AF3F329E8BE154074D8769D1FFA4EE058B1DBC3
0.0880%
76
Uniswap (v3)
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XDAC17F958D2EE523A2206206994597C13D831EC7$1.003
0.0000585 Btc
$34,517.00
34,392.711 0X6B175474E89094C44DA98B954EEDEAC495271D0F
0.0824%
77
Sushiswap (Polygon POS)
0X7CEB23FD6BC0ADD59E62AC25578270CFF1B9F619-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.004
0.0000585 Btc
$29,525.00
23.213 0X7CEB23FD6BC0ADD59E62AC25578270CFF1B9F619
0.0001%
78
Bybit
BTC-DAI$1.001
0.0000584 Btc
$27,320.00
1.597 BTC
0.0000%
79
Bitfinex
DAI-USD$1.001
0.0000584 Btc
$23,400.00
23,372.067 DAI
0.0560%
80
Uniswap (Optimism)
0X8C6F28F2F1A3C87F0F938B96D27520D9751EC8D9-0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1$1.001
0.0000584 Btc
$22,919.00
22,763.368 0X8C6F28F2F1A3C87F0F938B96D27520D9751EC8D9
0.0545%
81
KuCoin
ETH-DAI$0.9999
0.0000583 Btc
$21,792.00
17.203 ETH
0.0000%
82
Bancor (V2)
DAI-BNT$0.9999
0.0000583 Btc
$19,512.41
19,513.812 DAI
0.0467%
83
KuCoin
BTC-DAI$0.9999
0.0000583 Btc
$18,586.73
1.085 BTC
0.0000%
84
Bitvavo
DAI-EUR$0.9769
0.0000570 Btc
$17,718.00
18,136.197 DAI
0.0434%
85
Bybit
ETH-DAI$1.001
0.0000584 Btc
$16,677.16
13.160 ETH
0.0000%
86
DeFi Swap
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$1.001
0.0000584 Btc
$14,066.35
14,157.039 0X6B175474E89094C44DA98B954EEDEAC495271D0F
0.0339%
87
Verse DEX
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$0.9921
0.0000579 Btc
$13,687.06
14,133.555 0X6B175474E89094C44DA98B954EEDEAC495271D0F
0.0338%
88
Bitstamp
DAI-USD$1.008
0.0000588 Btc
$8,774.66
8,702.082 DAI
0.0208%
89
Coinbase Exchange
ETH-DAI$0.9999
0.0000583 Btc
$8,563.36
6.750 ETH
0.0000%
90
ApeSwap (Polygon)
0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.001
0.0000584 Btc
$8,251.15
8,243.803 0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174
0.0197%
91
Emirex
USDT-DAI$1.001
0.0000584 Btc
$7,684.78
7,679.680 USDT
0.0184%
92
Balancer (Polygon)
0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063-USDT$1.001
0.0000584 Btc
$7,470.21
7,464.876 0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063
0.0179%
93
Balancer (Polygon)
0XC2132D05D31C914A87C6611C10748AEB04B58E8F-DAI$1.001
0.0000584 Btc
$7,468.56
7,465.819 0XC2132D05D31C914A87C6611C10748AEB04B58E8F
0.0179%
94
Bitso
DAI-MXN$0.9992
0.0000583 Btc
$6,960.79
6,966.534 DAI
0.0167%
95
Balancer (Polygon)
0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174-DAI$1.001
0.0000584 Btc
$5,228.18
5,208.640 0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174
0.0125%
96
Balancer (Polygon)
0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063-USDC$0.9974
0.0000582 Btc
$5,194.50
5,208.107 0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063
0.0125%
97
Verse DEX
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48$0.9921
0.0000579 Btc
$2,072.93
2,103.000 0X6B175474E89094C44DA98B954EEDEAC495271D0F
0.0050%
98
Concave
0X000000007A58F5F58E697E51AB0357BC9E260A04-0X6B175474E89094C44DA98B954EEDEAC495271D0F$1.001
0.0000584 Btc
$1,703.47
300.557 0X000000007A58F5F58E697E51AB0357BC9E260A04
0.0007%
99
ArthSwap
0X6DE33698E9E9B787E09D3BD7771EF63557E148BB-0X6A2D262D56735DBA19DD70682B39F6BE9A931D98$0.9975
0.0000582 Btc
$1,485.20
1,492.555 0X6DE33698E9E9B787E09D3BD7771EF63557E148BB
0.0036%
100
Sushiswap (Polygon POS)
0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.004
0.0000585 Btc
$1,243.98
1,238.825 0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174
0.0030%
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
UChildERC20Proxy

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2021-06-29
*/

// File: contracts/common/Proxy/IERCProxy.sol

pragma solidity 0.6.6;

interface IERCProxy {
    function proxyType() external pure returns (uint256 proxyTypeId);

    function implementation() external view returns (address codeAddr);
}

// File: contracts/common/Proxy/Proxy.sol

pragma solidity 0.6.6;


abstract contract Proxy is IERCProxy {
    function delegatedFwd(address _dst, bytes memory _calldata) internal {
        // solium-disable-next-line security/no-inline-assembly
        assembly {
            let result := delegatecall(
                sub(gas(), 10000),
                _dst,
                add(_calldata, 0x20),
                mload(_calldata),
                0,
                0
            )
            let size := returndatasize()

            let ptr := mload(0x40)
            returndatacopy(ptr, 0, size)

            // revert instead of invalid() bc if the underlying call failed with invalid() it already wasted gas.
            // if the call returned error data, forward it
            switch result
                case 0 {
                    revert(ptr, size)
                }
                default {
                    return(ptr, size)
                }
        }
    }

    function proxyType() external virtual override pure returns (uint256 proxyTypeId) {
        // Upgradeable proxy
        proxyTypeId = 2;
    }

    function implementation() external virtual override view returns (address);
}

// File: contracts/common/Proxy/UpgradableProxy.sol

pragma solidity 0.6.6;


contract UpgradableProxy is Proxy {
    event ProxyUpdated(address indexed _new, address indexed _old);
    event ProxyOwnerUpdate(address _new, address _old);

    bytes32 constant IMPLEMENTATION_SLOT = keccak256("matic.network.proxy.implementation");
    bytes32 constant OWNER_SLOT = keccak256("matic.network.proxy.owner");

    constructor(address _proxyTo) public {
        setProxyOwner(msg.sender);
        setImplementation(_proxyTo);
    }

    fallback() external payable {
        delegatedFwd(loadImplementation(), msg.data);
    }

    receive() external payable {
        delegatedFwd(loadImplementation(), msg.data);
    }

    modifier onlyProxyOwner() {
        require(loadProxyOwner() == msg.sender, "NOT_OWNER");
        _;
    }

    function proxyOwner() external view returns(address) {
        return loadProxyOwner();
    }

    function loadProxyOwner() internal view returns(address) {
        address _owner;
        bytes32 position = OWNER_SLOT;
        assembly {
            _owner := sload(position)
        }
        return _owner;
    }

    function implementation() external override view returns (address) {
        return loadImplementation();
    }

    function loadImplementation() internal view returns(address) {
        address _impl;
        bytes32 position = IMPLEMENTATION_SLOT;
        assembly {
            _impl := sload(position)
        }
        return _impl;
    }

    function transferProxyOwnership(address newOwner) public onlyProxyOwner {
        require(newOwner != address(0), "ZERO_ADDRESS");
        emit ProxyOwnerUpdate(newOwner, loadProxyOwner());
        setProxyOwner(newOwner);
    }

    function setProxyOwner(address newOwner) private {
        bytes32 position = OWNER_SLOT;
        assembly {
            sstore(position, newOwner)
        }
    }

    function updateImplementation(address _newProxyTo) public onlyProxyOwner {
        require(_newProxyTo != address(0x0), "INVALID_PROXY_ADDRESS");
        require(isContract(_newProxyTo), "DESTINATION_ADDRESS_IS_NOT_A_CONTRACT");

        emit ProxyUpdated(_newProxyTo, loadImplementation());
        
        setImplementation(_newProxyTo);
    }

    function updateAndCall(address _newProxyTo, bytes memory data) payable public onlyProxyOwner {
        updateImplementation(_newProxyTo);

        (bool success, bytes memory returnData) = address(this).call{value: msg.value}(data);
        require(success, string(returnData));
    }

    function setImplementation(address _newProxyTo) private {
        bytes32 position = IMPLEMENTATION_SLOT;
        assembly {
            sstore(position, _newProxyTo)
        }
    }
    
    function isContract(address _target) internal view returns (bool) {
        if (_target == address(0)) {
            return false;
        }

        uint256 size;
        assembly {
            size := extcodesize(_target)
        }
        return size > 0;
    }
}

// File: contracts/child/ChildToken/UpgradeableChildERC20/UChildERC20Proxy.sol

pragma solidity 0.6.6;


contract UChildERC20Proxy is UpgradableProxy {
    constructor(address _proxyTo)
        public
        UpgradableProxy(_proxyTo)
    {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_proxyTo","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_new","type":"address"},{"indexed":false,"internalType":"address","name":"_old","type":"address"}],"name":"ProxyOwnerUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_new","type":"address"},{"indexed":true,"internalType":"address","name":"_old","type":"address"}],"name":"ProxyUpdated","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyType","outputs":[{"internalType":"uint256","name":"proxyTypeId","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferProxyOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newProxyTo","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"updateAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_newProxyTo","type":"address"}],"name":"updateImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b50604051610c85380380610c858339818101604052602081101561003357600080fd5b8101908080519060200190929190505050806100543361006a60201b60201c565b610063816100ab60201b60201c565b50506100cf565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e6572000000000000008152506019019050604051809103902090508181555050565b60006040518080610c63602291396022019050604051809103902090508181555050565b610b85806100de6000396000f3fe6080604052600436106100595760003560e01c8063025313a21461010e578063025b22bc146101655780634555d5c9146101b65780635c60da1b146101e1578063d88ca2c814610238578063f1739cae14610313576100b6565b366100b6576100b4610069610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b61010c6100c1610364565b6000368080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050610390565b005b34801561011a57600080fd5b506101236103ba565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561017157600080fd5b506101b46004803603602081101561018857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506103c9565b005b3480156101c257600080fd5b506101cb6105df565b6040518082815260200191505060405180910390f35b3480156101ed57600080fd5b506101f66105e8565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103116004803603604081101561024e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561028b57600080fd5b82018360208201111561029d57600080fd5b803590602001918460018302840111640100000000831117156102bf57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506105f7565b005b34801561031f57600080fd5b506103626004803603602081101561033657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610813565b005b60008060006040518080610b2e6022913960220190506040518091039020905080549150819250505090565b600080825160208401856127105a03f43d604051816000823e82600081146103b6578282f35b8282fd5b60006103c4610a08565b905090565b3373ffffffffffffffffffffffffffffffffffffffff166103e8610a08565b73ffffffffffffffffffffffffffffffffffffffff1614610471576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610514576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f494e56414c49445f50524f58595f41444452455353000000000000000000000081525060200191505060405180910390fd5b61051d81610a51565b610572576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526025815260200180610b096025913960400191505060405180910390fd5b61057a610364565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167fd32d24edea94f55e932d9a008afc425a8561462d1b1f57bc6e508e9a6b9509e160405160405180910390a36105dc81610aa3565b50565b60006002905090565b60006105f2610364565b905090565b3373ffffffffffffffffffffffffffffffffffffffff16610616610a08565b73ffffffffffffffffffffffffffffffffffffffff161461069f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b6106a8826103c9565b600060603073ffffffffffffffffffffffffffffffffffffffff1634846040518082805190602001908083835b602083106106f857805182526020820191506020810190506020830392506106d5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461075a576040519150601f19603f3d011682016040523d82523d6000602084013e61075f565b606091505b509150915081819061080c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156107d15780820151818401526020810190506107b6565b50505050905090810190601f1680156107fe5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5050505050565b3373ffffffffffffffffffffffffffffffffffffffff16610832610a08565b73ffffffffffffffffffffffffffffffffffffffff16146108bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f4e4f545f4f574e4552000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561095e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600c8152602001807f5a45524f5f41444452455353000000000000000000000000000000000000000081525060200191505060405180910390fd5b7fdbe5fd65bcdbae152f24ab660ea68e72b4d4705b57b16e0caae994e214680ee281610988610a08565b604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a1610a0581610ac7565b50565b600080600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e65720000000000000081525060190190506040518091039020905080549150819250505090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610a905760009050610a9e565b6000823b9050600081119150505b919050565b60006040518080610b2e602291396022019050604051809103902090508181555050565b600060405180807f6d617469632e6e6574776f726b2e70726f78792e6f776e657200000000000000815250601901905060405180910390209050818155505056fe44455354494e4154494f4e5f414444524553535f49535f4e4f545f415f434f4e54524143546d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6ea26469706673582212208262e9eb2153cf52cdbce21b7ed8a72faf3469a061b389bcfdc789246642006364736f6c634300060600336d617469632e6e6574776f726b2e70726f78792e696d706c656d656e746174696f6e000000000000000000000000490e379c9cff64944be82b849f8fd5972c7999a7

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

000000000000000000000000490e379c9cff64944be82b849f8fd5972c7999a7

-----Decoded View---------------
Arg [0] : _proxyTo (address): 0x490e379c9cff64944be82b849f8fd5972c7999a7

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000490e379c9cff64944be82b849f8fd5972c7999a7


Loading