Token Dai Stablecoin

Overview ERC20

Price
$0.00 @ 0.000000 GLMR
Fully Diluted Market Cap
Total Supply:
4,123,510.044577 DAI

Holders:
1,122 addresses
Balance
1.461626808325052323 DAI

Value
$1.46 ( ~4.1616 GLMR) [0.0000%]
0x61bb85c9659679e559d348af87db6a11eb0a353d
Loading
[ Download CSV Export  ] 
Loading
[ Download CSV Export  ] 
Loading

OVERVIEW

Bridged DAI Token of Nomad.

Market

Volume (24H):$213,667,142.00
Market Capitalization:$5,189,617,424.00
Circulating Supply:5,185,021,397.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.0000607 Btc
$22,851,501.00
19,411.211 ETH
0.0210%
2
BitMart
BTC-DAI$1.001
0.0000607 Btc
$18,873,875.00
1,144.869 BTC
0.0012%
3
Kraken
DAI-USD$0.9998
0.0000607 Btc
$8,988,717.00
8,990,154.945 DAI
9.7268%
4
BKEX
USDT-DAI$1.001
0.0000607 Btc
$8,732,030.00
8,724,083.878 USDT
9.4389%
5
Binance
USDT-DAI$1.001
0.0000607 Btc
$7,594,178.00
7,590,763.342 USDT
8.2127%
6
Uniswap (v3)
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$0.9958
0.0000604 Btc
$7,241,530.00
7,094,466.108 0X6B175474E89094C44DA98B954EEDEAC495271D0F
7.6758%
7
Kraken
DAI-EUR$0.9994
0.0000606 Btc
$7,233,138.00
7,237,588.807 DAI
7.8306%
8
Uniswap (v3)
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48$0.9954
0.0000604 Btc
$6,722,795.00
6,753,257.767 0X6B175474E89094C44DA98B954EEDEAC495271D0F
7.3066%
9
Hotbit
DAI-USDT$1.00
0.0000607 Btc
$6,108,109.00
6,105,076.660 DAI
6.6053%
10
XT.COM
BTC-DAI$0.9992
0.0000607 Btc
$4,609,308.00
284.304 BTC
0.0003%
11
Binance
BUSD-DAI$1.001
0.0000607 Btc
$3,499,048.00
3,495,570.725 BUSD
3.7820%
12
Uniswap (v3)
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$0.9958
0.0000604 Btc
$3,498,803.00
3,407,564.954 0X6B175474E89094C44DA98B954EEDEAC495271D0F
3.6868%
13
OKX
BTC-DAI$1.00
0.0000607 Btc
$3,319,721.00
204.393 BTC
0.0002%
14
Binance
ETH-DAI$1.00
0.0000607 Btc
$3,025,950.00
2,505.597 ETH
0.0027%
15
OKX
DAI-USDT$1.001
0.0000607 Btc
$3,019,011.00
3,018,096.001 DAI
3.2654%
16
BitMart
ETH-DAI$1.001
0.0000607 Btc
$2,400,275.00
1,985.968 ETH
0.0021%
17
BitMart
DAI-USDT$1.001
0.0000607 Btc
$2,375,944.00
2,373,977.400 DAI
2.5685%
18
Kyberswap Elastic (Arbitrum)
0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1-0XFF970A61A04B1CA14834A43F5DE4533EBDDB5CC8$1.001
0.0000607 Btc
$2,374,289.00
2,372,282.150 0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1
2.5667%
19
Kraken
DAI-USDT$1.001
0.0000607 Btc
$2,309,181.00
2,307,015.338 DAI
2.4961%
20
DigiFinex
DAI-USDT$1.001
0.0000608 Btc
$2,018,833.00
2,016,416.863 DAI
2.1816%
21
XT.COM
ETH-DAI$1.001
0.0000607 Btc
$1,945,553.00
1,651.772 ETH
0.0018%
22
Binance
BTC-DAI$1.001
0.0000607 Btc
$1,809,060.00
109.704 BTC
0.0001%
23
Kyberswap Elastic (Arbitrum)
0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1-0XFD086BC7CD5C481DCC9C85EBE478A1C0B69FCBB9$1.001
0.0000607 Btc
$1,480,518.00
1,479,249.511 0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1
1.6005%
24
Kyberswap Elastic (Optimism)
0X7F5C764CBC14F9669B88837CA1490CCA17C31607-0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1$1.001
0.0000607 Btc
$1,401,929.00
1,400,809.237 0X7F5C764CBC14F9669B88837CA1490CCA17C31607
1.5156%
25
Coinbase Exchange
DAI-USD$0.9999
0.0000607 Btc
$1,312,518.00
1,312,649.364 DAI
1.4202%
26
WhiteBIT
DAI-USDT$1.002
0.0000608 Btc
$1,296,350.00
1,293,893.870 DAI
1.3999%
27
LBank
DAI-USDT$1.001
0.0000608 Btc
$1,127,667.00
1,126,429.865 DAI
1.2187%
28
Uniswap (Optimism)
0X7F5C764CBC14F9669B88837CA1490CCA17C31607-0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1$0.9989
0.0000606 Btc
$914,322.00
915,208.834 0X7F5C764CBC14F9669B88837CA1490CCA17C31607
0.9902%
29
Kyberswap Elastic (Polygon)
0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.00
0.0000607 Btc
$909,160.00
909,243.267 0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174
0.9837%
30
Bybit
BIT-DAI$0.9998
0.0000607 Btc
$858,755.00
2,893,006.360 BIT
3.1301%
31
Uniswap (Polygon)
0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.001
0.0000608 Btc
$804,325.00
803,494.254 0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174
0.8693%
32
Huobi
DAI-USDT$1.002
0.0000608 Btc
$771,929.00
772,562.754 DAI
0.8359%
33
Kyberswap Elastic (Polygon)
0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063-0XC2132D05D31C914A87C6611C10748AEB04B58E8F$1.001
0.0000607 Btc
$701,752.00
701,078.852 0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063
0.7585%
34
Uniswap (v3)
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XDAC17F958D2EE523A2206206994597C13D831EC7$0.9954
0.0000604 Btc
$589,088.00
591,985.952 0X6B175474E89094C44DA98B954EEDEAC495271D0F
0.6405%
35
Uniswap (Optimism)
0X4200000000000000000000000000000000000006-0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1$0.9981
0.0000606 Btc
$540,048.00
457.437 0X4200000000000000000000000000000000000006
0.0005%
36
Kyberswap Elastic (Optimism)
0X94B008AA00579C1307B0EF2C499AD98A8CE58E58-0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1$1.001
0.0000607 Btc
$466,785.00
466,548.520 0X94B008AA00579C1307B0EF2C499AD98A8CE58E58
0.5048%
37
BKEX
BTC-DAI$0.9992
0.0000607 Btc
$442,476.00
27.361 BTC
0.0000%
38
BKEX
ETH-DAI$0.9997
0.0000607 Btc
$422,916.00
359.625 ETH
0.0004%
39
Quickswap
0XE5417AF564E4BFDA1C483642DB72007871397896-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.004
0.0000609 Btc
$391,715.00
101,620.032 0XE5417AF564E4BFDA1C483642DB72007871397896
0.1099%
40
Beethoven X
0X04068DA6C83AFCFA0E13BA15A6696662335D5B75-DAI$1.001
0.0000607 Btc
$330,656.00
330,212.424 0X04068DA6C83AFCFA0E13BA15A6696662335D5B75
0.3573%
41
Beethoven X
0X8D11EC38A3EB5E956B052F67DA8BDC9BEF8ABF3E-USDC$1.00
0.0000607 Btc
$330,449.00
330,303.342 0X8D11EC38A3EB5E956B052F67DA8BDC9BEF8ABF3E
0.3574%
42
BitMart
DAI-USDC$1.001
0.0000607 Btc
$330,356.00
330,088.200 DAI
0.3571%
43
Azbit
DAI-USDT$0.9995
0.0000607 Btc
$321,715.00
321,877.559 DAI
0.3483%
44
PancakeSwap (v2)
0X1AF3F329E8BE154074D8769D1FFA4EE058B1DBC3-BUSD$0.9995
0.0000607 Btc
$314,609.00
314,106.171 0X1AF3F329E8BE154074D8769D1FFA4EE058B1DBC3
0.3398%
45
Sushiswap
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$1.001
0.0000608 Btc
$297,120.00
289,638.427 0X6B175474E89094C44DA98B954EEDEAC495271D0F
0.3134%
46
Quickswap (v3)
0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.001
0.0000607 Btc
$276,807.00
276,588.633 0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174
0.2993%
47
KuCoin
USDT-DAI$1.001
0.0000607 Btc
$262,571.00
262,479.644 USDT
0.2840%
48
Platypus Finance
0XD586E7F844CEA2F87F50152665BCBC2C279D8D70-0XB97EF9EF8734C71904D8002F8B6BC66DD9C48A6E$1.001
0.0000608 Btc
$256,947.00
256,664.887 0XD586E7F844CEA2F87F50152665BCBC2C279D8D70
0.2777%
49
Platypus Finance
0XB97EF9EF8734C71904D8002F8B6BC66DD9C48A6E-0XD586E7F844CEA2F87F50152665BCBC2C279D8D70$1.001
0.0000607 Btc
$256,868.00
256,638.940 0XB97EF9EF8734C71904D8002F8B6BC66DD9C48A6E
0.2777%
50
Uniswap (Optimism)
0X94B008AA00579C1307B0EF2C499AD98A8CE58E58-0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1$0.9995
0.0000607 Btc
$245,632.00
245,803.077 0X94B008AA00579C1307B0EF2C499AD98A8CE58E58
0.2659%
51
Bitget
DAI-USDT$1.001
0.0000607 Btc
$226,788.00
226,777.000 DAI
0.2454%
52
Uniswap (Arbitrum One)
0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1-0XFF970A61A04B1CA14834A43F5DE4533EBDDB5CC8$0.9998
0.0000607 Btc
$212,420.00
212,535.130 0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1
0.2300%
53
Velodrome Finance
0X7F5C764CBC14F9669B88837CA1490CCA17C31607-0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1$1.001
0.0000607 Btc
$212,093.00
211,945.534 0X7F5C764CBC14F9669B88837CA1490CCA17C31607
0.2293%
54
Binance
BNB-DAI$1.001
0.0000607 Btc
$189,963.00
628.956 BNB
0.0007%
55
Osmosis
IBC/0CD3A0285E1341859B5E86B6AB7682F023D03E97607CCC1DC95706411D866DF7-UOSMO$0.9981
0.0000606 Btc
$187,944.00
188,301.438 IBC/0CD3A0285E1341859B5E86B6AB7682F023D03E97607CCC1DC95706411D866DF7
0.2037%
56
Bybit
DAI-USDT$1.00
0.0000607 Btc
$162,896.00
162,899.970 DAI
0.1762%
57
Quickswap (v3)
0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063-0XC2132D05D31C914A87C6611C10748AEB04B58E8F$1.001
0.0000607 Btc
$152,062.00
151,971.595 0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063
0.1644%
58
Uniswap (Optimism)
0X8C6F28F2F1A3C87F0F938B96D27520D9751EC8D9-0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1$0.9989
0.0000606 Btc
$144,021.00
143,401.053 0X8C6F28F2F1A3C87F0F938B96D27520D9751EC8D9
0.1552%
59
Bitget
DAI-USDC$1.002
0.0000608 Btc
$134,558.00
134,471.000 DAI
0.1455%
60
Bancor (V3)
DAI-BNT$0.9897
0.0000601 Btc
$134,340.00
133,226.771 DAI
0.1441%
61
Gemini
DAI-USD$0.999
0.0000606 Btc
$117,147.00
117,259.608 DAI
0.1269%
62
ApeSwap (Polygon)
0X0D500B1D8E8EF31E21C99D1DB9A6444D3ADF1270-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.00
0.0000607 Btc
$107,381.00
130,633.242 0X0D500B1D8E8EF31E21C99D1DB9A6444D3ADF1270
0.1413%
63
Uniswap (Arbitrum One)
0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1-0XDA10009CBD5D07DD0CECC66161FC93D7C9000DA1$0.997
0.0000605 Btc
$104,869.00
88.442 0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1
0.0001%
64
Bibox
DAI-USDT$1.001
0.0000608 Btc
$95,447.00
95,304.000 DAI
0.1031%
65
Uniswap (Polygon)
0XA3FA99A148FA48D14ED51D610C367C61876997F1-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.001
0.0000608 Btc
$70,145.00
70,726.632 0XA3FA99A148FA48D14ED51D610C367C61876997F1
0.0765%
66
Uniswap (v3)
0X5F98805A4E8BE255A32880FDEC7F6728C6568BA0-0X6B175474E89094C44DA98B954EEDEAC495271D0F$0.9958
0.0000604 Btc
$67,769.00
65,507.646 0X5F98805A4E8BE255A32880FDEC7F6728C6568BA0
0.0709%
67
Tokpie
DAI-USDC$1.001
0.0000608 Btc
$65,820.00
65,738.680 DAI
0.0711%
68
Quickswap (v3)
0XA3FA99A148FA48D14ED51D610C367C61876997F1-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.001
0.0000607 Btc
$63,890.00
64,441.859 0XA3FA99A148FA48D14ED51D610C367C61876997F1
0.0697%
69
Sushiswap
0X64AA3364F17A4D01C6F1751FD97C2BD3D7E7F1D5-0X6B175474E89094C44DA98B954EEDEAC495271D0F$1.001
0.0000608 Btc
$63,195.00
8,027.821 0X64AA3364F17A4D01C6F1751FD97C2BD3D7E7F1D5
0.0087%
70
KuCoin
BTC-DAI$1.001
0.0000607 Btc
$61,980.00
3.763 BTC
0.0000%
71
ZigZag (zkSync v1)
ETH-DAI$1.001
0.0000607 Btc
$61,959.00
52.786 ETH
0.0001%
72
Bitfinex
DAI-USD$1.002
0.0000608 Btc
$57,706.00
57,613.698 DAI
0.0623%
73
Gate.io
DAI-USDT$1.003
0.0000609 Btc
$50,909.00
50,582.838 DAI
0.0547%
74
Coinbase Exchange
ETH-DAI$1.001
0.0000607 Btc
$45,266.00
37.325 ETH
0.0000%
75
Uniswap (v3)
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XDAC17F958D2EE523A2206206994597C13D831EC7$0.9957
0.0000604 Btc
$44,537.00
44,741.765 0X6B175474E89094C44DA98B954EEDEAC495271D0F
0.0484%
76
Platypus Finance
0XD586E7F844CEA2F87F50152665BCBC2C279D8D70-0XC7198437980C041C805A1EDCBA50C1CE5DB95118$1.001
0.0000607 Btc
$42,897.00
42,854.843 0XD586E7F844CEA2F87F50152665BCBC2C279D8D70
0.0464%
77
Platypus Finance
0XC7198437980C041C805A1EDCBA50C1CE5DB95118-0XD586E7F844CEA2F87F50152665BCBC2C279D8D70$1.001
0.0000607 Btc
$42,894.00
42,875.852 0XC7198437980C041C805A1EDCBA50C1CE5DB95118
0.0464%
78
Bitso
DAI-MXN$0.9979
0.0000606 Btc
$42,890.00
42,978.300 DAI
0.0465%
79
DeFi Swap
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$1.004
0.0000609 Btc
$40,190.00
39,134.839 0X6B175474E89094C44DA98B954EEDEAC495271D0F
0.0423%
80
EXMO
DAI-ETH$1.002
0.0000608 Btc
$38,316.00
38,247.811 DAI
0.0414%
81
CoinEx
DAI-USDT$1.004
0.0000609 Btc
$37,435.00
37,289.165 DAI
0.0403%
82
Quickswap
0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.004
0.0000609 Btc
$36,812.00
36,785.552 0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174
0.0398%
83
Platypus Finance
0XA7D7079B0FEAD91F3E65F86E8915CB59C1A4C664-0XD586E7F844CEA2F87F50152665BCBC2C279D8D70$1.001
0.0000607 Btc
$36,700.00
36,672.888 0XA7D7079B0FEAD91F3E65F86E8915CB59C1A4C664
0.0397%
84
Crypto.com Exchange
DAI-USDT$0.9992
0.0000606 Btc
$34,311.00
34,339.800 DAI
0.0372%
85
Uniswap (v2)
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XB53ECF1345CABEE6EA1A65100EBB153CEBCAC40F$1.001
0.0000607 Btc
$30,704.00
30,605.144 0X6B175474E89094C44DA98B954EEDEAC495271D0F
0.0331%
86
Quickswap (v3)
0X7CEB23FD6BC0ADD59E62AC25578270CFF1B9F619-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$0.9978
0.0000606 Btc
$29,989.00
25.568 0X7CEB23FD6BC0ADD59E62AC25578270CFF1B9F619
0.0000%
87
Emirex
USDT-DAI$1.001
0.0000607 Btc
$25,901.00
25,883.490 USDT
0.0280%
88
KuCoin
ETH-DAI$1.001
0.0000607 Btc
$20,340.00
16.862 ETH
0.0000%
89
Platypus Finance
0X9702230A8EA53601F5CD2DC00FDBC13D4DF4A8C7-0XD586E7F844CEA2F87F50152665BCBC2C279D8D70$1.001
0.0000607 Btc
$15,953.18
15,944.850 0X9702230A8EA53601F5CD2DC00FDBC13D4DF4A8C7
0.0173%
90
Trader Joe
0XB31F66AA3C1E785363F0875A1B74E27B85FD66C7-0XD586E7F844CEA2F87F50152665BCBC2C279D8D70$1.001
0.0000607 Btc
$15,501.12
1,255.299 0XB31F66AA3C1E785363F0875A1B74E27B85FD66C7
0.0014%
91
Binance US
DAI-USD$1.00
0.0000607 Btc
$15,465.11
15,462.015 DAI
0.0167%
92
Bybit
BTC-DAI$1.001
0.0000607 Btc
$14,876.18
0.898 BTC
0.0000%
93
Bancor (V2)
DAI-BNT$1.017
0.0000617 Btc
$13,862.97
13,633.071 DAI
0.0148%
94
Bybit
ETH-DAI$1.001
0.0000607 Btc
$13,749.69
11.393 ETH
0.0000%
95
Bitfinex
DAI-BTC$0.9999
0.0000607 Btc
$10,110.82
10,112.034 DAI
0.0109%
96
DeFi Swap
0XA0B73E1FF0B80914AB6FE0444E65848C4C34450B-0X6B175474E89094C44DA98B954EEDEAC495271D0F$1.003
0.0000609 Btc
$7,331.98
117,243.287 0XA0B73E1FF0B80914AB6FE0444E65848C4C34450B
0.1269%
97
ApeSwap (Polygon)
0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$1.00
0.0000607 Btc
$7,182.07
7,162.402 0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174
0.0077%
98
Bitfinex
DAI-ETH$1.002
0.0000608 Btc
$3,298.61
3,293.574 DAI
0.0036%
99
Sushiswap (Polygon POS)
0X6D5F5317308C6FE7D6CE16930353A8DFD92BA4D7-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$0.9971
0.0000605 Btc
$946.21
314.760 0X6D5F5317308C6FE7D6CE16930353A8DFD92BA4D7
0.0003%
100
Sushiswap (Polygon POS)
0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174-0X8F3CF7AD23CD3CADBD9735AFF958023239C6A063$0.9971
0.0000605 Btc
$908.68
909.991 0X2791BCA1F2DE4661ED88A30C99A7A9449AA84174
0.0010%

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x30D2a9F5FDf90ACe8c17952cbb4eE48a55D916A7

Contract Name:
UpgradeBeaconProxy

Compiler Version
v0.7.6+commit.7338295f

Optimization Enabled:
Yes with 999999 runs

Other Settings:
default evmVersion
File 1 of 2 : UpgradeBeaconProxy.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.6.11;

// ============ External Imports ============
import {Address} from "@openzeppelin/contracts/utils/Address.sol";

/**
 * @title UpgradeBeaconProxy
 * @notice
 * Proxy contract which delegates all logic, including initialization,
 * to an implementation contract.
 * The implementation contract is stored within an Upgrade Beacon contract;
 * the implementation contract can be changed by performing an upgrade on the Upgrade Beacon contract.
 * The Upgrade Beacon contract for this Proxy is immutably specified at deployment.
 * @dev This implementation combines the gas savings of keeping the UpgradeBeacon address outside of contract storage
 * found in 0age's implementation:
 * https://github.com/dharma-eng/dharma-smart-wallet/blob/master/contracts/proxies/smart-wallet/UpgradeBeaconProxyV1.sol
 * With the added safety checks that the UpgradeBeacon and implementation are contracts at time of deployment
 * found in OpenZeppelin's implementation:
 * https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/proxy/beacon/BeaconProxy.sol
 */
contract UpgradeBeaconProxy {
    // ============ Immutables ============

    // Upgrade Beacon address is immutable (therefore not kept in contract storage)
    address private immutable upgradeBeacon;

    // ============ Constructor ============

    /**
     * @notice Validate that the Upgrade Beacon is a contract, then set its
     * address immutably within this contract.
     * Validate that the implementation is also a contract,
     * Then call the initialization function defined at the implementation.
     * The deployment will revert and pass along the
     * revert reason if the initialization function reverts.
     * @param _upgradeBeacon Address of the Upgrade Beacon to be stored immutably in the contract
     * @param _initializationCalldata Calldata supplied when calling the initialization function
     */
    constructor(address _upgradeBeacon, bytes memory _initializationCalldata)
        payable
    {
        // Validate the Upgrade Beacon is a contract
        require(Address.isContract(_upgradeBeacon), "beacon !contract");
        // set the Upgrade Beacon
        upgradeBeacon = _upgradeBeacon;
        // Validate the implementation is a contract
        address _implementation = _getImplementation(_upgradeBeacon);
        require(
            Address.isContract(_implementation),
            "beacon implementation !contract"
        );
        // Call the initialization function on the implementation
        if (_initializationCalldata.length > 0) {
            _initialize(_implementation, _initializationCalldata);
        }
    }

    // ============ External Functions ============

    /**
     * @notice Forwards all calls with data to _fallback()
     * No public functions are declared on the contract, so all calls hit fallback
     */
    fallback() external payable {
        _fallback();
    }

    /**
     * @notice Forwards all calls with no data to _fallback()
     */
    receive() external payable {
        _fallback();
    }

    // ============ Private Functions ============

    /**
     * @notice Call the initialization function on the implementation
     * Used at deployment to initialize the proxy
     * based on the logic for initialization defined at the implementation
     * @param _implementation - Contract to which the initalization is delegated
     * @param _initializationCalldata - Calldata supplied when calling the initialization function
     */
    function _initialize(
        address _implementation,
        bytes memory _initializationCalldata
    ) private {
        // Delegatecall into the implementation, supplying initialization calldata.
        (bool _ok, ) = _implementation.delegatecall(_initializationCalldata);
        // Revert and include revert data if delegatecall to implementation reverts.
        if (!_ok) {
            assembly {
                returndatacopy(0, 0, returndatasize())
                revert(0, returndatasize())
            }
        }
    }

    /**
     * @notice Delegates function calls to the implementation contract returned by the Upgrade Beacon
     */
    function _fallback() private {
        _delegate(_getImplementation());
    }

    /**
     * @notice Delegate function execution to the implementation contract
     * @dev This is a low level function that doesn't return to its internal
     * call site. It will return whatever is returned by the implementation to the
     * external caller, reverting and returning the revert data if implementation
     * reverts.
     * @param _implementation - Address to which the function execution is delegated
     */
    function _delegate(address _implementation) private {
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())
            // Delegatecall to the implementation, supplying calldata and gas.
            // Out and outsize are set to zero - instead, use the return buffer.
            let result := delegatecall(
                gas(),
                _implementation,
                0,
                calldatasize(),
                0,
                0
            )
            // Copy the returned data from the return buffer.
            returndatacopy(0, 0, returndatasize())
            switch result
            // Delegatecall returns 0 on error.
            case 0 {
                revert(0, returndatasize())
            }
            default {
                return(0, returndatasize())
            }
        }
    }

    /**
     * @notice Call the Upgrade Beacon to get the current implementation contract address
     * @return _implementation Address of the current implementation.
     */
    function _getImplementation()
        private
        view
        returns (address _implementation)
    {
        _implementation = _getImplementation(upgradeBeacon);
    }

    /**
     * @notice Call the Upgrade Beacon to get the current implementation contract address
     * @dev _upgradeBeacon is passed as a parameter so that
     * we can also use this function in the constructor,
     * where we can't access immutable variables.
     * @param _upgradeBeacon Address of the UpgradeBeacon storing the current implementation
     * @return _implementation Address of the current implementation.
     */
    function _getImplementation(address _upgradeBeacon)
        private
        view
        returns (address _implementation)
    {
        // Get the current implementation address from the upgrade beacon.
        (bool _ok, bytes memory _returnData) = _upgradeBeacon.staticcall("");
        // Revert and pass along revert message if call to upgrade beacon reverts.
        require(_ok, string(_returnData));
        // Set the implementation to the address returned from the upgrade beacon.
        _implementation = abi.decode(_returnData, (address));
    }
}

File 2 of 2 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 999999
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_upgradeBeacon","type":"address"},{"internalType":"bytes","name":"_initializationCalldata","type":"bytes"}],"stateMutability":"payable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"stateMutability":"payable","type":"receive"}]

60a060405260405161058b38038061058b8339818101604052604081101561002657600080fd5b81516020830180516040519294929383019291908464010000000082111561004d57600080fd5b90830190602082018581111561006257600080fd5b825164010000000081118282018810171561007c57600080fd5b82525081516020918201929091019080838360005b838110156100a9578181015183820152602001610091565b50505050905090810190601f1680156100d65780820380516001836020036101000a031916815260200191505b506040525050506100f0826101d060201b6100291760201c565b610134576040805162461bcd60e51b815260206004820152601060248201526f18995858dbdb880858dbdb9d1c9858dd60821b604482015290519081900360640190fd5b6001600160601b0319606083901b166080526000610151836101d6565b9050610166816101d060201b6100291760201c565b6101b7576040805162461bcd60e51b815260206004820152601f60248201527f626561636f6e20696d706c656d656e746174696f6e2021636f6e747261637400604482015290519081900360640190fd5b8151156101c8576101c881836102d6565b50505061038f565b3b151590565b604051600090819081906001600160a01b0385169082818181855afa9150503d8060008114610221576040519150601f19603f3d011682016040523d82523d6000602084013e610226565b606091505b50915091508181906102b65760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561027b578181015183820152602001610263565b50505050905090810190601f1680156102a85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508080602001905160208110156102cc57600080fd5b5051949350505050565b6000826001600160a01b0316826040518082805190602001908083835b602083106103125780518252601f1990920191602091820191016102f3565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610372576040519150601f19603f3d011682016040523d82523d6000602084013e610377565b606091505b505090508061038a573d6000803e3d6000fd5b505050565b60805160601c6101e06103ab60003980603652506101e06000f3fe60806040523661001357610011610017565b005b6100115b61002761002261002f565b61005f565b565b3b151590565b600061005a7f0000000000000000000000000000000000000000000000000000000000000000610083565b905090565b3660008037600080366000845af43d6000803e80801561007e573d6000f35b3d6000fd5b6040516000908190819073ffffffffffffffffffffffffffffffffffffffff85169082818181855afa9150503d80600081146100db576040519150601f19603f3d011682016040523d82523d6000602084013e6100e0565b606091505b509150915081819061018a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561014f578181015183820152602001610137565b50505050905090810190601f16801561017c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b508080602001905160208110156101a057600080fd5b505194935050505056fea26469706673582212207a913a499405f220fe73d6c33af6d31fa3d6dd38aef5fe5d043818455b8bd55c64736f6c63430007060033000000000000000000000000969d515486ba6133400ac9c73298586426a090f500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000000

Loading