ERC-20
Overview
Max Total Supply
399,000,000,000 PCE
Holders
16,802
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 0 Decimals)
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PEACECoin
Compiler Version
v0.4.18+commit.9cf6e910
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
1234567891011121314151617181920212223242526/***Submitted for verification at Etherscan.io on 2018-10-24*/pragma solidity ^0.4.18;/*** @title SafeMath* @dev Math operations with safety checks that throw on error*/library SafeMath {function mul(uint256 a, uint256 b) internal pure returns (uint256) {if (a == 0) {return 0;}uint256 c = a * b;assert(c / a == b);return c;}function div(uint256 a, uint256 b) internal pure returns (uint256) {// assert(b > 0); // Solidity automatically throws when dividing by 0uint256 c = a / b;// assert(a == b * c + a % b); // There is no case in which this doesn't holdreturn c;
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"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":"_subtractedValue","type":"uint256"}],"name":"decreaseApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"balance","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":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_addedValue","type":"uint256"}],"name":"increaseApproval","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":[],"payable":true,"stateMutability":"payable","type":"constructor"},{"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"},{"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"}]
Contract Creation Code
6060604052600154645ce640d6009061002590826401000000006108136100b082021704565b600155600160a060020a03331660009081526020819052604090205461005890826401000000006108136100b082021704565b600160a060020a0333166000818152602081905260408082209390935590917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a3506100c6565b6000828201838110156100bf57fe5b9392505050565b610855806100d56000396000f3006060604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b3578063095ea7b31461013d57806318160ddd1461017357806323b872dd14610198578063313ce567146101c057806366188463146101e957806370a082311461020b57806395d89b411461022a578063a9059cbb1461023d578063d73dd6231461025f578063dd62ed3e14610281575b600080fd5b34156100be57600080fd5b6100c66102a6565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101025780820151838201526020016100ea565b50505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561014857600080fd5b61015f600160a060020a03600435166024356102dd565b604051901515815260200160405180910390f35b341561017e57600080fd5b610186610349565b60405190815260200160405180910390f35b34156101a357600080fd5b61015f600160a060020a036004358116906024351660443561034f565b34156101cb57600080fd5b6101d36104cf565b60405160ff909116815260200160405180910390f35b34156101f457600080fd5b61015f600160a060020a03600435166024356104d4565b341561021657600080fd5b610186600160a060020a03600435166105ce565b341561023557600080fd5b6100c66105e9565b341561024857600080fd5b61015f600160a060020a0360043516602435610620565b341561026a57600080fd5b61015f600160a060020a0360043516602435610732565b341561028c57600080fd5b610186600160a060020a03600435811690602435166107d6565b60408051908101604052600a81527f504541434520436f696e00000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60015490565b6000600160a060020a038316151561036657600080fd5b600160a060020a03841660009081526020819052604090205482111561038b57600080fd5b600160a060020a03808516600090815260026020908152604080832033909416835292905220548211156103be57600080fd5b600160a060020a0384166000908152602081905260409020546103e7908363ffffffff61080116565b600160a060020a03808616600090815260208190526040808220939093559085168152205461041c908363ffffffff61081316565b600160a060020a0380851660009081526020818152604080832094909455878316825260028152838220339093168252919091522054610462908363ffffffff61080116565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b600081565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561053157600160a060020a033381166000908152600260209081526040808320938816835292905290812055610568565b610541818463ffffffff61080116565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526020819052604090205490565b60408051908101604052600381527f5043450000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561063757600080fd5b600160a060020a03331660009081526020819052604090205482111561065c57600080fd5b600160a060020a033316600090815260208190526040902054610685908363ffffffff61080116565b600160a060020a0333811660009081526020819052604080822093909355908516815220546106ba908363ffffffff61081316565b60008085600160a060020a0316600160a060020a031681526020019081526020016000208190555082600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600160a060020a03338116600090815260026020908152604080832093861683529290529081205461076a908363ffffffff61081316565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60008282111561080d57fe5b50900390565b60008282018381101561082257fe5b93925050505600a165627a7a72305820409905315deb9e4787413a6dee1b1b09f58b94a2b5928586d27b67d1ffd7dada0029
Deployed Bytecode
0x6060604052600436106100ae5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100b3578063095ea7b31461013d57806318160ddd1461017357806323b872dd14610198578063313ce567146101c057806366188463146101e957806370a082311461020b57806395d89b411461022a578063a9059cbb1461023d578063d73dd6231461025f578063dd62ed3e14610281575b600080fd5b34156100be57600080fd5b6100c66102a6565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101025780820151838201526020016100ea565b50505050905090810190601f16801561012f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561014857600080fd5b61015f600160a060020a03600435166024356102dd565b604051901515815260200160405180910390f35b341561017e57600080fd5b610186610349565b60405190815260200160405180910390f35b34156101a357600080fd5b61015f600160a060020a036004358116906024351660443561034f565b34156101cb57600080fd5b6101d36104cf565b60405160ff909116815260200160405180910390f35b34156101f457600080fd5b61015f600160a060020a03600435166024356104d4565b341561021657600080fd5b610186600160a060020a03600435166105ce565b341561023557600080fd5b6100c66105e9565b341561024857600080fd5b61015f600160a060020a0360043516602435610620565b341561026a57600080fd5b61015f600160a060020a0360043516602435610732565b341561028c57600080fd5b610186600160a060020a03600435811690602435166107d6565b60408051908101604052600a81527f504541434520436f696e00000000000000000000000000000000000000000000602082015281565b600160a060020a03338116600081815260026020908152604080832094871680845294909152808220859055909291907f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a350600192915050565b60015490565b6000600160a060020a038316151561036657600080fd5b600160a060020a03841660009081526020819052604090205482111561038b57600080fd5b600160a060020a03808516600090815260026020908152604080832033909416835292905220548211156103be57600080fd5b600160a060020a0384166000908152602081905260409020546103e7908363ffffffff61080116565b600160a060020a03808616600090815260208190526040808220939093559085168152205461041c908363ffffffff61081316565b600160a060020a0380851660009081526020818152604080832094909455878316825260028152838220339093168252919091522054610462908363ffffffff61080116565b600160a060020a03808616600081815260026020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060019392505050565b600081565b600160a060020a0333811660009081526002602090815260408083209386168352929052908120548083111561053157600160a060020a033381166000908152600260209081526040808320938816835292905290812055610568565b610541818463ffffffff61080116565b600160a060020a033381166000908152600260209081526040808320938916835292905220555b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020547f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925915190815260200160405180910390a35060019392505050565b600160a060020a031660009081526020819052604090205490565b60408051908101604052600381527f5043450000000000000000000000000000000000000000000000000000000000602082015281565b6000600160a060020a038316151561063757600080fd5b600160a060020a03331660009081526020819052604090205482111561065c57600080fd5b600160a060020a033316600090815260208190526040902054610685908363ffffffff61080116565b600160a060020a0333811660009081526020819052604080822093909355908516815220546106ba908363ffffffff61081316565b60008085600160a060020a0316600160a060020a031681526020019081526020016000208190555082600160a060020a031633600160a060020a03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8460405190815260200160405180910390a350600192915050565b600160a060020a03338116600090815260026020908152604080832093861683529290529081205461076a908363ffffffff61081316565b600160a060020a0333811660008181526002602090815260408083209489168084529490915290819020849055919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591905190815260200160405180910390a350600192915050565b600160a060020a03918216600090815260026020908152604080832093909416825291909152205490565b60008282111561080d57fe5b50900390565b60008282018381101561082257fe5b93925050505600a165627a7a72305820409905315deb9e4787413a6dee1b1b09f58b94a2b5928586d27b67d1ffd7dada0029
Swarm Source
bzzr://409905315deb9e4787413a6dee1b1b09f58b94a2b5928586d27b67d1ffd7dada
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.