Token USD Coin

Overview ERC20

Price
$1.00 @ 2.655488 GLMR (+0.14%)
Fully Diluted Market Cap
Total Supply:
18,689,508.429473 USDC

Holders:
9,902 addresses
Balance
0 USDC

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

Market

Volume (24H):$5,482,758,718.74
Market Capitalization:$33,922,681,065.94
Circulating Supply:33,922,902,495.00 USDC
Market Data Source: Coinmarketcap


Update? Click here to update the token ICO / general information
# Exchange Pair Price  24H Volume % Volume
1
Uniswap (v3)
0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$1.005
0.0000363 Btc
$502,951,824.00
503,335,812.672 0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48
4.0941%
2
LBank
BTC-USDC$1.004
0.0000363 Btc
$392,999,187.00
14,209.824 BTC
0.0001%
3
Binance
USDC-USDT$1.005
0.0000363 Btc
$368,883,043.00
366,966,922.767 USDC
2.9849%
4
Biconomy
BTC-USDC$1.005
0.0000360 Btc
$261,673,256.00
9,406.014 BTC
0.0001%
5
Uniswap (v3)
0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48-0XDAC17F958D2EE523A2206206994597C13D831EC7$1.005
0.0000363 Btc
$225,464,180.00
224,402,629.767 0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48
1.8253%
6
Uniswap (Arbitrum One)
0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1-0XFF970A61A04B1CA14834A43F5DE4533EBDDB5CC8$1.005
0.0000363 Btc
$200,959,839.00
113,079.608 0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1
0.0009%
7
Bybit
BTC-USDC$1.004
0.0000363 Btc
$180,401,071.00
6,522.292 BTC
0.0001%
8
DigiFinex
USDC-USDT$1.006
0.0000363 Btc
$106,052,389.00
105,471,358.289 USDC
0.8579%
9
Bybit
ETH-USDC$1.004
0.0000363 Btc
$97,253,307.00
55,176.647 ETH
0.0004%
10
Uniswap (Arbitrum One)
0X912CE59144191C1204E64559FE8253A0E49E6548-0XFF970A61A04B1CA14834A43F5DE4533EBDDB5CC8$1.007
0.0000364 Btc
$90,825,913.00
65,956,857.525 0X912CE59144191C1204E64559FE8253A0E49E6548
0.5365%
11
ApeX Pro
BTC-USDC$1.004
0.0000363 Btc
$40,298,374.00
1,441.156 BTC
0.0000%
12
Bybit
USDC-USDT$1.005
0.0000363 Btc
$39,165,543.00
38,956,038.290 USDC
0.3169%
13
Bitforex
USDC-USDT$1.005
0.0000363 Btc
$36,706,343.00
36,520,180.393 USDC
0.2971%
14
OKX
USDC-USDT$1.006
0.0000363 Btc
$33,216,578.00
33,038,769.663 USDC
0.2687%
15
ApeX Pro
ETH-USDC$1.004
0.0000363 Btc
$28,307,398.00
15,999.060 ETH
0.0001%
16
Uniswap (v3)
0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$1.005
0.0000363 Btc
$27,695,946.00
27,762,849.904 0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48
0.2258%
17
OKX
ETH-USDC$1.004
0.0000363 Btc
$24,726,567.00
13,918.161 ETH
0.0001%
18
BingX
USDC-USDT$1.005
0.0000363 Btc
$24,269,616.00
24,152,444.749 USDC
0.1965%
19
Kraken
USDC-USD$0.9999
0.0000361 Btc
$23,030,281.00
23,032,584.743 USDC
0.1873%
20
Binance
BTC-USDC$1.005
0.0000363 Btc
$22,198,822.00
801.748 BTC
0.0000%
21
Uniswap (v3)
0X6B175474E89094C44DA98B954EEDEAC495271D0F-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48$1.005
0.0000363 Btc
$22,195,388.00
22,083,293.888 0X6B175474E89094C44DA98B954EEDEAC495271D0F
0.1796%
22
OKX
BTC-USDC$1.004
0.0000363 Btc
$20,368,541.00
727.615 BTC
0.0000%
23
Uniswap (Arbitrum One)
0X912CE59144191C1204E64559FE8253A0E49E6548-0XFF970A61A04B1CA14834A43F5DE4533EBDDB5CC8$0.9907
0.0000358 Btc
$19,758,255.00
14,733,349.392 0X912CE59144191C1204E64559FE8253A0E49E6548
0.1198%
24
LBank
XRP-USDC$1.004
0.0000363 Btc
$19,415,480.00
45,516,648.000 XRP
0.3702%
25
BKEX
BTC-USDC$1.004
0.0000363 Btc
$15,316,982.00
547.337 BTC
0.0000%
26
Gate.io
USDC-USDT$1.006
0.0000363 Btc
$14,869,641.00
14,793,433.661 USDC
0.1203%
27
Pancakeswap (Stableswap)
0X8AC76A51CC950D9822D68B83FE1AD97B32CD580D-0XE9E7CEA3DEDCA5984780BAFC599BD69ADD087D56$1.005
0.0000363 Btc
$14,402,556.00
14,328,154.300 0X8AC76A51CC950D9822D68B83FE1AD97B32CD580D
0.1165%
28
Kraken
USDC-USDT$1.005
0.0000363 Btc
$14,192,424.00
14,120,444.941 USDC
0.1149%
29
Biconomy
ETH-USDC$1.005
0.0000360 Btc
$12,511,763.00
7,109.241 ETH
0.0001%
30
Binance
ETH-USDC$1.005
0.0000363 Btc
$11,281,581.00
6,390.874 ETH
0.0001%
31
Bitget
USDC-USDT$1.005
0.0000363 Btc
$10,942,520.00
10,884,633.773 USDC
0.0885%
32
KuCoin
BTC-USDC$1.004
0.0000363 Btc
$9,960,912.00
360.098 BTC
0.0000%
33
Kraken
USDC-EUR$1.002
0.0000362 Btc
$9,865,768.00
9,844,021.237 USDC
0.0801%
34
WhiteBIT
USDC-USDT$1.004
0.0000363 Btc
$9,287,933.00
9,246,820.337 USDC
0.0752%
35
Bitforex
LTC-USDC$1.004
0.0000363 Btc
$7,976,277.00
85,367.355 LTC
0.0007%
36
Camelot
0X3D9907F9A368AD0A51BE60F7DA3B97CF940982D8-0XFF970A61A04B1CA14834A43F5DE4533EBDDB5CC8$1.008
0.0000364 Btc
$7,563,538.00
2,498.349 0X3D9907F9A368AD0A51BE60F7DA3B97CF940982D8
0.0000%
37
Camelot
0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1-0XFF970A61A04B1CA14834A43F5DE4533EBDDB5CC8$1.009
0.0000365 Btc
$7,297,398.00
4,076.963 0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1
0.0000%
38
KuCoin
USDC-USDT$1.005
0.0000363 Btc
$6,909,189.00
6,874,285.477 USDC
0.0559%
39
BKEX
USDC-USDT$1.005
0.0000363 Btc
$6,901,866.00
6,866,472.730 USDC
0.0559%
40
Bitforex
BCH-USDC$1.004
0.0000363 Btc
$6,692,441.00
53,019.177 BCH
0.0004%
41
Sushiswap (Arbitrum One)
0XFF970A61A04B1CA14834A43F5DE4533EBDDB5CC8-0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1$1.006
0.0000364 Btc
$6,054,179.00
6,081,422.354 0XFF970A61A04B1CA14834A43F5DE4533EBDDB5CC8
0.0495%
42
Uniswap (v3)
0X2260FAC5E5542A773AA44FBCFEDF7C193BC2C599-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48$1.004
0.0000363 Btc
$4,920,725.00
176.603 0X2260FAC5E5542A773AA44FBCFEDF7C193BC2C599
0.0000%
43
Bitforex
FIL-USDC$1.004
0.0000363 Btc
$4,295,722.00
765,410.433 FIL
0.0062%
44
Uniswap (v3)
0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48-0XDAC17F958D2EE523A2206206994597C13D831EC7$1.005
0.0000363 Btc
$4,264,976.00
4,245,659.781 0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48
0.0345%
45
KuCoin
USDT-USDC$1.004
0.0000363 Btc
$4,260,360.00
4,236,003.669 USDT
0.0345%
46
DigiFinex
ETH-USDC$1.004
0.0000363 Btc
$4,196,941.00
2,380.870 ETH
0.0000%
47
Uniswap (v2)
0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$1.004
0.0000363 Btc
$3,964,535.00
3,973,587.698 0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48
0.0323%
48
Kraken
BTC-USDC$1.004
0.0000363 Btc
$3,875,059.00
139.958 BTC
0.0000%
49
Bitget
ETH-USDC$1.004
0.0000363 Btc
$3,838,925.00
2,151.334 ETH
0.0000%
50
Bitget
BTC-USDC$1.004
0.0000363 Btc
$3,677,540.00
130.964 BTC
0.0000%
51
Pancakeswap (Stableswap)
0X55D398326F99059FF775485246999027B3197955-0X8AC76A51CC950D9822D68B83FE1AD97B32CD580D$1.005
0.0000363 Btc
$3,425,541.00
3,402,997.279 0X55D398326F99059FF775485246999027B3197955
0.0277%
52
OKX
USDT-USDC$1.004
0.0000363 Btc
$3,292,273.00
3,273,704.672 USDT
0.0266%
53
DigiFinex
BTC-USDC$1.004
0.0000363 Btc
$3,277,412.00
118.503 BTC
0.0000%
54
Tidex
USDC-USDT$1.005
0.0000363 Btc
$3,064,738.00
3,050,353.590 USDC
0.0248%
55
Huobi
USDC-USDT$1.005
0.0000363 Btc
$2,911,685.00
2,897,233.836 USDC
0.0236%
56
Kraken
ETH-USDC$1.004
0.0000363 Btc
$2,893,119.00
1,644.180 ETH
0.0000%
57
KuCoin
ETH-USDC$1.004
0.0000363 Btc
$2,782,582.00
1,578.954 ETH
0.0000%
58
Hotbit
USDC-USDT$1.002
0.0000362 Btc
$2,599,463.00
2,593,485.710 USDC
0.0211%
59
Kraken
USDC-GBP$1.001
0.0000361 Btc
$2,476,790.00
2,475,161.606 USDC
0.0201%
60
Bitforex
ETC-USDC$1.004
0.0000363 Btc
$2,088,994.00
103,130.923 ETC
0.0008%
61
Sushiswap
0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$1.002
0.0000362 Btc
$1,795,467.00
1,797,000.099 0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48
0.0146%
62
Cryptology
BTC-USDC$1.004
0.0000363 Btc
$1,753,946.00
63.477 BTC
0.0000%
63
Tidex
BTC-USDC$1.005
0.0000362 Btc
$1,746,462.00
62.988 BTC
0.0000%
64
BitMart
USDC-USDT$1.005
0.0000363 Btc
$1,488,647.00
1,480,573.820 USDC
0.0120%
65
Coinbase Exchange
USDT-USDC$1.004
0.0000363 Btc
$1,487,371.00
1,479,300.670 USDT
0.0120%
66
BitMart
ETH-USDC$1.004
0.0000363 Btc
$1,300,268.00
736.516 ETH
0.0000%
67
Bitstamp
USDC-USD$1.00
0.0000361 Btc
$1,289,332.00
1,289,344.956 USDC
0.0105%
68
Binance US
USDC-USD$1.00
0.0000361 Btc
$1,212,605.00
1,212,362.835 USDC
0.0099%
69
PancakeSwap (v2)
0X2170ED0880AC9A755FD29B2688956BD959F933F8-0X8AC76A51CC950D9822D68B83FE1AD97B32CD580D$1.004
0.0000363 Btc
$1,196,711.00
676.394 0X2170ED0880AC9A755FD29B2688956BD959F933F8
0.0000%
70
Bitforex
EOS-USDC$1.004
0.0000363 Btc
$1,183,401.00
1,012,176.289 EOS
0.0082%
71
Bitstamp
BTC-USDC$1.004
0.0000363 Btc
$1,131,196.00
40.968 BTC
0.0000%
72
Gemini
USDC-USD$1.00
0.0000361 Btc
$1,114,809.00
1,114,809.465 USDC
0.0091%
73
Bitforex
ATOM-USDC$1.004
0.0000363 Btc
$988,387.00
87,251.142 ATOM
0.0007%
74
P2B
USDC-USDT$1.006
0.0000363 Btc
$985,791.00
980,346.700 USDC
0.0080%
75
Bitfinex
UDC-USD$0.9992
0.0000361 Btc
$903,922.00
904,645.974 UDC
0.0074%
76
Bitget
XRP-USDC$1.004
0.0000363 Btc
$901,993.00
2,097,561.000 XRP
0.0171%
77
Bitfinex
UDC-USDT$1.005
0.0000363 Btc
$860,829.00
856,241.596 UDC
0.0070%
78
BingX
BTC-USDC$1.004
0.0000363 Btc
$636,969.00
22.748 BTC
0.0000%
79
Coinsbit
USDC-USDT$1.006
0.0000362 Btc
$497,421.00
494,670.107 USDC
0.0040%
80
Orderly Network
ETH-USDC$1.004
0.0000363 Btc
$469,472.00
264.330 ETH
0.0000%
81
Bitstamp
USDC-EUR$1.002
0.0000362 Btc
$419,825.00
418,967.138 USDC
0.0034%
82
BitMart
APE-USDC$1.004
0.0000363 Btc
$319,864.00
75,923.400 APE
0.0006%
83
Coinfield
BTC-USDC$1.004
0.0000362 Btc
$285,370.00
10.299 BTC
0.0000%
84
Velodrome Finance
0X8C6F28F2F1A3C87F0F938B96D27520D9751EC8D9-0X7F5C764CBC14F9669B88837CA1490CCA17C31607$1.007
0.0000364 Btc
$252,607.00
250,030.740 0X8C6F28F2F1A3C87F0F938B96D27520D9751EC8D9
0.0020%
85
Orderly Network
NEAR-USDC$1.004
0.0000363 Btc
$242,202.00
121,602.350 NEAR
0.0010%
86
BitMart
TRX-USDC$1.004
0.0000363 Btc
$234,571.00
3,661,622.000 TRX
0.0298%
87
Binance US
USDC-USDT$1.005
0.0000363 Btc
$188,252.00
187,249.530 USDC
0.0015%
88
Bitget
ADA-USDC$1.004
0.0000363 Btc
$177,158.00
485,986.000 ADA
0.0040%
89
Bitget
BNB-USDC$1.004
0.0000363 Btc
$166,301.00
511.716 BNB
0.0000%
90
BitMart
XLM-USDC$1.004
0.0000363 Btc
$159,904.00
1,785,785.000 XLM
0.0145%
91
BitBNS
USDC-INR$1.17
0.0000422 Btc
$158,701.00
135,848.780 USDC
0.0011%
92
BitMart
FXS-USDC$1.004
0.0000363 Btc
$143,951.00
18,040.200 FXS
0.0001%
93
Bitget
MATIC-USDC$1.004
0.0000363 Btc
$142,672.00
127,844.700 MATIC
0.0010%
94
BitMart
SHIB-USDC$1.004
0.0000363 Btc
$113,533.00
10,612,852,164.000 SHIB
86.3238%
95
BingX
MATIC-USDC$1.004
0.0000363 Btc
$110,553.00
101,273.873 MATIC
0.0008%
96
Bitget
AVAX-USDC$1.004
0.0000363 Btc
$105,866.00
6,130.330 AVAX
0.0000%
97
Bitget
TRX-USDC$1.004
0.0000363 Btc
$102,095.00
1,587,610.200 TRX
0.0129%
98
BingX
UNI-USDC$1.004
0.0000363 Btc
$94,363.00
15,633.285 UNI
0.0001%
99
BitMart
MATIC-USDC$1.004
0.0000363 Btc
$91,159.00
81,729.200 MATIC
0.0007%
100
Bitget
DOGE-USDC$1.004
0.0000363 Btc
$85,272.00
1,127,488.509 DOGE
0.0092%

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