Overview
Max Total Supply
230,502,120.29497347927535022 ERT
Holders
6,090 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
7,250.428345 ERTValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ERT
Compiler Version
v0.4.15+commit.bbb8e64f
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-01-29 */ pragma solidity ^0.4.15; library SafeMath { function div(uint a, uint b) internal returns (uint) { assert(b > 0); uint c = a / b; assert(a == b * c + a % b); return c; } function sub(uint a, uint b) internal returns (uint) { assert(b <= a); return a - b; } function add(uint a, uint b) internal returns (uint) { uint c = a + b; assert(c >= a); return c; } } contract ERC20 { uint public totalSupply = 0; mapping(address => uint256) balances; mapping(address => mapping (address => uint256)) allowed; function balanceOf(address _owner) constant returns (uint); function transfer(address _to, uint _value) returns (bool); function transferFrom(address _from, address _to, uint _value) returns (bool); function approve(address _spender, uint _value) returns (bool); function allowance(address _owner, address _spender) constant returns (uint); event Transfer(address indexed _from, address indexed _to, uint _value); event Approval(address indexed _owner, address indexed _spender, uint _value); } // Functions of ERC20 standard contract ERT is ERC20 { using SafeMath for uint; string public name = "Eristica TOKEN"; string public symbol = "ERT"; uint public decimals = 18; address public ico; event Burn(address indexed from, uint256 value); bool public tokensAreFrozen = true; modifier icoOnly { require(msg.sender == ico); _; } function ERT(address _ico) { ico = _ico; } function mint(address _holder, uint _value) external icoOnly { require(_value != 0); balances[_holder] = balances[_holder].add(_value); totalSupply = totalSupply.add(_value); Transfer(0x0, _holder, _value); } function defrost() external icoOnly { tokensAreFrozen = false; } function burn(uint256 _value) { require(!tokensAreFrozen); balances[msg.sender] = balances[msg.sender].sub(_value); totalSupply = totalSupply.sub(_value); Burn(msg.sender, _value); } function balanceOf(address _owner) constant returns (uint256) { return balances[_owner]; } function transfer(address _to, uint256 _amount) returns (bool) { require(!tokensAreFrozen); balances[msg.sender] = balances[msg.sender].sub(_amount); balances[_to] = balances[_to].add(_amount); Transfer(msg.sender, _to, _amount); return true; } function transferFrom(address _from, address _to, uint256 _amount) returns (bool) { require(!tokensAreFrozen); balances[_from] = balances[_from].sub(_amount); allowed[_from][msg.sender] = allowed[_from][msg.sender].sub(_amount); balances[_to] = balances[_to].add(_amount); Transfer(_from, _to, _amount); return true; } function approve(address _spender, uint256 _amount) returns (bool) { // To change the approve amount you first have to reduce the addresses` // allowance to zero by calling `approve(_spender, 0)` if it is not // already 0 to mitigate the race condition described here: // https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 require((_amount == 0) || (allowed[msg.sender][_spender] == 0)); allowed[msg.sender][_spender] = _amount; Approval(msg.sender, _spender, _amount); return true; } function allowance(address _owner, address _spender) constant returns (uint256) { 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,"type":"function"},{"constant":false,"inputs":[{"name":"_spender","type":"address"},{"name":"_amount","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_holder","type":"address"},{"name":"_value","type":"uint256"}],"name":"mint","outputs":[],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"ico","outputs":[{"name":"","type":"address"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"tokensAreFrozen","outputs":[{"name":"","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"_owner","type":"address"},{"name":"_spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[],"name":"defrost","outputs":[],"payable":false,"type":"function"},{"inputs":[{"name":"_ico","type":"address"}],"payable":false,"type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","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
60606040526000805560408051908101604052600e81527f457269737469636120544f4b454e0000000000000000000000000000000000006020820152600390805161004f929160200190610108565b5060408051908101604052600381527f455254000000000000000000000000000000000000000000000000000000000060208201526004908051610097929160200190610108565b5060126005556006805460a060020a60ff0219167401000000000000000000000000000000000000000017905534156100cf57600080fd5b604051602080610c13833981016040528080519150505b60068054600160a060020a031916600160a060020a0383161790555b506101a8565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061014957805160ff1916838001178555610176565b82800160010185558215610176579182015b8281111561017657825182559160200191906001019061015b565b5b50610183929150610187565b5090565b6101a591905b80821115610183576000815560010161018d565b5090565b90565b610a5c806101b76000396000f300606060405236156100cd5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100d2578063095ea7b31461015d57806318160ddd1461019357806323b872dd146101b8578063313ce567146101f457806340c10f191461021957806342966c681461023d5780635d4522011461025557806370a082311461028457806395d89b41146102b5578063a9059cbb14610340578063ca67065f14610376578063dd62ed3e1461039d578063f21cdf6f146103d4575b600080fd5b34156100dd57600080fd5b6100e56103e9565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101225780820151818401525b602001610109565b50505050905090810190601f16801561014f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561016857600080fd5b61017f600160a060020a0360043516602435610487565b604051901515815260200160405180910390f35b341561019e57600080fd5b6101a661052e565b60405190815260200160405180910390f35b34156101c357600080fd5b61017f600160a060020a0360043581169060243516604435610534565b604051901515815260200160405180910390f35b34156101ff57600080fd5b6101a6610662565b60405190815260200160405180910390f35b341561022457600080fd5b61023b600160a060020a0360043516602435610668565b005b341561024857600080fd5b61023b60043561072e565b005b341561026057600080fd5b6102686107df565b604051600160a060020a03909116815260200160405180910390f35b341561028f57600080fd5b6101a6600160a060020a03600435166107ee565b60405190815260200160405180910390f35b34156102c057600080fd5b6100e561080d565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101225780820151818401525b602001610109565b50505050905090810190601f16801561014f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561034b57600080fd5b61017f600160a060020a03600435166024356108ab565b604051901515815260200160405180910390f35b341561038157600080fd5b61017f610985565b604051901515815260200160405180910390f35b34156103a857600080fd5b6101a6600160a060020a0360043581169060243516610995565b60405190815260200160405180910390f35b34156103df57600080fd5b61023b6109c2565b005b60038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561047f5780601f106104545761010080835404028352916020019161047f565b820191906000526020600020905b81548152906001019060200180831161046257829003601f168201915b505050505081565b60008115806104b95750600160a060020a03338116600090815260026020908152604080832093871683529290522054155b15156104c457600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005481565b60065460009060a060020a900460ff161561054e57600080fd5b600160a060020a038416600090815260016020526040902054610577908363ffffffff6109ff16565b600160a060020a03808616600090815260016020908152604080832094909455600281528382203390931682529190915220546105ba908363ffffffff6109ff16565b600160a060020a0380861660009081526002602090815260408083203385168452825280832094909455918616815260019091522054610600908363ffffffff610a1616565b600160a060020a03808516600081815260016020526040908190209390935591908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b9392505050565b60055481565b60065433600160a060020a0390811691161461068357600080fd5b80151561068f57600080fd5b600160a060020a0382166000908152600160205260409020546106b8908263ffffffff610a1616565b600160a060020a038316600090815260016020526040812091909155546106e5908263ffffffff610a1616565b6000908155600160a060020a038316907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a35b5b5050565b60065460a060020a900460ff161561074557600080fd5b600160a060020a03331660009081526001602052604090205461076e908263ffffffff6109ff16565b600160a060020a0333166000908152600160205260408120919091555461079b908263ffffffff6109ff16565b600055600160a060020a0333167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405190815260200160405180910390a25b50565b600654600160a060020a031681565b600160a060020a0381166000908152600160205260409020545b919050565b60048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561047f5780601f106104545761010080835404028352916020019161047f565b820191906000526020600020905b81548152906001019060200180831161046257829003601f168201915b505050505081565b60065460009060a060020a900460ff16156108c557600080fd5b600160a060020a0333166000908152600160205260409020546108ee908363ffffffff6109ff16565b600160a060020a033381166000908152600160205260408082209390935590851681522054610923908363ffffffff610a1616565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b60065460a060020a900460ff1681565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b60065433600160a060020a039081169116146109dd57600080fd5b6006805474ff0000000000000000000000000000000000000000191690555b5b565b600082821115610a0b57fe5b508082035b92915050565b600082820183811015610a2557fe5b8091505b50929150505600a165627a7a72305820d3f2de1968c4e6c3ee5fc0de6d8d7952c0c7610d844c27b91e5b54bf6f7b02360029000000000000000000000000f121ce76c6470fa3b0a5d4240f55eff10c8b221e
Deployed Bytecode
0x606060405236156100cd5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100d2578063095ea7b31461015d57806318160ddd1461019357806323b872dd146101b8578063313ce567146101f457806340c10f191461021957806342966c681461023d5780635d4522011461025557806370a082311461028457806395d89b41146102b5578063a9059cbb14610340578063ca67065f14610376578063dd62ed3e1461039d578063f21cdf6f146103d4575b600080fd5b34156100dd57600080fd5b6100e56103e9565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101225780820151818401525b602001610109565b50505050905090810190601f16801561014f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561016857600080fd5b61017f600160a060020a0360043516602435610487565b604051901515815260200160405180910390f35b341561019e57600080fd5b6101a661052e565b60405190815260200160405180910390f35b34156101c357600080fd5b61017f600160a060020a0360043581169060243516604435610534565b604051901515815260200160405180910390f35b34156101ff57600080fd5b6101a6610662565b60405190815260200160405180910390f35b341561022457600080fd5b61023b600160a060020a0360043516602435610668565b005b341561024857600080fd5b61023b60043561072e565b005b341561026057600080fd5b6102686107df565b604051600160a060020a03909116815260200160405180910390f35b341561028f57600080fd5b6101a6600160a060020a03600435166107ee565b60405190815260200160405180910390f35b34156102c057600080fd5b6100e561080d565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101225780820151818401525b602001610109565b50505050905090810190601f16801561014f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561034b57600080fd5b61017f600160a060020a03600435166024356108ab565b604051901515815260200160405180910390f35b341561038157600080fd5b61017f610985565b604051901515815260200160405180910390f35b34156103a857600080fd5b6101a6600160a060020a0360043581169060243516610995565b60405190815260200160405180910390f35b34156103df57600080fd5b61023b6109c2565b005b60038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561047f5780601f106104545761010080835404028352916020019161047f565b820191906000526020600020905b81548152906001019060200180831161046257829003601f168201915b505050505081565b60008115806104b95750600160a060020a03338116600090815260026020908152604080832093871683529290522054155b15156104c457600080fd5b600160a060020a03338116600081815260026020908152604080832094881680845294909152908190208590557f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259085905190815260200160405180910390a35060015b92915050565b60005481565b60065460009060a060020a900460ff161561054e57600080fd5b600160a060020a038416600090815260016020526040902054610577908363ffffffff6109ff16565b600160a060020a03808616600090815260016020908152604080832094909455600281528382203390931682529190915220546105ba908363ffffffff6109ff16565b600160a060020a0380861660009081526002602090815260408083203385168452825280832094909455918616815260019091522054610600908363ffffffff610a1616565b600160a060020a03808516600081815260016020526040908190209390935591908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b9392505050565b60055481565b60065433600160a060020a0390811691161461068357600080fd5b80151561068f57600080fd5b600160a060020a0382166000908152600160205260409020546106b8908263ffffffff610a1616565b600160a060020a038316600090815260016020526040812091909155546106e5908263ffffffff610a1616565b6000908155600160a060020a038316907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405190815260200160405180910390a35b5b5050565b60065460a060020a900460ff161561074557600080fd5b600160a060020a03331660009081526001602052604090205461076e908263ffffffff6109ff16565b600160a060020a0333166000908152600160205260408120919091555461079b908263ffffffff6109ff16565b600055600160a060020a0333167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58260405190815260200160405180910390a25b50565b600654600160a060020a031681565b600160a060020a0381166000908152600160205260409020545b919050565b60048054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561047f5780601f106104545761010080835404028352916020019161047f565b820191906000526020600020905b81548152906001019060200180831161046257829003601f168201915b505050505081565b60065460009060a060020a900460ff16156108c557600080fd5b600160a060020a0333166000908152600160205260409020546108ee908363ffffffff6109ff16565b600160a060020a033381166000908152600160205260408082209390935590851681522054610923908363ffffffff610a1616565b600160a060020a0380851660008181526001602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b92915050565b60065460a060020a900460ff1681565b600160a060020a038083166000908152600260209081526040808320938516835292905220545b92915050565b60065433600160a060020a039081169116146109dd57600080fd5b6006805474ff0000000000000000000000000000000000000000191690555b5b565b600082821115610a0b57fe5b508082035b92915050565b600082820183811015610a2557fe5b8091505b50929150505600a165627a7a72305820d3f2de1968c4e6c3ee5fc0de6d8d7952c0c7610d844c27b91e5b54bf6f7b02360029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f121ce76c6470fa3b0a5d4240f55eff10c8b221e
-----Decoded View---------------
Arg [0] : _ico (address): 0xF121Ce76c6470Fa3B0A5d4240F55Eff10c8b221E
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f121ce76c6470fa3b0a5d4240f55eff10c8b221e
Swarm Source
bzzr://d3f2de1968c4e6c3ee5fc0de6d8d7952c0c7610d844c27b91e5b54bf6f7b0236
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.