ETH Price: $3,247.99 (+2.30%)
Gas: 3 Gwei

Token

Rebased (REB)
 

Overview

Max Total Supply

1,907,412.747493445 REB

Holders

220 (0.00%)

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
30.518603959 REB

Value
$0.00
0xd6532dfee83459b8bef5014d52ac82ff0ece54ca
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Rebased is an elastic supply currency with a focus on trustlessness and community.

ICO Information

ICO Address : 0x9D8B3FFcC7217aa872AB8fb1C4e06d3E8bAa7CD5
ICO Start Date : Aug 14, 2020
ICO End Date : Aug 14, 2020
ICO Price : $0.80 - $0.90

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Rebased

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-08-13
*/

// SPDX-License-Identifier: MIT

/*
MIT License

Copyright (c) 2018 requestnetwork
Copyright (c) 2018 Fragments, Inc.
Copyright (c) 2020 Rebased

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/

pragma solidity ^0.6.12;

/**
 * @title SafeMath
 * @dev Math operations with safety checks that revert on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, 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 numbers truncating the quotient, reverts on division by zero.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b > 0); // Solidity only automatically asserts when dividing by 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 numbers, 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 numbers, 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 numbers 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;
  }
}

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
interface IERC20 {
  function totalSupply() external view returns (uint256);

  function balanceOf(address who) external view returns (uint256);

  function allowance(address owner, address spender)
    external view returns (uint256);

  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);

  event Transfer(
    address indexed from,
    address indexed to,
    uint256 value
  );

  event Approval(
    address indexed owner,
    address indexed spender,
    uint256 value
  );
}

abstract contract ERC20Detailed is IERC20 {
    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for `name`, `symbol`, and `decimals`. All three of
     * these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name, string memory symbol, uint8 decimals) public {
        _name = name;
        _symbol = symbol;
        _decimals = decimals;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei.
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view returns (uint8) {
        return _decimals;
    }
}

/**
 * @title SafeMathInt
 * @dev Math operations for int256 with overflow safety checks.
 */
library SafeMathInt {
    int256 private constant MIN_INT256 = int256(1) << 255;
    int256 private constant MAX_INT256 = ~(int256(1) << 255);

    /**
     * @dev Multiplies two int256 variables and fails on overflow.
     */
    function mul(int256 a, int256 b)
        internal
        pure
        returns (int256)
    {
        int256 c = a * b;

        // Detect overflow when multiplying MIN_INT256 with -1
        require(c != MIN_INT256 || (a & MIN_INT256) != (b & MIN_INT256));
        require((b == 0) || (c / b == a));
        return c;
    }

    /**
     * @dev Division of two int256 variables and fails on overflow.
     */
    function div(int256 a, int256 b)
        internal
        pure
        returns (int256)
    {
        // Prevent overflow when dividing MIN_INT256 by -1
        require(b != -1 || a != MIN_INT256);

        // Solidity already throws when dividing by 0.
        return a / b;
    }

    /**
     * @dev Subtracts two int256 variables and fails on overflow.
     */
    function sub(int256 a, int256 b)
        internal
        pure
        returns (int256)
    {
        int256 c = a - b;
        require((b >= 0 && c <= a) || (b < 0 && c > a));
        return c;
    }

    /**
     * @dev Adds two int256 variables and fails on overflow.
     */
    function add(int256 a, int256 b)
        internal
        pure
        returns (int256)
    {
        int256 c = a + b;
        require((b >= 0 && c >= a) || (b < 0 && c < a));
        return c;
    }

    /**
     * @dev Converts to absolute value, and fails on overflow.
     */
    function abs(int256 a)
        internal
        pure
        returns (int256)
    {
        require(a != MIN_INT256);
        return a < 0 ? -a : a;
    }
}

/**
 * @title Rebased ERC20 token
 * @dev Rebased is based on the uFragments Ideal Money protocol.
 *      uFragments is a normal ERC20 token, but its supply can be adjusted by splitting and
 *      combining tokens proportionally across all wallets.
 *
 *      uFragment balances are internally represented with a hidden denomination, 'gons'.
 *      We support splitting the currency in expansion and combining the currency on contraction by
 *      changing the exchange rate between the hidden 'gons' and the public 'fragments'.
 */
contract Rebased is ERC20Detailed {
    using SafeMath for uint256;
    using SafeMathInt for int256;

    event LogRebase(uint256 indexed epoch, uint256 totalSupply);

    // Used for authentication
    address public monetaryPolicy;

    modifier onlyMonetaryPolicy() {
        require(msg.sender == monetaryPolicy);
        _;
    }

    modifier validRecipient(address to) {
        require(to != address(0x0));
        require(to != address(this));
        _;
    }

    uint256 private constant DECIMALS = 9;
    uint256 private constant MAX_UINT256 = ~uint256(0);
    uint256 private constant INITIAL_FRAGMENTS_SUPPLY =  25 * 10**5 * 10**DECIMALS;

    // TOTAL_GONS is a multiple of INITIAL_FRAGMENTS_SUPPLY so that _gonsPerFragment is an integer.
    // Use the highest value that fits in a uint256 for max granularity.
    uint256 private constant TOTAL_GONS = MAX_UINT256 - (MAX_UINT256 % INITIAL_FRAGMENTS_SUPPLY);

    // MAX_SUPPLY = maximum integer < (sqrt(4*TOTAL_GONS + 1) - 1) / 2
    uint256 private constant MAX_SUPPLY = ~uint128(0);  // (2^128) - 1

    uint256 private _totalSupply;
    uint256 private _gonsPerFragment;
    mapping(address => uint256) private _gonBalances;

    // This is denominated in Fragments, because the gons-fragments conversion might change before
    // it's fully paid.
    mapping (address => mapping (address => uint256)) private _allowedFragments;

    /**
     * @dev Notifies Fragments contract about a new rebase cycle.
     * @param supplyDelta The number of new fragment tokens to add into circulation via expansion.
     * @return The total number of fragments after the supply adjustment.
     */
    function rebase(uint256 epoch, int256 supplyDelta)
        external
        onlyMonetaryPolicy
        returns (uint256)
    {
        if (supplyDelta == 0) {
            emit LogRebase(epoch, _totalSupply);
            return _totalSupply;
        }

        if (supplyDelta < 0) {
            _totalSupply = _totalSupply.sub(uint256(supplyDelta.abs()));
        } else {
            _totalSupply = _totalSupply.add(uint256(supplyDelta));
        }

        if (_totalSupply > MAX_SUPPLY) {
            _totalSupply = MAX_SUPPLY;
        }

        _gonsPerFragment = TOTAL_GONS.div(_totalSupply);

        // From this point forward, _gonsPerFragment is taken as the source of truth.
        // We recalculate a new _totalSupply to be in agreement with the _gonsPerFragment
        // conversion rate.
        // This means our applied supplyDelta can deviate from the requested supplyDelta,
        // but this deviation is guaranteed to be < (_totalSupply^2)/(TOTAL_GONS - _totalSupply).
        //
        // In the case of _totalSupply <= MAX_UINT128 (our current supply cap), this
        // deviation is guaranteed to be < 1, so we can omit this step. If the supply cap is
        // ever increased, it must be re-included.
        // _totalSupply = TOTAL_GONS.div(_gonsPerFragment)

        emit LogRebase(epoch, _totalSupply);
        return _totalSupply;
    }

    constructor(address _monetaryPolicy) 
        ERC20Detailed("Rebased", "REB", uint8(DECIMALS))
        public
    {
        _totalSupply = INITIAL_FRAGMENTS_SUPPLY;
        _gonBalances[msg.sender] = TOTAL_GONS;
        _gonsPerFragment = TOTAL_GONS.div(_totalSupply);
        
        monetaryPolicy = _monetaryPolicy;

        emit Transfer(address(0x0), msg.sender, _totalSupply);
    }

    /**
     * @return The total number of fragments.
     */
    function totalSupply()
        external
        override
        view
        returns (uint256)
    {
        return _totalSupply;
    }

    /**
     * @param who The address to query.
     * @return The balance of the specified address.
     */
    function balanceOf(address who)
        external
        override
        view
        returns (uint256)
    {
        return _gonBalances[who].div(_gonsPerFragment);
    }

    /**
     * @dev Transfer tokens to a specified address.
     * @param to The address to transfer to.
     * @param value The amount to be transferred.
     * @return True on success, false otherwise.
     */
    function transfer(address to, uint256 value)
        external
        override
        validRecipient(to)
        returns (bool)
    {
        uint256 gonValue = value.mul(_gonsPerFragment);
        _gonBalances[msg.sender] = _gonBalances[msg.sender].sub(gonValue);
        _gonBalances[to] = _gonBalances[to].add(gonValue);
        emit Transfer(msg.sender, to, value);
        return true;
    }

    /**
     * @dev Function to check the amount of tokens that an owner has allowed to a spender.
     * @param owner_ The address which owns the funds.
     * @param spender The address which will spend the funds.
     * @return The number of tokens still available for the spender.
     */
    function allowance(address owner_, address spender)
        external
        override
        view
        returns (uint256)
    {
        return _allowedFragments[owner_][spender];
    }

    /**
     * @dev Transfer tokens from one address to another.
     * @param from The address you want to send tokens from.
     * @param to The address you want to transfer to.
     * @param value The amount of tokens to be transferred.
     */
    function transferFrom(address from, address to, uint256 value)
        external
        override
        validRecipient(to)
        returns (bool)
    {
        _allowedFragments[from][msg.sender] = _allowedFragments[from][msg.sender].sub(value);

        uint256 gonValue = value.mul(_gonsPerFragment);
        _gonBalances[from] = _gonBalances[from].sub(gonValue);
        _gonBalances[to] = _gonBalances[to].add(gonValue);
        emit Transfer(from, to, value);

        return true;
    }

    /**
     * @dev Approve the passed address to spend the specified amount of tokens on behalf of
     * msg.sender. This method is included for ERC20 compatibility.
     * increaseAllowance and decreaseAllowance should be used instead.
     * Changing an allowance with this method brings the risk that someone may transfer both
     * the old and the new allowance - if they are both greater than zero - if a transfer
     * transaction is mined before the later approve() call is mined.
     *
     * @param spender The address which will spend the funds.
     * @param value The amount of tokens to be spent.
     */
    function approve(address spender, uint256 value)
        external
        override
        returns (bool)
    {
        _allowedFragments[msg.sender][spender] = value;
        emit Approval(msg.sender, spender, value);
        return true;
    }

    /**
     * @dev Increase the amount of tokens that an owner has allowed to a spender.
     * This method should be used instead of approve() to avoid the double approval vulnerability
     * described above.
     * @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)
        external
        returns (bool)
    {
        _allowedFragments[msg.sender][spender] =
            _allowedFragments[msg.sender][spender].add(addedValue);
        emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]);
        return true;
    }

    /**
     * @dev Decrease the amount of tokens that an owner has allowed to a spender.
     *
     * @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)
        external
        returns (bool)
    {
        uint256 oldValue = _allowedFragments[msg.sender][spender];
        if (subtractedValue >= oldValue) {
            _allowedFragments[msg.sender][spender] = 0;
        } else {
            _allowedFragments[msg.sender][spender] = oldValue.sub(subtractedValue);
        }
        emit Approval(msg.sender, spender, _allowedFragments[msg.sender][spender]);
        return true;
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_monetaryPolicy","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"epoch","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"totalSupply","type":"uint256"}],"name":"LogRebase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner_","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"who","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"monetaryPolicy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"epoch","type":"uint256"},{"internalType":"int256","name":"supplyDelta","type":"int256"}],"name":"rebase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50604051610ca5380380610ca58339818101604052602081101561003357600080fd5b50516040805180820182526007815266149958985cd95960ca1b6020828101918252835180850190945260038452622922a160e91b9084015281519192916009916100819160009190610172565b508151610095906001906020850190610172565b506002805460ff191660ff9290921691909117905550506608e1bc9bf04000600390815533600090815260056020908152604090912066055b706271bfff199081905591546100ec9291610150811b6109bc17901c565b60045560028054610100600160a81b0319166101006001600160a01b03841602179055600354604080519182525133916000917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef916020908290030190a350610205565b600080821161015e57600080fd5b600082848161016957fe5b04949350505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106101b357805160ff19168380011785556101e0565b828001600101855582156101e0579182015b828111156101e05782518255916020019190600101906101c5565b506101ec9291506101f0565b5090565b5b808211156101ec57600081556001016101f1565b610a91806102146000396000f3fe608060405234801561001057600080fd5b50600436106100cf5760003560e01c806370a082311161008c57806395d89b411161006657806395d89b4114610298578063a457c2d7146102a0578063a9059cbb146102cc578063dd62ed3e146102f8576100cf565b806370a082311461022b5780637a43e23f146102515780638e27d7d714610274576100cf565b806306fdde03146100d4578063095ea7b31461015157806318160ddd1461019157806323b872dd146101ab578063313ce567146101e157806339509351146101ff575b600080fd5b6100dc610326565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101165781810151838201526020016100fe565b50505050905090810190601f1680156101435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61017d6004803603604081101561016757600080fd5b506001600160a01b0381351690602001356103bc565b604080519115158252519081900360200190f35b610199610423565b60408051918252519081900360200190f35b61017d600480360360608110156101c157600080fd5b506001600160a01b03813581169160208101359091169060400135610429565b6101e9610570565b6040805160ff9092168252519081900360200190f35b61017d6004803603604081101561021557600080fd5b506001600160a01b038135169060200135610579565b6101996004803603602081101561024157600080fd5b50356001600160a01b031661060c565b6101996004803603604081101561026757600080fd5b5080359060200135610634565b61027c610748565b604080516001600160a01b039092168252519081900360200190f35b6100dc61075c565b61017d600480360360408110156102b657600080fd5b506001600160a01b0381351690602001356107bc565b61017d600480360360408110156102e257600080fd5b506001600160a01b0381351690602001356108a5565b6101996004803603604081101561030e57600080fd5b506001600160a01b0381358116916020013516610991565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103b25780601f10610387576101008083540402835291602001916103b2565b820191906000526020600020905b81548152906001019060200180831161039557829003601f168201915b5050505050905090565b3360008181526006602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60035490565b6000826001600160a01b03811661043f57600080fd5b6001600160a01b03811630141561045557600080fd5b6001600160a01b038516600090815260066020908152604080832033845290915290205461048390846109de565b6001600160a01b03861660009081526006602090815260408083203384529091528120919091556004546104b89085906109f3565b6001600160a01b0387166000908152600560205260409020549091506104de90826109de565b6001600160a01b03808816600090815260056020526040808220939093559087168152205461050d9082610a21565b6001600160a01b0380871660008181526005602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350600195945050505050565b60025460ff1690565b3360009081526006602090815260408083206001600160a01b03861684529091528120546105a79083610a21565b3360008181526006602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6004546001600160a01b038216600090815260056020526040812054909161041d91906109bc565b60025460009061010090046001600160a01b0316331461065357600080fd5b8161069957600354604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a25060035461041d565b60008212156106bf576106b76106ae83610a33565b600354906109de565b6003556106d0565b6003546106cc9083610a21565b6003555b6003546001600160801b0310156106ed576001600160801b036003555b6003546107039066055b706271bfff19906109bc565b600455600354604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a25060035492915050565b60025461010090046001600160a01b031681565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156103b25780601f10610387576101008083540402835291602001916103b2565b3360009081526006602090815260408083206001600160a01b0386168452909152812054808310610810573360009081526006602090815260408083206001600160a01b038816845290915281205561083f565b61081a81846109de565b3360009081526006602090815260408083206001600160a01b03891684529091529020555b3360008181526006602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b0381166108bb57600080fd5b6001600160a01b0381163014156108d157600080fd5b60006108e8600454856109f390919063ffffffff16565b3360009081526005602052604090205490915061090590826109de565b33600090815260056020526040808220929092556001600160a01b038716815220546109319082610a21565b6001600160a01b0386166000818152600560209081526040918290209390935580518781529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001949350505050565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b60008082116109ca57600080fd5b60008284816109d557fe5b04949350505050565b6000828211156109ed57600080fd5b50900390565b600082610a025750600061041d565b82820282848281610a0f57fe5b0414610a1a57600080fd5b9392505050565b600082820183811015610a1a57600080fd5b6000600160ff1b821415610a4657600080fd5b60008212610a54578161041d565b506000039056fea26469706673582212202c2aebf6e70bd93e177a98f1d1bc6f168a6f0dd400aade32bc12190fed74ff3864736f6c634300060c00330000000000000000000000001c0a9a8fc9182b82dc69866c80f4cfe0d483c510

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100cf5760003560e01c806370a082311161008c57806395d89b411161006657806395d89b4114610298578063a457c2d7146102a0578063a9059cbb146102cc578063dd62ed3e146102f8576100cf565b806370a082311461022b5780637a43e23f146102515780638e27d7d714610274576100cf565b806306fdde03146100d4578063095ea7b31461015157806318160ddd1461019157806323b872dd146101ab578063313ce567146101e157806339509351146101ff575b600080fd5b6100dc610326565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101165781810151838201526020016100fe565b50505050905090810190601f1680156101435780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61017d6004803603604081101561016757600080fd5b506001600160a01b0381351690602001356103bc565b604080519115158252519081900360200190f35b610199610423565b60408051918252519081900360200190f35b61017d600480360360608110156101c157600080fd5b506001600160a01b03813581169160208101359091169060400135610429565b6101e9610570565b6040805160ff9092168252519081900360200190f35b61017d6004803603604081101561021557600080fd5b506001600160a01b038135169060200135610579565b6101996004803603602081101561024157600080fd5b50356001600160a01b031661060c565b6101996004803603604081101561026757600080fd5b5080359060200135610634565b61027c610748565b604080516001600160a01b039092168252519081900360200190f35b6100dc61075c565b61017d600480360360408110156102b657600080fd5b506001600160a01b0381351690602001356107bc565b61017d600480360360408110156102e257600080fd5b506001600160a01b0381351690602001356108a5565b6101996004803603604081101561030e57600080fd5b506001600160a01b0381358116916020013516610991565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156103b25780601f10610387576101008083540402835291602001916103b2565b820191906000526020600020905b81548152906001019060200180831161039557829003601f168201915b5050505050905090565b3360008181526006602090815260408083206001600160a01b038716808552908352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a35060015b92915050565b60035490565b6000826001600160a01b03811661043f57600080fd5b6001600160a01b03811630141561045557600080fd5b6001600160a01b038516600090815260066020908152604080832033845290915290205461048390846109de565b6001600160a01b03861660009081526006602090815260408083203384529091528120919091556004546104b89085906109f3565b6001600160a01b0387166000908152600560205260409020549091506104de90826109de565b6001600160a01b03808816600090815260056020526040808220939093559087168152205461050d9082610a21565b6001600160a01b0380871660008181526005602090815260409182902094909455805188815290519193928a16927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a350600195945050505050565b60025460ff1690565b3360009081526006602090815260408083206001600160a01b03861684529091528120546105a79083610a21565b3360008181526006602090815260408083206001600160a01b0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6004546001600160a01b038216600090815260056020526040812054909161041d91906109bc565b60025460009061010090046001600160a01b0316331461065357600080fd5b8161069957600354604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a25060035461041d565b60008212156106bf576106b76106ae83610a33565b600354906109de565b6003556106d0565b6003546106cc9083610a21565b6003555b6003546001600160801b0310156106ed576001600160801b036003555b6003546107039066055b706271bfff19906109bc565b600455600354604080519182525184917f72725a3b1e5bd622d6bcd1339bb31279c351abe8f541ac7fd320f24e1b1641f2919081900360200190a25060035492915050565b60025461010090046001600160a01b031681565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156103b25780601f10610387576101008083540402835291602001916103b2565b3360009081526006602090815260408083206001600160a01b0386168452909152812054808310610810573360009081526006602090815260408083206001600160a01b038816845290915281205561083f565b61081a81846109de565b3360009081526006602090815260408083206001600160a01b03891684529091529020555b3360008181526006602090815260408083206001600160a01b0389168085529083529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060019392505050565b6000826001600160a01b0381166108bb57600080fd5b6001600160a01b0381163014156108d157600080fd5b60006108e8600454856109f390919063ffffffff16565b3360009081526005602052604090205490915061090590826109de565b33600090815260056020526040808220929092556001600160a01b038716815220546109319082610a21565b6001600160a01b0386166000818152600560209081526040918290209390935580518781529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001949350505050565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205490565b60008082116109ca57600080fd5b60008284816109d557fe5b04949350505050565b6000828211156109ed57600080fd5b50900390565b600082610a025750600061041d565b82820282848281610a0f57fe5b0414610a1a57600080fd5b9392505050565b600082820183811015610a1a57600080fd5b6000600160ff1b821415610a4657600080fd5b60008212610a54578161041d565b506000039056fea26469706673582212202c2aebf6e70bd93e177a98f1d1bc6f168a6f0dd400aade32bc12190fed74ff3864736f6c634300060c0033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000001c0a9a8fc9182b82dc69866c80f4cfe0d483c510

-----Decoded View---------------
Arg [0] : _monetaryPolicy (address): 0x1c0a9a8Fc9182B82dC69866C80F4Cfe0D483c510

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000001c0a9a8fc9182b82dc69866c80f4cfe0d483c510


Deployed Bytecode Sourcemap

7681:8332:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4280:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14263:253;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;14263:253:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;11274:143;;;:::i;:::-;;;;;;;;;;;;;;;;13114:507;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;13114:507:0;;;;;;;;;;;;;;;;;:::i;5132:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;14889:345;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;14889:345:0;;;;;;;;:::i;11538:179::-;;;;;;;;;;;;;;;;-1:-1:-1;11538:179:0;-1:-1:-1;;;;;11538:179:0;;:::i;9387:1406::-;;;;;;;;;;;;;;;;-1:-1:-1;9387:1406:0;;;;;;;:::i;7892:29::-;;;:::i;:::-;;;;-1:-1:-1;;;;;7892:29:0;;;;;;;;;;;;;;4482:87;;;:::i;15496:514::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;15496:514:0;;;;;;;;:::i;11943:408::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;11943:408:0;;;;;;;;:::i;12658:194::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;12658:194:0;;;;;;;;;;:::i;4280:83::-;4350:5;4343:12;;;;;;;;-1:-1:-1;;4343:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4317:13;;4343:12;;4350:5;;4343:12;;4350:5;4343:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4280:83;:::o;14263:253::-;14406:10;14366:4;14388:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;14388:38:0;;;;;;;;;;;:46;;;14450:36;;;;;;;14366:4;;14388:38;;14406:10;;14450:36;;;;;;;;-1:-1:-1;14504:4:0;14263:253;;;;;:::o;11274:143::-;11397:12;;11274:143;:::o;13114:507::-;13259:4;13237:2;-1:-1:-1;;;;;8091:18:0;;8083:27;;;;;;-1:-1:-1;;;;;8129:19:0;;8143:4;8129:19;;8121:28;;;;;;-1:-1:-1;;;;;13319:23:0;::::1;;::::0;;;:17:::1;:23;::::0;;;;;;;13343:10:::1;13319:35:::0;;;;;;;;:46:::1;::::0;13359:5;13319:39:::1;:46::i;:::-;-1:-1:-1::0;;;;;13281:23:0;::::1;;::::0;;;:17:::1;:23;::::0;;;;;;;13305:10:::1;13281:35:::0;;;;;;;:84;;;;13407:16:::1;::::0;13397:27:::1;::::0;:5;;:9:::1;:27::i;:::-;-1:-1:-1::0;;;;;13456:18:0;::::1;;::::0;;;:12:::1;:18;::::0;;;;;13378:46;;-1:-1:-1;13456:32:0::1;::::0;13378:46;13456:22:::1;:32::i;:::-;-1:-1:-1::0;;;;;13435:18:0;;::::1;;::::0;;;:12:::1;:18;::::0;;;;;:53;;;;13518:16;;::::1;::::0;;;;:30:::1;::::0;13539:8;13518:20:::1;:30::i;:::-;-1:-1:-1::0;;;;;13499:16:0;;::::1;;::::0;;;:12:::1;:16;::::0;;;;;;;;:49;;;;13564:25;;;;;;;13499:16;;13564:25;;::::1;::::0;::::1;::::0;;;;;;;::::1;-1:-1:-1::0;13609:4:0::1;::::0;13114:507;-1:-1:-1;;;;;13114:507:0:o;5132:83::-;5198:9;;;;5132:83;:::o;14889:345::-;15083:10;14989:4;15065:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;15065:38:0;;;;;;;;;;:54;;15108:10;15065:42;:54::i;:::-;15029:10;15011:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;15011:38:0;;;;;;;;;;;;:108;;;15135:69;;;;;;15011:38;;15135:69;;;;;;;;;;;-1:-1:-1;15222:4:0;14889:345;;;;:::o;11538:179::-;11692:16;;-1:-1:-1;;;;;11670:17:0;;11638:7;11670:17;;;:12;:17;;;;;;11638:7;;11670:39;;:17;:21;:39::i;9387:1406::-;7993:14;;9502:7;;7993:14;;;-1:-1:-1;;;;;7993:14:0;7979:10;:28;7971:37;;;;;;9531:16;9527:118:::1;;9586:12;::::0;9569:30:::1;::::0;;;;;;9579:5;;9569:30:::1;::::0;;;;;::::1;::::0;;::::1;-1:-1:-1::0;9621:12:0::1;::::0;9614:19:::1;;9527:118;9675:1;9661:11;:15;9657:193;;;9708:44;9733:17;:11;:15;:17::i;:::-;9708:12;::::0;;:16:::1;:44::i;:::-;9693:12;:59:::0;9657:193:::1;;;9800:12;::::0;:38:::1;::::0;9825:11;9800:16:::1;:38::i;:::-;9785:12;:53:::0;9657:193:::1;9866:12;::::0;-1:-1:-1;;;;;;9862:83:0::1;;;-1:-1:-1::0;;;;;9908:12:0::1;:25:::0;9862:83:::1;9991:12;::::0;9976:28:::1;::::0;-1:-1:-1;;8578:54:0;9976:14:::1;:28::i;:::-;9957:16;:47:::0;10742:12:::1;::::0;10725:30:::1;::::0;;;;;;10735:5;;10725:30:::1;::::0;;;;;::::1;::::0;;::::1;-1:-1:-1::0;10773:12:0::1;::::0;9387:1406;;;;:::o;7892:29::-;;;;;;-1:-1:-1;;;;;7892:29:0;;:::o;4482:87::-;4554:7;4547:14;;;;;;;;-1:-1:-1;;4547:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4521:13;;4547:14;;4554:7;;4547:14;;4554:7;4547:14;;;;;;;;;;;;;;;;;;;;;;;;15496:514;15660:10;15601:4;15642:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;15642:38:0;;;;;;;;;;15695:27;;;15691:205;;15757:10;15780:1;15739:29;;;:17;:29;;;;;;;;-1:-1:-1;;;;;15739:38:0;;;;;;;;;:42;15691:205;;;15855:29;:8;15868:15;15855:12;:29::i;:::-;15832:10;15814:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;15814:38:0;;;;;;;;;:70;15691:205;15920:10;15941:29;;;;:17;:29;;;;;;;;-1:-1:-1;;;;;15911:69:0;;15941:38;;;;;;;;;;;15911:69;;;;;;;;;15920:10;15911:69;;;;;;;;;;;-1:-1:-1;15998:4:0;;15496:514;-1:-1:-1;;;15496:514:0:o;11943:408::-;12070:4;12048:2;-1:-1:-1;;;;;8091:18:0;;8083:27;;;;;;-1:-1:-1;;;;;8129:19:0;;8143:4;8129:19;;8121:28;;;;;;12092:16:::1;12111:27;12121:16;;12111:5;:9;;:27;;;;:::i;:::-;12189:10;12176:24;::::0;;;:12:::1;:24;::::0;;;;;12092:46;;-1:-1:-1;12176:38:0::1;::::0;12092:46;12176:28:::1;:38::i;:::-;12162:10;12149:24;::::0;;;:12:::1;:24;::::0;;;;;:65;;;;-1:-1:-1;;;;;12244:16:0;::::1;::::0;;;;:30:::1;::::0;12265:8;12244:20:::1;:30::i;:::-;-1:-1:-1::0;;;;;12225:16:0;::::1;;::::0;;;:12:::1;:16;::::0;;;;;;;;:49;;;;12290:31;;;;;;;12225:16;;12299:10:::1;::::0;12290:31:::1;::::0;;;;;;;;::::1;-1:-1:-1::0;12339:4:0::1;::::0;11943:408;-1:-1:-1;;;;11943:408:0:o;12658:194::-;-1:-1:-1;;;;;12810:25:0;;;12778:7;12810:25;;;:17;:25;;;;;;;;:34;;;;;;;;;;;;;12658:194::o;1924:276::-;1982:7;2010:1;2006;:5;1998:14;;;;;;2077:9;2093:1;2089;:5;;;;;;;1924:276;-1:-1:-1;;;;1924:276:0:o;2318:136::-;2376:7;2405:1;2400;:6;;2392:15;;;;;;-1:-1:-1;2426:5:0;;;2318:136::o;1416:393::-;1474:7;1702:6;1698:37;;-1:-1:-1;1726:1:0;1719:8;;1698:37;1755:5;;;1759:1;1755;:5;:1;1775:5;;;;;:10;1767:19;;;;;;1802:1;1416:393;-1:-1:-1;;;1416:393:0:o;2522:136::-;2580:7;2608:5;;;2628:6;;;;2620:15;;;;;6966:161;7039:6;-1:-1:-1;;;7071:15:0;;;7063:24;;;;;;7109:1;7105;:5;:14;;7118:1;7105:14;;;-1:-1:-1;7113:2:0;;;6966:161::o

Swarm Source

ipfs://2c2aebf6e70bd93e177a98f1d1bc6f168a6f0dd400aade32bc12190fed74ff38
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.