Source Code
Overview
ETH Balance
0 ETH
More Info
ContractCreator
TokenTracker
Multichain Info
N/A
Latest 5 from a total of 5 transactions
Advanced mode: Intended for advanced users or developers and will display all Internal Transactions including zero value transfers.
Latest 3 internal transactions
Advanced mode:
Loading...
Loading
Loading...
Loading
Contract Name:
XRT
Compiler Version
v0.5.7+commit.6da8b019
Contract Source Code (Solidity)
/**
*Submitted for verification at Etherscan.io on 2024-06-24
*/
/**
*Submitted for verification at Etherscan.io on 2019-04-16
*/
// File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol
pragma solidity ^0.5.0;
/**
* @title ERC20 interface
* @dev see https://github.com/ethereum/EIPs/issues/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);
}
// File: openzeppelin-solidity/contracts/math/SafeMath.sol
pragma solidity ^0.5.0;
/**
* @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;
}
}
// File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol
pragma solidity ^0.5.0;
/**
* @title Standard ERC20 token
*
* @dev Implementation of the basic standard token.
* https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md
* 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 An 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 for 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) {
require(spender != address(0));
_allowed[msg.sender][spender] = value;
emit Approval(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) {
_allowed[from][msg.sender] = _allowed[from][msg.sender].sub(value);
_transfer(from, to, value);
emit Approval(from, msg.sender, _allowed[from][msg.sender]);
return true;
}
/**
* @dev Increase the amount of tokens that an owner allowed to a spender.
* approve should be called when allowed_[_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) {
require(spender != address(0));
_allowed[msg.sender][spender] = _allowed[msg.sender][spender].add(addedValue);
emit Approval(msg.sender, spender, _allowed[msg.sender][spender]);
return true;
}
/**
* @dev Decrease the amount of tokens that an owner allowed to a spender.
* approve should be called when allowed_[_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) {
require(spender != address(0));
_allowed[msg.sender][spender] = _allowed[msg.sender][spender].sub(subtractedValue);
emit Approval(msg.sender, spender, _allowed[msg.sender][spender]);
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 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 {
_allowed[account][msg.sender] = _allowed[account][msg.sender].sub(value);
_burn(account, value);
emit Approval(account, msg.sender, _allowed[account][msg.sender]);
}
}
// File: openzeppelin-solidity/contracts/access/Roles.sol
pragma solidity ^0.5.0;
/**
* @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];
}
}
// File: openzeppelin-solidity/contracts/access/roles/MinterRole.sol
pragma solidity ^0.5.0;
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);
}
}
// File: openzeppelin-solidity/contracts/token/ERC20/ERC20Mintable.sol
pragma solidity ^0.5.0;
/**
* @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;
}
}
// File: openzeppelin-solidity/contracts/token/ERC20/ERC20Burnable.sol
pragma solidity ^0.5.0;
/**
* @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 address which you want to send tokens from
* @param value uint256 The amount of token to be burned
*/
function burnFrom(address from, uint256 value) public {
_burnFrom(from, value);
}
}
// File: openzeppelin-solidity/contracts/token/ERC20/ERC20Detailed.sol
pragma solidity ^0.5.0;
/**
* @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;
}
}
// File: contracts/robonomics/XRT.sol
pragma solidity ^0.5.0;
contract XRT is ERC20Mintable, ERC20Burnable, ERC20Detailed {
constructor(uint256 _initial_supply) public ERC20Detailed("Robonomics", "XRT", 9) {
_mint(msg.sender, _initial_supply);
}
}Contract ABI
API[{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"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":"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":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":"","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":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_initial_supply","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"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
60806040523480156200001157600080fd5b5060405160208062000fda833981018060405260208110156200003357600080fd5b5051604080518082018252600a81527f526f626f6e6f6d696373000000000000000000000000000000000000000000006020828101919091528251808401909352600383527f585254000000000000000000000000000000000000000000000000000000000083820152909190600990620000b490339062000111811b901c565b8251620000c9906004906020860190620002c2565b508151620000df906005906020850190620002c2565b506006805460ff191660ff92909216919091179055506200010a9050338262000163602090811b901c565b5062000367565b6200012c8160036200021c60201b62000b831790919060201c565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b6001600160a01b0382166200017757600080fd5b62000193816002546200027260201b620008a61790919060201c565b6002556001600160a01b03821660009081526020818152604090912054620001c6918390620008a662000272821b17901c565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b0381166200023057600080fd5b6200024282826200028c60201b60201c565b156200024d57600080fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6000828201838110156200028557600080fd5b9392505050565b60006001600160a01b038216620002a257600080fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200030557805160ff191683800117855562000335565b8280016001018555821562000335579182015b828111156200033557825182559160200191906001019062000318565b506200034392915062000347565b5090565b6200036491905b808211156200034357600081556001016200034e565b90565b610c6380620003776000396000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c806370a08231116100a257806398650275116100715780639865027514610332578063a457c2d71461033a578063a9059cbb14610366578063aa271e1a14610392578063dd62ed3e146103b85761010b565b806370a08231146102b257806379cc6790146102d857806395d89b4114610304578063983b2d561461030c5761010b565b8063313ce567116100de578063313ce5671461021d578063395093511461023b57806340c10f191461026757806342966c68146102935761010b565b806306fdde0314610110578063095ea7b31461018d57806318160ddd146101cd57806323b872dd146101e7575b600080fd5b6101186103e6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015257818101518382015260200161013a565b50505050905090810190601f16801561017f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101b9600480360360408110156101a357600080fd5b506001600160a01b03813516906020013561047c565b604080519115158252519081900360200190f35b6101d56104e6565b60408051918252519081900360200190f35b6101b9600480360360608110156101fd57600080fd5b506001600160a01b038135811691602081013590911690604001356104ec565b6102256105a3565b6040805160ff9092168252519081900360200190f35b6101b96004803603604081101561025157600080fd5b506001600160a01b0381351690602001356105ac565b6101b96004803603604081101561027d57600080fd5b506001600160a01b038135169060200135610648565b6102b0600480360360208110156102a957600080fd5b503561066f565b005b6101d5600480360360208110156102c857600080fd5b50356001600160a01b031661067c565b6102b0600480360360408110156102ee57600080fd5b506001600160a01b038135169060200135610697565b6101186106a5565b6102b06004803603602081101561032257600080fd5b50356001600160a01b0316610706565b6102b0610721565b6101b96004803603604081101561035057600080fd5b506001600160a01b03813516906020013561072c565b6101b96004803603604081101561037c57600080fd5b506001600160a01b038135169060200135610775565b6101b9600480360360208110156103a857600080fd5b50356001600160a01b0316610782565b6101d5600480360360408110156103ce57600080fd5b506001600160a01b038135811691602001351661079b565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104725780601f1061044757610100808354040283529160200191610472565b820191906000526020600020905b81548152906001019060200180831161045557829003601f168201915b5050505050905090565b60006001600160a01b03831661049157600080fd5b3360008181526001602090815260408083206001600160a01b0388168085529083529281902086905580518681529051929392600080516020610c18833981519152929181900390910190a350600192915050565b60025490565b6001600160a01b0383166000908152600160209081526040808320338452909152812054610520908363ffffffff6107c616565b6001600160a01b038516600090815260016020908152604080832033845290915290205561054f8484846107db565b6001600160a01b038416600081815260016020908152604080832033808552908352928190205481519081529051929392600080516020610c18833981519152929181900390910190a35060019392505050565b60065460ff1690565b60006001600160a01b0383166105c157600080fd5b3360009081526001602090815260408083206001600160a01b03871684529091529020546105f5908363ffffffff6108a616565b3360008181526001602090815260408083206001600160a01b038916808552908352928190208590558051948552519193600080516020610c18833981519152929081900390910190a350600192915050565b600061065333610782565b61065c57600080fd5b61066683836108bf565b50600192915050565b6106793382610967565b50565b6001600160a01b031660009081526020819052604090205490565b6106a18282610a0e565b5050565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104725780601f1061044757610100808354040283529160200191610472565b61070f33610782565b61071857600080fd5b61067981610abe565b61072a33610b06565b565b60006001600160a01b03831661074157600080fd5b3360009081526001602090815260408083206001600160a01b03871684529091529020546105f5908363ffffffff6107c616565b60006106663384846107db565b600061079560038363ffffffff610b4e16565b92915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6000828211156107d557600080fd5b50900390565b6001600160a01b0382166107ee57600080fd5b6001600160a01b038316600090815260208190526040902054610817908263ffffffff6107c616565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461084c908263ffffffff6108a616565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000828201838110156108b857600080fd5b9392505050565b6001600160a01b0382166108d257600080fd5b6002546108e5908263ffffffff6108a616565b6002556001600160a01b038216600090815260208190526040902054610911908263ffffffff6108a616565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b03821661097a57600080fd5b60025461098d908263ffffffff6107c616565b6002556001600160a01b0382166000908152602081905260409020546109b9908263ffffffff6107c616565b6001600160a01b038316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b6001600160a01b0382166000908152600160209081526040808320338452909152902054610a42908263ffffffff6107c616565b6001600160a01b0383166000908152600160209081526040808320338452909152902055610a708282610967565b6001600160a01b038216600081815260016020908152604080832033808552908352928190205481519081529051929392600080516020610c18833981519152929181900390910190a35050565b610acf60038263ffffffff610b8316565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b610b1760038263ffffffff610bcf16565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60006001600160a01b038216610b6357600080fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b038116610b9657600080fd5b610ba08282610b4e565b15610baa57600080fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6001600160a01b038116610be257600080fd5b610bec8282610b4e565b610bf557600080fd5b6001600160a01b0316600090815260209190915260409020805460ff1916905556fe8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a165627a7a7230582023c941e26473009aecc6269c89f6975d5828996ed8a93ee22152a4da6f9b95210029000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000065dd0837000
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061010b5760003560e01c806370a08231116100a257806398650275116100715780639865027514610332578063a457c2d71461033a578063a9059cbb14610366578063aa271e1a14610392578063dd62ed3e146103b85761010b565b806370a08231146102b257806379cc6790146102d857806395d89b4114610304578063983b2d561461030c5761010b565b8063313ce567116100de578063313ce5671461021d578063395093511461023b57806340c10f191461026757806342966c68146102935761010b565b806306fdde0314610110578063095ea7b31461018d57806318160ddd146101cd57806323b872dd146101e7575b600080fd5b6101186103e6565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561015257818101518382015260200161013a565b50505050905090810190601f16801561017f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101b9600480360360408110156101a357600080fd5b506001600160a01b03813516906020013561047c565b604080519115158252519081900360200190f35b6101d56104e6565b60408051918252519081900360200190f35b6101b9600480360360608110156101fd57600080fd5b506001600160a01b038135811691602081013590911690604001356104ec565b6102256105a3565b6040805160ff9092168252519081900360200190f35b6101b96004803603604081101561025157600080fd5b506001600160a01b0381351690602001356105ac565b6101b96004803603604081101561027d57600080fd5b506001600160a01b038135169060200135610648565b6102b0600480360360208110156102a957600080fd5b503561066f565b005b6101d5600480360360208110156102c857600080fd5b50356001600160a01b031661067c565b6102b0600480360360408110156102ee57600080fd5b506001600160a01b038135169060200135610697565b6101186106a5565b6102b06004803603602081101561032257600080fd5b50356001600160a01b0316610706565b6102b0610721565b6101b96004803603604081101561035057600080fd5b506001600160a01b03813516906020013561072c565b6101b96004803603604081101561037c57600080fd5b506001600160a01b038135169060200135610775565b6101b9600480360360208110156103a857600080fd5b50356001600160a01b0316610782565b6101d5600480360360408110156103ce57600080fd5b506001600160a01b038135811691602001351661079b565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104725780601f1061044757610100808354040283529160200191610472565b820191906000526020600020905b81548152906001019060200180831161045557829003601f168201915b5050505050905090565b60006001600160a01b03831661049157600080fd5b3360008181526001602090815260408083206001600160a01b0388168085529083529281902086905580518681529051929392600080516020610c18833981519152929181900390910190a350600192915050565b60025490565b6001600160a01b0383166000908152600160209081526040808320338452909152812054610520908363ffffffff6107c616565b6001600160a01b038516600090815260016020908152604080832033845290915290205561054f8484846107db565b6001600160a01b038416600081815260016020908152604080832033808552908352928190205481519081529051929392600080516020610c18833981519152929181900390910190a35060019392505050565b60065460ff1690565b60006001600160a01b0383166105c157600080fd5b3360009081526001602090815260408083206001600160a01b03871684529091529020546105f5908363ffffffff6108a616565b3360008181526001602090815260408083206001600160a01b038916808552908352928190208590558051948552519193600080516020610c18833981519152929081900390910190a350600192915050565b600061065333610782565b61065c57600080fd5b61066683836108bf565b50600192915050565b6106793382610967565b50565b6001600160a01b031660009081526020819052604090205490565b6106a18282610a0e565b5050565b60058054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156104725780601f1061044757610100808354040283529160200191610472565b61070f33610782565b61071857600080fd5b61067981610abe565b61072a33610b06565b565b60006001600160a01b03831661074157600080fd5b3360009081526001602090815260408083206001600160a01b03871684529091529020546105f5908363ffffffff6107c616565b60006106663384846107db565b600061079560038363ffffffff610b4e16565b92915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b6000828211156107d557600080fd5b50900390565b6001600160a01b0382166107ee57600080fd5b6001600160a01b038316600090815260208190526040902054610817908263ffffffff6107c616565b6001600160a01b03808516600090815260208190526040808220939093559084168152205461084c908263ffffffff6108a616565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000828201838110156108b857600080fd5b9392505050565b6001600160a01b0382166108d257600080fd5b6002546108e5908263ffffffff6108a616565b6002556001600160a01b038216600090815260208190526040902054610911908263ffffffff6108a616565b6001600160a01b0383166000818152602081815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6001600160a01b03821661097a57600080fd5b60025461098d908263ffffffff6107c616565b6002556001600160a01b0382166000908152602081905260409020546109b9908263ffffffff6107c616565b6001600160a01b038316600081815260208181526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b6001600160a01b0382166000908152600160209081526040808320338452909152902054610a42908263ffffffff6107c616565b6001600160a01b0383166000908152600160209081526040808320338452909152902055610a708282610967565b6001600160a01b038216600081815260016020908152604080832033808552908352928190205481519081529051929392600080516020610c18833981519152929181900390910190a35050565b610acf60038263ffffffff610b8316565b6040516001600160a01b038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b610b1760038263ffffffff610bcf16565b6040516001600160a01b038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60006001600160a01b038216610b6357600080fd5b506001600160a01b03166000908152602091909152604090205460ff1690565b6001600160a01b038116610b9657600080fd5b610ba08282610b4e565b15610baa57600080fd5b6001600160a01b0316600090815260209190915260409020805460ff19166001179055565b6001600160a01b038116610be257600080fd5b610bec8282610b4e565b610bf557600080fd5b6001600160a01b0316600090815260209190915260409020805460ff1916905556fe8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925a165627a7a7230582023c941e26473009aecc6269c89f6975d5828996ed8a93ee22152a4da6f9b95210029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000002386f26fc100000000000000000000000000000000000000000000000000000000065dd0837000
-----Decoded View---------------
Arg [0] : _initial_supply (uint256): 10000000000000000
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000002386f26fc10000
Arg [1] : 0000000000000000000000000000000000000000000000000000065dd0837000
Deployed Bytecode Sourcemap
15369:205:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;15369:205:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14895:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;14895:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5722:244;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;5722:244:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3881:91;;;:::i;:::-;;;;;;;;;;;;;;;;6439:299;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;6439:299:0;;;;;;;;;;;;;;;;;:::i;15211:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;7253:323;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;7253:323:0;;;;;;;;:::i;13256:131::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;13256:131:0;;;;;;;;:::i;13753:79::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13753:79:0;;:::i;:::-;;4188:106;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;4188:106:0;-1:-1:-1;;;;;4188:106:0;;:::i;14091:95::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;14091:95:0;;;;;;;;:::i;15045:87::-;;;:::i;12337:92::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12337:92:0;-1:-1:-1;;;;;12337:92:0;;:::i;12437:77::-;;;:::i;8096:333::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;8096:333:0;;;;;;;;:::i;4935:140::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4935:140:0;;;;;;;;:::i;12220:109::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;12220:109:0;-1:-1:-1;;;;;12220:109:0;;:::i;4633:131::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;4633:131:0;;;;;;;;;;:::i;14895:83::-;14965:5;14958:12;;;;;;;;-1:-1:-1;;14958:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14932:13;;14958:12;;14965:5;;14958:12;;14965:5;14958:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14895:83;:::o;5722:244::-;5787:4;-1:-1:-1;;;;;5812:21:0;;5804:30;;;;;;5856:10;5847:20;;;;:8;:20;;;;;;;;-1:-1:-1;;;;;5847:29:0;;;;;;;;;;;;:37;;;5900:36;;;;;;;5847:29;;5856:10;-1:-1:-1;;;;;;;;;;;5900:36:0;;;;;;;;;;-1:-1:-1;5954:4:0;5722:244;;;;:::o;3881:91::-;3952:12;;3881:91;:::o;6439:299::-;-1:-1:-1;;;;;6564:14:0;;6518:4;6564:14;;;:8;:14;;;;;;;;6579:10;6564:26;;;;;;;;:37;;6595:5;6564:37;:30;:37;:::i;:::-;-1:-1:-1;;;;;6535:14:0;;;;;;:8;:14;;;;;;;;6550:10;6535:26;;;;;;;:66;6612:26;6544:4;6628:2;6632:5;6612:9;:26::i;:::-;-1:-1:-1;;;;;6654:54:0;;6681:14;;;;:8;:14;;;;;;;;6669:10;6681:26;;;;;;;;;;;6654:54;;;;;;;6669:10;;6654:54;-1:-1:-1;;;;;;;;;;;6654:54:0;;;;;;;;;;-1:-1:-1;6726:4:0;6439:299;;;;;:::o;15211:83::-;15277:9;;;;15211:83;:::o;7253:323::-;7333:4;-1:-1:-1;;;;;7358:21:0;;7350:30;;;;;;7434:10;7425:20;;;;:8;:20;;;;;;;;-1:-1:-1;;;;;7425:29:0;;;;;;;;;;:45;;7459:10;7425:45;:33;:45;:::i;:::-;7402:10;7393:20;;;;:8;:20;;;;;;;;-1:-1:-1;;;;;7393:29:0;;;;;;;;;;;;:77;;;7486:60;;;;;;7393:29;;-1:-1:-1;;;;;;;;;;;7486:60:0;;;;;;;;;;-1:-1:-1;7564:4:0;7253:323;;;;:::o;13256:131::-;13324:4;12171:20;12180:10;12171:8;:20::i;:::-;12163:29;;;;;;13341:16;13347:2;13351:5;13341;:16::i;:::-;-1:-1:-1;13375:4:0;13256:131;;;;:::o;13753:79::-;13800:24;13806:10;13818:5;13800;:24::i;:::-;13753:79;:::o;4188:106::-;-1:-1:-1;;;;;4270:16:0;4243:7;4270:16;;;;;;;;;;;;4188:106::o;14091:95::-;14156:22;14166:4;14172:5;14156:9;:22::i;:::-;14091:95;;:::o;15045:87::-;15117:7;15110:14;;;;;;;;-1:-1:-1;;15110:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15084:13;;15110:14;;15117:7;;15110:14;;15117:7;15110:14;;;;;;;;;;;;;;;;;;;;;;;;12337:92;12171:20;12180:10;12171:8;:20::i;:::-;12163:29;;;;;;12402:19;12413:7;12402:10;:19::i;12437:77::-;12481:25;12495:10;12481:13;:25::i;:::-;12437:77::o;8096:333::-;8181:4;-1:-1:-1;;;;;8206:21:0;;8198:30;;;;;;8282:10;8273:20;;;;:8;:20;;;;;;;;-1:-1:-1;;;;;8273:29:0;;;;;;;;;;:50;;8307:15;8273:50;:33;:50;:::i;4935:140::-;4996:4;5013:32;5023:10;5035:2;5039:5;5013:9;:32::i;12220:109::-;12276:4;12300:21;:8;12313:7;12300:21;:12;:21;:::i;:::-;12293:28;12220:109;-1:-1:-1;;12220:109:0:o;4633:131::-;-1:-1:-1;;;;;4732:15:0;;;4705:7;4732:15;;;:8;:15;;;;;;;;:24;;;;;;;;;;;;;4633:131::o;2232:150::-;2290:7;2323:1;2318;:6;;2310:15;;;;;;-1:-1:-1;2348:5:0;;;2232:150::o;8651:262::-;-1:-1:-1;;;;;8739:16:0;;8731:25;;;;;;-1:-1:-1;;;;;8787:15:0;;:9;:15;;;;;;;;;;;:26;;8807:5;8787:26;:19;:26;:::i;:::-;-1:-1:-1;;;;;8769:15:0;;;:9;:15;;;;;;;;;;;:44;;;;8840:13;;;;;;;:24;;8858:5;8840:24;:17;:24;:::i;:::-;-1:-1:-1;;;;;8824:13:0;;;:9;:13;;;;;;;;;;;;:40;;;;8880:25;;;;;;;8824:13;;8880:25;;;;;;;;;;;;;8651:262;;;:::o;2468:150::-;2526:7;2558:5;;;2582:6;;;;2574:15;;;;;;2609:1;2468:150;-1:-1:-1;;;2468:150:0:o;9265:269::-;-1:-1:-1;;;;;9340:21:0;;9332:30;;;;;;9390:12;;:23;;9407:5;9390:23;:16;:23;:::i;:::-;9375:12;:38;-1:-1:-1;;;;;9445:18:0;;:9;:18;;;;;;;;;;;:29;;9468:5;9445:29;:22;:29;:::i;:::-;-1:-1:-1;;;;;9424:18:0;;:9;:18;;;;;;;;;;;:50;;;;9490:36;;;;;;;9424:18;;:9;;9490:36;;;;;;;;;;9265:269;;:::o;9768:::-;-1:-1:-1;;;;;9843:21:0;;9835:30;;;;;;9893:12;;:23;;9910:5;9893:23;:16;:23;:::i;:::-;9878:12;:38;-1:-1:-1;;;;;9948:18:0;;:9;:18;;;;;;;;;;;:29;;9971:5;9948:29;:22;:29;:::i;:::-;-1:-1:-1;;;;;9927:18:0;;:9;:18;;;;;;;;;;;:50;;;;9993:36;;;;;;;9927:9;;9993:36;;;;;;;;;;;9768:269;;:::o;10436:259::-;-1:-1:-1;;;;;10539:17:0;;;;;;:8;:17;;;;;;;;10557:10;10539:29;;;;;;;;:40;;10573:5;10539:40;:33;:40;:::i;:::-;-1:-1:-1;;;;;10507:17:0;;;;;;:8;:17;;;;;;;;10525:10;10507:29;;;;;;;:72;10590:21;10516:7;10605:5;10590;:21::i;:::-;-1:-1:-1;;;;;10627:60:0;;10657:17;;;;:8;:17;;;;;;;;10645:10;10657:29;;;;;;;;;;;10627:60;;;;;;;10645:10;;10627:60;-1:-1:-1;;;;;;;;;;;10627:60:0;;;;;;;;;;10436:259;;:::o;12522:122::-;12579:21;:8;12592:7;12579:21;:12;:21;:::i;:::-;12616:20;;-1:-1:-1;;;;;12616:20:0;;;;;;;;12522:122;:::o;12652:130::-;12712:24;:8;12728:7;12712:24;:15;:24;:::i;:::-;12752:22;;-1:-1:-1;;;;;12752:22:0;;;;;;;;12652:130;:::o;11584:165::-;11656:4;-1:-1:-1;;;;;11681:21:0;;11673:30;;;;;;-1:-1:-1;;;;;;11721:20:0;:11;:20;;;;;;;;;;;;;;;11584:165::o;11036:186::-;-1:-1:-1;;;;;11113:21:0;;11105:30;;;;;;11155:18;11159:4;11165:7;11155:3;:18::i;:::-;11154:19;11146:28;;;;;;-1:-1:-1;;;;;11187:20:0;:11;:20;;;;;;;;;;;:27;;-1:-1:-1;;11187:27:0;11210:4;11187:27;;;11036:186::o;11301:189::-;-1:-1:-1;;;;;11381:21:0;;11373:30;;;;;;11422:18;11426:4;11432:7;11422:3;:18::i;:::-;11414:27;;;;;;-1:-1:-1;;;;;11454:20:0;11477:5;11454:20;;;;;;;;;;;:28;;-1:-1:-1;;11454:28:0;;;11301:189::o
Swarm Source
bzzr://23c941e26473009aecc6269c89f6975d5828996ed8a93ee22152a4da6f9b9521
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.