Token migration announcement. Aeron token contract has migrated to a new address.
ERC-20
Aviation
Overview
Max Total Supply
20,000,000 ARN
Holders
21,910 (0.00%)
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 8 Decimals)
Filtered by Token Holder
Binance Dep: 0x8A40577d78274F33b8692b3c6418d3F785aFCBF3Balance
48.15 ARNValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
Aeron
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 2017-08-10 */ pragma solidity ^0.4.8; /** * Math operations with safety checks */ contract SafeMath { function safeMul(uint256 a, uint256 b) internal returns (uint256) { uint256 c = a * b; assert(a == 0 || c / a == b); return c; } function safeDiv(uint256 a, uint256 b) internal returns (uint256) { assert(b > 0); uint256 c = a / b; assert(a == b * c + a % b); return c; } function safeSub(uint256 a, uint256 b) internal returns (uint256) { assert(b <= a); return a - b; } function safeAdd(uint256 a, uint256 b) internal returns (uint256) { uint256 c = a + b; assert(c>=a && c>=b); return c; } function assert(bool assertion) internal { if (!assertion) { revert(); } } } contract Aeron is SafeMath { string public name; string public symbol; uint8 public decimals; uint256 public totalSupply; address public owner; /* This creates an array with all balances */ mapping (address => uint256) public balanceOf; mapping (address => uint256) public freezeOf; mapping (address => mapping (address => uint256)) public allowance; /* This generates a public event on the blockchain that will notify clients */ event Transfer(address indexed from, address indexed to, uint256 value); /* This notifies clients about the amount burnt */ event Burn(address indexed from, uint256 value); /* This notifies clients about the amount frozen */ event Freeze(address indexed from, uint256 value); /* This notifies clients about the amount unfrozen */ event Unfreeze(address indexed from, uint256 value); /* Initializes contract with initial supply tokens to the creator of the contract */ function Aeron() { balanceOf[msg.sender] = 10000000000000000; // Give the creator all initial tokens totalSupply = 10000000000000000; // Update total supply name = 'Aeron'; // Set the name for display purposes symbol = 'ARN'; // Set the symbol for display purposes decimals = 8; // Amount of decimals for display purposes owner = msg.sender; } /* Send tokens */ function transfer(address _to, uint256 _value) { if (_to == 0x0) revert(); // Prevent transfer to 0x0 address. Use burn() instead if (_value <= 0) revert(); if (balanceOf[msg.sender] < _value) revert(); // Check if the sender has enough if (balanceOf[_to] + _value < balanceOf[_to]) revert(); // Check for overflows balanceOf[msg.sender] = SafeMath.safeSub(balanceOf[msg.sender], _value); // Subtract from the sender balanceOf[_to] = SafeMath.safeAdd(balanceOf[_to], _value); // Add the same to the recipient Transfer(msg.sender, _to, _value); // Notify anyone listening that this transfer took place } /* Allow another contract to spend some tokens in your behalf */ function approve(address _spender, uint256 _value) returns (bool success) { if (_value <= 0) revert(); allowance[msg.sender][_spender] = _value; return true; } /* Transfer tokens */ function transferFrom(address _from, address _to, uint256 _value) returns (bool success) { if (_to == 0x0) revert(); // Prevent transfer to 0x0 address. Use burn() instead if (_value <= 0) revert(); if (balanceOf[_from] < _value) revert(); // Check if the sender has enough if (balanceOf[_to] + _value < balanceOf[_to]) revert(); // Check for overflows if (_value > allowance[_from][msg.sender]) revert(); // Check allowance balanceOf[_from] = SafeMath.safeSub(balanceOf[_from], _value); // Subtract from the sender balanceOf[_to] = SafeMath.safeAdd(balanceOf[_to], _value); // Add the same to the recipient allowance[_from][msg.sender] = SafeMath.safeSub(allowance[_from][msg.sender], _value); Transfer(_from, _to, _value); return true; } /* Destruction of the token */ function burn(uint256 _value) returns (bool success) { if (balanceOf[msg.sender] < _value) revert(); // Check if the sender has enough if (_value <= 0) revert(); balanceOf[msg.sender] = SafeMath.safeSub(balanceOf[msg.sender], _value); // Subtract from the sender totalSupply = SafeMath.safeSub(totalSupply,_value); // Updates totalSupply Burn(msg.sender, _value); return true; } function freeze(uint256 _value) returns (bool success) { if (balanceOf[msg.sender] < _value) revert(); // Check if the sender has enough if (_value <= 0) revert(); balanceOf[msg.sender] = SafeMath.safeSub(balanceOf[msg.sender], _value); // Subtract from the sender freezeOf[msg.sender] = SafeMath.safeAdd(freezeOf[msg.sender], _value); // Updates frozen tokens Freeze(msg.sender, _value); return true; } function unfreeze(uint256 _value) returns (bool success) { if (freezeOf[msg.sender] < _value) revert(); // Check if the sender has enough if (_value <= 0) revert(); freezeOf[msg.sender] = SafeMath.safeSub(freezeOf[msg.sender], _value); // Updates frozen tokens balanceOf[msg.sender] = SafeMath.safeAdd(balanceOf[msg.sender], _value); // Add to the sender Unfreeze(msg.sender, _value); return true; } /* Prevents accidental sending of Ether */ function () { revert(); } }
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":"_value","type":"uint256"}],"name":"approve","outputs":[{"name":"success","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":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"burn","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"unfreeze","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"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":"_value","type":"uint256"}],"name":"transfer","outputs":[],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"freezeOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"constant":false,"inputs":[{"name":"_value","type":"uint256"}],"name":"freeze","outputs":[{"name":"success","type":"bool"}],"payable":false,"type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"},{"name":"","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"type":"function"},{"inputs":[],"payable":false,"type":"constructor"},{"payable":false,"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":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Burn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Freeze","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Unfreeze","type":"event"}]
Contract Creation Code
6060604052341561000f57600080fd5b5b600160a060020a03331660009081526005602052604090819020662386f26fc10000908190556003558051908101604052600581527f4165726f6e0000000000000000000000000000000000000000000000000000006020820152600090805161007e9291602001906100f7565b5060408051908101604052600381527f41524e0000000000000000000000000000000000000000000000000000000000602082015260019080516100c69291602001906100f7565b506002805460ff1916600817905560048054600160a060020a033316600160a060020a03199091161790555b610197565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f1061013857805160ff1916838001178555610165565b82800160010185558215610165579182015b8281111561016557825182559160200191906001019061014a565b5b50610172929150610176565b5090565b61019491905b80821115610172576000815560010161017c565b5090565b90565b610bc1806101a66000396000f300606060405236156100cd5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100e0578063095ea7b31461016b57806318160ddd146101a157806323b872dd146101c6578063313ce5671461020257806342966c681461022b5780636623fc461461025557806370a082311461027f5780638da5cb5b146102b057806395d89b41146102df578063a9059cbb1461036a578063cd4217c11461038e578063d7a78db8146103bf578063dd62ed3e146103e9575b34156100d857600080fd5b5b600080fd5b005b34156100eb57600080fd5b6100f3610420565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101305780820151818401525b602001610117565b50505050905090810190601f16801561015d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017657600080fd5b61018d600160a060020a03600435166024356104be565b604051901515815260200160405180910390f35b34156101ac57600080fd5b6101b46104fe565b60405190815260200160405180910390f35b34156101d157600080fd5b61018d600160a060020a0360043581169060243516604435610504565b604051901515815260200160405180910390f35b341561020d57600080fd5b6102156106aa565b60405160ff909116815260200160405180910390f35b341561023657600080fd5b61018d6004356106b3565b604051901515815260200160405180910390f35b341561026057600080fd5b61018d600435610778565b604051901515815260200160405180910390f35b341561028a57600080fd5b6101b4600160a060020a0360043516610858565b60405190815260200160405180910390f35b34156102bb57600080fd5b6102c361086a565b604051600160a060020a03909116815260200160405180910390f35b34156102ea57600080fd5b6100f3610879565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101305780820151818401525b602001610117565b50505050905090810190601f16801561015d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561037557600080fd5b6100de600160a060020a0360043516602435610917565b005b341561039957600080fd5b6101b4600160a060020a0360043516610a35565b60405190815260200160405180910390f35b34156103ca57600080fd5b61018d600435610a47565b604051901515815260200160405180910390f35b34156103f457600080fd5b6101b4600160a060020a0360043581169060243516610b27565b60405190815260200160405180910390f35b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104b65780601f1061048b576101008083540402835291602001916104b6565b820191906000526020600020905b81548152906001019060200180831161049957829003601f168201915b505050505081565b60008082116104cc57600080fd5b50600160a060020a03338116600090815260076020908152604080832093861683529290522081905560015b92915050565b60035481565b6000600160a060020a038316151561051b57600080fd5b6000821161052857600080fd5b600160a060020a0384166000908152600560205260409020548290101561054e57600080fd5b600160a060020a038316600090815260056020526040902054828101101561057557600080fd5b600160a060020a03808516600090815260076020908152604080832033909416835292905220548211156105a857600080fd5b600160a060020a0384166000908152600560205260409020546105cb9083610b44565b600160a060020a0380861660009081526005602052604080822093909355908516815220546105fa9083610b5d565b600160a060020a0380851660009081526005602090815260408083209490945587831682526007815283822033909316825291909152205461063c9083610b44565b600160a060020a03808616600081815260076020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b9392505050565b60025460ff1681565b600160a060020a033316600090815260056020526040812054829010156106d957600080fd5b600082116106e657600080fd5b600160a060020a0333166000908152600560205260409020546107099083610b44565b600160a060020a03331660009081526005602052604090205560035461072f9083610b44565b600355600160a060020a0333167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a25060015b919050565b600160a060020a0333166000908152600660205260408120548290101561079e57600080fd5b600082116107ab57600080fd5b600160a060020a0333166000908152600660205260409020546107ce9083610b44565b600160a060020a0333166000908152600660209081526040808320939093556005905220546107fd9083610b5d565b600160a060020a0333166000818152600560205260409081902092909255907f2cfce4af01bcb9d6cf6c84ee1b7c491100b8695368264146a94d71e10a63083f9084905190815260200160405180910390a25060015b919050565b60056020526000908152604090205481565b600454600160a060020a031681565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104b65780601f1061048b576101008083540402835291602001916104b6565b820191906000526020600020905b81548152906001019060200180831161049957829003601f168201915b505050505081565b600160a060020a038216151561092c57600080fd5b6000811161093957600080fd5b600160a060020a0333166000908152600560205260409020548190101561095f57600080fd5b600160a060020a038216600090815260056020526040902054818101101561098657600080fd5b600160a060020a0333166000908152600560205260409020546109a99082610b44565b600160a060020a0333811660009081526005602052604080822093909355908416815220546109d89082610b5d565b600160a060020a0380841660008181526005602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b5050565b60066020526000908152604090205481565b600160a060020a03331660009081526005602052604081205482901015610a6d57600080fd5b60008211610a7a57600080fd5b600160a060020a033316600090815260056020526040902054610a9d9083610b44565b600160a060020a033316600090815260056020908152604080832093909355600690522054610acc9083610b5d565b600160a060020a0333166000818152600660205260409081902092909255907ff97a274face0b5517365ad396b1fdba6f68bd3135ef603e44272adba3af5a1e09084905190815260200160405180910390a25060015b919050565b600760209081526000928352604080842090915290825290205481565b6000610b5283831115610b85565b508082035b92915050565b6000828201610b7a848210801590610b755750838210155b610b85565b8091505b5092915050565b801515610b9157600080fd5b5b505600a165627a7a723058208b2d3292e6d3a014c36b3304a6ab5f1a45482ca02abe442dfda220e1069a2cb90029
Deployed Bytecode
0x606060405236156100cd5763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146100e0578063095ea7b31461016b57806318160ddd146101a157806323b872dd146101c6578063313ce5671461020257806342966c681461022b5780636623fc461461025557806370a082311461027f5780638da5cb5b146102b057806395d89b41146102df578063a9059cbb1461036a578063cd4217c11461038e578063d7a78db8146103bf578063dd62ed3e146103e9575b34156100d857600080fd5b5b600080fd5b005b34156100eb57600080fd5b6100f3610420565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101305780820151818401525b602001610117565b50505050905090810190601f16801561015d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561017657600080fd5b61018d600160a060020a03600435166024356104be565b604051901515815260200160405180910390f35b34156101ac57600080fd5b6101b46104fe565b60405190815260200160405180910390f35b34156101d157600080fd5b61018d600160a060020a0360043581169060243516604435610504565b604051901515815260200160405180910390f35b341561020d57600080fd5b6102156106aa565b60405160ff909116815260200160405180910390f35b341561023657600080fd5b61018d6004356106b3565b604051901515815260200160405180910390f35b341561026057600080fd5b61018d600435610778565b604051901515815260200160405180910390f35b341561028a57600080fd5b6101b4600160a060020a0360043516610858565b60405190815260200160405180910390f35b34156102bb57600080fd5b6102c361086a565b604051600160a060020a03909116815260200160405180910390f35b34156102ea57600080fd5b6100f3610879565b60405160208082528190810183818151815260200191508051906020019080838360005b838110156101305780820151818401525b602001610117565b50505050905090810190601f16801561015d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b341561037557600080fd5b6100de600160a060020a0360043516602435610917565b005b341561039957600080fd5b6101b4600160a060020a0360043516610a35565b60405190815260200160405180910390f35b34156103ca57600080fd5b61018d600435610a47565b604051901515815260200160405180910390f35b34156103f457600080fd5b6101b4600160a060020a0360043581169060243516610b27565b60405190815260200160405180910390f35b60008054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104b65780601f1061048b576101008083540402835291602001916104b6565b820191906000526020600020905b81548152906001019060200180831161049957829003601f168201915b505050505081565b60008082116104cc57600080fd5b50600160a060020a03338116600090815260076020908152604080832093861683529290522081905560015b92915050565b60035481565b6000600160a060020a038316151561051b57600080fd5b6000821161052857600080fd5b600160a060020a0384166000908152600560205260409020548290101561054e57600080fd5b600160a060020a038316600090815260056020526040902054828101101561057557600080fd5b600160a060020a03808516600090815260076020908152604080832033909416835292905220548211156105a857600080fd5b600160a060020a0384166000908152600560205260409020546105cb9083610b44565b600160a060020a0380861660009081526005602052604080822093909355908516815220546105fa9083610b5d565b600160a060020a0380851660009081526005602090815260408083209490945587831682526007815283822033909316825291909152205461063c9083610b44565b600160a060020a03808616600081815260076020908152604080832033861684529091529081902093909355908516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9085905190815260200160405180910390a35060015b9392505050565b60025460ff1681565b600160a060020a033316600090815260056020526040812054829010156106d957600080fd5b600082116106e657600080fd5b600160a060020a0333166000908152600560205260409020546107099083610b44565b600160a060020a03331660009081526005602052604090205560035461072f9083610b44565b600355600160a060020a0333167fcc16f5dbb4873280815c1ee09dbd06736cffcc184412cf7a71a0fdb75d397ca58360405190815260200160405180910390a25060015b919050565b600160a060020a0333166000908152600660205260408120548290101561079e57600080fd5b600082116107ab57600080fd5b600160a060020a0333166000908152600660205260409020546107ce9083610b44565b600160a060020a0333166000908152600660209081526040808320939093556005905220546107fd9083610b5d565b600160a060020a0333166000818152600560205260409081902092909255907f2cfce4af01bcb9d6cf6c84ee1b7c491100b8695368264146a94d71e10a63083f9084905190815260200160405180910390a25060015b919050565b60056020526000908152604090205481565b600454600160a060020a031681565b60018054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156104b65780601f1061048b576101008083540402835291602001916104b6565b820191906000526020600020905b81548152906001019060200180831161049957829003601f168201915b505050505081565b600160a060020a038216151561092c57600080fd5b6000811161093957600080fd5b600160a060020a0333166000908152600560205260409020548190101561095f57600080fd5b600160a060020a038216600090815260056020526040902054818101101561098657600080fd5b600160a060020a0333166000908152600560205260409020546109a99082610b44565b600160a060020a0333811660009081526005602052604080822093909355908416815220546109d89082610b5d565b600160a060020a0380841660008181526005602052604090819020939093559133909116907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9084905190815260200160405180910390a35b5050565b60066020526000908152604090205481565b600160a060020a03331660009081526005602052604081205482901015610a6d57600080fd5b60008211610a7a57600080fd5b600160a060020a033316600090815260056020526040902054610a9d9083610b44565b600160a060020a033316600090815260056020908152604080832093909355600690522054610acc9083610b5d565b600160a060020a0333166000818152600660205260409081902092909255907ff97a274face0b5517365ad396b1fdba6f68bd3135ef603e44272adba3af5a1e09084905190815260200160405180910390a25060015b919050565b600760209081526000928352604080842090915290825290205481565b6000610b5283831115610b85565b508082035b92915050565b6000828201610b7a848210801590610b755750838210155b610b85565b8091505b5092915050565b801515610b9157600080fd5b5b505600a165627a7a723058208b2d3292e6d3a014c36b3304a6ab5f1a45482ca02abe442dfda220e1069a2cb90029
Swarm Source
bzzr://8b2d3292e6d3a014c36b3304a6ab5f1a45482ca02abe442dfda220e1069a2cb9
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.