Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
4,517,277.647025586105561358 RAE
Holders
1,708 (0.00%)
Market
Price
$0.81 @ 0.000240 ETH (-3.76%)
Onchain Market Cap
$3,641,332.34
Circulating Supply Market Cap
$3,641,334.00
Other Info
Token Contract (WITH 18 Decimals)
Balance
63,479.522247977979730799 RAEValue
$51,170.21 ( ~15.2096 Eth) [1.4053%]Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RaeToken
Compiler Version
v0.5.7+commit.6da8b019
Optimization Enabled:
Yes with 200 runs
Other Settings:
byzantium EvmVersion
Contract Source Code (Solidity Multiple files format)
pragma solidity 0.5.7; import "./ERC20Detailed.sol"; import "./ERC20Burnable.sol"; import "./ERC20Capped.sol"; import "./ERC20Pausable.sol"; /** @dev RaeToken Contract requirements: - address that deployed RaeToken can pause contract and release pauseRole in future - address that deployed RaeToken has mintRole and can release mintRole in future - RaeMintContract has mintRole after deployment - totalSupply is capped at 34 million RAE = 34000000 RAE, or 34000000e18 ROK (1 RAE = 1e18 ROK) - every 1700 _mintPeriods _mintAmount is halved - _mintAmount starts at 10000 RAE = 10000e18 ROK - halveEvery can never be changed */ contract RaeToken is ERC20Detailed, ERC20Capped, ERC20Burnable, ERC20Pausable { uint256 private _mintAmount = 216000e18; uint256 private _mintPeriods = 0; uint256 private _totalInPeriod = 0; uint256 constant private _halveEvery = 1700; // halve mint amount every 1700 mint periods mapping (address => uint256) private _balances; constructor(string memory name, string memory symbol, uint8 decimals, uint256 cap) ERC20Burnable() ERC20Mintable() ERC20Capped(cap) ERC20Detailed(name, symbol, decimals) ERC20Pausable() ERC20() public { _mint(msg.sender, 84000e18); } /** * @dev perform a minting period * requirements: * - addresses.length == values.length != 0 * - only addresses with minter role should be able to call this function * - totalSent == _mintAmount * - every time this function returns successfully (true) _mintPeriods is incremented by 1 * - every 1700 _mintPeriods _mintAmount is halved. e.g. when _mintPeriods = 1700 then _mintAmount = 5000e18 * - addresses[i] is minted values[i], accepatable to have duplicate addresses @param addresses array of addresses where amount minted to addresses[i] is values[i] @param values array of token amounts that add up to _mintAmount */ function mintBulk(address[] calldata addresses, uint256[] calldata values) external whenNotPaused onlyMinter returns (bool) { require(addresses.length > 0); require(addresses.length == values.length); for(uint256 i = 0; i < addresses.length; ++i) { _totalInPeriod = _totalInPeriod.add(values[i]); _mint(addresses[i], values[i]); } require(_totalInPeriod <= _mintAmount); if( _totalInPeriod == _mintAmount) _updateMintParams(); return true; } function period() external view returns (uint256){ return _mintPeriods; } function mintAmount() external view returns (uint256){ return _mintAmount; } function _updateMintParams() internal returns (bool) { // first period is for 216,000 RAE, after this will go to 10000 RAE until decay if(_mintPeriods == 0) _mintAmount = 10000e18; // increment period _mintPeriods = _mintPeriods.add(1); // decay if _mintPeriods is 1700, 3400, 5100, etc. Target for 1 mint per day if(_mintPeriods % _halveEvery == 0) _mintAmount = _mintAmount.div(2); // reset the _totalInPeriod to 0 _totalInPeriod = 0; return true; } function remainingInPeriod() external view returns (uint256) { return _mintAmount - _totalInPeriod; } function totalInPeriod() external view returns (uint256) { return _totalInPeriod; } /** @dev do not allow mint during pause */ function mint(address to, uint256 value) public whenNotPaused onlyMinter returns (bool) { //super.mint(to, value); revert(); } /** @dev do not allow burn during pause */ function burn(uint256 value) public whenNotPaused { super.burn(value); } function burnFrom(address from, uint256 value) public whenNotPaused { super.burnFrom(from, value); } }
pragma solidity ^0.5.2; import "./IERC20.sol"; import "./SafeMath.sol"; /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * https://eips.ethereum.org/EIPS/eip-20 * Originally based on code by FirstBlood: * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol * * This implementation emits additional Approval events, allowing applications to reconstruct the allowance status for * all accounts just by listening to said events. Note that this isn't required by the specification, and other * compliant implementations may not do it. */ contract ERC20 is IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowed; uint256 private _totalSupply; /** * @dev Total number of tokens in existence */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev Gets the balance of the specified address. * @param owner The address to query the balance of. * @return A uint256 representing the amount owned by the passed address. */ function balanceOf(address owner) public view returns (uint256) { return _balances[owner]; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param owner address The address which owns the funds. * @param spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance(address owner, address spender) public view returns (uint256) { return _allowed[owner][spender]; } /** * @dev Transfer token to a specified address * @param to The address to transfer to. * @param value The amount to be transferred. */ function transfer(address to, uint256 value) public returns (bool) { _transfer(msg.sender, to, value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * Beware that changing an allowance with this method brings the risk that someone may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param spender The address which will spend the funds. * @param value The amount of tokens to be spent. */ function approve(address spender, uint256 value) public returns (bool) { _approve(msg.sender, spender, value); return true; } /** * @dev Transfer tokens from one address to another. * Note that while this function emits an Approval event, this is not required as per the specification, * and other compliant implementations may not emit the event. * @param from address The address which you want to send tokens from * @param to address The address which you want to transfer to * @param value uint256 the amount of tokens to be transferred */ function transferFrom(address from, address to, uint256 value) public returns (bool) { _transfer(from, to, value); _approve(from, msg.sender, _allowed[from][msg.sender].sub(value)); return true; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * approve should be called when _allowed[msg.sender][spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * Emits an Approval event. * @param spender The address which will spend the funds. * @param addedValue The amount of tokens to increase the allowance by. */ function increaseAllowance(address spender, uint256 addedValue) public returns (bool) { _approve(msg.sender, spender, _allowed[msg.sender][spender].add(addedValue)); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * approve should be called when _allowed[msg.sender][spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * Emits an Approval event. * @param spender The address which will spend the funds. * @param subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) { _approve(msg.sender, spender, _allowed[msg.sender][spender].sub(subtractedValue)); return true; } /** * @dev Transfer token for a specified addresses * @param from The address to transfer from. * @param to The address to transfer to. * @param value The amount to be transferred. */ function _transfer(address from, address to, uint256 value) internal { require(to != address(0)); _balances[from] = _balances[from].sub(value); _balances[to] = _balances[to].add(value); emit Transfer(from, to, value); } /** * @dev Internal function that mints an amount of the token and assigns it to * an account. This encapsulates the modification of balances such that the * proper events are emitted. * @param account The account that will receive the created tokens. * @param value The amount that will be created. */ function _mint(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.add(value); _balances[account] = _balances[account].add(value); emit Transfer(address(0), account, value); } /** * @dev Internal function that burns an amount of the token of a given * account. * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burn(address account, uint256 value) internal { require(account != address(0)); _totalSupply = _totalSupply.sub(value); _balances[account] = _balances[account].sub(value); emit Transfer(account, address(0), value); } /** * @dev Approve an address to spend another addresses' tokens. * @param owner The address that owns the tokens. * @param spender The address that will spend the tokens. * @param value The number of tokens that can be spent. */ function _approve(address owner, address spender, uint256 value) internal { require(spender != address(0)); require(owner != address(0)); _allowed[owner][spender] = value; emit Approval(owner, spender, value); } /** * @dev Internal function that burns an amount of the token of a given * account, deducting from the sender's allowance for said account. Uses the * internal burn function. * Emits an Approval event (reflecting the reduced allowance). * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burnFrom(address account, uint256 value) internal { _burn(account, value); _approve(account, msg.sender, _allowed[account][msg.sender].sub(value)); } }
pragma solidity ^0.5.2; import "./ERC20.sol"; /** * @title Burnable Token * @dev Token that can be irreversibly burned (destroyed). */ contract ERC20Burnable is ERC20 { /** * @dev Burns a specific amount of tokens. * @param value The amount of token to be burned. */ function burn(uint256 value) public { _burn(msg.sender, value); } /** * @dev Burns a specific amount of tokens from the target address and decrements allowance * @param from address The account whose tokens will be burned. * @param value uint256 The amount of token to be burned. */ function burnFrom(address from, uint256 value) public { _burnFrom(from, value); } }
pragma solidity ^0.5.2; import "./ERC20Mintable.sol"; /** * @title Capped token * @dev Mintable token with a token cap. */ contract ERC20Capped is ERC20Mintable { uint256 private _cap; constructor (uint256 cap) public { require(cap > 0); _cap = cap; } /** * @return the cap for the token minting. */ function cap() public view returns (uint256) { return _cap; } function _mint(address account, uint256 value) internal { require(totalSupply().add(value) <= _cap); super._mint(account, value); } }
pragma solidity ^0.5.2; import "./IERC20.sol"; /** * @title ERC20Detailed token * @dev The decimals are only for visualization purposes. * All the operations are done using the smallest and indivisible token unit, * just as on Ethereum all the operations are done in wei. */ contract ERC20Detailed is IERC20 { string private _name; string private _symbol; uint8 private _decimals; constructor (string memory name, string memory symbol, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; } /** * @return the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @return the symbol of the token. */ function symbol() public view returns (string memory) { return _symbol; } /** * @return the number of decimals of the token. */ function decimals() public view returns (uint8) { return _decimals; } }
pragma solidity ^0.5.2; import "./ERC20.sol"; import "./MinterRole.sol"; /** * @title ERC20Mintable * @dev ERC20 minting logic */ contract ERC20Mintable is ERC20, MinterRole { /** * @dev Function to mint tokens * @param to The address that will receive the minted tokens. * @param value The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint(address to, uint256 value) public onlyMinter returns (bool) { _mint(to, value); return true; } }
pragma solidity ^0.5.2; import "./ERC20.sol"; import "./Pausable.sol"; /** * @title Pausable token * @dev ERC20 modified with pausable transfers. */ contract ERC20Pausable is ERC20, Pausable { function transfer(address to, uint256 value) public whenNotPaused returns (bool) { return super.transfer(to, value); } function transferFrom(address from, address to, uint256 value) public whenNotPaused returns (bool) { return super.transferFrom(from, to, value); } function approve(address spender, uint256 value) public whenNotPaused returns (bool) { return super.approve(spender, value); } function increaseAllowance(address spender, uint addedValue) public whenNotPaused returns (bool success) { return super.increaseAllowance(spender, addedValue); } function decreaseAllowance(address spender, uint subtractedValue) public whenNotPaused returns (bool success) { return super.decreaseAllowance(spender, subtractedValue); } }
pragma solidity ^0.5.2; /** * @title ERC20 interface * @dev see https://eips.ethereum.org/EIPS/eip-20 */ interface IERC20 { function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); }
pragma solidity ^0.5.2; import "./Roles.sol"; contract MinterRole { using Roles for Roles.Role; event MinterAdded(address indexed account); event MinterRemoved(address indexed account); Roles.Role private _minters; constructor () internal { _addMinter(msg.sender); } modifier onlyMinter() { require(isMinter(msg.sender)); _; } function isMinter(address account) public view returns (bool) { return _minters.has(account); } function addMinter(address account) public onlyMinter { _addMinter(account); } function renounceMinter() public { _removeMinter(msg.sender); } function _addMinter(address account) internal { _minters.add(account); emit MinterAdded(account); } function _removeMinter(address account) internal { _minters.remove(account); emit MinterRemoved(account); } }
pragma solidity ^0.5.2; import "./PauserRole.sol"; /** * @title Pausable * @dev Base contract which allows children to implement an emergency stop mechanism. */ contract Pausable is PauserRole { event Paused(address account); event Unpaused(address account); bool private _paused; constructor () internal { _paused = false; } /** * @return true if the contract is paused, false otherwise. */ function paused() public view returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!_paused); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(_paused); _; } /** * @dev called by the owner to pause, triggers stopped state */ function pause() public onlyPauser whenNotPaused { _paused = true; emit Paused(msg.sender); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() public onlyPauser whenPaused { _paused = false; emit Unpaused(msg.sender); } }
pragma solidity ^0.5.2; import "./Roles.sol"; contract PauserRole { using Roles for Roles.Role; event PauserAdded(address indexed account); event PauserRemoved(address indexed account); Roles.Role private _pausers; constructor () internal { _addPauser(msg.sender); } modifier onlyPauser() { require(isPauser(msg.sender)); _; } function isPauser(address account) public view returns (bool) { return _pausers.has(account); } function addPauser(address account) public onlyPauser { _addPauser(account); } function renouncePauser() public { _removePauser(msg.sender); } function _addPauser(address account) internal { _pausers.add(account); emit PauserAdded(account); } function _removePauser(address account) internal { _pausers.remove(account); emit PauserRemoved(account); } }
pragma solidity ^0.5.2; /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an account access to this role */ function add(Role storage role, address account) internal { require(account != address(0)); require(!has(role, account)); role.bearer[account] = true; } /** * @dev remove an account's access to this role */ function remove(Role storage role, address account) internal { require(account != address(0)); require(has(role, account)); role.bearer[account] = false; } /** * @dev check if an account has this role * @return bool */ function has(Role storage role, address account) internal view returns (bool) { require(account != address(0)); return role.bearer[account]; } }
pragma solidity ^0.5.2; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two unsigned integers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } /** * @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 0); uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); uint256 c = a - b; return c; } /** * @dev Adds two unsigned integers, reverts on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c; } /** * @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo), * reverts when dividing by zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } }
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":"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":true,"inputs":[],"name":"totalInPeriod","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":true,"inputs":[],"name":"cap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isPauser","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mintAmount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"paused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renouncePauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"addresses","type":"address[]"},{"name":"values","type":"uint256[]"}],"name":"mintBulk","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addPauser","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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":true,"inputs":[{"name":"account","type":"address"}],"name":"isMinter","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"remainingInPeriod","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","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"},{"constant":true,"inputs":[],"name":"period","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"uint8"},{"name":"cap","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"PauserAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"PauserRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterRemoved","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
6080604052692dbd622a9ef3d7000000600a556000600b556000600c553480156200002957600080fd5b506040516200165c3803806200165c833981018060405260808110156200004f57600080fd5b8101908080516401000000008111156200006857600080fd5b820160208101848111156200007c57600080fd5b81516401000000008111828201871017156200009757600080fd5b50509291906020018051640100000000811115620000b457600080fd5b82016020810184811115620000c857600080fd5b8151640100000000811182820187101715620000e357600080fd5b505060208083015160409093015186519295509293508291869186918691620001129160009186019062000419565b5081516200012890600190602085019062000419565b506002805460ff191660ff929092169190911790555062000154905033640100000000620001ac810204565b600081116200016257600080fd5b6007556200017933640100000000620001fe810204565b6009805460ff19169055620001a2336911c9a62d04ed0c80000064010000000062000250810204565b50505050620004bb565b620001c760068264010000000062001119620002aa82021704565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b6200021960088264010000000062001119620002aa82021704565b604051600160a060020a038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b60075462000280826200026b64010000000062000303810204565b9064010000000062000be96200030a82021704565b11156200028c57600080fd5b620002a682826401000000006200104d6200032482021704565b5050565b600160a060020a038116620002be57600080fd5b620002d38282640100000000620003e3810204565b15620002de57600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b6005545b90565b6000828201838110156200031d57600080fd5b9392505050565b600160a060020a0382166200033857600080fd5b60055462000355908264010000000062000be96200030a82021704565b600555600160a060020a0382166000908152600360205260409020546200038b908264010000000062000be96200030a82021704565b600160a060020a03831660008181526003602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000600160a060020a038216620003f957600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200045c57805160ff19168380011785556200048c565b828001600101855582156200048c579182015b828111156200048c5782518255916020019190600101906200046f565b506200049a9291506200049e565b5090565b6200030791905b808211156200049a5760008155600101620004a5565b61119180620004cb6000396000f3fe608060405234801561001057600080fd5b50600436106101ec576000357c0100000000000000000000000000000000000000000000000000000000900480636ef8d66d11610121578063983b2d56116100bf578063aa271e1a1161008e578063aa271e1a146105b9578063b5b80f12146105df578063dd62ed3e146105e7578063ef78d4fd14610615576101ec565b8063983b2d56146105335780639865027514610559578063a457c2d714610561578063a9059cbb1461058d576101ec565b80637fd30df0116100fb5780637fd30df01461043b57806382dc1ec4146104fd5780638456cb591461052357806395d89b411461052b576101ec565b80636ef8d66d146103e157806370a08231146103e957806379cc67901461040f576101ec565b8063395093511161018e57806342966c681161016857806342966c681461038e57806346fbf68e146103ab5780635a2bcc18146103d15780635c975abb146103d9576101ec565b8063395093511461032c5780633f4ba83a1461035857806340c10f1914610362576101ec565b80631efe9395116101ca5780631efe9395146102c857806323b872dd146102d0578063313ce56714610306578063355274ea14610324576101ec565b806306fdde03146101f1578063095ea7b31461026e57806318160ddd146102ae575b600080fd5b6101f961061d565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561023357818101518382015260200161021b565b50505050905090810190601f1680156102605780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61029a6004803603604081101561028457600080fd5b50600160a060020a0381351690602001356106b3565b604080519115158252519081900360200190f35b6102b66106d7565b60408051918252519081900360200190f35b6102b66106dd565b61029a600480360360608110156102e657600080fd5b50600160a060020a038135811691602081013590911690604001356106e3565b61030e610709565b6040805160ff9092168252519081900360200190f35b6102b6610712565b61029a6004803603604081101561034257600080fd5b50600160a060020a038135169060200135610718565b610360610735565b005b61029a6004803603604081101561037857600080fd5b50600160a060020a038135169060200135610795565b610360600480360360208110156103a457600080fd5b50356107ba565b61029a600480360360208110156103c157600080fd5b5035600160a060020a03166107d6565b6102b66107ef565b61029a6107f5565b6103606107fe565b6102b6600480360360208110156103ff57600080fd5b5035600160a060020a0316610809565b6103606004803603604081101561042557600080fd5b50600160a060020a038135169060200135610824565b61029a6004803603604081101561045157600080fd5b81019060208101813564010000000081111561046c57600080fd5b82018360208201111561047e57600080fd5b803590602001918460208302840111640100000000831117156104a057600080fd5b9193909290916020810190356401000000008111156104be57600080fd5b8201836020820111156104d057600080fd5b803590602001918460208302840111640100000000831117156104f257600080fd5b509092509050610842565b6103606004803603602081101561051357600080fd5b5035600160a060020a0316610924565b61036061093f565b6101f96109a3565b6103606004803603602081101561054957600080fd5b5035600160a060020a0316610a03565b610360610a1e565b61029a6004803603604081101561057757600080fd5b50600160a060020a038135169060200135610a27565b61029a600480360360408110156105a357600080fd5b50600160a060020a038135169060200135610a44565b61029a600480360360208110156105cf57600080fd5b5035600160a060020a0316610a61565b6102b6610a74565b6102b6600480360360408110156105fd57600080fd5b50600160a060020a0381358116916020013516610a7e565b6102b6610aa9565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106a95780601f1061067e576101008083540402835291602001916106a9565b820191906000526020600020905b81548152906001019060200180831161068c57829003601f168201915b5050505050905090565b60095460009060ff16156106c657600080fd5b6106d08383610aaf565b9392505050565b60055490565b600c5490565b60095460009060ff16156106f657600080fd5b610701848484610ac5565b949350505050565b60025460ff1690565b60075490565b60095460009060ff161561072b57600080fd5b6106d08383610b1c565b61073e336107d6565b61074757600080fd5b60095460ff1661075657600080fd5b6009805460ff191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b60095460009060ff16156107a857600080fd5b6107b133610a61565b6101ec57600080fd5b60095460ff16156107ca57600080fd5b6107d381610b58565b50565b60006107e960088363ffffffff610b6216565b92915050565b600a5490565b60095460ff1690565b61080733610b97565b565b600160a060020a031660009081526003602052604090205490565b60095460ff161561083457600080fd5b61083e8282610bdf565b5050565b60095460009060ff161561085557600080fd5b61085e33610a61565b61086757600080fd5b8361087157600080fd5b83821461087d57600080fd5b60005b848110156108f1576108af84848381811061089757fe5b90506020020135600c54610be990919063ffffffff16565b600c556108e98686838181106108c157fe5b90506020020135600160a060020a03168585848181106108dd57fe5b90506020020135610bfb565b600101610880565b50600a54600c54111561090357600080fd5b600a54600c54141561091957610917610c2b565b505b506001949350505050565b61092d336107d6565b61093657600080fd5b6107d381610c8c565b610948336107d6565b61095157600080fd5b60095460ff161561096157600080fd5b6009805460ff191660011790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156106a95780601f1061067e576101008083540402835291602001916106a9565b610a0c33610a61565b610a1557600080fd5b6107d381610cd4565b61080733610d1c565b60095460009060ff1615610a3a57600080fd5b6106d08383610d64565b60095460009060ff1615610a5757600080fd5b6106d08383610da0565b60006107e960068363ffffffff610b6216565b600c54600a540390565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b600b5490565b6000610abc338484610dad565b50600192915050565b6000610ad2848484610e35565b600160a060020a038416600090815260046020908152604080832033808552925290912054610b12918691610b0d908663ffffffff610f0216565b610dad565b5060019392505050565b336000818152600460209081526040808320600160a060020a03871684529091528120549091610abc918590610b0d908663ffffffff610be916565b6107d33382610f17565b6000600160a060020a038216610b7757600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b610ba860088263ffffffff610fc016565b604051600160a060020a038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b61083e8282611008565b6000828201838110156106d057600080fd5b600754610c1682610c0a6106d7565b9063ffffffff610be916565b1115610c2157600080fd5b61083e828261104d565b6000600b5460001415610c475769021e19e0c9bab2400000600a555b600b54610c5b90600163ffffffff610be916565b600b8190556106a49006610c8157600a54610c7d90600263ffffffff6110f716565b600a555b506000600c55600190565b610c9d60088263ffffffff61111916565b604051600160a060020a038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b610ce560068263ffffffff61111916565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b610d2d60068263ffffffff610fc016565b604051600160a060020a038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b336000818152600460209081526040808320600160a060020a03871684529091528120549091610abc918590610b0d908663ffffffff610f0216565b6000610abc338484610e35565b600160a060020a038216610dc057600080fd5b600160a060020a038316610dd357600080fd5b600160a060020a03808416600081815260046020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600160a060020a038216610e4857600080fd5b600160a060020a038316600090815260036020526040902054610e71908263ffffffff610f0216565b600160a060020a038085166000908152600360205260408082209390935590841681522054610ea6908263ffffffff610be916565b600160a060020a0380841660008181526003602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082821115610f1157600080fd5b50900390565b600160a060020a038216610f2a57600080fd5b600554610f3d908263ffffffff610f0216565b600555600160a060020a038216600090815260036020526040902054610f69908263ffffffff610f0216565b600160a060020a0383166000818152600360209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b600160a060020a038116610fd357600080fd5b610fdd8282610b62565b610fe657600080fd5b600160a060020a0316600090815260209190915260409020805460ff19169055565b6110128282610f17565b600160a060020a03821660009081526004602090815260408083203380855292529091205461083e918491610b0d908563ffffffff610f0216565b600160a060020a03821661106057600080fd5b600554611073908263ffffffff610be916565b600555600160a060020a03821660009081526003602052604090205461109f908263ffffffff610be916565b600160a060020a03831660008181526003602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600080821161110557600080fd5b600082848161111057fe5b04949350505050565b600160a060020a03811661112c57600080fd5b6111368282610b62565b1561114057600080fd5b600160a060020a0316600090815260209190915260409020805460ff1916600117905556fea165627a7a7230582048a9e8788f7386d3edb7042f4cde8290d27849db892a2c1090c1843c09c1811c0029000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000001c1fc7b177378f62000000000000000000000000000000000000000000000000000000000000000000000952414520546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035241450000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101ec576000357c0100000000000000000000000000000000000000000000000000000000900480636ef8d66d11610121578063983b2d56116100bf578063aa271e1a1161008e578063aa271e1a146105b9578063b5b80f12146105df578063dd62ed3e146105e7578063ef78d4fd14610615576101ec565b8063983b2d56146105335780639865027514610559578063a457c2d714610561578063a9059cbb1461058d576101ec565b80637fd30df0116100fb5780637fd30df01461043b57806382dc1ec4146104fd5780638456cb591461052357806395d89b411461052b576101ec565b80636ef8d66d146103e157806370a08231146103e957806379cc67901461040f576101ec565b8063395093511161018e57806342966c681161016857806342966c681461038e57806346fbf68e146103ab5780635a2bcc18146103d15780635c975abb146103d9576101ec565b8063395093511461032c5780633f4ba83a1461035857806340c10f1914610362576101ec565b80631efe9395116101ca5780631efe9395146102c857806323b872dd146102d0578063313ce56714610306578063355274ea14610324576101ec565b806306fdde03146101f1578063095ea7b31461026e57806318160ddd146102ae575b600080fd5b6101f961061d565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561023357818101518382015260200161021b565b50505050905090810190601f1680156102605780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61029a6004803603604081101561028457600080fd5b50600160a060020a0381351690602001356106b3565b604080519115158252519081900360200190f35b6102b66106d7565b60408051918252519081900360200190f35b6102b66106dd565b61029a600480360360608110156102e657600080fd5b50600160a060020a038135811691602081013590911690604001356106e3565b61030e610709565b6040805160ff9092168252519081900360200190f35b6102b6610712565b61029a6004803603604081101561034257600080fd5b50600160a060020a038135169060200135610718565b610360610735565b005b61029a6004803603604081101561037857600080fd5b50600160a060020a038135169060200135610795565b610360600480360360208110156103a457600080fd5b50356107ba565b61029a600480360360208110156103c157600080fd5b5035600160a060020a03166107d6565b6102b66107ef565b61029a6107f5565b6103606107fe565b6102b6600480360360208110156103ff57600080fd5b5035600160a060020a0316610809565b6103606004803603604081101561042557600080fd5b50600160a060020a038135169060200135610824565b61029a6004803603604081101561045157600080fd5b81019060208101813564010000000081111561046c57600080fd5b82018360208201111561047e57600080fd5b803590602001918460208302840111640100000000831117156104a057600080fd5b9193909290916020810190356401000000008111156104be57600080fd5b8201836020820111156104d057600080fd5b803590602001918460208302840111640100000000831117156104f257600080fd5b509092509050610842565b6103606004803603602081101561051357600080fd5b5035600160a060020a0316610924565b61036061093f565b6101f96109a3565b6103606004803603602081101561054957600080fd5b5035600160a060020a0316610a03565b610360610a1e565b61029a6004803603604081101561057757600080fd5b50600160a060020a038135169060200135610a27565b61029a600480360360408110156105a357600080fd5b50600160a060020a038135169060200135610a44565b61029a600480360360208110156105cf57600080fd5b5035600160a060020a0316610a61565b6102b6610a74565b6102b6600480360360408110156105fd57600080fd5b50600160a060020a0381358116916020013516610a7e565b6102b6610aa9565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156106a95780601f1061067e576101008083540402835291602001916106a9565b820191906000526020600020905b81548152906001019060200180831161068c57829003601f168201915b5050505050905090565b60095460009060ff16156106c657600080fd5b6106d08383610aaf565b9392505050565b60055490565b600c5490565b60095460009060ff16156106f657600080fd5b610701848484610ac5565b949350505050565b60025460ff1690565b60075490565b60095460009060ff161561072b57600080fd5b6106d08383610b1c565b61073e336107d6565b61074757600080fd5b60095460ff1661075657600080fd5b6009805460ff191690556040805133815290517f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa9181900360200190a1565b60095460009060ff16156107a857600080fd5b6107b133610a61565b6101ec57600080fd5b60095460ff16156107ca57600080fd5b6107d381610b58565b50565b60006107e960088363ffffffff610b6216565b92915050565b600a5490565b60095460ff1690565b61080733610b97565b565b600160a060020a031660009081526003602052604090205490565b60095460ff161561083457600080fd5b61083e8282610bdf565b5050565b60095460009060ff161561085557600080fd5b61085e33610a61565b61086757600080fd5b8361087157600080fd5b83821461087d57600080fd5b60005b848110156108f1576108af84848381811061089757fe5b90506020020135600c54610be990919063ffffffff16565b600c556108e98686838181106108c157fe5b90506020020135600160a060020a03168585848181106108dd57fe5b90506020020135610bfb565b600101610880565b50600a54600c54111561090357600080fd5b600a54600c54141561091957610917610c2b565b505b506001949350505050565b61092d336107d6565b61093657600080fd5b6107d381610c8c565b610948336107d6565b61095157600080fd5b60095460ff161561096157600080fd5b6009805460ff191660011790556040805133815290517f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2589181900360200190a1565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156106a95780601f1061067e576101008083540402835291602001916106a9565b610a0c33610a61565b610a1557600080fd5b6107d381610cd4565b61080733610d1c565b60095460009060ff1615610a3a57600080fd5b6106d08383610d64565b60095460009060ff1615610a5757600080fd5b6106d08383610da0565b60006107e960068363ffffffff610b6216565b600c54600a540390565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b600b5490565b6000610abc338484610dad565b50600192915050565b6000610ad2848484610e35565b600160a060020a038416600090815260046020908152604080832033808552925290912054610b12918691610b0d908663ffffffff610f0216565b610dad565b5060019392505050565b336000818152600460209081526040808320600160a060020a03871684529091528120549091610abc918590610b0d908663ffffffff610be916565b6107d33382610f17565b6000600160a060020a038216610b7757600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b610ba860088263ffffffff610fc016565b604051600160a060020a038216907fcd265ebaf09df2871cc7bd4133404a235ba12eff2041bb89d9c714a2621c7c7e90600090a250565b61083e8282611008565b6000828201838110156106d057600080fd5b600754610c1682610c0a6106d7565b9063ffffffff610be916565b1115610c2157600080fd5b61083e828261104d565b6000600b5460001415610c475769021e19e0c9bab2400000600a555b600b54610c5b90600163ffffffff610be916565b600b8190556106a49006610c8157600a54610c7d90600263ffffffff6110f716565b600a555b506000600c55600190565b610c9d60088263ffffffff61111916565b604051600160a060020a038216907f6719d08c1888103bea251a4ed56406bd0c3e69723c8a1686e017e7bbe159b6f890600090a250565b610ce560068263ffffffff61111916565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b610d2d60068263ffffffff610fc016565b604051600160a060020a038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b336000818152600460209081526040808320600160a060020a03871684529091528120549091610abc918590610b0d908663ffffffff610f0216565b6000610abc338484610e35565b600160a060020a038216610dc057600080fd5b600160a060020a038316610dd357600080fd5b600160a060020a03808416600081815260046020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b600160a060020a038216610e4857600080fd5b600160a060020a038316600090815260036020526040902054610e71908263ffffffff610f0216565b600160a060020a038085166000908152600360205260408082209390935590841681522054610ea6908263ffffffff610be916565b600160a060020a0380841660008181526003602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082821115610f1157600080fd5b50900390565b600160a060020a038216610f2a57600080fd5b600554610f3d908263ffffffff610f0216565b600555600160a060020a038216600090815260036020526040902054610f69908263ffffffff610f0216565b600160a060020a0383166000818152600360209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b600160a060020a038116610fd357600080fd5b610fdd8282610b62565b610fe657600080fd5b600160a060020a0316600090815260209190915260409020805460ff19169055565b6110128282610f17565b600160a060020a03821660009081526004602090815260408083203380855292529091205461083e918491610b0d908563ffffffff610f0216565b600160a060020a03821661106057600080fd5b600554611073908263ffffffff610be916565b600555600160a060020a03821660009081526003602052604090205461109f908263ffffffff610be916565b600160a060020a03831660008181526003602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b600080821161110557600080fd5b600082848161111057fe5b04949350505050565b600160a060020a03811661112c57600080fd5b6111368282610b62565b1561114057600080fd5b600160a060020a0316600090815260209190915260409020805460ff1916600117905556fea165627a7a7230582048a9e8788f7386d3edb7042f4cde8290d27849db892a2c1090c1843c09c1811c0029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000001c1fc7b177378f62000000000000000000000000000000000000000000000000000000000000000000000952414520546f6b656e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000035241450000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): RAE Token
Arg [1] : symbol (string): RAE
Arg [2] : decimals (uint8): 18
Arg [3] : cap (uint256): 34000000000000000000000000
-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 0000000000000000000000000000000000000000001c1fc7b177378f62000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [5] : 52414520546f6b656e0000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 5241450000000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://48a9e8788f7386d3edb7042f4cde8290d27849db892a2c1090c1843c09c1811c
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.