Feature Tip: Add private address tag to any address under My Name Tag !
Token migration announcement. The MATIC token has been migrated to POL at a new address.
ERC-20
Polygon
Overview
Max Total Supply
10,000,000,000 MATIC
Holders
668,498 ( -0.003%)
Market
Price
$0.53 @ 0.000204 ETH (+2.85%)
Onchain Market Cap
$5,328,768,826.68
Circulating Supply Market Cap
$5,309,444,795.56
Other Info
Token Contract (WITH 18 Decimals)
Balance
0.101153771939988513 MATICValue
$0.05 ( ~1.91371334396727E-05 Eth) [0.0000%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|---|---|---|---|---|
1 | P2B | MATIC-USDT | $0.5333 0.0002042 Eth | $44,112,152.00 82,709,953.400 MATIC | 16.2587% |
2 | Bybit | MATIC-USDT | $0.534 0.0002044 Eth | $29,991,748.00 56,884,372.320 MATIC | 11.1820% |
3 | OKX | MATIC-USDT | $0.5341 0.0002045 Eth | $12,837,782.00 24,344,315.232 MATIC | 4.7855% |
4 | HTX | MATIC-USDT | $0.5333 0.0002041 Eth | $12,357,485.00 23,479,457.668 MATIC | 4.6155% |
5 | Bitget | MATIC-USDT | $0.5335 0.0002042 Eth | $12,047,015.00 22,852,542.793 MATIC | 4.4922% |
6 | DigiFinex | MATIC-USDT | $0.5334 0.0002042 Eth | $11,733,203.00 21,995,611.600 MATIC | 4.3238% |
7 | Coinbase Exchange | MATIC-USD | $0.5341 0.0002044 Eth | $11,256,944.00 21,076,473.300 MATIC | 4.1431% |
8 | Slex | MATIC-USDT | $0.5336 0.0002043 Eth | $11,032,906.00 20,954,138.200 MATIC | 4.1190% |
9 | OrangeX | MATIC-USDT | $0.5333 0.0002042 Eth | $9,942,959.00 18,861,877.900 MATIC | 3.7078% |
10 | Gate.io | MATIC-USDT | $0.5332 0.0002041 Eth | $9,496,828.00 17,992,538.290 MATIC | 3.5369% |
11 | Azbit | MATIC-USDT | $0.534 0.0002044 Eth | $9,009,085.00 17,124,189.967 MATIC | 3.3662% |
12 | Bitunix | MATIC-USDT | $0.5333 0.0002041 Eth | $9,003,389.00 16,878,304.000 MATIC | 3.3178% |
13 | XT.COM | MATIC-USDT | $0.5334 0.0002042 Eth | $7,637,059.00 14,496,270.300 MATIC | 2.8496% |
14 | Biconomy.com | MATIC-USDT | $0.5335 0.0002043 Eth | $5,689,639.00 10,791,990.687 MATIC | 2.1214% |
15 | Hotcoin | MATIC-USDT | $0.5334 0.0002042 Eth | $4,412,034.00 8,271,372.297 MATIC | 1.6259% |
16 | LATOKEN | MATIC-USDT | $0.5337 0.0002043 Eth | $4,081,919.00 7,648,977.648 MATIC | 1.5036% |
17 | BYDFi | MATIC-USDT | $0.5337 0.0002043 Eth | $3,953,588.00 7,408,578.900 MATIC | 1.4563% |
18 | CoinW | MATIC-USDT | $0.5334 0.0002043 Eth | $3,708,601.00 6,952,741.553 MATIC | 1.3667% |
19 | KuCoin | MATIC-USDT | $0.534 0.0002044 Eth | $3,390,946.00 6,349,694.825 MATIC | 1.2482% |
20 | LBank | MATIC-USDT | $0.5334 0.0002043 Eth | $3,270,998.00 6,132,439.020 MATIC | 1.2055% |
21 | FameEX | MATIC-USDT | $0.534 0.0002044 Eth | $3,039,133.00 5,769,159.486 MATIC | 1.1341% |
22 | Kraken | MATIC-USD | $0.5333 0.0002041 Eth | $2,832,191.00 5,310,690.806 MATIC | 1.0439% |
23 | Binance | MATIC-BTC | $0.5323 0.0002040 Eth | $2,299,420.00 4,398,326.200 MATIC | 0.8646% |
24 | BVOX | MATIC-USDT | $0.5336 0.0002043 Eth | $2,296,043.00 4,363,160.800 MATIC | 0.8577% |
25 | Binance | MATIC-USDC | $0.5324 0.0002038 Eth | $2,131,700.00 4,047,348.900 MATIC | 0.7956% |
26 | PointPay | MATIC-USDT | $0.534 0.0002044 Eth | $2,096,629.00 3,978,790.754 MATIC | 0.7821% |
27 | Dex-Trade | MATIC-USDT | $0.5337 0.0002044 Eth | $2,070,306.00 3,879,177.250 MATIC | 0.7625% |
28 | Bitexen | MATIC-TRY | $0.5346 0.0002047 Eth | $2,004,787.00 3,750,083.300 MATIC | 0.7372% |
29 | Binance | MATIC-FDUSD | $0.5343 0.0002045 Eth | $1,660,733.00 3,163,501.400 MATIC | 0.6219% |
30 | Trubit | MATIC-USDT | $0.5338 0.0002044 Eth | $1,612,985.00 3,070,419.800 MATIC | 0.6036% |
31 | MEXC | MATIC-USDT | $0.5333 0.0002042 Eth | $1,475,705.00 2,766,948.730 MATIC | 0.5439% |
32 | Bitbank | MATIC-JPY | $0.5338 0.0002043 Eth | $1,424,307.00 2,668,164.420 MATIC | 0.5245% |
33 | FMFW.io | MATIC-USDT | $0.5334 0.0002042 Eth | $1,346,390.00 2,524,202.000 MATIC | 0.4962% |
34 | BingX | MATIC-USDT | $0.534 0.0002044 Eth | $1,329,847.00 2,523,261.275 MATIC | 0.4960% |
35 | Bitvavo | MATIC-EUR | $0.5333 0.0002042 Eth | $1,291,539.00 2,421,743.040 MATIC | 0.4761% |
36 | WEEX | MATIC-USDT | $0.5329 0.0002042 Eth | $1,161,759.00 2,203,709.850 MATIC | 0.4332% |
37 | XT.COM | MATIC-XT | $0.5338 0.0002043 Eth | $1,133,905.00 2,161,617.200 MATIC | 0.4249% |
38 | CoinEx | MATIC-USDT | $0.5343 0.0002045 Eth | $1,099,835.00 2,090,364.120 MATIC | 0.4109% |
39 | Bybit | MATIC-USDC | $0.5341 0.0002044 Eth | $941,829.00 1,786,598.060 MATIC | 0.3512% |
40 | Binance | MATIC-TRY | $0.5344 0.0002048 Eth | $906,865.00 1,719,006.400 MATIC | 0.3379% |
41 | BTSE | MATIC-USDT | $0.5334 0.0002043 Eth | $895,832.00 1,679,554.947 MATIC | 0.3302% |
42 | Icrypex | MATIC-USDT | $0.537 0.0002057 Eth | $880,435.00 1,639,566.992 MATIC | 0.3223% |
43 | WhiteBIT | MATIC-BTC | $0.5333 0.0002041 Eth | $813,645.00 1,525,735.130 MATIC | 0.2999% |
44 | Tapbit | MATIC-USDT | $0.5332 0.0002042 Eth | $758,012.00 1,438,769.900 MATIC | 0.2828% |
45 | Coinstore | MATIC-USDT | $0.5338 0.0002044 Eth | $716,506.00 1,361,230.600 MATIC | 0.2676% |
46 | AscendEX (BitMax) | MATIC-USDT | $0.5322 0.0002037 Eth | $709,938.00 1,333,899.000 MATIC | 0.2622% |
47 | BitMart | MATIC-USDT | $0.5336 0.0002043 Eth | $686,450.00 1,286,376.000 MATIC | 0.2529% |
48 | Uniswap V3 (Ethereum) | 0X7D1AFA7B718FB893DB30A3ABC0CFC608AACFEBB0-0XC02AAA39B223FE8D0A0E5C4F27EAD9083C756CC2 | $0.5317 0.0002036 Eth | $680,559.00 1,295,938.878 0X7D1AFA7B718FB893DB30A3ABC0CFC608AACFEBB0 | 0.2547% |
49 | EarnBIT | MATIC-USDT | $0.5337 0.0002043 Eth | $613,385.00 1,162,923.230 MATIC | 0.2286% |
50 | Phemex | MATIC-USDT | $0.5343 0.0002046 Eth | $593,978.00 1,111,752.850 MATIC | 0.2185% |
51 | OKX | MATIC-USDC | $0.5339 0.0002044 Eth | $567,310.00 1,073,217.295 MATIC | 0.2110% |
52 | Coinbase Exchange | MATIC-EUR | $0.534 0.0002044 Eth | $548,845.00 1,027,858.400 MATIC | 0.2021% |
53 | BitStorage | MATIC-USDT | $0.5337 0.0002044 Eth | $547,878.00 1,026,572.400 MATIC | 0.2018% |
54 | Kraken | MATIC-EUR | $0.5336 0.0002043 Eth | $502,262.00 941,206.922 MATIC | 0.1850% |
55 | OKX | MATIC-EUR | $0.5339 0.0002044 Eth | $429,139.00 816,124.202 MATIC | 0.1604% |
56 | Bitfinex | MATIC-USD | $0.5343 0.0002045 Eth | $428,428.00 801,803.363 MATIC | 0.1576% |
57 | Coinbase Exchange | MATIC-USDT | $0.5341 0.0002045 Eth | $422,926.00 791,890.070 MATIC | 0.1557% |
58 | Icrypex | MATIC-TRY | $0.5359 0.0002052 Eth | $375,534.00 700,759.277 MATIC | 0.1378% |
59 | Deribit Spot | MATIC-USDC | $0.5336 0.0002042 Eth | $343,066.00 651,603.000 MATIC | 0.1281% |
60 | WhiteBIT | MATIC-TRY | $0.5346 0.0002046 Eth | $328,084.00 613,750.200 MATIC | 0.1206% |
61 | TokoCrypto | MATIC-USDT | $0.533 0.0002042 Eth | $303,339.00 569,136.153 MATIC | 0.1119% |
62 | Binance | MATIC-EUR | $0.5334 0.0002044 Eth | $296,819.00 565,145.000 MATIC | 0.1111% |
63 | Bitazza | MATIC-USDT | $0.5355 0.0002051 Eth | $285,642.00 542,810.100 MATIC | 0.1067% |
64 | Binance | MATIC-ETH | $0.5335 0.0002043 Eth | $278,405.00 530,323.200 MATIC | 0.1042% |
65 | WhiteBIT | MATIC-EUR | $0.5332 0.0002041 Eth | $274,094.00 514,101.800 MATIC | 0.1011% |
66 | Slex | MATIC-ETH | $0.5344 0.0002046 Eth | $252,842.00 481,453.800 MATIC | 0.0946% |
67 | Coinbase Exchange | MATIC-BTC | $0.5339 0.0002044 Eth | $235,177.00 440,505.900 MATIC | 0.0866% |
68 | WhiteBIT | MATIC-USD | $0.5373 0.0002057 Eth | $205,861.00 383,140.800 MATIC | 0.0753% |
69 | Bitstamp | MATIC-USD | $0.5316 0.0002036 Eth | $196,415.00 369,500.124 MATIC | 0.0726% |
70 | Bitkub | MATIC-THB | $0.5325 0.0002039 Eth | $184,898.00 347,224.517 MATIC | 0.0683% |
71 | Coinbase Exchange | MATIC-GBP | $0.5338 0.0002043 Eth | $184,188.00 345,075.900 MATIC | 0.0678% |
72 | BitDelta | MATIC-USDT | $0.5334 0.0002042 Eth | $181,970.00 345,269.400 MATIC | 0.0679% |
73 | Binance | MATIC-BRL | $0.5348 0.0002048 Eth | $155,631.00 299,363.600 MATIC | 0.0588% |
74 | Indodax | MATIC-IDR | $0.5314 0.0002035 Eth | $130,531.00 245,657.350 MATIC | 0.0483% |
75 | LATOKEN | MATIC-BTC | $0.5327 0.0002039 Eth | $125,529.00 235,657.481 MATIC | 0.0463% |
76 | Binance | MATIC-BNB | $0.532 0.0002038 Eth | $109,335.00 204,572.000 MATIC | 0.0402% |
77 | Bitfinex | MATIC-USDT | $0.5332 0.0002041 Eth | $97,063.00 182,055.983 MATIC | 0.0358% |
78 | PointPay | MATIC-BTC | $0.5336 0.0002043 Eth | $95,726.00 182,842.580 MATIC | 0.0359% |
79 | Kraken | MATIC-XBT | $0.5339 0.0002044 Eth | $89,639.00 167,899.559 MATIC | 0.0330% |
80 | Dex-Trade | MATIC-BTC | $0.5321 0.0002037 Eth | $86,869.00 163,249.000 MATIC | 0.0321% |
81 | Bitcointry | MATIC-USDT | $0.5337 0.0002044 Eth | $80,698.00 153,449.780 MATIC | 0.0302% |
82 | Kraken | MATIC-USDT | $0.5337 0.0002043 Eth | $78,968.00 147,953.732 MATIC | 0.0291% |
83 | BingX | MATIC-USDC | $0.534 0.0002044 Eth | $62,047.00 117,795.608 MATIC | 0.0232% |
84 | BitMart | MATIC-USDC | $0.5332 0.0002041 Eth | $60,777.00 113,976.200 MATIC | 0.0224% |
85 | Bitget | MATIC-USDC | $0.5327 0.0002039 Eth | $57,226.00 108,720.800 MATIC | 0.0214% |
86 | KuCoin | MATIC-USDC | $0.5342 0.0002045 Eth | $55,616.00 104,116.720 MATIC | 0.0205% |
87 | itBit | MATIC-USD | $0.53 0.0002030 Eth | $54,295.00 102,443.169 MATIC | 0.0201% |
88 | Bitstamp | MATIC-EUR | $0.5333 0.0002044 Eth | $52,719.00 98,851.358 MATIC | 0.0194% |
89 | Bitget | MATIC-EUR | $0.5339 0.0002044 Eth | $51,399.00 97,856.679 MATIC | 0.0192% |
90 | KuCoin | MATIC-BTC | $0.5345 0.0002046 Eth | $39,633.00 74,151.400 MATIC | 0.0146% |
91 | Foxbit | MATIC-BRL | $0.5347 0.0002047 Eth | $31,342.00 60,068.224 MATIC | 0.0118% |
92 | Bitso | MATIC-MXN | $0.5322 0.0002037 Eth | $27,920.00 52,459.464 MATIC | 0.0103% |
93 | Bitfinex | MATIC-BTC | $0.5339 0.0002044 Eth | $27,840.00 52,145.512 MATIC | 0.0103% |
94 | Kraken | MATIC-GBP | $0.5327 0.0002039 Eth | $25,903.00 48,623.921 MATIC | 0.0096% |
95 | Coinmetro | MATIC-USD | $0.5335 0.0002043 Eth | $22,839.00 42,805.770 MATIC | 0.0084% |
96 | EXMO | MATIC-USDT | $0.5344 0.0002047 Eth | $19,264.52 36,047.109 MATIC | 0.0071% |
97 | Emirex | MATIC-USDT | $0.5334 0.0002043 Eth | $18,332.47 34,369.918 MATIC | 0.0068% |
98 | NovaDAX | MATIC-BRL | $0.536 0.0002053 Eth | $18,270.74 34,086.600 MATIC | 0.0067% |
99 | Gate.io | MATIC-ETH | $0.5346 0.0002046 Eth | $12,819.56 24,446.377 MATIC | 0.0048% |
100 | Bittime | MATIC-IDR | $0.5335 0.0002042 Eth | $5,990.40 11,477.600 MATIC | 0.0023% |
Contract Name:
MaticToken
Compiler Version
v0.5.2+commit.1df8f40c
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-04-20 */ pragma solidity 0.5.2; // File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); } // File: openzeppelin-solidity/contracts/math/SafeMath.sol /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } /** * @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); uint256 c = a - b; return c; } /** * @dev Adds two unsigned integers, reverts on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c; } /** * @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo), * reverts when dividing by zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md * Originally based on code by FirstBlood: * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol * * This implementation emits additional Approval events, allowing applications to reconstruct the allowance status for * all accounts just by listening to said events. Note that this isn't required by the specification, and other * compliant implementations may not do it. */ contract ERC20 is IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowed; uint256 private _totalSupply; /** * @dev Total number of tokens in existence */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev Gets the balance of the specified address. * @param owner The address to query the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address owner) public view returns (uint256) { return _balances[owner]; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param owner address The address which owns the funds. * @param spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance(address owner, address spender) public view returns (uint256) { return _allowed[owner][spender]; } /** * @dev Transfer token for a specified address * @param to The address to transfer to. * @param value The amount to be transferred. */ function transfer(address to, uint256 value) public returns (bool) { _transfer(msg.sender, to, value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * Beware that changing an allowance with this method brings the risk that someone may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param spender The address which will spend the funds. * @param value The amount of tokens to be spent. */ function approve(address spender, uint256 value) public returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } /** * @dev Transfer tokens from one address to another. * Note that while this function emits an Approval event, this is not required as per the specification, * and other compliant implementations may not emit the event. * @param from address The address which you want to send tokens from * @param to address The address which you want to transfer to * @param value uint256 the amount of tokens to be transferred */ function transferFrom(address from, address to, uint256 value) public returns (bool) { _allowed[from][msg.sender] = _allowed[from][msg.sender].sub(value); _transfer(from, to, value); emit Approval(from, msg.sender, _allowed[from][msg.sender]); return true; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * approve should be called when allowed_[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * Emits an Approval event. * @param spender The address which will spend the funds. * @param addedValue The amount of tokens to increase the allowance by. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = _allowed[msg.sender][spender].add(addedValue); emit Approval(msg.sender, spender, _allowed[msg.sender][spender]); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * approve should be called when allowed_[_spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * Emits an Approval event. * @param spender The address which will spend the funds. * @param subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = _allowed[msg.sender][spender].sub(subtractedValue); emit Approval(msg.sender, spender, _allowed[msg.sender][spender]); return true; } /** * @dev Transfer token for a specified addresses * @param from The address to transfer from. * @param to The address to transfer to. * @param value The amount to be transferred. */ function _transfer(address from, address to, uint256 value) internal { require(to != address(0)); _balances[from] = _balances[from].sub(value); _balances[to] = _balances[to].add(value); emit Transfer(from, to, value); } /** * @dev Internal function that mints an amount of the token and assigns it to * an account. This encapsulates the modification of balances such that the * proper events are emitted. * @param account The account that will receive the created tokens. * @param value The amount that will be created. */ function _mint(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.add(value); _balances[account] = _balances[account].add(value); emit Transfer(address(0), account, value); } /** * @dev Internal function that burns an amount of the token of a given * account. * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burn(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.sub(value); _balances[account] = _balances[account].sub(value); emit Transfer(account, address(0), value); } /** * @dev Internal function that burns an amount of the token of a given * account, deducting from the sender's allowance for said account. Uses the * internal burn function. * Emits an Approval event (reflecting the reduced allowance). * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burnFrom(address account, uint256 value) internal { _allowed[account][msg.sender] = _allowed[account][msg.sender].sub(value); _burn(account, value); emit Approval(account, msg.sender, _allowed[account][msg.sender]); } } // File: openzeppelin-solidity/contracts/access/Roles.sol /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an account access to this role */ function add(Role storage role, address account) internal { require(account != address(0)); require(!has(role, account)); role.bearer[account] = true; } /** * @dev remove an account's access to this role */ function remove(Role storage role, address account) internal { require(account != address(0)); require(has(role, account)); role.bearer[account] = false; } /** * @dev check if an account has this role * @return bool */ function has(Role storage role, address account) internal view returns (bool) { require(account != address(0)); return role.bearer[account]; } } // File: openzeppelin-solidity/contracts/access/roles/PauserRole.sol contract PauserRole { using Roles for Roles.Role; event PauserAdded(address indexed account); event PauserRemoved(address indexed account); Roles.Role private _pausers; constructor () internal { _addPauser(msg.sender); } modifier onlyPauser() { require(isPauser(msg.sender)); _; } function isPauser(address account) public view returns (bool) { return _pausers.has(account); } function addPauser(address account) public onlyPauser { _addPauser(account); } function renouncePauser() public { _removePauser(msg.sender); } function _addPauser(address account) internal { _pausers.add(account); emit PauserAdded(account); } function _removePauser(address account) internal { _pausers.remove(account); emit PauserRemoved(account); } } // File: openzeppelin-solidity/contracts/lifecycle/Pausable.sol /** * @title Pausable * @dev Base contract which allows children to implement an emergency stop mechanism. */ contract Pausable is PauserRole { event Paused(address account); event Unpaused(address account); bool private _paused; constructor () internal { _paused = false; } /** * @return true if the contract is paused, false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!_paused); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(_paused); _; } /** * @dev called by the owner to pause, triggers stopped state */ function pause() public onlyPauser whenNotPaused { _paused = true; emit Paused(msg.sender); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() public onlyPauser whenPaused { _paused = false; emit Unpaused(msg.sender); } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20Pausable.sol /** * @title Pausable token * @dev ERC20 modified with pausable transfers. **/ contract ERC20Pausable is ERC20, Pausable { function transfer(address to, uint256 value) public whenNotPaused returns (bool) { return super.transfer(to, value); } function transferFrom(address from, address to, uint256 value) public whenNotPaused returns (bool) { return super.transferFrom(from, to, value); } function approve(address spender, uint256 value) public whenNotPaused returns (bool) { return super.approve(spender, value); } function increaseAllowance(address spender, uint addedValue) public whenNotPaused returns (bool success) { return super.increaseAllowance(spender, addedValue); } function decreaseAllowance(address spender, uint subtractedValue) public whenNotPaused returns (bool success) { return super.decreaseAllowance(spender, subtractedValue); } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20Detailed.sol /** * @title ERC20Detailed token * @dev The decimals are only for visualization purposes. * All the operations are done using the smallest and indivisible token unit, * just as on Ethereum all the operations are done in wei. */ contract ERC20Detailed is IERC20 { string private _name; string private _symbol; uint8 private _decimals; constructor (string memory name, string memory symbol, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; } /** * @return the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @return the symbol of the token. */ function symbol() public view returns (string memory) { return _symbol; } /** * @return the number of decimals of the token. */ function decimals() public view returns (uint8) { return _decimals; } } // File: contracts/MaticToken.sol contract MaticToken is ERC20Pausable, ERC20Detailed { constructor (string memory name, string memory symbol, uint8 decimals, uint256 totalSupply) public ERC20Detailed (name, symbol, decimals) { _mint(msg.sender, totalSupply); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isPauser","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renouncePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"uint8"},{"name":"totalSupply","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"PauserRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162000f5738038062000f57833981018060405260808110156200003757600080fd5b8101908080516401000000008111156200005057600080fd5b820160208101848111156200006457600080fd5b81516401000000008111828201871017156200007f57600080fd5b505092919060200180516401000000008111156200009c57600080fd5b82016020810184811115620000b057600080fd5b8151640100000000811182820187101715620000cb57600080fd5b50506020820151604090920151909350909150838383620000f53364010000000062000161810204565b6004805460ff191690558251620001149060059060208601906200031f565b5081516200012a9060069060208501906200031f565b506007805460ff191660ff92909216919091179055506200015790503382640100000000620001b3810204565b50505050620003c4565b6200017c60038264010000000062000b096200027282021704565b604051600160a060020a038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b600160a060020a0382161515620001c957600080fd5b600254620001e6908264010000000062000aab620002cd82021704565b600255600160a060020a0382166000908152602081905260409020546200021c908264010000000062000aab620002cd82021704565b600160a060020a0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600160a060020a03811615156200028857600080fd5b6200029d8282640100000000620002e7810204565b15620002a857600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b600082820183811015620002e057600080fd5b9392505050565b6000600160a060020a0382161515620002ff57600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200036257805160ff191683800117855562000392565b8280016001018555821562000392579182015b828111156200039257825182559160200191906001019062000375565b50620003a0929150620003a4565b5090565b620003c191905b80821115620003a05760008155600101620003ab565b90565b610b8380620003d46000396000f3fe608060405234801561001057600080fd5b5060043610610128576000357c0100000000000000000000000000000000000000000000000000000000900480635c975abb116100bf5780638456cb591161008e5780638456cb591461031057806395d89b4114610318578063a457c2d714610320578063a9059cbb1461034c578063dd62ed3e1461037857610128565b80635c975abb146102b45780636ef8d66d146102bc57806370a08231146102c457806382dc1ec4146102ea57610128565b8063313ce567116100fb578063313ce5671461023a57806339509351146102585780633f4ba83a1461028457806346fbf68e1461028e57610128565b806306fdde031461012d578063095ea7b3146101aa57806318160ddd146101ea57806323b872dd14610204575b600080fd5b6101356103a6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016f578181015183820152602001610157565b50505050905090810190601f16801561019c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101d6600480360360408110156101c057600080fd5b50600160a060020a03813516906020013561043c565b604080519115158252519081900360200190f35b6101f2610460565b60408051918252519081900360200190f35b6101d66004803603606081101561021a57600080fd5b50600160a060020a03813581169160208101359091169060400135610466565b61024261048c565b6040805160ff9092168252519081900360200190f35b6101d66004803603604081101561026e57600080fd5b50600160a060020a038135169060200135610495565b61028c6104b2565b005b6101d6600480360360208110156102a457600080fd5b5035600160a060020a0316610516565b6101d661052f565b61028c610538565b6101f2600480360360208110156102da57600080fd5b5035600160a060020a0316610543565b61028c6004803603602081101561030057600080fd5b5035600160a060020a031661055e565b61028c61057e565b6101356105e4565b6101d66004803603604081101561033657600080fd5b50600160a060020a038135169060200135610645565b6101d66004803603604081101561036257600080fd5b50600160a060020a038135169060200135610662565b6101f26004803603604081101561038e57600080fd5b50600160a060020a038135811691602001351661067f565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104325780601f1061040757610100808354040283529160200191610432565b820191906000526020600020905b81548152906001019060200180831161041557829003601f168201915b5050505050905090565b60045460009060ff161561044f57600080fd5b61045983836106aa565b9392505050565b60025490565b60045460009060ff161561047957600080fd5b610484848484610728565b949350505050565b60075460ff1690565b60045460009060ff16156104a857600080fd5b61045983836107f1565b6104bb33610516565b15156104c657600080fd5b60045460ff1615156104d757600080fd5b6004805460ff191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b600061052960038363ffffffff6108a116565b92915050565b60045460ff1690565b610541336108d8565b565b600160a060020a031660009081526020819052604090205490565b61056733610516565b151561057257600080fd5b61057b81610920565b50565b61058733610516565b151561059257600080fd5b60045460ff16156105a257600080fd5b6004805460ff191660011790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104325780601f1061040757610100808354040283529160200191610432565b60045460009060ff161561065857600080fd5b6104598383610968565b60045460009060ff161561067557600080fd5b61045983836109b3565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b6000600160a060020a03831615156106c157600080fd5b336000818152600160209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b600160a060020a038316600090815260016020908152604080832033845290915281205461075c908363ffffffff6109c916565b600160a060020a038516600090815260016020908152604080832033845290915290205561078b8484846109de565b600160a060020a0384166000818152600160209081526040808320338085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000600160a060020a038316151561080857600080fd5b336000908152600160209081526040808320600160a060020a038716845290915290205461083c908363ffffffff610aab16565b336000818152600160209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6000600160a060020a03821615156108b857600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b6108e960038263ffffffff610abd16565b604051600160a060020a038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b61093160038263ffffffff610b0916565b604051600160a060020a038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b6000600160a060020a038316151561097f57600080fd5b336000908152600160209081526040808320600160a060020a038716845290915290205461083c908363ffffffff6109c916565b60006109c03384846109de565b50600192915050565b6000828211156109d857600080fd5b50900390565b600160a060020a03821615156109f357600080fd5b600160a060020a038316600090815260208190526040902054610a1c908263ffffffff6109c916565b600160a060020a038085166000908152602081905260408082209390935590841681522054610a51908263ffffffff610aab16565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282018381101561045957600080fd5b600160a060020a0381161515610ad257600080fd5b610adc82826108a1565b1515610ae757600080fd5b600160a060020a0316600090815260209190915260409020805460ff19169055565b600160a060020a0381161515610b1e57600080fd5b610b2882826108a1565b15610b3257600080fd5b600160a060020a0316600090815260209190915260409020805460ff1916600117905556fea165627a7a72305820cce49a7abfc4bd1fcccf59df283bbf2975819bc0cd4e6f6755f46ea9411bdc650029000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000204fce5e3e25026110000000000000000000000000000000000000000000000000000000000000000000000b4d6174696320546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d41544943000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b5060043610610128576000357c0100000000000000000000000000000000000000000000000000000000900480635c975abb116100bf5780638456cb591161008e5780638456cb591461031057806395d89b4114610318578063a457c2d714610320578063a9059cbb1461034c578063dd62ed3e1461037857610128565b80635c975abb146102b45780636ef8d66d146102bc57806370a08231146102c457806382dc1ec4146102ea57610128565b8063313ce567116100fb578063313ce5671461023a57806339509351146102585780633f4ba83a1461028457806346fbf68e1461028e57610128565b806306fdde031461012d578063095ea7b3146101aa57806318160ddd146101ea57806323b872dd14610204575b600080fd5b6101356103a6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016f578181015183820152602001610157565b50505050905090810190601f16801561019c5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101d6600480360360408110156101c057600080fd5b50600160a060020a03813516906020013561043c565b604080519115158252519081900360200190f35b6101f2610460565b60408051918252519081900360200190f35b6101d66004803603606081101561021a57600080fd5b50600160a060020a03813581169160208101359091169060400135610466565b61024261048c565b6040805160ff9092168252519081900360200190f35b6101d66004803603604081101561026e57600080fd5b50600160a060020a038135169060200135610495565b61028c6104b2565b005b6101d6600480360360208110156102a457600080fd5b5035600160a060020a0316610516565b6101d661052f565b61028c610538565b6101f2600480360360208110156102da57600080fd5b5035600160a060020a0316610543565b61028c6004803603602081101561030057600080fd5b5035600160a060020a031661055e565b61028c61057e565b6101356105e4565b6101d66004803603604081101561033657600080fd5b50600160a060020a038135169060200135610645565b6101d66004803603604081101561036257600080fd5b50600160a060020a038135169060200135610662565b6101f26004803603604081101561038e57600080fd5b50600160a060020a038135811691602001351661067f565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104325780601f1061040757610100808354040283529160200191610432565b820191906000526020600020905b81548152906001019060200180831161041557829003601f168201915b5050505050905090565b60045460009060ff161561044f57600080fd5b61045983836106aa565b9392505050565b60025490565b60045460009060ff161561047957600080fd5b610484848484610728565b949350505050565b60075460ff1690565b60045460009060ff16156104a857600080fd5b61045983836107f1565b6104bb33610516565b15156104c657600080fd5b60045460ff1615156104d757600080fd5b6004805460ff191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b600061052960038363ffffffff6108a116565b92915050565b60045460ff1690565b610541336108d8565b565b600160a060020a031660009081526020819052604090205490565b61056733610516565b151561057257600080fd5b61057b81610920565b50565b61058733610516565b151561059257600080fd5b60045460ff16156105a257600080fd5b6004805460ff191660011790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b60068054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104325780601f1061040757610100808354040283529160200191610432565b60045460009060ff161561065857600080fd5b6104598383610968565b60045460009060ff161561067557600080fd5b61045983836109b3565b600160a060020a03918216600090815260016020908152604080832093909416825291909152205490565b6000600160a060020a03831615156106c157600080fd5b336000818152600160209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b600160a060020a038316600090815260016020908152604080832033845290915281205461075c908363ffffffff6109c916565b600160a060020a038516600090815260016020908152604080832033845290915290205561078b8484846109de565b600160a060020a0384166000818152600160209081526040808320338085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000600160a060020a038316151561080857600080fd5b336000908152600160209081526040808320600160a060020a038716845290915290205461083c908363ffffffff610aab16565b336000818152600160209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6000600160a060020a03821615156108b857600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b6108e960038263ffffffff610abd16565b604051600160a060020a038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b61093160038263ffffffff610b0916565b604051600160a060020a038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b6000600160a060020a038316151561097f57600080fd5b336000908152600160209081526040808320600160a060020a038716845290915290205461083c908363ffffffff6109c916565b60006109c03384846109de565b50600192915050565b6000828211156109d857600080fd5b50900390565b600160a060020a03821615156109f357600080fd5b600160a060020a038316600090815260208190526040902054610a1c908263ffffffff6109c916565b600160a060020a038085166000908152602081905260408082209390935590841681522054610a51908263ffffffff610aab16565b600160a060020a038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b60008282018381101561045957600080fd5b600160a060020a0381161515610ad257600080fd5b610adc82826108a1565b1515610ae757600080fd5b600160a060020a0316600090815260209190915260409020805460ff19169055565b600160a060020a0381161515610b1e57600080fd5b610b2882826108a1565b15610b3257600080fd5b600160a060020a0316600090815260209190915260409020805460ff1916600117905556fea165627a7a72305820cce49a7abfc4bd1fcccf59df283bbf2975819bc0cd4e6f6755f46ea9411bdc650029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000204fce5e3e25026110000000000000000000000000000000000000000000000000000000000000000000000b4d6174696320546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054d41544943000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Matic Token
Arg [1] : symbol (string): MATIC
Arg [2] : decimals (uint8): 18
Arg [3] : totalSupply (uint256): 10000000000000000000000000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 0000000000000000000000000000000000000000204fce5e3e25026110000000
Arg [4] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [5] : 4d6174696320546f6b656e000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 4d41544943000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://cce49a7abfc4bd1fcccf59df283bbf2975819bc0cd4e6f6755f46ea9411bdc65
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.