Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Trading
Overview
Max Total Supply
35,000,000 Libfx
Holders
1,966 (0.00%)
Total Transfers
-
Market
Price
$0.00 @ 0.000000 ETH
Onchain Market Cap
$16,452.65
Circulating Supply Market Cap
$0.00
Other Info
Token Contract (WITH 18 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
LibfxToken
Compiler Version
v0.5.11+commit.c082d0b4
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-06-16 */ pragma solidity 0.5.11; contract ITokenRecipient { function tokenFallback(address from, uint value) public; } contract SafeMath { uint256 constant public MAX_UINT256 = 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF; function safeAdd(uint256 x, uint256 y) pure internal returns (uint256 z) { if (x > MAX_UINT256 - y) revert(); return x + y; } function safeSub(uint256 x, uint256 y) pure internal returns (uint256 z) { if (x < y) revert(); return x - y; } } contract LibfxToken is SafeMath { mapping(address => uint) public balances; mapping (address => mapping (address => uint256)) public allowance; string public name = "Libfx"; string public symbol = "Libfx"; uint8 public decimals = 18; uint256 public totalSupply = 35000000000000000000000000; event Transfer(address indexed from, address indexed to, uint value); event Burn(address indexed from, uint256 value); constructor() public { balances[msg.sender] = totalSupply; } function transfer(address to, uint value) public returns (bool success) { require(value > 0); balances[msg.sender] = safeSub(balances[msg.sender], value); balances[to] = safeAdd(balances[to], value); emit Transfer(msg.sender, to, value); return true; } function approve(address spender, uint256 value) public returns (bool success) { require(value > 0); allowance[msg.sender][spender] = value; return true; } function transferFrom(address fromAddress, address toAddress, uint256 value) public returns (bool success) { require(uint256(toAddress) != 0 && value > 0); balances[fromAddress] = safeSub(balances[fromAddress], value); balances[toAddress] = safeAdd(balances[toAddress], value); allowance[fromAddress][msg.sender] = safeSub(allowance[fromAddress][msg.sender], value); emit Transfer(fromAddress, toAddress, value); return true; } function burn(uint256 value) public returns (bool success) { require(value > 0); balances[msg.sender] = safeSub(balances[msg.sender], value); totalSupply = safeSub(totalSupply,value); emit Burn(msg.sender, value); return true; } function balanceOf(address ethAddress) public view returns (uint balance) { return balances[ethAddress]; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"fromAddress","type":"address"},{"internalType":"address","name":"toAddress","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MAX_UINT256","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"ethAddress","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Burn","type":"event"}]
Contract Creation Code
60c0604052600560808190527f4c6962667800000000000000000000000000000000000000000000000000000060a090815261003e91600291906100c5565b506040805180820190915260058082527f4c696266780000000000000000000000000000000000000000000000000000006020909201918252610083916003916100c5565b506004805460ff191660121790556a1cf389cd46047d030000006005553480156100ac57600080fd5b5060055433600090815260208190526040902055610160565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061010657805160ff1916838001178555610133565b82800160010185558215610133579182015b82811115610133578251825591602001919060010190610118565b5061013f929150610143565b5090565b61015d91905b8082111561013f5760008155600101610149565b90565b6106e68061016f6000396000f3fe608060405234801561001057600080fd5b50600436106100b45760003560e01c806333a581d21161007157806333a581d21461020a57806342966c681461021257806370a082311461022f57806395d89b4114610255578063a9059cbb1461025d578063dd62ed3e14610289576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd1461019057806327e235e3146101c6578063313ce567146101ec575b600080fd5b6100c16102b7565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610342565b604080519115158252519081900360200190f35b61017e61037b565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b03813581169160208101359091169060400135610381565b61017e600480360360208110156101dc57600080fd5b50356001600160a01b031661049d565b6101f46104af565b6040805160ff9092168252519081900360200190f35b61017e6104b8565b6101626004803603602081101561022857600080fd5b50356104be565b61017e6004803603602081101561024557600080fd5b50356001600160a01b0316610544565b6100c161055f565b6101626004803603604081101561027357600080fd5b506001600160a01b0381351690602001356105ba565b61017e6004803603604081101561029f57600080fd5b506001600160a01b038135811691602001351661066a565b6002805460408051602060018416156101000260001901909316849004601f8101849004840282018401909252818152929183018282801561033a5780601f1061030f5761010080835404028352916020019161033a565b820191906000526020600020905b81548152906001019060200180831161031d57829003601f168201915b505050505081565b600080821161035057600080fd5b503360009081526001602081815260408084206001600160a01b039690961684529490529290205590565b60055481565b60006001600160a01b0383161580159061039b5750600082115b6103a457600080fd5b6001600160a01b0384166000908152602081905260409020546103c79083610687565b6001600160a01b0380861660009081526020819052604080822093909355908516815220546103f6908361069c565b6001600160a01b038085166000908152602081815260408083209490945591871681526001825282812033825290915220546104329083610687565b6001600160a01b03808616600081815260016020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60006020819052908152604090205481565b60045460ff1681565b60001981565b60008082116104cc57600080fd5b336000908152602081905260409020546104e69083610687565b336000908152602081905260409020556005546105039083610687565b60055560408051838152905133917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2506001919050565b6001600160a01b031660009081526020819052604090205490565b6003805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561033a5780601f1061030f5761010080835404028352916020019161033a565b60008082116105c857600080fd5b336000908152602081905260409020546105e29083610687565b33600090815260208190526040808220929092556001600160a01b0385168152205461060e908361069c565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600160209081526000928352604080842090915290825290205481565b60008183101561069657600080fd5b50900390565b600081198311156106ac57600080fd5b50019056fea265627a7a72315820a9c733b314f5b7c20c84253eea0bcf166a40b08172708960f94bc3aa2e492cb764736f6c634300050b0032
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100b45760003560e01c806333a581d21161007157806333a581d21461020a57806342966c681461021257806370a082311461022f57806395d89b4114610255578063a9059cbb1461025d578063dd62ed3e14610289576100b4565b806306fdde03146100b9578063095ea7b31461013657806318160ddd1461017657806323b872dd1461019057806327e235e3146101c6578063313ce567146101ec575b600080fd5b6100c16102b7565b6040805160208082528351818301528351919283929083019185019080838360005b838110156100fb5781810151838201526020016100e3565b50505050905090810190601f1680156101285780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101626004803603604081101561014c57600080fd5b506001600160a01b038135169060200135610342565b604080519115158252519081900360200190f35b61017e61037b565b60408051918252519081900360200190f35b610162600480360360608110156101a657600080fd5b506001600160a01b03813581169160208101359091169060400135610381565b61017e600480360360208110156101dc57600080fd5b50356001600160a01b031661049d565b6101f46104af565b6040805160ff9092168252519081900360200190f35b61017e6104b8565b6101626004803603602081101561022857600080fd5b50356104be565b61017e6004803603602081101561024557600080fd5b50356001600160a01b0316610544565b6100c161055f565b6101626004803603604081101561027357600080fd5b506001600160a01b0381351690602001356105ba565b61017e6004803603604081101561029f57600080fd5b506001600160a01b038135811691602001351661066a565b6002805460408051602060018416156101000260001901909316849004601f8101849004840282018401909252818152929183018282801561033a5780601f1061030f5761010080835404028352916020019161033a565b820191906000526020600020905b81548152906001019060200180831161031d57829003601f168201915b505050505081565b600080821161035057600080fd5b503360009081526001602081815260408084206001600160a01b039690961684529490529290205590565b60055481565b60006001600160a01b0383161580159061039b5750600082115b6103a457600080fd5b6001600160a01b0384166000908152602081905260409020546103c79083610687565b6001600160a01b0380861660009081526020819052604080822093909355908516815220546103f6908361069c565b6001600160a01b038085166000908152602081815260408083209490945591871681526001825282812033825290915220546104329083610687565b6001600160a01b03808616600081815260016020908152604080832033845282529182902094909455805186815290519287169391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929181900390910190a35060019392505050565b60006020819052908152604090205481565b60045460ff1681565b60001981565b60008082116104cc57600080fd5b336000908152602081905260409020546104e69083610687565b336000908152602081905260409020556005546105039083610687565b60055560408051838152905133917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2506001919050565b6001600160a01b031660009081526020819052604090205490565b6003805460408051602060026001851615610100026000190190941693909304601f8101849004840282018401909252818152929183018282801561033a5780601f1061030f5761010080835404028352916020019161033a565b60008082116105c857600080fd5b336000908152602081905260409020546105e29083610687565b33600090815260208190526040808220929092556001600160a01b0385168152205461060e908361069c565b6001600160a01b038416600081815260208181526040918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350600192915050565b600160209081526000928352604080842090915290825290205481565b60008183101561069657600080fd5b50900390565b600081198311156106ac57600080fd5b50019056fea265627a7a72315820a9c733b314f5b7c20c84253eea0bcf166a40b08172708960f94bc3aa2e492cb764736f6c634300050b0032
Deployed Bytecode Sourcemap
534:1966:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;534:1966:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;699:28;;;:::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;699:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1389:187;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1389:187:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;804:55;;;:::i;:::-;;;;;;;;;;;;;;;;1588:486;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1588:486:0;;;;;;;;;;;;;;;;;:::i;573:40::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;573:40:0;-1:-1:-1;;;;;573:40:0;;:::i;771:26::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;142:104;;;:::i;2086:279::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2086:279:0;;:::i;2377:120::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;2377:120:0;-1:-1:-1;;;;;2377:120:0;;:::i;734:30::-;;;:::i;1075:302::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;1075:302:0;;;;;;;;:::i;620:66::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;620:66:0;;;;;;;;;;:::i;699:28::-;;;;;;;;;;;;;;-1:-1:-1;;699:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1389:187::-;1454:12;1495:1;1487:5;:9;1479:18;;;;;;-1:-1:-1;1518:10:0;1508:21;;;;:9;:21;;;;;;;;-1:-1:-1;;;;;1508:30:0;;;;;;;;;;;;:38;:9;1389:187::o;804:55::-;;;;:::o;1588:486::-;1681:12;-1:-1:-1;;;;;1714:18:0;;:23;;;;:36;;;1749:1;1741:5;:9;1714:36;1706:45;;;;;;-1:-1:-1;;;;;1794:21:0;;:8;:21;;;;;;;;;;;1786:37;;1817:5;1786:7;:37::i;:::-;-1:-1:-1;;;;;1762:21:0;;;:8;:21;;;;;;;;;;;:61;;;;1864:19;;;;;;;1856:35;;1885:5;1856:7;:35::i;:::-;-1:-1:-1;;;;;1834:19:0;;;:8;:19;;;;;;;;;;;:57;;;;1947:22;;;;;:9;:22;;;;;1970:10;1947:34;;;;;;;1939:50;;1983:5;1939:7;:50::i;:::-;-1:-1:-1;;;;;1902:22:0;;;;;;;:9;:22;;;;;;;;1925:10;1902:34;;;;;;;;:87;;;;2005:39;;;;;;;;;;;1902:22;;2005:39;;;;;;;;;;;-1:-1:-1;2062:4:0;1588:486;;;;;:::o;573:40::-;;;;;;;;;;;;;;:::o;771:26::-;;;;;;:::o;142:104::-;-1:-1:-1;;142:104:0;:::o;2086:279::-;2131:12;2172:1;2164:5;:9;2156:18;;;;;;2225:10;2216:8;:20;;;;;;;;;;;2208:36;;2238:5;2208:7;:36::i;:::-;2194:10;2185:8;:20;;;;;;;;;;:59;2277:11;;2269:26;;2289:5;2269:7;:26::i;:::-;2255:11;:40;2312:23;;;;;;;;2317:10;;2312:23;;;;;;;;;;-1:-1:-1;2353:4:0;2086:279;;;:::o;2377:120::-;-1:-1:-1;;;;;2469:20:0;2437:12;2469:20;;;;;;;;;;;;2377:120::o;734:30::-;;;;;;;;;;;;;;;-1:-1:-1;;734:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1075:302;1133:12;1174:1;1166:5;:9;1158:18;;;;;;1227:10;1218:8;:20;;;;;;;;;;;1210:36;;1240:5;1210:7;:36::i;:::-;1196:10;1187:8;:20;;;;;;;;;;;:59;;;;-1:-1:-1;;;;;1280:12:0;;;;;;1272:28;;1294:5;1272:7;:28::i;:::-;-1:-1:-1;;;;;1257:12:0;;:8;:12;;;;;;;;;;;;:43;;;;1316:31;;;;;;;1257:12;;1325:10;;1316:31;;;;;;;;;;-1:-1:-1;1365:4:0;1075:302;;;;:::o;620:66::-;;;;;;;;;;;;;;;;;;;;;;;;:::o;396:131::-;458:9;488:1;484;:5;480:19;;;491:8;;;480:19;-1:-1:-1;517:5:0;;;396:131::o;252:139::-;314:9;344:15;;340:19;;336:33;;;361:8;;;336:33;-1:-1:-1;381:5:0;;252:139::o
Swarm Source
bzzr://a9c733b314f5b7c20c84253eea0bcf166a40b08172708960f94bc3aa2e492cb7
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.