ETH Price: $3,195.53 (+0.76%)

Token

TurboBase (TURBO)
 

Overview

Max Total Supply

269.17 TURBO

Holders

76

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
0.042522447016278486 TURBO

Value
$0.00
0xcc52cab1724c6a3d0859fc5bbb1bc0237baf9bb4
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:
turbobase

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-12-11
*/

pragma solidity 0.6.12;

// DISCLAIMER:  Project with experimental code 
// Telegram group link: https://t.me/turbobase
// For more information about TurboBase join telegram.

abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}
/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
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.
     *
     * IMPORTANT: 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 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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        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-contracts/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) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        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) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}
/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return _functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}
/**
 * @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 {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * 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 turbobase is Context, IERC20 {
    using SafeMath for uint256;
    using Address for address;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;
    
    uint256 public _multiplier;
    
    uint256 public _timeframe = 1 hours;
    uint256 public _changePerTimeframe;
    uint256 public _maxChangePerTimeFrame; //per 1 000 000
    uint256 public _lastUpdate; //Timestamp last updated

    uint256 public _tokenPrice;
    address public _uniOracleAddress;
    address public _uniPairAddress;
    address public _dev;
    
    
    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor () public {
        _name = "TurboBase";
        _symbol = "TURBO";
        _decimals = 18;
         _multiplier = 10000000000;
         _lastUpdate = block.timestamp;
         _changePerTimeframe = 10;
         _mint(msg.sender, 110000000000000000);
         _dev = msg.sender;
    }
    
    
    
    
    /**
     * @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. This is the value {ERC20} uses, unless {_setupDecimals} is
     * called.
     *
     * 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;
    }

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

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

    /**
     * @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 virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        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 `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(sender, _msgSender(), _allowances[sender][_msgSender()].sub(amount, "ERC20: transfer amount exceeds allowance"));
        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(_msgSender(), spender, _allowances[_msgSender()][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(_msgSender(), spender, _allowances[_msgSender()][spender].sub(subtractedValue, "ERC20: decreased allowance below zero"));
        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");
        require(amount >= _multiplier, "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);
        //only transfer fractions
        _balances[sender] = _balances[sender].sub(amount.div(_multiplier), "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount.div(_multiplier));
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     * amount in fractions
     * 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.mul(_multiplier));
    }

    /**
     * @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 amount) internal  {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        _balances[account] = _balances[account].sub(amount.div(_multiplier), "ERC20: burn amount exceeds balance");
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This 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 amount) internal  {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

    /**
     * @dev Sets {decimals} to a value other than the default one of 18.
     *
     * WARNING: This function should only be called from the constructor. Most
     * applications that interact with token contracts will not expect
     * {decimals} to ever change, and may work incorrectly if it does.
     */
    function _setupDecimals(uint8 decimals_) internal {
        _decimals = decimals_;
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be to transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal  { }
    /**
     * @dev Destroys `amount` tokens from the caller.
     *
     * See {ERC20-_burn}.
     */
    function burn(uint256 amount) public virtual {
        _burn(_msgSender(), amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, deducting from the caller's
     * allowance.
     *
     * See {ERC20-_burn} and {ERC20-allowance}.
     *
     * Requirements:
     *
     * - the caller must have allowance for ``accounts``'s tokens of at least
     * `amount`.
     */
    function burnFrom(address account, uint256 amount) public  {
        uint256 decreasedAllowance = allowance(account, _msgSender()).sub(amount, "ERC20: burn amount exceeds allowance");

        _approve(account, _msgSender(), decreasedAllowance);
        _burn(account, amount);
    }

    
    // update rebase modifier
    function TurboBase() noContractAllowed() public{
        
        uint256 before = _multiplier;
        _multiplier = timeAdjusted();
        if(before != _multiplier){
            _lastUpdate = block.timestamp;
            uniPairInterface(_uniPairAddress).sync();
        }
    }
    
    // returns multiplier after enacting rebase
    function timeAdjusted() public view returns (uint256) {
        // add grace section when on peg
        
        uint256 pointsChange = 0;
        uint256 timeElapsed = block.timestamp.sub(_lastUpdate);
        uint256 adjusted = _multiplier;
        if(timeElapsed > 0 && _multiplier.mul(timeElapsed) > _timeframe.mul(_changePerTimeframe) ) {
            pointsChange = _multiplier.mul(timeElapsed).div(_changePerTimeframe).div(_timeframe);
        }
        //if positive rebase (price > price)
        if(_tokenPrice > 100000000000000000000 && pointsChange > 0){
            adjusted = _multiplier.add(pointsChange);
        }
        // if negative rebase (price < price)
        if(_tokenPrice < 100000000000000000000 && pointsChange > 0 ){
            if(pointsChange < _multiplier){
                adjusted = _multiplier.sub(pointsChange);
            }
        }
        return (adjusted);
    }
    function setUniOracle(address uniOracleAddress) public{
        require(msg.sender == _dev);
        _uniOracleAddress = uniOracleAddress;
        
    }
    function setUniPair(address uniPair) public{
        require(msg.sender == _dev);
        _uniPairAddress = uniPair;
        
    }

    function tokenPriceOracleUpdate() noContractAllowed()  public{
        uint256 oracleAnswer = uint256(uniOracleInterface(_uniOracleAddress).updateAndConsult(address(this),1000000000000000000));
        if(oracleAnswer > 0){
            _tokenPrice = oracleAnswer;
        }
        
    }
    modifier noContractAllowed() {
            require(!address(msg.sender).isContract() && msg.sender == tx.origin, "Sorry we do not accept contract!");
        _;
    }
}

interface uniOracleInterface {
function updateAndConsult(address token, uint256 amountIn)
    external
    returns (uint256 amountOut);
    
}
interface uniPairInterface {
function sync() external;
}

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"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":[],"name":"TurboBase","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"_changePerTimeframe","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_dev","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_lastUpdate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxChangePerTimeFrame","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_multiplier","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_timeframe","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_uniOracleAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_uniPairAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"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":"amount","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"uniOracleAddress","type":"address"}],"name":"setUniOracle","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"uniPair","type":"address"}],"name":"setUniPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"timeAdjusted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPriceOracleUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}]

6080604052610e106007553480156200001757600080fd5b5060408051808201909152600980825268547572626f4261736560b81b60209092019182526200004a91600391620002a2565b5060408051808201909152600580825264545552424f60d81b60209092019182526200007991600491620002a2565b506005805460ff191660121790556402540be40060065542600a908155600855620000ad33670186cc6acd4b0000620000c5565b600e80546001600160a01b031916331790556200033e565b6001600160a01b03821662000121576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200013d81600254620001e060201b62000b9c1790919060201c565b6002556001600160a01b038216600090815260208181526040909120546200017091839062000b9c620001e0821b17901c565b6001600160a01b038316600081815260208181526040822093909355600654919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91620001cb91869162000bfd62000244821b17901c565b60408051918252519081900360200190a35050565b6000828201838110156200023b576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b90505b92915050565b60008262000255575060006200023e565b828202828482816200026357fe5b04146200023b5760405162461bcd60e51b8152600401808060200182810382526021815260200180620016b46021913960400191505060405180910390fd5b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002e557805160ff191683800117855562000315565b8280016001018555821562000315579182015b8281111562000315578251825591602001919060010190620002f8565b506200032392915062000327565b5090565b5b8082111562000323576000815560010162000328565b611366806200034e6000396000f3fe608060405234801561001057600080fd5b50600436106101a95760003560e01c806354843492116100f9578063a457c2d711610097578063b2ca23cd11610071578063b2ca23cd14610486578063dd62ed3e1461048e578063e79ffa11146104bc578063fca4b5c6146104c4576101a9565b8063a457c2d714610426578063a9059cbb14610452578063aba6b9521461047e576101a9565b8063747e2a3b116100d3578063747e2a3b146103e257806376732eef146103ea57806379cc6790146103f257806395d89b411461041e576101a9565b806354843492146103725780636cb202121461039657806370a08231146103bc576101a9565b806323b872dd116101665780633950935111610140578063395093511461031957806339c8de1a146103455780633b971f9f1461034d57806342966c6814610355576101a9565b806323b872dd146102bd578063313ce567146102f3578063352cd08314610311576101a9565b806306fdde03146101ae578063095ea7b31461022b5780630f018c501461026b578063104130001461027557806318160ddd1461028f5780631ffa302114610297575b600080fd5b6101b66104cc565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101f05781810151838201526020016101d8565b50505050905090810190601f16801561021d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102576004803603604081101561024157600080fd5b506001600160a01b038135169060200135610562565b604080519115158252519081900360200190f35b610273610580565b005b61027d61067d565b60408051918252519081900360200190f35b61027d61075e565b610273600480360360208110156102ad57600080fd5b50356001600160a01b031661077c565b610257600480360360608110156102d357600080fd5b506001600160a01b038135811691602081013590911690604001356107b5565b6102fb61083c565b6040805160ff9092168252519081900360200190f35b61027d610845565b6102576004803603604081101561032f57600080fd5b506001600160a01b03813516906020013561084b565b61027d610899565b61027d61089f565b6102736004803603602081101561036b57600080fd5b50356108a5565b61037a6108b6565b604080516001600160a01b039092168252519081900360200190f35b610273600480360360208110156103ac57600080fd5b50356001600160a01b03166108c5565b61027d600480360360208110156103d257600080fd5b50356001600160a01b03166108fe565b61027d610926565b61027d61092c565b6102736004803603604081101561040857600080fd5b506001600160a01b038135169060200135610932565b6101b661098c565b6102576004803603604081101561043c57600080fd5b506001600160a01b0381351690602001356109ed565b6102576004803603604081101561046857600080fd5b506001600160a01b038135169060200135610a55565b610273610a69565b61027d610b4d565b61027d600480360360408110156104a457600080fd5b506001600160a01b0381358116916020013516610b53565b61037a610b7e565b61037a610b8d565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105585780601f1061052d57610100808354040283529160200191610558565b820191906000526020600020905b81548152906001019060200180831161053b57829003601f168201915b5050505050905090565b600061057661056f610c56565b8484610c5a565b5060015b92915050565b61058933610d46565b15801561059557503332145b6105e6576040805162461bcd60e51b815260206004820181905260248201527f536f72727920776520646f206e6f742061636365707420636f6e747261637421604482015290519081900360640190fd5b600c5460408051632d3a9ee760e01b8152306004820152670de0b6b3a7640000602482015290516000926001600160a01b031691632d3a9ee791604480830192602092919082900301818787803b15801561064057600080fd5b505af1158015610654573d6000803e3d6000fd5b505050506040513d602081101561066a57600080fd5b50519050801561067a57600b8190555b50565b600a5460009081908190610692904290610d4c565b60065490915081158015906106c057506008546007546106b191610bfd565b6006546106be9084610bfd565b115b156106ef576106ec6007546106e66008546106e686600654610bfd90919063ffffffff16565b90610d8e565b92505b68056bc75e2d63100000600b541180156107095750600083115b1561071e5760065461071b9084610b9c565b90505b68056bc75e2d63100000600b541080156107385750600083115b1561075757600654831015610757576006546107549084610d4c565b90505b9250505090565b6000610777600654600254610bfd90919063ffffffff16565b905090565b600e546001600160a01b0316331461079357600080fd5b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006107c2848484610dd0565b610832846107ce610c56565b61082d85604051806060016040528060288152602001611256602891396001600160a01b038a1660009081526001602052604081209061080c610c56565b6001600160a01b031681526020810191909152604001600020549190610f9b565b610c5a565b5060019392505050565b60055460ff1690565b60095481565b6000610576610858610c56565b8461082d8560016000610869610c56565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610b9c565b60075481565b600b5481565b61067a6108b0610c56565b82611032565b600d546001600160a01b031681565b600e546001600160a01b031633146108dc57600080fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b038216600090815260208190526040812054909161057a9190610bfd565b60065481565b60085481565b60006109698260405180606001604052806024815260200161127e602491396109628661095d610c56565b610b53565b9190610f9b565b905061097d83610977610c56565b83610c5a565b6109878383611032565b505050565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105585780601f1061052d57610100808354040283529160200191610558565b60006105766109fa610c56565b8461082d8560405180606001604052806025815260200161130c6025913960016000610a24610c56565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610f9b565b6000610576610a62610c56565b8484610dd0565b610a7233610d46565b158015610a7e57503332145b610acf576040805162461bcd60e51b815260206004820181905260248201527f536f72727920776520646f206e6f742061636365707420636f6e747261637421604482015290519081900360640190fd5b600654610ada61067d565b6006819055811461067a5742600a55600d546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b158015610b3257600080fd5b505af1158015610b46573d6000803e3d6000fd5b5050505050565b600a5481565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600e546001600160a01b031681565b600c546001600160a01b031681565b600082820183811015610bf6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600082610c0c5750600061057a565b82820282848281610c1957fe5b0414610bf65760405162461bcd60e51b81526004018080602001828103825260218152602001806112356021913960400191505060405180910390fd5b3390565b6001600160a01b038316610c9f5760405162461bcd60e51b81526004018080602001828103825260248152602001806112e86024913960400191505060405180910390fd5b6001600160a01b038216610ce45760405162461bcd60e51b81526004018080602001828103825260228152602001806111ed6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b3b151590565b6000610bf683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f9b565b6000610bf683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611142565b6001600160a01b038316610e155760405162461bcd60e51b81526004018080602001828103825260258152602001806112c36025913960400191505060405180910390fd5b6001600160a01b038216610e5a5760405162461bcd60e51b81526004018080602001828103825260238152602001806111a86023913960400191505060405180910390fd5b600654811015610e9b5760405162461bcd60e51b81526004018080602001828103825260238152602001806111a86023913960400191505060405180910390fd5b610ea6838383610987565b610ef7610ebe60065483610d8e90919063ffffffff16565b60405180606001604052806026815260200161120f602691396001600160a01b0386166000908152602081905260409020549190610f9b565b6001600160a01b038416600090815260208190526040902055600654610f4190610f22908390610d8e565b6001600160a01b03841660009081526020819052604090205490610b9c565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561102a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610fef578181015183820152602001610fd7565b50505050905090810190601f16801561101c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0382166110775760405162461bcd60e51b81526004018080602001828103825260218152602001806112a26021913960400191505060405180910390fd5b61108382600083610987565b6110d461109b60065483610d8e90919063ffffffff16565b6040518060600160405280602281526020016111cb602291396001600160a01b0385166000908152602081905260409020549190610f9b565b6001600160a01b0383166000908152602081905260409020556002546110fa9082610d4c565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600081836111915760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610fef578181015183820152602001610fd7565b50600083858161119d57fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212202172b1cf3456eaaad194685cc6941712f040b715274882c84598321a68fd8a1564736f6c634300060c0033536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101a95760003560e01c806354843492116100f9578063a457c2d711610097578063b2ca23cd11610071578063b2ca23cd14610486578063dd62ed3e1461048e578063e79ffa11146104bc578063fca4b5c6146104c4576101a9565b8063a457c2d714610426578063a9059cbb14610452578063aba6b9521461047e576101a9565b8063747e2a3b116100d3578063747e2a3b146103e257806376732eef146103ea57806379cc6790146103f257806395d89b411461041e576101a9565b806354843492146103725780636cb202121461039657806370a08231146103bc576101a9565b806323b872dd116101665780633950935111610140578063395093511461031957806339c8de1a146103455780633b971f9f1461034d57806342966c6814610355576101a9565b806323b872dd146102bd578063313ce567146102f3578063352cd08314610311576101a9565b806306fdde03146101ae578063095ea7b31461022b5780630f018c501461026b578063104130001461027557806318160ddd1461028f5780631ffa302114610297575b600080fd5b6101b66104cc565b6040805160208082528351818301528351919283929083019185019080838360005b838110156101f05781810151838201526020016101d8565b50505050905090810190601f16801561021d5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102576004803603604081101561024157600080fd5b506001600160a01b038135169060200135610562565b604080519115158252519081900360200190f35b610273610580565b005b61027d61067d565b60408051918252519081900360200190f35b61027d61075e565b610273600480360360208110156102ad57600080fd5b50356001600160a01b031661077c565b610257600480360360608110156102d357600080fd5b506001600160a01b038135811691602081013590911690604001356107b5565b6102fb61083c565b6040805160ff9092168252519081900360200190f35b61027d610845565b6102576004803603604081101561032f57600080fd5b506001600160a01b03813516906020013561084b565b61027d610899565b61027d61089f565b6102736004803603602081101561036b57600080fd5b50356108a5565b61037a6108b6565b604080516001600160a01b039092168252519081900360200190f35b610273600480360360208110156103ac57600080fd5b50356001600160a01b03166108c5565b61027d600480360360208110156103d257600080fd5b50356001600160a01b03166108fe565b61027d610926565b61027d61092c565b6102736004803603604081101561040857600080fd5b506001600160a01b038135169060200135610932565b6101b661098c565b6102576004803603604081101561043c57600080fd5b506001600160a01b0381351690602001356109ed565b6102576004803603604081101561046857600080fd5b506001600160a01b038135169060200135610a55565b610273610a69565b61027d610b4d565b61027d600480360360408110156104a457600080fd5b506001600160a01b0381358116916020013516610b53565b61037a610b7e565b61037a610b8d565b60038054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105585780601f1061052d57610100808354040283529160200191610558565b820191906000526020600020905b81548152906001019060200180831161053b57829003601f168201915b5050505050905090565b600061057661056f610c56565b8484610c5a565b5060015b92915050565b61058933610d46565b15801561059557503332145b6105e6576040805162461bcd60e51b815260206004820181905260248201527f536f72727920776520646f206e6f742061636365707420636f6e747261637421604482015290519081900360640190fd5b600c5460408051632d3a9ee760e01b8152306004820152670de0b6b3a7640000602482015290516000926001600160a01b031691632d3a9ee791604480830192602092919082900301818787803b15801561064057600080fd5b505af1158015610654573d6000803e3d6000fd5b505050506040513d602081101561066a57600080fd5b50519050801561067a57600b8190555b50565b600a5460009081908190610692904290610d4c565b60065490915081158015906106c057506008546007546106b191610bfd565b6006546106be9084610bfd565b115b156106ef576106ec6007546106e66008546106e686600654610bfd90919063ffffffff16565b90610d8e565b92505b68056bc75e2d63100000600b541180156107095750600083115b1561071e5760065461071b9084610b9c565b90505b68056bc75e2d63100000600b541080156107385750600083115b1561075757600654831015610757576006546107549084610d4c565b90505b9250505090565b6000610777600654600254610bfd90919063ffffffff16565b905090565b600e546001600160a01b0316331461079357600080fd5b600d80546001600160a01b0319166001600160a01b0392909216919091179055565b60006107c2848484610dd0565b610832846107ce610c56565b61082d85604051806060016040528060288152602001611256602891396001600160a01b038a1660009081526001602052604081209061080c610c56565b6001600160a01b031681526020810191909152604001600020549190610f9b565b610c5a565b5060019392505050565b60055460ff1690565b60095481565b6000610576610858610c56565b8461082d8560016000610869610c56565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490610b9c565b60075481565b600b5481565b61067a6108b0610c56565b82611032565b600d546001600160a01b031681565b600e546001600160a01b031633146108dc57600080fd5b600c80546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b038216600090815260208190526040812054909161057a9190610bfd565b60065481565b60085481565b60006109698260405180606001604052806024815260200161127e602491396109628661095d610c56565b610b53565b9190610f9b565b905061097d83610977610c56565b83610c5a565b6109878383611032565b505050565b60048054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156105585780601f1061052d57610100808354040283529160200191610558565b60006105766109fa610c56565b8461082d8560405180606001604052806025815260200161130c6025913960016000610a24610c56565b6001600160a01b03908116825260208083019390935260409182016000908120918d16815292529020549190610f9b565b6000610576610a62610c56565b8484610dd0565b610a7233610d46565b158015610a7e57503332145b610acf576040805162461bcd60e51b815260206004820181905260248201527f536f72727920776520646f206e6f742061636365707420636f6e747261637421604482015290519081900360640190fd5b600654610ada61067d565b6006819055811461067a5742600a55600d546040805160016209351760e01b0319815290516001600160a01b039092169163fff6cae99160048082019260009290919082900301818387803b158015610b3257600080fd5b505af1158015610b46573d6000803e3d6000fd5b5050505050565b600a5481565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b600e546001600160a01b031681565b600c546001600160a01b031681565b600082820183811015610bf6576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600082610c0c5750600061057a565b82820282848281610c1957fe5b0414610bf65760405162461bcd60e51b81526004018080602001828103825260218152602001806112356021913960400191505060405180910390fd5b3390565b6001600160a01b038316610c9f5760405162461bcd60e51b81526004018080602001828103825260248152602001806112e86024913960400191505060405180910390fd5b6001600160a01b038216610ce45760405162461bcd60e51b81526004018080602001828103825260228152602001806111ed6022913960400191505060405180910390fd5b6001600160a01b03808416600081815260016020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b3b151590565b6000610bf683836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610f9b565b6000610bf683836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611142565b6001600160a01b038316610e155760405162461bcd60e51b81526004018080602001828103825260258152602001806112c36025913960400191505060405180910390fd5b6001600160a01b038216610e5a5760405162461bcd60e51b81526004018080602001828103825260238152602001806111a86023913960400191505060405180910390fd5b600654811015610e9b5760405162461bcd60e51b81526004018080602001828103825260238152602001806111a86023913960400191505060405180910390fd5b610ea6838383610987565b610ef7610ebe60065483610d8e90919063ffffffff16565b60405180606001604052806026815260200161120f602691396001600160a01b0386166000908152602081905260409020549190610f9b565b6001600160a01b038416600090815260208190526040902055600654610f4190610f22908390610d8e565b6001600160a01b03841660009081526020819052604090205490610b9c565b6001600160a01b038084166000818152602081815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b6000818484111561102a5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610fef578181015183820152602001610fd7565b50505050905090810190601f16801561101c5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6001600160a01b0382166110775760405162461bcd60e51b81526004018080602001828103825260218152602001806112a26021913960400191505060405180910390fd5b61108382600083610987565b6110d461109b60065483610d8e90919063ffffffff16565b6040518060600160405280602281526020016111cb602291396001600160a01b0385166000908152602081905260409020549190610f9b565b6001600160a01b0383166000908152602081905260409020556002546110fa9082610d4c565b6002556040805182815290516000916001600160a01b038516917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9181900360200190a35050565b600081836111915760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610fef578181015183820152602001610fd7565b50600083858161119d57fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f206164647265737345524332303a206275726e20616d6f756e7420657863656564732062616c616e636545524332303a20617070726f766520746f20746865207a65726f206164647265737345524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f7745524332303a207472616e7366657220616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e20616d6f756e74206578636565647320616c6c6f77616e636545524332303a206275726e2066726f6d20746865207a65726f206164647265737345524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa26469706673582212202172b1cf3456eaaad194685cc6941712f040b715274882c84598321a68fd8a1564736f6c634300060c0033

Deployed Bytecode Sourcemap

15723:13361:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17208:83;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19368:169;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19368:169:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;28612:294;;;:::i;:::-;;27375:925;;;:::i;:::-;;;;;;;;;;;;;;;;18283:127;;;:::i;28469:135::-;;;;;;;;;;;;;;;;-1:-1:-1;28469:135:0;-1:-1:-1;;;;;28469:135:0;;:::i;20011:321::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20011:321:0;;;;;;;;;;;;;;;;;:::i;18135:83::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;16219:37;;;:::i;20741:211::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;20741:211:0;;;;;;;;:::i;16136:35::-;;;:::i;16339:26::-;;;:::i;26282:91::-;;;;;;;;;;;;;;;;-1:-1:-1;26282:91:0;;:::i;16411:30::-;;;:::i;:::-;;;;-1:-1:-1;;;;;16411:30:0;;;;;;;;;;;;;;28306:157;;;;;;;;;;;;;;;;-1:-1:-1;28306:157:0;-1:-1:-1;;;;;28306:157:0;;:::i;18473:146::-;;;;;;;;;;;;;;;;-1:-1:-1;18473:146:0;-1:-1:-1;;;;;18473:146:0;;:::i;16097:26::-;;;:::i;16178:34::-;;;:::i;26692:288::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;26692:288:0;;;;;;;;:::i;17410:87::-;;;:::i;21455:262::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;21455:262:0;;;;;;;;:::i;18832:175::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;18832:175:0;;;;;;;;:::i;27025:289::-;;;:::i;16279:26::-;;;:::i;19070:151::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;19070:151:0;;;;;;;;;;:::i;16448:19::-;;;:::i;16372:32::-;;;:::i;17208:83::-;17278:5;17271:12;;;;;;;;-1:-1:-1;;17271:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17245:13;;17271:12;;17278:5;;17271:12;;17278:5;17271:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17208:83;:::o;19368:169::-;19451:4;19468:39;19477:12;:10;:12::i;:::-;19491:7;19500:6;19468:8;:39::i;:::-;-1:-1:-1;19525:4:0;19368:169;;;;;:::o;28612:294::-;28965:32;28973:10;28965:30;:32::i;:::-;28964:33;:60;;;;-1:-1:-1;29001:10:0;29015:9;29001:23;28964:60;28956:105;;;;;-1:-1:-1;;;28956:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28734:17:::1;::::0;28715:89:::1;::::0;;-1:-1:-1;;;28715:89:0;;28778:4:::1;28715:89;::::0;::::1;::::0;28784:19:::1;28715:89:::0;;;;;;28684:20:::1;::::0;-1:-1:-1;;;;;28734:17:0::1;::::0;28715:54:::1;::::0;:89;;;;;::::1;::::0;;;;;;;;28684:20;28734:17;28715:89;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;28715:89:0;;-1:-1:-1;28819:16:0;;28816:73:::1;;28851:11;:26:::0;;;28816:73:::1;29072:1;28612:294::o:0;27375:925::-;27569:11;;27420:7;;;;;;27549:32;;:15;;:19;:32::i;:::-;27611:11;;27527:54;;-1:-1:-1;27636:15:0;;;;;:85;;-1:-1:-1;27701:19:0;;27686:10;;:35;;:14;:35::i;:::-;27655:11;;:28;;27671:11;27655:15;:28::i;:::-;:66;27636:85;27633:202;;;27754:69;27812:10;;27754:53;27787:19;;27754:28;27770:11;27754;;:15;;:28;;;;:::i;:::-;:32;;:53::i;:69::-;27739:84;;27633:202;27908:21;27894:11;;:35;:55;;;;;27948:1;27933:12;:16;27894:55;27891:126;;;27976:11;;:29;;27992:12;27976:15;:29::i;:::-;27965:40;;27891:126;28091:21;28077:11;;:35;:55;;;;;28131:1;28116:12;:16;28077:55;28074:191;;;28167:11;;28152:12;:26;28149:105;;;28209:11;;:29;;28225:12;28209:15;:29::i;:::-;28198:40;;28149:105;28283:8;-1:-1:-1;;;27375:925:0;:::o;18283:127::-;18336:7;18373:29;18390:11;;18373:12;;:16;;:29;;;;:::i;:::-;18366:36;;18283:127;:::o;28469:135::-;28545:4;;-1:-1:-1;;;;;28545:4:0;28531:10;:18;28523:27;;;;;;28561:15;:25;;-1:-1:-1;;;;;;28561:25:0;-1:-1:-1;;;;;28561:25:0;;;;;;;;;;28469:135::o;20011:321::-;20117:4;20134:36;20144:6;20152:9;20163:6;20134:9;:36::i;:::-;20181:121;20190:6;20198:12;:10;:12::i;:::-;20212:89;20250:6;20212:89;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;20212:19:0;;;;;;:11;:19;;;;;;20232:12;:10;:12::i;:::-;-1:-1:-1;;;;;20212:33:0;;;;;;;;;;;;-1:-1:-1;20212:33:0;;;:89;:37;:89::i;:::-;20181:8;:121::i;:::-;-1:-1:-1;20320:4:0;20011:321;;;;;:::o;18135:83::-;18201:9;;;;18135:83;:::o;16219:37::-;;;;:::o;20741:211::-;20822:4;20839:83;20848:12;:10;:12::i;:::-;20862:7;20871:50;20910:10;20871:11;:25;20883:12;:10;:12::i;:::-;-1:-1:-1;;;;;20871:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;20871:25:0;;;:34;;;;;;;;;;;:38;:50::i;16136:35::-;;;;:::o;16339:26::-;;;;:::o;26282:91::-;26338:27;26344:12;:10;:12::i;:::-;26358:6;26338:5;:27::i;16411:30::-;;;-1:-1:-1;;;;;16411:30:0;;:::o;28306:157::-;28393:4;;-1:-1:-1;;;;;28393:4:0;28379:10;:18;28371:27;;;;;;28409:17;:36;;-1:-1:-1;;;;;;28409:36:0;-1:-1:-1;;;;;28409:36:0;;;;;;;;;;28306:157::o;18473:146::-;18599:11;;-1:-1:-1;;;;;18576:18:0;;18539:7;18576:18;;;;;;;;;;;18539:7;;18576:35;;:18;:22;:35::i;16097:26::-;;;;:::o;16178:34::-;;;;:::o;26692:288::-;26762:26;26791:84;26828:6;26791:84;;;;;;;;;;;;;;;;;:32;26801:7;26810:12;:10;:12::i;:::-;26791:9;:32::i;:::-;:36;:84;:36;:84::i;:::-;26762:113;;26888:51;26897:7;26906:12;:10;:12::i;:::-;26920:18;26888:8;:51::i;:::-;26950:22;26956:7;26965:6;26950:5;:22::i;:::-;26692:288;;;:::o;17410:87::-;17482:7;17475:14;;;;;;;;-1:-1:-1;;17475:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17449:13;;17475:14;;17482:7;;17475:14;;17482:7;17475:14;;;;;;;;;;;;;;;;;;;;;;;;21455:262;21541:4;21558:129;21567:12;:10;:12::i;:::-;21581:7;21590:96;21629:15;21590:96;;;;;;;;;;;;;;;;;:11;:25;21602:12;:10;:12::i;:::-;-1:-1:-1;;;;;21590:25:0;;;;;;;;;;;;;;;;;-1:-1:-1;21590:25:0;;;:34;;;;;;;;;;;:96;:38;:96::i;18832:175::-;18918:4;18935:42;18945:12;:10;:12::i;:::-;18959:9;18970:6;18935:9;:42::i;27025:289::-;28965:32;28973:10;28965:30;:32::i;:::-;28964:33;:60;;;;-1:-1:-1;29001:10:0;29015:9;29001:23;28964:60;28956:105;;;;;-1:-1:-1;;;28956:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27110:11:::1;::::0;27146:14:::1;:12;:14::i;:::-;27132:11;:28:::0;;;27174:21;::::1;27171:136;;27225:15;27211:11;:29:::0;27272:15:::1;::::0;27255:40:::1;::::0;;-1:-1:-1;;;;;;27255:40:0;;;;-1:-1:-1;;;;;27272:15:0;;::::1;::::0;27255:38:::1;::::0;:40:::1;::::0;;::::1;::::0;27272:15:::1;::::0;27255:40;;;;;;;;27272:15;;27255:40;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;29072:1;27025:289::o:0;16279:26::-;;;;:::o;19070:151::-;-1:-1:-1;;;;;19186:18:0;;;19159:7;19186:18;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;19070:151::o;16448:19::-;;;-1:-1:-1;;;;;16448:19:0;;:::o;16372:32::-;;;-1:-1:-1;;;;;16372:32:0;;:::o;4118:181::-;4176:7;4208:5;;;4232:6;;;;4224:46;;;;;-1:-1:-1;;;4224:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;4290:1;4118:181;-1:-1:-1;;;4118:181:0:o;5472:471::-;5530:7;5775:6;5771:47;;-1:-1:-1;5805:1:0;5798:8;;5771:47;5842:5;;;5846:1;5842;:5;:1;5866:5;;;;;:10;5858:56;;;;-1:-1:-1;;;5858:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;215:106;303:10;215:106;:::o;24719:339::-;-1:-1:-1;;;;;24814:19:0;;24806:68;;;;-1:-1:-1;;;24806:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24893:21:0;;24885:68;;;;-1:-1:-1;;;24885:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24966:18:0;;;;;;;:11;:18;;;;;;;;:27;;;;;;;;;;;;;:36;;;25018:32;;;;;;;;;;;;;;;;;24719:339;;;:::o;9257:422::-;9624:20;9663:8;;;9257:422::o;4582:136::-;4640:7;4667:43;4671:1;4674;4667:43;;;;;;;;;;;;;;;;;:3;:43::i;6419:132::-;6477:7;6504:39;6508:1;6511;6504:39;;;;;;;;;;;;;;;;;:3;:39::i;22217:679::-;-1:-1:-1;;;;;22316:20:0;;22308:70;;;;-1:-1:-1;;;22308:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22397:23:0;;22389:71;;;;-1:-1:-1;;;22389:71:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22489:11;;22479:6;:21;;22471:69;;;;-1:-1:-1;;;22471:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22553:47;22574:6;22582:9;22593:6;22553:20;:47::i;:::-;22666:88;22688:23;22699:11;;22688:6;:10;;:23;;;;:::i;:::-;22666:88;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;22666:17:0;;:9;:17;;;;;;;;;;;;:88;:21;:88::i;:::-;-1:-1:-1;;;;;22646:17:0;;:9;:17;;;;;;;;;;:108;22824:11;;22788:49;;22813:23;;:6;;:10;:23::i;:::-;-1:-1:-1;;;;;22788:20:0;;:9;:20;;;;;;;;;;;;:24;:49::i;:::-;-1:-1:-1;;;;;22765:20:0;;;:9;:20;;;;;;;;;;;;:72;;;;22853:35;;;;;;;22765:20;;22853:35;;;;;;;;;;;;;22217:679;;;:::o;5021:192::-;5107:7;5143:12;5135:6;;;;5127:29;;;;-1:-1:-1;;;5127:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;5179:5:0;;;5021:192::o;23853:428::-;-1:-1:-1;;;;;23930:21:0;;23922:67;;;;-1:-1:-1;;;23922:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24002:49;24023:7;24040:1;24044:6;24002:20;:49::i;:::-;24085:85;24108:23;24119:11;;24108:6;:10;;:23;;;;:::i;:::-;24085:85;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24085:18:0;;:9;:18;;;;;;;;;;;;:85;:22;:85::i;:::-;-1:-1:-1;;;;;24064:18:0;;:9;:18;;;;;;;;;;:106;24196:12;;:24;;24213:6;24196:16;:24::i;:::-;24181:12;:39;24236:37;;;;;;;;24262:1;;-1:-1:-1;;;;;24236:37:0;;;;;;;;;;;;23853:428;;:::o;7047:278::-;7133:7;7168:12;7161:5;7153:28;;;;-1:-1:-1;;;7153:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7192:9;7208:1;7204;:5;;;;;;;7047:278;-1:-1:-1;;;;;7047:278:0:o

Swarm Source

ipfs://2172b1cf3456eaaad194685cc6941712f040b715274882c84598321a68fd8a15
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.