Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
1,000,000,000 Main
Holders
35,446
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
FXX_contract
Compiler Version
v0.5.2+commit.1df8f40c
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-10-06 */ pragma solidity ^0.5.2; contract ERC20Interface { string public name; string public symbol; uint8 public decimals; uint public totalSupply; function transfer(address _to, uint256 _value) public returns (bool success); function transferFrom(address _from, address _to, uint256 _value) public returns (bool success); function approve(address _spender, uint256 _value) public returns (bool success); function allowance(address _owner, address _spender) public view returns (uint256 remaining); event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); } contract FXX_contract is ERC20Interface { mapping (address => uint256) public balanceOf; mapping (address => mapping (address => uint256) ) internal allowed; constructor() public { name = "Mation Chain"; symbol = "Main"; decimals = 18; // 发币10亿,再加小数位4个0。 totalSupply = 1000000000000000000000000000; balanceOf[msg.sender] = totalSupply; } function transfer(address _to, uint256 _value) public returns (bool success){ require(_to != address(0)); require(balanceOf[msg.sender] >= _value); require(balanceOf[_to] + _value >= balanceOf[_to]); balanceOf[msg.sender] -= _value; balanceOf[_to] += _value; emit Transfer(msg.sender, _to, _value); success = true; } function transferFrom(address _from, address _to, uint256 _value) public returns (bool success){ require(_to != address(0)); require(balanceOf[_from] >= _value); require(allowed[_from][msg.sender] >= _value); require(balanceOf[_to] + _value >= balanceOf[_to]); balanceOf[_from] -= _value; balanceOf[_to] += _value; allowed[_from][msg.sender] -= _value; emit Transfer(_from, _to, _value); success = true; } function approve(address _spender, uint256 _value) public returns (bool success){ require((_value == 0)||(allowed[msg.sender][_spender] == 0)); allowed[msg.sender][_spender] = _value; emit Approval(msg.sender, _spender, _value); success = true; } function allowance(address _owner, address _spender) public view returns (uint256 remaining){ return allowed[_owner][_spender]; } }
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":"success","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":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"remaining","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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
608060405234801561001057600080fd5b5060408051808201909152600c8082527f4d6174696f6e20436861696e00000000000000000000000000000000000000006020909201918252610055916000916100cf565b506040805180820190915260048082527f4d61696e00000000000000000000000000000000000000000000000000000000602090920191825261009a916001916100cf565b506002805460ff191660121790556b033b2e3c9fd0803ce800000060038190553360009081526004602052604090205561016a565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061011057805160ff191683800117855561013d565b8280016001018555821561013d579182015b8281111561013d578251825591602001919060010190610122565b5061014992915061014d565b5090565b61016791905b808211156101495760008155600101610153565b90565b61064f806101796000396000f3fe608060405234801561001057600080fd5b50600436106100b0576000357c010000000000000000000000000000000000000000000000000000000090048063313ce56711610083578063313ce567146101c257806370a08231146101e057806395d89b4114610206578063a9059cbb1461020e578063dd62ed3e1461023a576100b0565b806306fdde03146100b5578063095ea7b31461013257806318160ddd1461017257806323b872dd1461018c575b600080fd5b6100bd610268565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f75781810151838201526020016100df565b50505050905090810190601f1680156101245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61015e6004803603604081101561014857600080fd5b50600160a060020a0381351690602001356102f6565b604080519115158252519081900360200190f35b61017a610398565b60408051918252519081900360200190f35b61015e600480360360608110156101a257600080fd5b50600160a060020a0381358116916020810135909116906040013561039e565b6101ca6104bb565b6040805160ff9092168252519081900360200190f35b61017a600480360360208110156101f657600080fd5b5035600160a060020a03166104c4565b6100bd6104d6565b61015e6004803603604081101561022457600080fd5b50600160a060020a038135169060200135610530565b61017a6004803603604081101561025057600080fd5b50600160a060020a03813581169160200135166105f8565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102ee5780601f106102c3576101008083540402835291602001916102ee565b820191906000526020600020905b8154815290600101906020018083116102d157829003601f168201915b505050505081565b60008115806103265750336000908152600560209081526040808320600160a060020a0387168452909152902054155b151561033157600080fd5b336000818152600560209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60035481565b6000600160a060020a03831615156103b557600080fd5b600160a060020a0384166000908152600460205260409020548211156103da57600080fd5b600160a060020a038416600090815260056020908152604080832033845290915290205482111561040a57600080fd5b600160a060020a038316600090815260046020526040902054828101101561043157600080fd5b600160a060020a0380851660008181526004602090815260408083208054889003905593871680835284832080548801905583835260058252848320338452825291849020805487900390558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b60025460ff1681565b60046020526000908152604090205481565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102ee5780601f106102c3576101008083540402835291602001916102ee565b6000600160a060020a038316151561054757600080fd5b3360009081526004602052604090205482111561056357600080fd5b600160a060020a038316600090815260046020526040902054828101101561058a57600080fd5b33600081815260046020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b600160a060020a0391821660009081526005602090815260408083209390941682529190915220549056fea165627a7a72305820c7cfecbc70907b87826e0f95ca90c825167bccf9dd2e93ae7a974b450c2cb9310029
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100b0576000357c010000000000000000000000000000000000000000000000000000000090048063313ce56711610083578063313ce567146101c257806370a08231146101e057806395d89b4114610206578063a9059cbb1461020e578063dd62ed3e1461023a576100b0565b806306fdde03146100b5578063095ea7b31461013257806318160ddd1461017257806323b872dd1461018c575b600080fd5b6100bd610268565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100f75781810151838201526020016100df565b50505050905090810190601f1680156101245780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61015e6004803603604081101561014857600080fd5b50600160a060020a0381351690602001356102f6565b604080519115158252519081900360200190f35b61017a610398565b60408051918252519081900360200190f35b61015e600480360360608110156101a257600080fd5b50600160a060020a0381358116916020810135909116906040013561039e565b6101ca6104bb565b6040805160ff9092168252519081900360200190f35b61017a600480360360208110156101f657600080fd5b5035600160a060020a03166104c4565b6100bd6104d6565b61015e6004803603604081101561022457600080fd5b50600160a060020a038135169060200135610530565b61017a6004803603604081101561025057600080fd5b50600160a060020a03813581169160200135166105f8565b6000805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102ee5780601f106102c3576101008083540402835291602001916102ee565b820191906000526020600020905b8154815290600101906020018083116102d157829003601f168201915b505050505081565b60008115806103265750336000908152600560209081526040808320600160a060020a0387168452909152902054155b151561033157600080fd5b336000818152600560209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b60035481565b6000600160a060020a03831615156103b557600080fd5b600160a060020a0384166000908152600460205260409020548211156103da57600080fd5b600160a060020a038416600090815260056020908152604080832033845290915290205482111561040a57600080fd5b600160a060020a038316600090815260046020526040902054828101101561043157600080fd5b600160a060020a0380851660008181526004602090815260408083208054889003905593871680835284832080548801905583835260058252848320338452825291849020805487900390558351868152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35060019392505050565b60025460ff1681565b60046020526000908152604090205481565b60018054604080516020600284861615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156102ee5780601f106102c3576101008083540402835291602001916102ee565b6000600160a060020a038316151561054757600080fd5b3360009081526004602052604090205482111561056357600080fd5b600160a060020a038316600090815260046020526040902054828101101561058a57600080fd5b33600081815260046020908152604080832080548790039055600160a060020a03871680845292819020805487019055805186815290519293927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a350600192915050565b600160a060020a0391821660009081526005602090815260408083209390941682529190915220549056fea165627a7a72305820c7cfecbc70907b87826e0f95ca90c825167bccf9dd2e93ae7a974b450c2cb9310029
Deployed Bytecode Sourcemap
690:1656:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;690:1656:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;54:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1923:277;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1923:277:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;128:23;;;:::i;:::-;;;;;;;;;;;;;;;;1461:456;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1461:456:0;;;;;;;;;;;;;;;;;:::i;102:21::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;735:45;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;735:45:0;-1:-1:-1;;;;;735:45:0;;:::i;77:20::-;;;:::i;1099:356::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1099:356:0;;;;;;;;:::i;2206:137::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;2206:137:0;;;;;;;;;;:::i;54:18::-;;;;;;;;;;;;;;;-1:-1:-1;;54:18:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1923:277::-;1990:12;2021:11;;;2020:51;;-1:-1:-1;2044:10:0;2036:19;;;;:7;:19;;;;;;;;-1:-1:-1;;;;;2036:29:0;;;;;;;;;;:34;2020:51;2012:60;;;;;;;;2089:10;2081:19;;;;:7;:19;;;;;;;;-1:-1:-1;;;;;2081:29:0;;;;;;;;;;;;:38;;;2133;;;;;;;2081:29;;2089:10;2133:38;;;;;;;;;;;-1:-1:-1;2190:4:0;;1923:277;-1:-1:-1;;1923:277:0:o;128:23::-;;;;:::o;1461:456::-;1543:12;-1:-1:-1;;;;;1571:17:0;;;;1563:26;;;;;;-1:-1:-1;;;;;1604:16:0;;;;;;:9;:16;;;;;;:26;-1:-1:-1;1604:26:0;1596:35;;;;;;-1:-1:-1;;;;;1646:14:0;;;;;;:7;:14;;;;;;;;1661:10;1646:26;;;;;;;;:37;-1:-1:-1;1646:37:0;1638:46;;;;;;-1:-1:-1;;;;;1726:14:0;;;;;;:9;:14;;;;;;1699:23;;;:41;;1691:50;;;;;;-1:-1:-1;;;;;1750:16:0;;;;;;;:9;:16;;;;;;;;:26;;;;;;;1783:14;;;;;;;;;:24;;;;;;1814:14;;;:7;:14;;;;;1829:10;1814:26;;;;;;;;:36;;;;;;;1862:28;;;;;;;1783:14;;1862:28;;;;;;;;;;;-1:-1:-1;1907:4:0;;1461:456;-1:-1:-1;;;1461:456:0:o;102:21::-;;;;;;:::o;735:45::-;;;;;;;;;;;;;:::o;77:20::-;;;;;;;;;;;;;;;-1:-1:-1;;77:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1099:356;1162:12;-1:-1:-1;;;;;1190:17:0;;;;1182:26;;;;;;1233:10;1223:21;;;;:9;:21;;;;;;:31;-1:-1:-1;1223:31:0;1215:40;;;;;;-1:-1:-1;;;;;1297:14:0;;;;;;:9;:14;;;;;;1270:23;;;:41;;1262:50;;;;;;1331:10;1321:21;;;;:9;:21;;;;;;;;:31;;;;;;;-1:-1:-1;;;;;1359:14:0;;;;;;;;;:24;;;;;;1395:33;;;;;;;1359:14;;1331:10;1395:33;;;;;;;;;;;-1:-1:-1;1445:4:0;;1099:356;-1:-1:-1;;1099:356:0:o;2206:137::-;-1:-1:-1;;;;;2312:15:0;;;2280:17;2312:15;;;:7;:15;;;;;;;;:25;;;;;;;;;;;;;2206:137::o
Swarm Source
bzzr://c7cfecbc70907b87826e0f95ca90c825167bccf9dd2e93ae7a974b450c2cb931
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.