ETH Price: $3,463.07 (+0.34%)
Gas: 8.1 Gwei

Token

Genesis Raffle Token (GRT)
 

Overview

Max Total Supply

66,176,179 GRT

Holders

8,041

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Balance
3,212 GRT

Value
$0.00
0x14a5d1d9eaf54a6bd7cca7d77c7e84e69773f569
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
RaffleTicket

Compiler Version
v0.5.8+commit.23d335f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2019-08-11
*/

pragma solidity ^0.5.8;


/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     * - Multiplication cannot 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, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        require(b > 0, "SafeMath: division by zero");
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b != 0, "SafeMath: modulo by zero");
        return a % b;
    }
}

contract Owned {

    address public owner;

    event OwnerChanged(address indexed _owner);

    modifier onlyOwner {
        require(msg.sender == owner, "Must be owner");
        _;
    }

    constructor() public {
        owner = msg.sender;
    }

    function setOwner(address _owner) external onlyOwner {
        require(_owner != address(0), "new owner must not be null");
        owner = _owner;
        emit OwnerChanged(_owner);
    }

}

/**
 * @dev Interface of the ERC20 standard as defined in the EIP. Does not include
 * the optional functions; to access them see `ERC20Detailed`.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a `Transfer` event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through `transferFrom`. This is
     * zero by default.
     *
     * This value changes when `approve` or `transferFrom` are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * > 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
     *
     * Emits an `Approval` event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a `Transfer` event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to `approve`. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

/**
 * @dev Implementation of the `IERC20` interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using `_mint`.
 * For a generic mechanism see `ERC20Mintable`.
 *
 * *For a detailed writeup see our guide [How to implement supply
 * mechanisms](https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226).*
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an `Approval` event is emitted on calls to `transferFrom`.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard `decreaseAllowance` and `increaseAllowance`
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See `IERC20.approve`.
 */
contract ERC20 is IERC20 {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    /**
     * @dev See `IERC20.totalSupply`.
     */
    function totalSupply() public view returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See `IERC20.balanceOf`.
     */
    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See `IERC20.transfer`.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public returns (bool) {
        _transfer(msg.sender, recipient, amount);
        return true;
    }

    /**
     * @dev See `IERC20.allowance`.
     */
    function allowance(address owner, address spender) public view returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See `IERC20.approve`.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 value) public returns (bool) {
        _approve(msg.sender, spender, value);
        return true;
    }

    /**
     * @dev See `IERC20.transferFrom`.
     *
     * Emits an `Approval` event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of `ERC20`;
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `value`.
     * - the caller must have allowance for `sender`'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, msg.sender, _allowances[sender][msg.sender].sub(amount));
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to `approve` that can be used as a mitigation for
     * problems described in `IERC20.approve`.
     *
     * Emits an `Approval` event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(msg.sender, spender, _allowances[msg.sender][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to `approve` that can be used as a mitigation for
     * problems described in `IERC20.approve`.
     *
     * Emits an `Approval` event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(msg.sender, spender, _allowances[msg.sender][spender].sub(subtractedValue));
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to `transfer`, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a `Transfer` event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _balances[sender] = _balances[sender].sub(amount);
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a `Transfer` event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal {
        require(account != address(0), "ERC20: mint to the zero address");

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

     /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a `Transfer` event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 value) internal {
        require(account != address(0), "ERC20: burn from the zero address");

        _totalSupply = _totalSupply.sub(value);
        _balances[account] = _balances[account].sub(value);
        emit Transfer(account, address(0), value);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an `Approval` event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = value;
        emit Approval(owner, spender, value);
    }

    /**
     * @dev Destoys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See `_burn` and `_approve`.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(account, msg.sender, _allowances[account][msg.sender].sub(amount));
    }
}

contract RaffleTicket is Owned, ERC20 {
    
    string public constant name = "Genesis Raffle Token";
    string public constant symbol = "GRT";
    uint8 public constant decimals = 0;

    mapping(address => bool) minters;

    event MinterApprovalChanged(address indexed minter, bool approved);

    modifier onlyMinter {
        require(minters[msg.sender], "must be an approved minter");
        _;
    }

    function mint(address[] memory accounts, uint32[] memory amounts) public onlyMinter {

        uint len = accounts.length;
        require(len > 0, "must be at least one account");
        require(len == amounts.length, "must be the same number of accounts and amounts");

        for (uint i = 0; i < len; i++) {
            _mint(accounts[i], amounts[i]);
        }
    }

    function changeMinterApproval(address minter, bool approved) public onlyOwner {
        minters[minter] = approved;
        emit MinterApprovalChanged(minter, approved);
    }

}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"minter","type":"address"},{"name":"approved","type":"bool"}],"name":"changeMinterApproval","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"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":false,"inputs":[{"name":"_owner","type":"address"}],"name":"setOwner","outputs":[],"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":"sender","type":"address"},{"name":"recipient","type":"address"},{"name":"amount","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":true,"inputs":[{"name":"account","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"accounts","type":"address[]"},{"name":"amounts","type":"uint32[]"}],"name":"mint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":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":"recipient","type":"address"},{"name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"minter","type":"address"},{"indexed":false,"name":"approved","type":"bool"}],"name":"MinterApprovalChanged","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"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_owner","type":"address"}],"name":"OwnerChanged","type":"event"}]

6080604052600080546001600160a01b03191633179055610e30806100256000396000f3fe608060405234801561001057600080fd5b50600436106100f55760003560e01c8063395093511161009757806395d89b411161006657806395d89b4114610418578063a457c2d714610420578063a9059cbb1461044c578063dd62ed3e14610478576100f5565b8063395093511461027b57806370a08231146102a757806385e4a9b4146102cd5780638da5cb5b146103f4576100f5565b806313af4035116100d357806313af4035146101e757806318160ddd1461020d57806323b872dd14610227578063313ce5671461025d576100f5565b80630597f255146100fa57806306fdde031461012a578063095ea7b3146101a7575b600080fd5b6101286004803603604081101561011057600080fd5b506001600160a01b03813516906020013515156104a6565b005b61013261055b565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016c578181015183820152602001610154565b50505050905090810190601f1680156101995780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101d3600480360360408110156101bd57600080fd5b506001600160a01b038135169060200135610594565b604080519115158252519081900360200190f35b610128600480360360208110156101fd57600080fd5b50356001600160a01b03166105aa565b6102156106a5565b60408051918252519081900360200190f35b6101d36004803603606081101561023d57600080fd5b506001600160a01b038135811691602081013590911690604001356106ab565b610265610702565b6040805160ff9092168252519081900360200190f35b6101d36004803603604081101561029157600080fd5b506001600160a01b038135169060200135610707565b610215600480360360208110156102bd57600080fd5b50356001600160a01b0316610743565b610128600480360360408110156102e357600080fd5b8101906020810181356401000000008111156102fe57600080fd5b82018360208201111561031057600080fd5b8035906020019184602083028401116401000000008311171561033257600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561038257600080fd5b82018360208201111561039457600080fd5b803590602001918460208302840111640100000000831117156103b657600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061075e945050505050565b6103fc6108ad565b604080516001600160a01b039092168252519081900360200190f35b6101326108bc565b6101d36004803603604081101561043657600080fd5b506001600160a01b0381351690602001356108de565b6101d36004803603604081101561046257600080fd5b506001600160a01b03813516906020013561091a565b6102156004803603604081101561048e57600080fd5b506001600160a01b0381358116916020013516610927565b6000546001600160a01b031633146104fb5760408051600160e51b62461bcd02815260206004820152600d6024820152600160991b6c26bab9ba1031329037bbb732b902604482015290519081900360640190fd5b6001600160a01b038216600081815260046020908152604091829020805460ff1916851515908117909155825190815291517fb9479cf88781b8f0c2e459f5a3c3870d1d503105f95bf3f3e1e457fa36fa318a9281900390910190a25050565b6040518060400160405280601481526020017f47656e6573697320526166666c6520546f6b656e00000000000000000000000081525081565b60006105a1338484610952565b50600192915050565b6000546001600160a01b031633146105ff5760408051600160e51b62461bcd02815260206004820152600d6024820152600160991b6c26bab9ba1031329037bbb732b902604482015290519081900360640190fd5b6001600160a01b03811661065d5760408051600160e51b62461bcd02815260206004820152601a60248201527f6e6577206f776e6572206d757374206e6f74206265206e756c6c000000000000604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b038316908117825560405190917fa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf3691a250565b60035490565b60006106b8848484610a44565b6001600160a01b0384166000908152600260209081526040808320338085529252909120546106f89186916106f3908663ffffffff610b8e16565b610952565b5060019392505050565b600081565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916105a19185906106f3908663ffffffff610bee16565b6001600160a01b031660009081526001602052604090205490565b3360009081526004602052604090205460ff166107c55760408051600160e51b62461bcd02815260206004820152601a60248201527f6d75737420626520616e20617070726f766564206d696e746572000000000000604482015290519081900360640190fd5b81518061081c5760408051600160e51b62461bcd02815260206004820152601c60248201527f6d757374206265206174206c65617374206f6e65206163636f756e7400000000604482015290519081900360640190fd5b8151811461085e57604051600160e51b62461bcd02815260040180806020018281038252602f815260200180610d8d602f913960400191505060405180910390fd5b60005b818110156108a75761089f84828151811061087857fe5b602002602001015184838151811061088c57fe5b602002602001015163ffffffff16610c52565b600101610861565b50505050565b6000546001600160a01b031681565b604051806040016040528060038152602001600160ea1b6211d4950281525081565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916105a19185906106f3908663ffffffff610b8e16565b60006105a1338484610a44565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6001600160a01b03831661099a57604051600160e51b62461bcd028152600401808060200182810382526024815260200180610de16024913960400191505060405180910390fd5b6001600160a01b0382166109e257604051600160e51b62461bcd028152600401808060200182810382526022815260200180610d6b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610a8c57604051600160e51b62461bcd028152600401808060200182810382526025815260200180610dbc6025913960400191505060405180910390fd5b6001600160a01b038216610ad457604051600160e51b62461bcd028152600401808060200182810382526023815260200180610d486023913960400191505060405180910390fd5b6001600160a01b038316600090815260016020526040902054610afd908263ffffffff610b8e16565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610b32908263ffffffff610bee16565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082821115610be85760408051600160e51b62461bcd02815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082820183811015610c4b5760408051600160e51b62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610cb05760408051600160e51b62461bcd02815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600354610cc3908263ffffffff610bee16565b6003556001600160a01b038216600090815260016020526040902054610cef908263ffffffff610bee16565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573736d757374206265207468652073616d65206e756d626572206f66206163636f756e747320616e6420616d6f756e747345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373a165627a7a723058200198785a57412810133f386f6e17eb101670c8e04d2e6f0d92cbe84c6b8b65320029

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100f55760003560e01c8063395093511161009757806395d89b411161006657806395d89b4114610418578063a457c2d714610420578063a9059cbb1461044c578063dd62ed3e14610478576100f5565b8063395093511461027b57806370a08231146102a757806385e4a9b4146102cd5780638da5cb5b146103f4576100f5565b806313af4035116100d357806313af4035146101e757806318160ddd1461020d57806323b872dd14610227578063313ce5671461025d576100f5565b80630597f255146100fa57806306fdde031461012a578063095ea7b3146101a7575b600080fd5b6101286004803603604081101561011057600080fd5b506001600160a01b03813516906020013515156104a6565b005b61013261055b565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561016c578181015183820152602001610154565b50505050905090810190601f1680156101995780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6101d3600480360360408110156101bd57600080fd5b506001600160a01b038135169060200135610594565b604080519115158252519081900360200190f35b610128600480360360208110156101fd57600080fd5b50356001600160a01b03166105aa565b6102156106a5565b60408051918252519081900360200190f35b6101d36004803603606081101561023d57600080fd5b506001600160a01b038135811691602081013590911690604001356106ab565b610265610702565b6040805160ff9092168252519081900360200190f35b6101d36004803603604081101561029157600080fd5b506001600160a01b038135169060200135610707565b610215600480360360208110156102bd57600080fd5b50356001600160a01b0316610743565b610128600480360360408110156102e357600080fd5b8101906020810181356401000000008111156102fe57600080fd5b82018360208201111561031057600080fd5b8035906020019184602083028401116401000000008311171561033257600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250929594936020810193503591505064010000000081111561038257600080fd5b82018360208201111561039457600080fd5b803590602001918460208302840111640100000000831117156103b657600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525092955061075e945050505050565b6103fc6108ad565b604080516001600160a01b039092168252519081900360200190f35b6101326108bc565b6101d36004803603604081101561043657600080fd5b506001600160a01b0381351690602001356108de565b6101d36004803603604081101561046257600080fd5b506001600160a01b03813516906020013561091a565b6102156004803603604081101561048e57600080fd5b506001600160a01b0381358116916020013516610927565b6000546001600160a01b031633146104fb5760408051600160e51b62461bcd02815260206004820152600d6024820152600160991b6c26bab9ba1031329037bbb732b902604482015290519081900360640190fd5b6001600160a01b038216600081815260046020908152604091829020805460ff1916851515908117909155825190815291517fb9479cf88781b8f0c2e459f5a3c3870d1d503105f95bf3f3e1e457fa36fa318a9281900390910190a25050565b6040518060400160405280601481526020017f47656e6573697320526166666c6520546f6b656e00000000000000000000000081525081565b60006105a1338484610952565b50600192915050565b6000546001600160a01b031633146105ff5760408051600160e51b62461bcd02815260206004820152600d6024820152600160991b6c26bab9ba1031329037bbb732b902604482015290519081900360640190fd5b6001600160a01b03811661065d5760408051600160e51b62461bcd02815260206004820152601a60248201527f6e6577206f776e6572206d757374206e6f74206265206e756c6c000000000000604482015290519081900360640190fd5b600080546001600160a01b0319166001600160a01b038316908117825560405190917fa2ea9883a321a3e97b8266c2b078bfeec6d50c711ed71f874a90d500ae2eaf3691a250565b60035490565b60006106b8848484610a44565b6001600160a01b0384166000908152600260209081526040808320338085529252909120546106f89186916106f3908663ffffffff610b8e16565b610952565b5060019392505050565b600081565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916105a19185906106f3908663ffffffff610bee16565b6001600160a01b031660009081526001602052604090205490565b3360009081526004602052604090205460ff166107c55760408051600160e51b62461bcd02815260206004820152601a60248201527f6d75737420626520616e20617070726f766564206d696e746572000000000000604482015290519081900360640190fd5b81518061081c5760408051600160e51b62461bcd02815260206004820152601c60248201527f6d757374206265206174206c65617374206f6e65206163636f756e7400000000604482015290519081900360640190fd5b8151811461085e57604051600160e51b62461bcd02815260040180806020018281038252602f815260200180610d8d602f913960400191505060405180910390fd5b60005b818110156108a75761089f84828151811061087857fe5b602002602001015184838151811061088c57fe5b602002602001015163ffffffff16610c52565b600101610861565b50505050565b6000546001600160a01b031681565b604051806040016040528060038152602001600160ea1b6211d4950281525081565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916105a19185906106f3908663ffffffff610b8e16565b60006105a1338484610a44565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b6001600160a01b03831661099a57604051600160e51b62461bcd028152600401808060200182810382526024815260200180610de16024913960400191505060405180910390fd5b6001600160a01b0382166109e257604051600160e51b62461bcd028152600401808060200182810382526022815260200180610d6b6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b6001600160a01b038316610a8c57604051600160e51b62461bcd028152600401808060200182810382526025815260200180610dbc6025913960400191505060405180910390fd5b6001600160a01b038216610ad457604051600160e51b62461bcd028152600401808060200182810382526023815260200180610d486023913960400191505060405180910390fd5b6001600160a01b038316600090815260016020526040902054610afd908263ffffffff610b8e16565b6001600160a01b038085166000908152600160205260408082209390935590841681522054610b32908263ffffffff610bee16565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600082821115610be85760408051600160e51b62461bcd02815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b50900390565b600082820183811015610c4b5760408051600160e51b62461bcd02815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b6001600160a01b038216610cb05760408051600160e51b62461bcd02815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b600354610cc3908263ffffffff610bee16565b6003556001600160a01b038216600090815260016020526040902054610cef908263ffffffff610bee16565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f20616464726573736d757374206265207468652073616d65206e756d626572206f66206163636f756e747320616e6420616d6f756e747345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f2061646472657373a165627a7a723058200198785a57412810133f386f6e17eb101670c8e04d2e6f0d92cbe84c6b8b65320029

Deployed Bytecode Sourcemap

14852:1003:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14852:1003:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15672:178;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;15672:178:0;;;;;;;;;;:::i;:::-;;14903:52;;;:::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;14903:52:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9341:148;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;9341:148:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;3912:192;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;3912:192:0;-1:-1:-1;;;;;3912:192:0;;:::i;8364:91::-;;;:::i;:::-;;;;;;;;;;;;;;;;9960:256;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;9960:256:0;;;;;;;;;;;;;;;;;:::i;15006:34::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;10625:206;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;10625:206:0;;;;;;;;:::i;8518:110::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;8518:110:0;-1:-1:-1;;;;;8518:110:0;;:::i;15282:382::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;15282:382:0;;;;;;;;21:11:-1;5:28;;2:2;;;46:1;43;36:12;2:2;15282:382:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;15282:382:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;15282:382:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;15282:382:0;;;;;;;;-1:-1:-1;15282:382:0;;-1:-1:-1;;21:11;5:28;;2:2;;;46:1;43;36:12;2:2;15282:382:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;15282:382:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;39:11;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;15282:382:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;15282:382:0;;-1:-1:-1;15282:382:0;;-1:-1:-1;;;;;15282:382:0:i;3663:20::-;;;:::i;:::-;;;;-1:-1:-1;;;;;3663:20:0;;;;;;;;;;;;;;14962:37;;;:::i;11334:216::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;11334:216:0;;;;;;;;:::i;8841:156::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;8841:156:0;;;;;;;;:::i;9060:134::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;;;;;;9060:134:0;;;;;;;;;;:::i;15672:178::-;3795:5;;-1:-1:-1;;;;;3795:5:0;3781:10;:19;3773:45;;;;;-1:-1:-1;;;;;3773:45:0;;;;;;;;;;;;-1:-1:-1;;;;;3773:45:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;15761:15:0;;;;;;:7;:15;;;;;;;;;:26;;-1:-1:-1;;15761:26:0;;;;;;;;;;15803:39;;;;;;;;;;;;;;;;;15672:178;;:::o;14903:52::-;;;;;;;;;;;;;;;;;;;:::o;9341:148::-;9406:4;9423:36;9432:10;9444:7;9453:5;9423:8;:36::i;:::-;-1:-1:-1;9477:4:0;9341:148;;;;:::o;3912:192::-;3795:5;;-1:-1:-1;;;;;3795:5:0;3781:10;:19;3773:45;;;;;-1:-1:-1;;;;;3773:45:0;;;;;;;;;;;;-1:-1:-1;;;;;3773:45:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;3984:20:0;;3976:59;;;;;-1:-1:-1;;;;;3976:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4046:5;:14;;-1:-1:-1;;;;;;4046:14:0;-1:-1:-1;;;;;4046:14:0;;;;;;;4076:20;;4046:14;;4076:20;;;3912:192;:::o;8364:91::-;8435:12;;8364:91;:::o;9960:256::-;10049:4;10066:36;10076:6;10084:9;10095:6;10066:9;:36::i;:::-;-1:-1:-1;;;;;10142:19:0;;;;;;:11;:19;;;;;;;;10130:10;10142:31;;;;;;;;;10113:73;;10122:6;;10142:43;;10178:6;10142:43;:35;:43;:::i;:::-;10113:8;:73::i;:::-;-1:-1:-1;10204:4:0;9960:256;;;;;:::o;15006:34::-;15039:1;15006:34;:::o;10625:206::-;10731:10;10705:4;10752:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;10752:32:0;;;;;;;;;;10705:4;;10722:79;;10743:7;;10752:48;;10789:10;10752:48;:36;:48;:::i;8518:110::-;-1:-1:-1;;;;;8602:18:0;8575:7;8602:18;;;:9;:18;;;;;;;8518:110::o;15282:382::-;15212:10;15204:19;;;;:7;:19;;;;;;;;15196:58;;;;;-1:-1:-1;;;;;15196:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15390:15;;15424:7;15416:48;;;;;-1:-1:-1;;;;;15416:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15490:7;:14;15483:3;:21;15475:81;;;;-1:-1:-1;;;;;15475:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15574:6;15569:88;15590:3;15586:1;:7;15569:88;;;15615:30;15621:8;15630:1;15621:11;;;;;;;;;;;;;;15634:7;15642:1;15634:10;;;;;;;;;;;;;;15615:30;;:5;:30::i;:::-;15595:3;;15569:88;;;;15265:1;15282:382;;:::o;3663:20::-;;;-1:-1:-1;;;;;3663:20:0;;:::o;14962:37::-;;;;;;;;;;;;;;-1:-1:-1;;;;;14962:37:0;;;;:::o;11334:216::-;11445:10;11419:4;11466:23;;;:11;:23;;;;;;;;-1:-1:-1;;;;;11466:32:0;;;;;;;;;;11419:4;;11436:84;;11457:7;;11466:53;;11503:15;11466:53;:36;:53;:::i;8841:156::-;8910:4;8927:40;8937:10;8949:9;8960:6;8927:9;:40::i;9060:134::-;-1:-1:-1;;;;;9159:18:0;;;9132:7;9159:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;9060:134::o;14137:335::-;-1:-1:-1;;;;;14230:19:0;;14222:68;;;;-1:-1:-1;;;;;14222:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14309:21:0;;14301:68;;;;-1:-1:-1;;;;;14301:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;14382:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:35;;;14433:31;;;;;;;;;;;;;;;;;14137:335;;;:::o;12040:429::-;-1:-1:-1;;;;;12138:20:0;;12130:70;;;;-1:-1:-1;;;;;12130:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;12219:23:0;;12211:71;;;;-1:-1:-1;;;;;12211:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;12315:17:0;;;;;;:9;:17;;;;;;:29;;12337:6;12315:29;:21;:29;:::i;:::-;-1:-1:-1;;;;;12295:17:0;;;;;;;:9;:17;;;;;;:49;;;;12378:20;;;;;;;:32;;12403:6;12378:32;:24;:32;:::i;:::-;-1:-1:-1;;;;;12355:20:0;;;;;;;:9;:20;;;;;;;;;:55;;;;12426:35;;;;;;;12355:20;;12426:35;;;;;;;;;;;;;12040:429;;;:::o;1317:184::-;1375:7;1408:1;1403;:6;;1395:49;;;;;-1:-1:-1;;;;;1395:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;1467:5:0;;;1317:184::o;861:181::-;919:7;951:5;;;975:6;;;;967:46;;;;;-1:-1:-1;;;;;967:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;1033:1;861:181;-1:-1:-1;;;861:181:0:o;12750:308::-;-1:-1:-1;;;;;12826:21:0;;12818:65;;;;;-1:-1:-1;;;;;12818:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;12911:12;;:24;;12928:6;12911:24;:16;:24;:::i;:::-;12896:12;:39;-1:-1:-1;;;;;12967:18:0;;;;;;:9;:18;;;;;;:30;;12990:6;12967:30;:22;:30;:::i;:::-;-1:-1:-1;;;;;12946:18:0;;;;;;:9;:18;;;;;;;;:51;;;;13013:37;;;;;;;12946:18;;;;13013:37;;;;;;;;;;12750:308;;:::o

Swarm Source

bzzr://0198785a57412810133f386f6e17eb101670c8e04d2e6f0d92cbe84c6b8b6532
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.