REMCO token contract has migrated to a new address.
ERC-20
Old Contract
Overview
Max Total Supply
2,999,999,999.99999999 REMCO
Holders
5,366 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 Decimals)
Balance
3,659.85794 REMCOValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RemcoToken
Compiler Version
v0.4.25+commit.59dbf8f1
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-12-03 */ pragma solidity ^0.4.11; contract Owned { address public owner; function Owned() { owner = msg.sender; } modifier onlyOwner() { require(msg.sender == owner); _; } function setOwner(address _newOwner) onlyOwner { if(_newOwner == 0x0)revert(); owner = _newOwner; } } /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function div(uint256 a, uint256 b) internal constant returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function sub(uint256 a, uint256 b) internal constant returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal constant returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } function toUINT112(uint256 a) internal constant returns(uint112) { assert(uint112(a) == a); return uint112(a); } function toUINT120(uint256 a) internal constant returns(uint120) { assert(uint120(a) == a); return uint120(a); } function toUINT128(uint256 a) internal constant returns(uint128) { assert(uint128(a) == a); return uint128(a); } } // Abstract contract for the full ERC 20 Token standard // https://github.com/ethereum/EIPs/issues/20 contract Token { function totalSupply() public returns (uint256 supply); function transfer(address _to, uint256 _value) returns (bool success); function transferFrom(address _from, address _to, uint256 _value) returns (bool success); function approve(address _spender, uint256 _value) returns (bool success); function allowance(address _owner, address _spender) constant returns (uint256 remaining); function burn( uint256 _value) public returns (bool success); event Transfer(address indexed _from, address indexed _to, uint256 _value); event Approval(address indexed _owner, address indexed _spender, uint256 _value); event Burn(address indexed from, uint256 value); } contract RemcoToken is Token, Owned { using SafeMath for uint256; uint public _totalSupply; string public name; //The Token's name uint8 public constant decimals = 8; //Number of decimals of the smallest unit string public symbol; //The Token's symbol uint256 public mintCount; uint256 public deleteToken; uint256 public soldToken; mapping (address => uint256) public balanceOf; // Owner of account approves the transfer of an amount to another account mapping(address => mapping(address => uint256)) allowed; // Constructor function RemcoToken(string coinName,string coinSymbol,uint initialSupply) { _totalSupply = initialSupply *10**uint256(decimals); // Update total supply balanceOf[msg.sender] = _totalSupply; name = coinName; // Set the name for display purposes symbol =coinSymbol; } function totalSupply() public returns (uint256 totalSupply) { return _totalSupply; } // Send back ether sent to me function () { revert(); } // Transfer the balance from owner's account to another account function transfer(address _to, uint256 _amount) returns (bool success) { // according to AssetToken's total supply, never overflow here if (balanceOf[msg.sender] >= _amount && _amount > 0) { balanceOf[msg.sender] -= uint112(_amount); balanceOf[_to] = _amount.add(balanceOf[_to]).toUINT112(); soldToken = _amount.add(soldToken).toUINT112(); Transfer(msg.sender, _to, _amount); return true; } else { return false; } } function transferFrom( address _from, address _to, uint256 _amount ) returns (bool success) { // according to AssetToken's total supply, never overflow here if (balanceOf[_from] >= _amount && allowed[_from][msg.sender] >= _amount && _amount > 0) { balanceOf[_from] = balanceOf[_from].sub(_amount).toUINT112(); allowed[_from][msg.sender] -= _amount; balanceOf[_to] = _amount.add(balanceOf[_to]).toUINT112(); Transfer(_from, _to, _amount); return true; } else { return false; } } function approve(address _spender, uint256 _amount) returns (bool success) { allowed[msg.sender][_spender] = _amount; Approval(msg.sender, _spender, _amount); return true; } function allowance(address _owner, address _spender) constant returns (uint256 remaining) { return allowed[_owner][_spender]; } //Mint tokens and assign to some one function mint(address _owner, uint256 _amount) onlyOwner{ balanceOf[_owner] = _amount.add(balanceOf[_owner]).toUINT112(); mintCount = _amount.add(mintCount).toUINT112(); _totalSupply = _totalSupply.add(_amount).toUINT112(); } //Burn tokens from owner account function burn(uint256 _count) public returns (bool success) { balanceOf[msg.sender] -=uint112( _count); deleteToken = _count.add(deleteToken).toUINT112(); _totalSupply = _totalSupply.sub(_count).toUINT112(); Burn(msg.sender, _count); return true; } }
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":"_amount","type":"uint256"}],"name":"approve","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"setOwner","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"totalSupply","outputs":[{"name":"totalSupply","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","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":"_totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_owner","type":"address"},{"name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"deleteToken","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_count","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"soldToken","outputs":[{"name":"","type":"uint256"}],"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":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mintCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","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":[{"name":"coinName","type":"string"},{"name":"coinSymbol","type":"string"},{"name":"initialSupply","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":false,"stateMutability":"nonpayable","type":"fallback"},{"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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"}]
Contract Creation Code
608060405234801561001057600080fd5b50604051610b24380380610b2483398101604090815281516020808401518385015160008054600160a060020a0319163390811782556305f5e1008302600181905590825260078552959020949094559184018051909492909201929161007d916002919086019061009a565b50815161009190600390602085019061009a565b50505050610135565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106100db57805160ff1916838001178555610108565b82800160010185558215610108579182015b828111156101085782518255916020019190600101906100ed565b50610114929150610118565b5090565b61013291905b80821115610114576000815560010161011e565b90565b6109e0806101446000396000f3006080604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610102578063095ea7b31461018c57806313af4035146101c457806318160ddd146101e757806323b872dd1461020e578063313ce567146102385780633eaaf86b1461026357806340c10f19146102785780634123a0ac1461029c57806342966c68146102b15780636769d1f9146102c957806370a08231146102de5780638da5cb5b146102ff57806395d89b41146103305780639659867e14610345578063a9059cbb1461035a578063dd62ed3e1461037e575b3480156100fc57600080fd5b50600080fd5b34801561010e57600080fd5b506101176103a5565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610151578181015183820152602001610139565b50505050905090810190601f16801561017e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561019857600080fd5b506101b0600160a060020a0360043516602435610430565b604080519115158252519081900360200190f35b3480156101d057600080fd5b506101e5600160a060020a0360043516610497565b005b3480156101f357600080fd5b506101fc6104f2565b60408051918252519081900360200190f35b34801561021a57600080fd5b506101b0600160a060020a03600435811690602435166044356104f8565b34801561024457600080fd5b5061024d61065b565b6040805160ff9092168252519081900360200190f35b34801561026f57600080fd5b506101fc610660565b34801561028457600080fd5b506101e5600160a060020a0360043516602435610666565b3480156102a857600080fd5b506101fc61071c565b3480156102bd57600080fd5b506101b0600435610722565b3480156102d557600080fd5b506101fc6107c6565b3480156102ea57600080fd5b506101fc600160a060020a03600435166107cc565b34801561030b57600080fd5b506103146107de565b60408051600160a060020a039092168252519081900360200190f35b34801561033c57600080fd5b506101176107ed565b34801561035157600080fd5b506101fc610848565b34801561036657600080fd5b506101b0600160a060020a036004351660243561084e565b34801561038a57600080fd5b506101fc600160a060020a0360043581169060243516610950565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156104285780601f106103fd57610100808354040283529160200191610428565b820191906000526020600020905b81548152906001019060200180831161040b57829003601f168201915b505050505081565b336000818152600860209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b600054600160a060020a031633146104ae57600080fd5b600160a060020a03811615156104c357600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60015490565b600160a060020a03831660009081526007602052604081205482118015906105435750600160a060020a03841660009081526008602090815260408083203384529091529020548211155b801561054f5750600082115b1561065057600160a060020a03841660009081526007602052604090205461058690610581908463ffffffff61097b16565b61098d565b600160a060020a0380861660009081526007602081815260408084206001607060020a039690961690955560088152848320338452815284832080548890039055928716825290915220546105e69061058190849063ffffffff6109a516565b600160a060020a038085166000818152600760209081526040918290206001607060020a0395909516909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3506001610654565b5060005b9392505050565b600881565b60015481565b600054600160a060020a0316331461067d57600080fd5b600160a060020a0382166000908152600760205260409020546106ab9061058190839063ffffffff6109a516565b600160a060020a03831660009081526007602052604090206001607060020a039190911690556004546106e99061058190839063ffffffff6109a516565b6001607060020a031660045560015461070c90610581908363ffffffff6109a516565b6001607060020a03166001555050565b60055481565b33600090815260076020526040812080546001607060020a038416900390556005546107599061058190849063ffffffff6109a516565b6001607060020a031660055560015461077c90610581908463ffffffff61097b16565b6001607060020a031660015560408051838152905133917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2506001919050565b60065481565b60076020526000908152604090205481565b600054600160a060020a031681565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104285780601f106103fd57610100808354040283529160200191610428565b60045481565b33600090815260076020526040812054821180159061086d5750600082115b15610948573360009081526007602052604080822080546001607060020a03861690039055600160a060020a03851682529020546108b69061058190849063ffffffff6109a516565b600160a060020a03841660009081526007602052604090206001607060020a039190911690556006546108f49061058190849063ffffffff6109a516565b6001607060020a0316600655604080518381529051600160a060020a0385169133917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3506001610491565b506000610491565b600160a060020a03918216600090815260086020908152604080832093909416825291909152205490565b60008282111561098757fe5b50900390565b60006001607060020a03821682146109a157fe5b5090565b60008282018381101561065457fe00a165627a7a723058201697a120a0953b8985b615c5a4806a5ff72b959781f4dbce552d66124eef9dda0029000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000b2d05e00000000000000000000000000000000000000000000000000000000000000001052656d697474616e636520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000552454d434f000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106100f05763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde038114610102578063095ea7b31461018c57806313af4035146101c457806318160ddd146101e757806323b872dd1461020e578063313ce567146102385780633eaaf86b1461026357806340c10f19146102785780634123a0ac1461029c57806342966c68146102b15780636769d1f9146102c957806370a08231146102de5780638da5cb5b146102ff57806395d89b41146103305780639659867e14610345578063a9059cbb1461035a578063dd62ed3e1461037e575b3480156100fc57600080fd5b50600080fd5b34801561010e57600080fd5b506101176103a5565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610151578181015183820152602001610139565b50505050905090810190601f16801561017e5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561019857600080fd5b506101b0600160a060020a0360043516602435610430565b604080519115158252519081900360200190f35b3480156101d057600080fd5b506101e5600160a060020a0360043516610497565b005b3480156101f357600080fd5b506101fc6104f2565b60408051918252519081900360200190f35b34801561021a57600080fd5b506101b0600160a060020a03600435811690602435166044356104f8565b34801561024457600080fd5b5061024d61065b565b6040805160ff9092168252519081900360200190f35b34801561026f57600080fd5b506101fc610660565b34801561028457600080fd5b506101e5600160a060020a0360043516602435610666565b3480156102a857600080fd5b506101fc61071c565b3480156102bd57600080fd5b506101b0600435610722565b3480156102d557600080fd5b506101fc6107c6565b3480156102ea57600080fd5b506101fc600160a060020a03600435166107cc565b34801561030b57600080fd5b506103146107de565b60408051600160a060020a039092168252519081900360200190f35b34801561033c57600080fd5b506101176107ed565b34801561035157600080fd5b506101fc610848565b34801561036657600080fd5b506101b0600160a060020a036004351660243561084e565b34801561038a57600080fd5b506101fc600160a060020a0360043581169060243516610950565b6002805460408051602060018416156101000260001901909316849004601f810184900484028201840190925281815292918301828280156104285780601f106103fd57610100808354040283529160200191610428565b820191906000526020600020905b81548152906001019060200180831161040b57829003601f168201915b505050505081565b336000818152600860209081526040808320600160a060020a038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b600054600160a060020a031633146104ae57600080fd5b600160a060020a03811615156104c357600080fd5b6000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b60015490565b600160a060020a03831660009081526007602052604081205482118015906105435750600160a060020a03841660009081526008602090815260408083203384529091529020548211155b801561054f5750600082115b1561065057600160a060020a03841660009081526007602052604090205461058690610581908463ffffffff61097b16565b61098d565b600160a060020a0380861660009081526007602081815260408084206001607060020a039690961690955560088152848320338452815284832080548890039055928716825290915220546105e69061058190849063ffffffff6109a516565b600160a060020a038085166000818152600760209081526040918290206001607060020a0395909516909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3506001610654565b5060005b9392505050565b600881565b60015481565b600054600160a060020a0316331461067d57600080fd5b600160a060020a0382166000908152600760205260409020546106ab9061058190839063ffffffff6109a516565b600160a060020a03831660009081526007602052604090206001607060020a039190911690556004546106e99061058190839063ffffffff6109a516565b6001607060020a031660045560015461070c90610581908363ffffffff6109a516565b6001607060020a03166001555050565b60055481565b33600090815260076020526040812080546001607060020a038416900390556005546107599061058190849063ffffffff6109a516565b6001607060020a031660055560015461077c90610581908463ffffffff61097b16565b6001607060020a031660015560408051838152905133917fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca5919081900360200190a2506001919050565b60065481565b60076020526000908152604090205481565b600054600160a060020a031681565b6003805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156104285780601f106103fd57610100808354040283529160200191610428565b60045481565b33600090815260076020526040812054821180159061086d5750600082115b15610948573360009081526007602052604080822080546001607060020a03861690039055600160a060020a03851682529020546108b69061058190849063ffffffff6109a516565b600160a060020a03841660009081526007602052604090206001607060020a039190911690556006546108f49061058190849063ffffffff6109a516565b6001607060020a0316600655604080518381529051600160a060020a0385169133917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a3506001610491565b506000610491565b600160a060020a03918216600090815260086020908152604080832093909416825291909152205490565b60008282111561098757fe5b50900390565b60006001607060020a03821682146109a157fe5b5090565b60008282018381101561065457fe00a165627a7a723058201697a120a0953b8985b615c5a4806a5ff72b959781f4dbce552d66124eef9dda0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000b2d05e00000000000000000000000000000000000000000000000000000000000000001052656d697474616e636520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000552454d434f000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : coinName (string): Remittance Token
Arg [1] : coinSymbol (string): REMCO
Arg [2] : initialSupply (uint256): 3000000000
-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000b2d05e00
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [4] : 52656d697474616e636520546f6b656e00000000000000000000000000000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 52454d434f000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://1697a120a0953b8985b615c5a4806a5ff72b959781f4dbce552d66124eef9dda
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.