ETH Price: $3,274.76 (+0.92%)

Token

USDC (USDC)
 

Overview

Max Total Supply

32,233,673,634.487789 USDC

Holders

2,549,724 (0.00%)

Market

Price

$1.00 @ 0.000305 ETH

Onchain Market Cap

$32,230,450,267.12

Circulating Supply Market Cap

$45,733,425,235.00

Other Info

Token Contract (WITH 6 Decimals)

Balance
0.036008 USDC

Value
$0.04 ( ~1.22146271461762E-05 Eth) [0.0000%]
0x70ef553161cba0832ee75f9d30fd9e5ee8b05b08
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

USDC is a US dollar-backed stablecoin issued by Circle. USDC is designed to provide a faster, safer, and more efficient way to send, spend, and exchange money around the world.

Market

Volume (24H):$2,274,309,637.00
Market Capitalization:$45,733,425,235.00
Circulating Supply:45,737,995,629.00 USDC
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume
1
Aerodrome SlipStream
0X4200000000000000000000000000000000000006-0X833589FCD6EDB6E08F4C7C32D4F71B54BDA02913$0.9996
0.0003049 Eth
$247,219,489.00
75,728.236 0X4200000000000000000000000000000000000006
0.0000%
2
Azbit
BTC-USDC$1.00
0.0003051 Eth
$140,590,437.00
1,489.755 BTC
0.0000%
3
Binance
XRP-USDC$1.00
0.0003051 Eth
$127,248,241.00
51,278,786.000 XRP
0.0122%
4
Raydium (CLMM)
SO11111111111111111111111111111111111111112-EPJFWDD5AUFQSSQEM2QN1XZYBAPC8G4WEGGKZWYTDT1V$1.00
0.0003051 Eth
$125,229,546.00
669,943.795 SO11111111111111111111111111111111111111112
0.0002%
5
Orca
SO11111111111111111111111111111111111111112-EPJFWDD5AUFQSSQEM2QN1XZYBAPC8G4WEGGKZWYTDT1V$1.00
0.0003051 Eth
$103,296,984.00
552,282.608 SO11111111111111111111111111111111111111112
0.0001%
6
Uniswap V3 (Ethereum)
0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48$0.9994
0.0003046 Eth
$79,309,329.00
24,297.377 0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2
0.0000%
7
Binance
ETH-USDC$1.00
0.0003048 Eth
$61,386,555.00
18,798.957 ETH
0.0000%
8
Curve (Ethereum)
0X73A15FED60BF67631DC6CD7BC5B6E8DA8190ACF5-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48$0.9996
0.0003048 Eth
$60,932,152.00
60,970,523.428 0X73A15FED60BF67631DC6CD7BC5B6E8DA8190ACF5
0.0145%
9
Uniswap V3 (Arbitrum One)
0XAF88D065E77C8CC2239327C5EDB3A432268E5831-0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1$0.9999
0.0003051 Eth
$59,141,400.00
58,924,062.828 0XAF88D065E77C8CC2239327C5EDB3A432268E5831
0.0140%
10
Aerodrome SlipStream
0XCBB7C0000AB88B473B1F5AFD9EF808440EED33BF-0X833589FCD6EDB6E08F4C7C32D4F71B54BDA02913$1.001
0.0003055 Eth
$38,138,002.00
403.599 0XCBB7C0000AB88B473B1F5AFD9EF808440EED33BF
0.0000%
11
Uniswap V3 (Base)
0X833589FCD6EDB6E08F4C7C32D4F71B54BDA02913-0X4200000000000000000000000000000000000006$0.9996
0.0003050 Eth
$33,518,446.00
33,393,707.600 0X833589FCD6EDB6E08F4C7C32D4F71B54BDA02913
0.0079%
12
Biconomy.com
ETH-USDC$1.00
0.0003051 Eth
$27,391,945.00
8,393.416 ETH
0.0000%
13
DigiFinex
BTC-USDC$1.00
0.0003052 Eth
$27,228,760.00
288.817 BTC
0.0000%
14
LBank
BTC-USDC$1.00
0.0003051 Eth
$26,441,777.00
280.478 BTC
0.0000%
15
Binance
SOL-USDC$1.00
0.0003051 Eth
$25,613,520.00
136,930.854 SOL
0.0000%
16
Meteora
SO11111111111111111111111111111111111111112-EPJFWDD5AUFQSSQEM2QN1XZYBAPC8G4WEGGKZWYTDT1V$1.00
0.0003051 Eth
$25,482,629.00
136,390.858 SO11111111111111111111111111111111111111112
0.0000%
17
Binance
ADA-USDC$1.00
0.0003051 Eth
$25,309,299.00
26,222,452.400 ADA
0.0062%
18
Camelot V3
0XAF88D065E77C8CC2239327C5EDB3A432268E5831-0X82AF49447D8A07E3BD95BD0D56F35241523FBAB1$0.9992
0.0003048 Eth
$25,262,012.00
25,174,590.735 0XAF88D065E77C8CC2239327C5EDB3A432268E5831
0.0060%
19
Bybit
XRP-USDC$1.00
0.0003051 Eth
$23,289,099.00
9,377,911.420 XRP
0.0022%
20
Orca
27G8MTK7VTTCCHKPASJSDDKWWYFOQT6GGEUKIDVJIDD4-EPJFWDD5AUFQSSQEM2QN1XZYBAPC8G4WEGGKZWYTDT1V$1.00
0.0003051 Eth
$20,806,262.00
4,951,798.760 27G8MTK7VTTCCHKPASJSDDKWWYFOQT6GGEUKIDVJIDD4
0.0012%
21
OKX
BTC-USDC$1.00
0.0003051 Eth
$20,484,486.00
217.519 BTC
0.0000%
22
PancakeSwap V3 (Base)
0X4200000000000000000000000000000000000006-0X833589FCD6EDB6E08F4C7C32D4F71B54BDA02913$0.9996
0.0003050 Eth
$20,039,558.00
6,139.077 0X4200000000000000000000000000000000000006
0.0000%
23
Curve (Ethereum)
0X4C9EDD5852CD905F086C759E8383E09BFF1E68B3-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48$0.9999
0.0003049 Eth
$17,396,330.00
17,407,960.391 0X4C9EDD5852CD905F086C759E8383E09BFF1E68B3
0.0041%
24
DigiFinex
ETH-USDC$1.00
0.0003052 Eth
$17,296,718.00
5,281.450 ETH
0.0000%
25
LBank
ETH-USDC$1.00
0.0003047 Eth
$15,073,587.00
4,590.721 ETH
0.0000%
26
OKX
ETH-USDC$1.00
0.0003052 Eth
$13,979,451.00
4,291.470 ETH
0.0000%
27
Dexalot
AVAX-USDC$1.00
0.0003050 Eth
$13,409,129.00
366,471.602 AVAX
0.0001%
28
Biconomy.com
BTC-USDC$1.00
0.0003051 Eth
$12,906,822.00
136.779 BTC
0.0000%
29
Azbit
XRP-USDC$1.00
0.0003050 Eth
$12,465,858.00
5,024,404.161 XRP
0.0012%
30
Uniswap V3 (Arbitrum One)
0XAF88D065E77C8CC2239327C5EDB3A432268E5831-0X2F2A2543B76A4166549F7AAB2E75BEF0AEFC5B0F$1.001
0.0003055 Eth
$12,321,890.00
12,313,130.746 0XAF88D065E77C8CC2239327C5EDB3A432268E5831
0.0029%
31
Binance
DOGE-USDC$1.00
0.0003050 Eth
$12,060,777.00
35,689,796.000 DOGE
0.0085%
32
Uniswap V3 (Base)
0X4200000000000000000000000000000000000006-0X833589FCD6EDB6E08F4C7C32D4F71B54BDA02913$0.9996
0.0003050 Eth
$10,663,330.00
3,267.259 0X4200000000000000000000000000000000000006
0.0000%
33
OKX
XRP-USDC$1.00
0.0003052 Eth
$9,802,877.00
3,975,025.972 XRP
0.0009%
34
Raydium (CLMM)
MSOLZYCXHDYGDZU16G5QSH3I5K3Z3KZK7YTFQCJM7SO-EPJFWDD5AUFQSSQEM2QN1XZYBAPC8G4WEGGKZWYTDT1V$1.00
0.0003051 Eth
$9,769,617.00
41,885.639 MSOLZYCXHDYGDZU16G5QSH3I5K3Z3KZK7YTFQCJM7SO
0.0000%
35
LFJ V2.2 (Avalanche)
0X9702230A8EA53601F5CD2DC00FDBC13D4DF4A8C7-0XB97EF9EF8734C71904D8002F8B6BC66DD9C48A6E$1.00
0.0003050 Eth
$9,713,317.00
9,717,444.832 0X9702230A8EA53601F5CD2DC00FDBC13D4DF4A8C7
0.0023%
36
LFJ V2.2 (Avalanche)
0XB31F66AA3C1E785363F0875A1B74E27B85FD66C7-0XB97EF9EF8734C71904D8002F8B6BC66DD9C48A6E$1.00
0.0003050 Eth
$7,617,363.00
207,326.035 0XB31F66AA3C1E785363F0875A1B74E27B85FD66C7
0.0000%
37
Binance
PEPE-USDC$1.00
0.0003048 Eth
$7,226,243.00
402,411,148,782.000 PEPE
95.6208%
38
Binance
HBAR-USDC$1.00
0.0003050 Eth
$6,545,643.00
22,777,859.000 HBAR
0.0054%
39
Azbit
ETH-USDC$1.00
0.0003050 Eth
$6,067,826.00
1,858.276 ETH
0.0000%
40
XT.COM
ETH-USDC$1.00
0.0003047 Eth
$5,451,311.00
1,669.609 ETH
0.0000%
41
Hotcoin
ETH-USDC$0.9998
0.0003047 Eth
$5,195,291.00
1,584.095 ETH
0.0000%
42
KuCoin
XRP-USDC$1.00
0.0003051 Eth
$4,462,848.00
1,776,271.340 XRP
0.0004%
43
KuCoin
BTC-USDC$1.00
0.0003051 Eth
$4,391,078.00
46.554 BTC
0.0000%
44
Azbit
LTC-USDC$1.00
0.0003050 Eth
$4,073,703.00
39,345.645 LTC
0.0000%
45
KuCoin
ETH-USDC$1.00
0.0003051 Eth
$3,428,043.00
1,046.022 ETH
0.0000%
46
OKX
USDT-USDC$1.00
0.0003052 Eth
$3,372,287.00
3,372,883.432 USDT
0.0008%
47
BingX
DOGE-USDC$0.9998
0.0003051 Eth
$3,093,643.00
9,170,594.000 DOGE
0.0022%
48
Slex
ETH-USDC$1.00
0.0003047 Eth
$3,029,370.00
927.774 ETH
0.0000%
49
HTX
BTC-USDC$1.00
0.0003051 Eth
$2,943,708.00
31.204 BTC
0.0000%
50
Binance
ENA-USDC$1.00
0.0003048 Eth
$2,930,804.00
3,247,420.520 ENA
0.0008%
51
Binance
AIXBT-USDC$1.00
0.0003051 Eth
$2,927,094.00
6,078,907.100 AIXBT
0.0014%
52
Coinbase Exchange
EURC-USDC$1.00
0.0003049 Eth
$2,918,473.00
2,848,219.000 EURC
0.0007%
53
Binance
COOKIE-USDC$1.00
0.0003048 Eth
$2,902,385.00
5,549,560.300 COOKIE
0.0013%
54
HTX
ETH-USDC$0.9998
0.0003051 Eth
$2,880,107.00
885.009 ETH
0.0000%
55
Binance
XLM-USDC$1.00
0.0003049 Eth
$2,694,464.00
6,226,745.000 XLM
0.0015%
56
Binance
CGPT-USDC$1.00
0.0003049 Eth
$2,631,614.00
8,067,595.700 CGPT
0.0019%
57
Binance
LTC-USDC$1.00
0.0003051 Eth
$2,403,330.00
23,229.567 LTC
0.0000%
58
Azbit
ADA-USDC$1.00
0.0003050 Eth
$2,384,045.00
2,476,271.820 ADA
0.0006%
59
Binance
ALGO-USDC$1.00
0.0003049 Eth
$2,249,451.00
6,096,868.000 ALGO
0.0014%
60
OKX
SOL-USDC$1.00
0.0003052 Eth
$2,170,754.00
11,609.511 SOL
0.0000%
61
Binance
TAO-USDC$1.00
0.0003048 Eth
$2,015,188.00
4,575.736 TAO
0.0000%
62
LBank
FIL-USDC$1.00
0.0003051 Eth
$1,999,049.00
385,152.564 FIL
0.0001%
63
Binance
PENGU-USDC$1.00
0.0003046 Eth
$1,985,481.00
60,669,949.000 PENGU
0.0144%
64
Binance
CRV-USDC$1.00
0.0003051 Eth
$1,967,679.00
2,351,841.800 CRV
0.0006%
65
PointPay
XRP-USDC$1.00
0.0003051 Eth
$1,872,020.00
754,804.829 XRP
0.0002%
66
Binance
RUNE-USDC$1.00
0.0003051 Eth
$1,581,091.00
462,277.000 RUNE
0.0001%
67
BYDFi
ETH-USDC$1.00
0.0003047 Eth
$1,452,750.00
442.412 ETH
0.0000%
68
Deribit Spot
STETH-USDC$1.00
0.0003046 Eth
$1,244,298.00
380.571 STETH
0.0000%
69
OKX
DOGE-USDC$1.00
0.0003052 Eth
$1,187,551.00
3,512,271.200 DOGE
0.0008%
70
Solidly V3 (Optimism)
0X0B2C639C533813F4AA9D7837CAF62653D097FF85-0X7F5C764CBC14F9669B88837CA1490CCA17C31607$1.00
0.0003051 Eth
$1,162,103.00
1,162,021.931 0X0B2C639C533813F4AA9D7837CAF62653D097FF85
0.0003%
71
Binance
INJ-USDC$1.00
0.0003051 Eth
$1,044,436.00
48,976.330 INJ
0.0000%
72
Deribit Spot
SOL-USDC$1.00
0.0003051 Eth
$1,003,683.00
5,354.500 SOL
0.0000%
73
OKX
ADA-USDC$1.00
0.0003052 Eth
$960,741.00
988,412.566 ADA
0.0002%
74
Binance
JTO-USDC$0.9999
0.0003047 Eth
$945,949.00
350,983.100 JTO
0.0001%
75
PointPay
ETH-USDC$1.00
0.0003047 Eth
$906,466.00
277.598 ETH
0.0000%
76
Binance
RSR-USDC$1.00
0.0003048 Eth
$872,099.00
66,700,086.800 RSR
0.0158%
77
Solidly V3 (Ethereum)
0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2$1.00
0.0003051 Eth
$773,040.00
761,894.254 0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48
0.0002%
78
Binance
RAY-USDC$1.00
0.0003048 Eth
$748,723.00
162,370.900 RAY
0.0000%
79
KuCoin
SOL-USDC$1.00
0.0003051 Eth
$647,350.00
3,467.142 SOL
0.0000%
80
Tokpie
DAI-USDC$1.00
0.0003051 Eth
$637,220.00
637,160.020 DAI
0.0002%
81
OKX
HBAR-USDC$1.00
0.0003052 Eth
$593,075.00
2,076,563.897 HBAR
0.0005%
82
Binance
NOT-USDC$1.00
0.0003049 Eth
$590,773.00
90,799,150.000 NOT
0.0216%
83
Dex-Trade
SOL-USDC$1.00
0.0003051 Eth
$570,815.00
3,058.212 SOL
0.0000%
84
WEEX
AVAX-USDC$1.00
0.0003049 Eth
$535,228.00
14,575.810 AVAX
0.0000%
85
BingX
UNI-USDC$0.9998
0.0003051 Eth
$497,948.00
36,421.737 UNI
0.0000%
86
OKX
FLOKI-USDC$1.00
0.0003052 Eth
$490,015.00
2,952,026,237.000 FLOKI
0.7015%
87
DeGate
0XC4441C2BE5D8FA8126822B9929CA0B81EA0DE38E-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48$0.9984
0.0003046 Eth
$438,815.00
684,341.278 0XC4441C2BE5D8FA8126822B9929CA0B81EA0DE38E
0.0002%
88
Backpack Exchange
BTC-USDC$0.9995
0.0003050 Eth
$397,580.00
4.217 BTC
0.0000%
89
DeGate
0X808507121B80C02388FAD14726482E061B8DA827-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48$0.9978
0.0003045 Eth
$384,071.00
98,683.001 0X808507121B80C02388FAD14726482E061B8DA827
0.0000%
90
OKX
LTC-USDC$1.00
0.0003052 Eth
$372,409.00
3,598.895 LTC
0.0000%
91
DeGate
0XCB1592591996765EC0EFC1F92599A19767EE5FFA-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48$0.9984
0.0003046 Eth
$346,404.00
747,473.880 0XCB1592591996765EC0EFC1F92599A19767EE5FFA
0.0002%
92
OKX
SHIB-USDC$1.00
0.0003052 Eth
$324,626.00
14,808,694,035.000 SHIB
3.5188%
93
DeGate
0XD533A949740BB3306D119CC777FA900BA034CD52-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48$0.9978
0.0003045 Eth
$301,219.00
367,774.578 0XD533A949740BB3306D119CC777FA900BA034CD52
0.0001%
94
DeGate
0XB50721BCF8D664C30412CFBC6CF7A15145234AD1-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48$0.9978
0.0003045 Eth
$275,063.00
372,977.480 0XB50721BCF8D664C30412CFBC6CF7A15145234AD1
0.0001%
95
OKX
FIL-USDC$1.00
0.0003052 Eth
$261,361.00
50,284.724 FIL
0.0000%
96
OKX
LINK-USDC$1.00
0.0003052 Eth
$238,810.00
11,908.610 LINK
0.0000%
97
OKX
NEAR-USDC$1.00
0.0003052 Eth
$237,655.00
47,049.342 NEAR
0.0000%
98
DeGate
0X1C88D38D04ACD3EDD9051EC587C67ABFF04BF30D-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48$0.9984
0.0003046 Eth
$229,942.00
45,523.537 0X1C88D38D04ACD3EDD9051EC587C67ABFF04BF30D
0.0000%
99
DeGate
0X84074EA631DEC7A4EDCD5303D164D5DEA4C653D6-0XA0B86991C6218B36C1D19D4A2E9EB0CE3606EB48$0.9984
0.0003046 Eth
$221,764.00
44,393.354 0X84074EA631DEC7A4EDCD5303D164D5DEA4C653D6
0.0000%
100
bitcastle
BTC-USDC$0.9995
0.0003049 Eth
$168,681.00
1.788 BTC
0.0000%

Contract Source Code Verified (Exact Match)

Contract Name:
FiatTokenProxy

Compiler Version
v0.4.24+commit.e67f0147

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, Audited
/**
 *Submitted for verification at Etherscan.io on 2018-08-03
*/

pragma solidity ^0.4.24;

// File: zos-lib/contracts/upgradeability/Proxy.sol

/**
 * @title Proxy
 * @dev Implements delegation of calls to other contracts, with proper
 * forwarding of return values and bubbling of failures.
 * It defines a fallback function that delegates all calls to the address
 * returned by the abstract _implementation() internal function.
 */
contract Proxy {
  /**
   * @dev Fallback function.
   * Implemented entirely in `_fallback`.
   */
  function () payable external {
    _fallback();
  }

  /**
   * @return The Address of the implementation.
   */
  function _implementation() internal view returns (address);

  /**
   * @dev Delegates execution to an implementation contract.
   * This is a low level function that doesn't return to its internal call site.
   * It will return to the external caller whatever the implementation returns.
   * @param implementation Address to delegate.
   */
  function _delegate(address implementation) internal {
    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)

      // Call the implementation.
      // out and outsize are 0 because we don't know the size yet.
      let result := delegatecall(gas, implementation, 0, calldatasize, 0, 0)

      // Copy the returned data.
      returndatacopy(0, 0, returndatasize)

      switch result
      // delegatecall returns 0 on error.
      case 0 { revert(0, returndatasize) }
      default { return(0, returndatasize) }
    }
  }

  /**
   * @dev Function that is run as the first thing in the fallback function.
   * Can be redefined in derived contracts to add functionality.
   * Redefinitions must call super._willFallback().
   */
  function _willFallback() internal {
  }

  /**
   * @dev fallback implementation.
   * Extracted to enable manual triggering.
   */
  function _fallback() internal {
    _willFallback();
    _delegate(_implementation());
  }
}

// File: openzeppelin-solidity/contracts/AddressUtils.sol

/**
 * Utility library of inline functions on addresses
 */
library AddressUtils {

  /**
   * Returns whether the target address is a contract
   * @dev This function will return false if invoked during the constructor of a contract,
   * as the code is not actually created until after the constructor finishes.
   * @param addr address to check
   * @return whether the target address is a contract
   */
  function isContract(address addr) internal view returns (bool) {
    uint256 size;
    // XXX Currently there is no better way to check if there is a contract in an address
    // than to check the size of the code at that address.
    // See https://ethereum.stackexchange.com/a/14016/36603
    // for more details about how this works.
    // TODO Check this again before the Serenity release, because all addresses will be
    // contracts then.
    // solium-disable-next-line security/no-inline-assembly
    assembly { size := extcodesize(addr) }
    return size > 0;
  }

}

// File: zos-lib/contracts/upgradeability/UpgradeabilityProxy.sol

/**
 * @title UpgradeabilityProxy
 * @dev This contract implements a proxy that allows to change the
 * implementation address to which it will delegate.
 * Such a change is called an implementation upgrade.
 */
contract UpgradeabilityProxy is Proxy {
  /**
   * @dev Emitted when the implementation is upgraded.
   * @param implementation Address of the new implementation.
   */
  event Upgraded(address implementation);

  /**
   * @dev Storage slot with the address of the current implementation.
   * This is the keccak-256 hash of "org.zeppelinos.proxy.implementation", and is
   * validated in the constructor.
   */
  bytes32 private constant IMPLEMENTATION_SLOT = 0x7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3;

  /**
   * @dev Contract constructor.
   * @param _implementation Address of the initial implementation.
   */
  constructor(address _implementation) public {
    assert(IMPLEMENTATION_SLOT == keccak256("org.zeppelinos.proxy.implementation"));

    _setImplementation(_implementation);
  }

  /**
   * @dev Returns the current implementation.
   * @return Address of the current implementation
   */
  function _implementation() internal view returns (address impl) {
    bytes32 slot = IMPLEMENTATION_SLOT;
    assembly {
      impl := sload(slot)
    }
  }

  /**
   * @dev Upgrades the proxy to a new implementation.
   * @param newImplementation Address of the new implementation.
   */
  function _upgradeTo(address newImplementation) internal {
    _setImplementation(newImplementation);
    emit Upgraded(newImplementation);
  }

  /**
   * @dev Sets the implementation address of the proxy.
   * @param newImplementation Address of the new implementation.
   */
  function _setImplementation(address newImplementation) private {
    require(AddressUtils.isContract(newImplementation), "Cannot set a proxy implementation to a non-contract address");

    bytes32 slot = IMPLEMENTATION_SLOT;

    assembly {
      sstore(slot, newImplementation)
    }
  }
}

// File: zos-lib/contracts/upgradeability/AdminUpgradeabilityProxy.sol

/**
 * @title AdminUpgradeabilityProxy
 * @dev This contract combines an upgradeability proxy with an authorization
 * mechanism for administrative tasks.
 * All external functions in this contract must be guarded by the
 * `ifAdmin` modifier. See ethereum/solidity#3864 for a Solidity
 * feature proposal that would enable this to be done automatically.
 */
contract AdminUpgradeabilityProxy is UpgradeabilityProxy {
  /**
   * @dev Emitted when the administration has been transferred.
   * @param previousAdmin Address of the previous admin.
   * @param newAdmin Address of the new admin.
   */
  event AdminChanged(address previousAdmin, address newAdmin);

  /**
   * @dev Storage slot with the admin of the contract.
   * This is the keccak-256 hash of "org.zeppelinos.proxy.admin", and is
   * validated in the constructor.
   */
  bytes32 private constant ADMIN_SLOT = 0x10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b;

  /**
   * @dev Modifier to check whether the `msg.sender` is the admin.
   * If it is, it will run the function. Otherwise, it will delegate the call
   * to the implementation.
   */
  modifier ifAdmin() {
    if (msg.sender == _admin()) {
      _;
    } else {
      _fallback();
    }
  }

  /**
   * Contract constructor.
   * It sets the `msg.sender` as the proxy administrator.
   * @param _implementation address of the initial implementation.
   */
  constructor(address _implementation) UpgradeabilityProxy(_implementation) public {
    assert(ADMIN_SLOT == keccak256("org.zeppelinos.proxy.admin"));

    _setAdmin(msg.sender);
  }

  /**
   * @return The address of the proxy admin.
   */
  function admin() external view ifAdmin returns (address) {
    return _admin();
  }

  /**
   * @return The address of the implementation.
   */
  function implementation() external view ifAdmin returns (address) {
    return _implementation();
  }

  /**
   * @dev Changes the admin of the proxy.
   * Only the current admin can call this function.
   * @param newAdmin Address to transfer proxy administration to.
   */
  function changeAdmin(address newAdmin) external ifAdmin {
    require(newAdmin != address(0), "Cannot change the admin of a proxy to the zero address");
    emit AdminChanged(_admin(), newAdmin);
    _setAdmin(newAdmin);
  }

  /**
   * @dev Upgrade the backing implementation of the proxy.
   * Only the admin can call this function.
   * @param newImplementation Address of the new implementation.
   */
  function upgradeTo(address newImplementation) external ifAdmin {
    _upgradeTo(newImplementation);
  }

  /**
   * @dev Upgrade the backing implementation of the proxy and call a function
   * on the new implementation.
   * This is useful to initialize the proxied contract.
   * @param newImplementation Address of the new implementation.
   * @param data Data to send as msg.data in the low level call.
   * It should include the signature and the parameters of the function to be
   * called, as described in
   * https://solidity.readthedocs.io/en/develop/abi-spec.html#function-selector-and-argument-encoding.
   */
  function upgradeToAndCall(address newImplementation, bytes data) payable external ifAdmin {
    _upgradeTo(newImplementation);
    require(address(this).call.value(msg.value)(data));
  }

  /**
   * @return The admin slot.
   */
  function _admin() internal view returns (address adm) {
    bytes32 slot = ADMIN_SLOT;
    assembly {
      adm := sload(slot)
    }
  }

  /**
   * @dev Sets the address of the proxy admin.
   * @param newAdmin Address of the new proxy admin.
   */
  function _setAdmin(address newAdmin) internal {
    bytes32 slot = ADMIN_SLOT;

    assembly {
      sstore(slot, newAdmin)
    }
  }

  /**
   * @dev Only fall back when the sender is not the admin.
   */
  function _willFallback() internal {
    require(msg.sender != _admin(), "Cannot call fallback function from the proxy admin");
    super._willFallback();
  }
}

// File: contracts/FiatTokenProxy.sol

/**
* Copyright CENTRE SECZ 2018
*
* Permission is hereby granted, free of charge, to any person obtaining a copy 
* of this software and associated documentation files (the "Software"), to deal 
* in the Software without restriction, including without limitation the rights 
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
* copies of the Software, and to permit persons to whom the Software is furnished to 
* do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all 
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
* WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN 
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/

pragma solidity ^0.4.24;


/**
 * @title FiatTokenProxy
 * @dev This contract proxies FiatToken calls and enables FiatToken upgrades
*/ 
contract FiatTokenProxy is AdminUpgradeabilityProxy {
    constructor(address _implementation) public AdminUpgradeabilityProxy(_implementation) {
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newImplementation","type":"address"},{"name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"admin","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_implementation","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"previousAdmin","type":"address"},{"indexed":false,"name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"implementation","type":"address"}],"name":"Upgraded","type":"event"}]

608060405234801561001057600080fd5b50604051602080610b2983398101806040528101908080519060200190929190505050808060405180807f6f72672e7a657070656c696e6f732e70726f78792e696d706c656d656e74617481526020017f696f6e000000000000000000000000000000000000000000000000000000000081525060230190506040518091039020600019167f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c3600102600019161415156100c657fe5b6100de81610169640100000000026401000000009004565b5060405180807f6f72672e7a657070656c696e6f732e70726f78792e61646d696e000000000000815250601a0190506040518091039020600019167f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b6001026000191614151561014a57fe5b6101623361024e640100000000026401000000009004565b5050610290565b60006101878261027d6401000000000261084b176401000000009004565b1515610221576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b8152602001807f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f81526020017f6e20746f2061206e6f6e2d636f6e74726163742061646472657373000000000081525060400191505060405180910390fd5b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c360010290508181555050565b60007f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b60010290508181555050565b600080823b905060008111915050919050565b61088a8061029f6000396000f30060806040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633659cfe6146100775780634f1ef286146100ba5780635c60da1b146101085780638f2839701461015f578063f851a440146101a2575b6100756101f9565b005b34801561008357600080fd5b506100b8600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610213565b005b610106600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001919091929391929390505050610268565b005b34801561011457600080fd5b5061011d610308565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561016b57600080fd5b506101a0600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610360565b005b3480156101ae57600080fd5b506101b761051e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610201610576565b61021161020c610651565b610682565b565b61021b6106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561025c57610257816106d9565b610265565b6102646101f9565b5b50565b6102706106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102fa576102ac836106d9565b3073ffffffffffffffffffffffffffffffffffffffff163483836040518083838082843782019150509250505060006040518083038185875af19250505015156102f557600080fd5b610303565b6103026101f9565b5b505050565b60006103126106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156103545761034d610651565b905061035d565b61035c6101f9565b5b90565b6103686106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561051257600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610466576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001807f43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f81526020017f787920746f20746865207a65726f20616464726573730000000000000000000081525060400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61048f6106a8565b82604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a161050d81610748565b61051b565b61051a6101f9565b5b50565b60006105286106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561056a576105636106a8565b9050610573565b6105726101f9565b5b90565b61057e6106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151515610647576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001807f43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e20667281526020017f6f6d207468652070726f78792061646d696e000000000000000000000000000081525060400191505060405180910390fd5b61064f610777565b565b6000807f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c36001029050805491505090565b3660008037600080366000845af43d6000803e80600081146106a3573d6000f35b3d6000fd5b6000807f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b6001029050805491505090565b6106e281610779565b7fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b60007f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b60010290508181555050565b565b60006107848261084b565b151561081e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b8152602001807f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f81526020017f6e20746f2061206e6f6e2d636f6e74726163742061646472657373000000000081525060400191505060405180910390fd5b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c360010290508181555050565b600080823b9050600081119150509190505600a165627a7a72305820a4a547cfc7202c5acaaae74d428e988bc62ad5024eb0165532d3a8f91db4ed2400290000000000000000000000000882477e7895bdc5cea7cb1552ed914ab157fe56

Deployed Bytecode

0x60806040526004361061006d576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680633659cfe6146100775780634f1ef286146100ba5780635c60da1b146101085780638f2839701461015f578063f851a440146101a2575b6100756101f9565b005b34801561008357600080fd5b506100b8600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610213565b005b610106600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001908201803590602001919091929391929390505050610268565b005b34801561011457600080fd5b5061011d610308565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561016b57600080fd5b506101a0600480360381019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610360565b005b3480156101ae57600080fd5b506101b761051e565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610201610576565b61021161020c610651565b610682565b565b61021b6106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561025c57610257816106d9565b610265565b6102646101f9565b5b50565b6102706106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156102fa576102ac836106d9565b3073ffffffffffffffffffffffffffffffffffffffff163483836040518083838082843782019150509250505060006040518083038185875af19250505015156102f557600080fd5b610303565b6103026101f9565b5b505050565b60006103126106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614156103545761034d610651565b905061035d565b61035c6101f9565b5b90565b6103686106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561051257600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614151515610466576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260368152602001807f43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f81526020017f787920746f20746865207a65726f20616464726573730000000000000000000081525060400191505060405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61048f6106a8565b82604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390a161050d81610748565b61051b565b61051a6101f9565b5b50565b60006105286106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16141561056a576105636106a8565b9050610573565b6105726101f9565b5b90565b61057e6106a8565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151515610647576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001807f43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e20667281526020017f6f6d207468652070726f78792061646d696e000000000000000000000000000081525060400191505060405180910390fd5b61064f610777565b565b6000807f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c36001029050805491505090565b3660008037600080366000845af43d6000803e80600081146106a3573d6000f35b3d6000fd5b6000807f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b6001029050805491505090565b6106e281610779565b7fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b81604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390a150565b60007f10d6a54a4754c8869d6886b5f5d7fbfa5b4522237ea5c60d11bc4e7a1ff9390b60010290508181555050565b565b60006107848261084b565b151561081e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b8152602001807f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f81526020017f6e20746f2061206e6f6e2d636f6e74726163742061646472657373000000000081525060400191505060405180910390fd5b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c360010290508181555050565b600080823b9050600081119150509190505600a165627a7a72305820a4a547cfc7202c5acaaae74d428e988bc62ad5024eb0165532d3a8f91db4ed240029

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

0000000000000000000000000882477e7895bdc5cea7cb1552ed914ab157fe56

-----Decoded View---------------
Arg [0] : _implementation (address): 0x0882477e7895bdC5cea7cB1552ed914aB157Fe56

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000882477e7895bdc5cea7cb1552ed914ab157fe56


Swarm Source

bzzr://a4a547cfc7202c5acaaae74d428e988bc62ad5024eb0165532d3a8f91db4ed24
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.