ETH Price: $3,289.43 (+1.47%)
Gas: 2 Gwei

Token

Bliss (BLISS)
 

Overview

Max Total Supply

432,000 BLISS

Holders

151

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 18 Decimals)

Balance
500 BLISS

Value
$0.00
0x925b93b356a503a1b6430a501b2e49936f9265f8
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:
Bliss

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : Bliss.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "@openzeppelin/contracts/GSN/Context.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./interfaces/ILPERC20Staking.sol";
interface IUniswapV2Router02 {
    function WETH() external pure returns (address);
    function swapExactTokensForTokens(
    uint amountIn,
    uint amountOutMin,
    address[] calldata path,
    address to,
    uint deadline
    ) external; 
}

interface IUniswapV2Pair {
    function sync() external;
}
interface IUniswapV2Factory {
    function createPair(address tokenA, address tokenB) external returns (address pair);
}

contract Balancer {
    using SafeMath for uint256;    
    IERC20 token;
    address owner;
    
    constructor(address _token) public {
        token = IERC20(_token);
        owner = msg.sender;
    }
    receive () external payable {}
    function enlighten(uint callerRewardDivisor, ILPERC20Staking staking) external returns (uint256) { 
        require(msg.sender == owner, "only token");
        uint256 lockableBalance = token.balanceOf(address(this));
        uint256 callerReward = lockableBalance.div(callerRewardDivisor);
        token.transfer(tx.origin, callerReward);
        token.transfer(address(staking), lockableBalance.sub(callerReward));        

        if(staking.epochCalculationStartBlock() + 50000 < block.number)
            staking.startNewEpoch();
        staking.addPendingRewards();

        return lockableBalance.sub(callerReward);
    }
}


contract Bliss is Context, IERC20, Ownable {
    using SafeMath for uint256;

    mapping (address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;
    event Enlightenment(uint256 tokens);

    IUniswapV2Factory factory;

    address public uniswapV2Router;
    address public uniswapV2Pair;
    address public wbtc;
    
    address payable public treasury;
    address public bounce = 0x73282A63F0e3D7e9604575420F777361ecA3C86A;
    mapping(address => bool) feelessAddr;
    mapping(address => bool) unlocked;
    
    // the amount of tokens to lock for liquidity during every transfer, i.e. 100 = 1%, 50 = 2%, 40 = 2.5%
    uint256 public liquidityLockDivisor;
    uint256 public callerRewardDivisor;
    uint256 public rebalanceDivisor;
    
    uint256 public minRebalanceAmount;
    uint256 public lastRebalance;
    uint256 public rebalanceInterval;
    
    uint256 public lpUnlocked;
    bool public locked;
    
    Balancer balancer;
    ILPERC20Staking staking;

    /**
     * @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 {
        _mint(msg.sender, 432000*1e18);
        factory = IUniswapV2Factory(0x5C69bEe701ef814a2B6a3EDD4B1652CB9cc5aA6f);
        uniswapV2Router = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
        uniswapV2Pair = factory.createPair(address(this), IUniswapV2Router02(uniswapV2Router).WETH());
        _name = "Bliss";
        _symbol = "BLISS";
        _decimals = 18;
        lastRebalance = block.timestamp;
        liquidityLockDivisor = 20;
        callerRewardDivisor = 25;
        rebalanceDivisor = 50;
        rebalanceInterval = 5 minutes;
        lpUnlocked = block.timestamp + 90 days;
        minRebalanceAmount = 100 ether;
        feelessAddr[address(this)] = true;
        feelessAddr[address(balancer)] = true;
        feelessAddr[msg.sender] = true;
        feelessAddr[bounce] = true;
        locked = true;
        unlocked[msg.sender] = true;
        unlocked[bounce] = true;
        unlocked[address(balancer)] = true;
        wbtc = 0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599;             
        balancer = new Balancer(wbtc);
    }

    /**
     * @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;
    }

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

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

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address _owner, address spender) public view  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  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  override returns (bool) {
        _transfer(sender, recipient, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public  returns (bool) {
        _approve(_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 setStaking(address _staking) public onlyOwner {
        require(address(staking) == address(0), "Only once");
        staking = ILPERC20Staking(_staking);
    }

    function setLiquidityLockDivisor(uint256 _liquidityLockDivisor) public onlyOwner {
        if (_liquidityLockDivisor != 0) {
            require(_liquidityLockDivisor >= 10, "BLISS::setLiquidityLockDivisor: too small");
        }
        liquidityLockDivisor = _liquidityLockDivisor;
    }

    function setRebalanceDivisor(uint256 _rebalanceDivisor) public onlyOwner {
        if (_rebalanceDivisor != 0) {
            require(_rebalanceDivisor >= 10, "BLISS::setRebalanceDivisor: too small");
        }        
        rebalanceDivisor = _rebalanceDivisor;
    }

    function setRebalanceInterval(uint256 _interval) public onlyOwner {
        rebalanceInterval = _interval;
    }
    
    function setCallerRewardDivisior(uint256 _rewardDivisor) public onlyOwner {
        if (_rewardDivisor != 0) {
            require(_rewardDivisor >= 10, "BLISS::setCallerRewardDivisor: too small");
        }        
        callerRewardDivisor = _rewardDivisor;
    }
    
    function toggleFeeless(address _addr) public onlyOwner {
        feelessAddr[_addr] = !feelessAddr[_addr];
    }
    function toggleUnlockable(address _addr) public onlyOwner {
        unlocked[_addr] = !unlocked[_addr];
    }    
    function unlock() public onlyOwner {
        locked = false;
    }    

    function setMinRebalanceAmount(uint256 amount_) public onlyOwner {
        minRebalanceAmount = amount_;
    }

    function _transfer(address from, address to, uint256 amount) internal {
        if(locked && unlocked[from] != true && unlocked[to] != true)
            revert("Locked until end of presale");
            
        if (liquidityLockDivisor != 0 && feelessAddr[from] == false && feelessAddr[to] == false) {
            uint256 liquidityLockAmount = amount.div(liquidityLockDivisor);
            _finaltransfer(from, address(this), liquidityLockAmount);
            _finaltransfer(from, to, amount.sub(liquidityLockAmount));
        }
        else {
            _finaltransfer(from, to, amount);
        }
    }
    function _finaltransfer(address sender, address recipient, uint256 amount) internal {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _balances[sender] = _balances[sender].sub(amount, "ERC20: transfer amount exceeds balance");
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

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

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

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

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

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

        _balances[account] = _balances[account].sub(amount, "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  { }
    function bringEnlightenment() public {
        require(balanceOf(msg.sender) >= minRebalanceAmount, "You aren't enlightened enough.");
        require(block.timestamp > lastRebalance + rebalanceInterval, 'Too Soon.');
        lastRebalance = block.timestamp;
        // swappable supply is the token balance of this contract
        uint256 _swappableSupply = balanceOf(address(this));
        //swap for WBTC
        address[] memory uniswapPairPath = new address[](3);
        uniswapPairPath[0] = address(this);        
        uniswapPairPath[1] = IUniswapV2Router02(uniswapV2Router).WETH();
        uniswapPairPath[2] = address(wbtc);
        approve(uniswapV2Router, _swappableSupply);
        feelessAddr[uniswapV2Router] = true;
        feelessAddr[uniswapV2Pair] = true;
        IUniswapV2Router02(uniswapV2Router).swapExactTokensForTokens(
            _swappableSupply,
            1,
            uniswapPairPath,
            address(balancer),
            block.timestamp + 1 hours
        );
       
       uint _locked = balancer.enlighten(callerRewardDivisor, staking);
        feelessAddr[uniswapV2Router] = false;
        feelessAddr[uniswapV2Pair] = false;
        emit Enlightenment(_locked);
    }    

}

File 2 of 6 : ILPERC20Staking.sol
pragma solidity 0.6.12; 

interface ILPERC20Staking {
    function epochCalculationStartBlock() external returns(uint);
    function addPendingRewards() external;
    function startNewEpoch() external;

}

File 3 of 6 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
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;
    }
}

File 4 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "../GSN/Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(_owner == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 5 of 6 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @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;
    }
}

File 6 of 6 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @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);
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

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":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"Enlightenment","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":"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":[],"name":"bounce","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bringEnlightenment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"callerRewardDivisor","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":"lastRebalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"liquidityLockDivisor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpUnlocked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minRebalanceAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rebalanceDivisor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rebalanceInterval","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rewardDivisor","type":"uint256"}],"name":"setCallerRewardDivisior","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_liquidityLockDivisor","type":"uint256"}],"name":"setLiquidityLockDivisor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"setMinRebalanceAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_rebalanceDivisor","type":"uint256"}],"name":"setRebalanceDivisor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_interval","type":"uint256"}],"name":"setRebalanceInterval","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_staking","type":"address"}],"name":"setStaking","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"toggleFeeless","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"toggleUnlockable","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"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uniswapV2Router","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wbtc","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6080604052600b80546001600160a01b0319167373282a63f0e3d7e9604575420f777361eca3c86a1790553480156200003757600080fd5b50600062000044620003f0565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350620000a433695b7ac4553de7ae000000620003f4565b60068054745c69bee701ef814a2b6a3edd4b1652cb9cc5aa6f00610100600160a81b03199091161790819055600780546001600160a01b031916737a250d5630b4cf539739df2c5dacb4c659f2488d1790819055604080516315ab88c960e31b815290516101009093046001600160a01b039081169363c9c6539693309392169163ad5c4648916004808301926020929190829003018186803b1580156200014b57600080fd5b505afa15801562000160573d6000803e3d6000fd5b505050506040513d60208110156200017757600080fd5b5051604080516001600160e01b031960e086901b1681526001600160a01b0393841660048201529290911660248301525160448083019260209291908290030181600087803b158015620001ca57600080fd5b505af1158015620001df573d6000803e3d6000fd5b505050506040513d6020811015620001f657600080fd5b5051600880546001600160a01b0319166001600160a01b0390921691909117905560408051808201909152600580825264426c69737360d81b602090920191825262000245916004916200056e565b5060408051808201909152600580825264424c49535360d81b60209092019182526200027291816200056e565b506006805460ff19908116601290811790925542918290556014600e8190556019600f55603260105561012c6013556276a70090920190915568056bc75e2d63100000601155306000908152600c6020908152604080832080548516600190811790915560158054610100908190046001600160a01b03908116875284872080548916851790553380885285882080548a1686179055600b80548316895286892080548b168717905584548a1686178555908852600d9096528487208054891685179055945485168652838620805488168417905590540483168452928190208054909416909217909255600980546001600160a01b031916732260fac5e5542a773aa44fbcfedf7c193bc2c599179081905590519116906200039590620005f3565b6001600160a01b03909116815260405190819003602001906000f080158015620003c3573d6000803e3d6000fd5b50601560016101000a8154816001600160a01b0302191690836001600160a01b0316021790555062000618565b3390565b6001600160a01b03821662000450576040805162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f206164647265737300604482015290519081900360640190fd5b6200045e6000838362000507565b6200047a816003546200050c60201b620013271790919060201c565b6003556001600160a01b038216600090815260016020908152604090912054620004af918390620013276200050c821b17901c565b6001600160a01b03831660008181526001602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b505050565b60008282018381101562000567576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620005b157805160ff1916838001178555620005e1565b82800160010185558215620005e1579182015b82811115620005e1578251825591602001919060010190620005c4565b50620005ef92915062000601565b5090565b6105c9806200208b83390190565b5b80821115620005ef576000815560010162000602565b611a6380620006286000396000f3fe608060405234801561001057600080fd5b50600436106102265760003560e01c8063715018a611610130578063b6833c59116100b8578063e161eb561161007c578063e161eb56146105a1578063e5ec1d8c146105a9578063e84354c5146105b1578063f2fde38b146105b9578063f9537973146105df57610226565b8063b6833c591461053e578063cafab2891461055b578063cf30901214610563578063dc654a731461056b578063dd62ed3e1461057357610226565b806395d89b41116100ff57806395d89b41146104ce578063a457c2d7146104d6578063a69df4b514610502578063a7d59e171461050a578063a9059cbb1461051257610226565b8063715018a61461047b5780637e0d943e146104835780638da5cb5b146104a05780638ff39099146104a857610226565b8063313ce567116101b35780635b7dcaed116101825780635b7dcaed146103ed57806361d027b31461040a57806367a9fca61461041257806370709a7c1461042f57806370a082311461045557610226565b8063313ce5671461039357806339509351146103b15780633cdc5389146103dd57806349bd5a5e146103e557610226565b8063106b9ca1116101fa578063106b9ca1146103215780631694505e1461032957806316d1d9161461034d57806318160ddd1461035557806323b872dd1461035d57610226565b80629a81301461022b57806302dd19d91461024a57806306fdde0314610264578063095ea7b3146102e1575b600080fd5b6102486004803603602081101561024157600080fd5b5035610605565b005b6102526106a8565b60408051918252519081900360200190f35b61026c6106ae565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102a657818101518382015260200161028e565b50505050905090810190601f1680156102d35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61030d600480360360408110156102f757600080fd5b506001600160a01b038135169060200135610744565b604080519115158252519081900360200190f35b610252610761565b610331610767565b604080516001600160a01b039092168252519081900360200190f35b610252610776565b61025261077c565b61030d6004803603606081101561037357600080fd5b506001600160a01b03813581169160208101359091169060400135610782565b61039b610799565b6040805160ff9092168252519081900360200190f35b61030d600480360360408110156103c757600080fd5b506001600160a01b0381351690602001356107a2565b6103316107f5565b610331610804565b6102486004803603602081101561040357600080fd5b5035610813565b610331610870565b6102486004803603602081101561042857600080fd5b503561087f565b6102486004803603602081101561044557600080fd5b50356001600160a01b0316610922565b6102526004803603602081101561046b57600080fd5b50356001600160a01b03166109a3565b6102486109be565b6102486004803603602081101561049957600080fd5b5035610a60565b610331610b03565b610248600480360360208110156104be57600080fd5b50356001600160a01b0316610b12565b61026c610bd6565b61030d600480360360408110156104ec57600080fd5b506001600160a01b038135169060200135610c37565b610248610c9f565b610248610d03565b61030d6004803603604081101561052857600080fd5b506001600160a01b0381351690602001356110e2565b6102486004803603602081101561055457600080fd5b50356110f6565b610252611153565b61030d611159565b610252611162565b6102526004803603604081101561058957600080fd5b506001600160a01b0381358116916020013516611168565b610252611193565b610331611199565b6102526111a8565b610248600480360360208110156105cf57600080fd5b50356001600160a01b03166111ae565b610248600480360360208110156105f557600080fd5b50356001600160a01b03166112a6565b61060d611388565b6000546001600160a01b0390811691161461065d576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b80156106a357600a8110156106a35760405162461bcd60e51b815260040180806020018281038252602881526020018061192d6028913960400191505060405180910390fd5b600f55565b600f5481565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561073a5780601f1061070f5761010080835404028352916020019161073a565b820191906000526020600020905b81548152906001019060200180831161071d57829003601f168201915b5050505050905090565b6000610758610751611388565b848461138c565b50600192915050565b60125481565b6007546001600160a01b031681565b60135481565b60035490565b600061078f848484611478565b5060019392505050565b60065460ff1690565b60006107586107af611388565b846107f085600260006107c0611388565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611327565b61138c565b6009546001600160a01b031681565b6008546001600160a01b031681565b61081b611388565b6000546001600160a01b0390811691161461086b576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b601355565b600a546001600160a01b031681565b610887611388565b6000546001600160a01b039081169116146108d7576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b801561091d57600a81101561091d5760405162461bcd60e51b81526004018080602001828103825260298152602001806119046029913960400191505060405180910390fd5b600e55565b61092a611388565b6000546001600160a01b0390811691161461097a576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600c60205260409020805460ff19811660ff90911615179055565b6001600160a01b031660009081526001602052604090205490565b6109c6611388565b6000546001600160a01b03908116911614610a16576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610a68611388565b6000546001600160a01b03908116911614610ab8576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b8015610afe57600a811015610afe5760405162461bcd60e51b815260040180806020018281038252602581526020018061199b6025913960400191505060405180910390fd5b601055565b6000546001600160a01b031690565b610b1a611388565b6000546001600160a01b03908116911614610b6a576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b6016546001600160a01b031615610bb4576040805162461bcd60e51b81526020600482015260096024820152684f6e6c79206f6e636560b81b604482015290519081900360640190fd5b601680546001600160a01b0319166001600160a01b0392909216919091179055565b60058054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561073a5780601f1061070f5761010080835404028352916020019161073a565b6000610758610c44611388565b846107f085604051806060016040528060258152602001611a096025913960026000610c6e611388565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906115c6565b610ca7611388565b6000546001600160a01b03908116911614610cf7576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b6015805460ff19169055565b601154610d0f336109a3565b1015610d62576040805162461bcd60e51b815260206004820152601e60248201527f596f75206172656e277420656e6c69676874656e656420656e6f7567682e0000604482015290519081900360640190fd5b601354601254014211610da8576040805162461bcd60e51b81526020600482015260096024820152682a37b79029b7b7b71760b91b604482015290519081900360640190fd5b426012556000610db7306109a3565b60408051600380825260808201909252919250606091906020820183803683370190505090503081600081518110610deb57fe5b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015610e3f57600080fd5b505afa158015610e53573d6000803e3d6000fd5b505050506040513d6020811015610e6957600080fd5b5051815182906001908110610e7a57fe5b6001600160a01b039283166020918202929092010152600954825191169082906002908110610ea557fe5b6001600160a01b039283166020918202929092010152600754610ec9911683610744565b50600780546001600160a01b039081166000908152600c602090815260408083208054600160ff19918216811790925560085486168552828520805490911682179055945460155491516338ed173960e01b8152600481018981526024820188905261010090930486166064820181905242610e10016084830181905260a0604484019081528a5160a48501528a5194909816986338ed1739988c9891978c9794969395919360c49092019288820192909102908190849084905b83811015610f9c578181015183820152602001610f84565b505050509050019650505050505050600060405180830381600087803b158015610fc557600080fd5b505af1158015610fd9573d6000803e3d6000fd5b5050601554600f546016546040805163b09e987b60e01b815260048101939093526001600160a01b039182166024840152516000955061010090930416925063b09e987b91604480830192602092919082900301818787803b15801561103e57600080fd5b505af1158015611052573d6000803e3d6000fd5b505050506040513d602081101561106857600080fd5b50516007546001600160a01b039081166000908152600c60209081526040808320805460ff199081169091556008549094168352918290208054909316909255805183815290519293507f90d2933931b3443e6e589ad5a62f1fe8436be32b290e10a0452dc96b6f5e154a929081900390910190a1505050565b60006107586110ef611388565b8484611478565b6110fe611388565b6000546001600160a01b0390811691161461114e576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b601155565b60145481565b60155460ff1681565b600e5481565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60105481565b600b546001600160a01b031681565b60115481565b6111b6611388565b6000546001600160a01b03908116911614611206576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b6001600160a01b03811661124b5760405162461bcd60e51b81526004018080602001828103825260268152602001806118bc6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6112ae611388565b6000546001600160a01b039081169116146112fe576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600d60205260409020805460ff19811660ff90911615179055565b600082820183811015611381576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b0383166113d15760405162461bcd60e51b81526004018080602001828103825260248152602001806119e56024913960400191505060405180910390fd5b6001600160a01b0382166114165760405162461bcd60e51b81526004018080602001828103825260228152602001806118e26022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60155460ff1680156114a857506001600160a01b0383166000908152600d602052604090205460ff161515600114155b80156114d257506001600160a01b0382166000908152600d602052604090205460ff161515600114155b15611524576040805162461bcd60e51b815260206004820152601b60248201527f4c6f636b656420756e74696c20656e64206f662070726573616c650000000000604482015290519081900360640190fd5b600e541580159061154e57506001600160a01b0383166000908152600c602052604090205460ff16155b801561157357506001600160a01b0382166000908152600c602052604090205460ff16155b156115b657600061158f600e548361165d90919063ffffffff16565b905061159c84308361169f565b6115b084846115ab85856117f1565b61169f565b506115c1565b6115c183838361169f565b505050565b600081848411156116555760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561161a578181015183820152602001611602565b50505050905090810190601f1680156116475780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061138183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611833565b6001600160a01b0383166116e45760405162461bcd60e51b81526004018080602001828103825260258152602001806119c06025913960400191505060405180910390fd5b6001600160a01b0382166117295760405162461bcd60e51b81526004018080602001828103825260238152602001806118996023913960400191505060405180910390fd5b61176681604051806060016040528060268152602001611955602691396001600160a01b03861660009081526001602052604090205491906115c6565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546117959082611327565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600061138183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115c6565b600081836118825760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561161a578181015183820152602001611602565b50600083858161188e57fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f2061646472657373424c4953533a3a7365744c69717569646974794c6f636b44697669736f723a20746f6f20736d616c6c424c4953533a3a73657443616c6c657252657761726444697669736f723a20746f6f20736d616c6c45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572424c4953533a3a736574526562616c616e636544697669736f723a20746f6f20736d616c6c45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122082209f1a220ee8b9b2469fce5873099a546d83d14bc97354581ba0eeea60133a64736f6c634300060c0033608060405234801561001057600080fd5b506040516105c93803806105c98339818101604052602081101561003357600080fd5b5051600080546001600160a01b039092166001600160a01b0319928316179055600180549091163317905561055c8061006d6000396000f3fe6080604052600436106100225760003560e01c8063b09e987b1461002e57610029565b3661002957005b600080fd5b34801561003a57600080fd5b506100676004803603604081101561005157600080fd5b50803590602001356001600160a01b0316610079565b60408051918252519081900360200190f35b6001546000906001600160a01b031633146100c8576040805162461bcd60e51b815260206004820152600a60248201526937b7363c903a37b5b2b760b11b604482015290519081900360640190fd5b60008054604080516370a0823160e01b815230600482015290516001600160a01b03909216916370a0823191602480820192602092909190829003018186803b15801561011457600080fd5b505afa158015610128573d6000803e3d6000fd5b505050506040513d602081101561013e57600080fd5b50519050600061014e828661039f565b600080546040805163a9059cbb60e01b81523260048201526024810185905290519394506001600160a01b039091169263a9059cbb92604480840193602093929083900390910190829087803b1580156101a757600080fd5b505af11580156101bb573d6000803e3d6000fd5b505050506040513d60208110156101d157600080fd5b50506000546001600160a01b031663a9059cbb856101ef85856103e8565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561023557600080fd5b505af1158015610249573d6000803e3d6000fd5b505050506040513d602081101561025f57600080fd5b505060408051630baaef8360e31b8152905143916001600160a01b03871691635d577c18916004808201926020929091908290030181600087803b1580156102a657600080fd5b505af11580156102ba573d6000803e3d6000fd5b505050506040513d60208110156102d057600080fd5b505161c35001101561033057836001600160a01b0316633aab0a626040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561031757600080fd5b505af115801561032b573d6000803e3d6000fd5b505050505b836001600160a01b031663e07335aa6040518163ffffffff1660e01b8152600401600060405180830381600087803b15801561036b57600080fd5b505af115801561037f573d6000803e3d6000fd5b5050505061039681836103e890919063ffffffff16565b95945050505050565b60006103e183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061042a565b9392505050565b60006103e183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506104cc565b600081836104b65760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561047b578181015183820152602001610463565b50505050905090810190601f1680156104a85780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5060008385816104c257fe5b0495945050505050565b6000818484111561051e5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561047b578181015183820152602001610463565b50505090039056fea2646970667358221220f35170fdf39d79508f3a7993717f5c7f889d29dbfb79c8d935eabcb3db59d75a64736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102265760003560e01c8063715018a611610130578063b6833c59116100b8578063e161eb561161007c578063e161eb56146105a1578063e5ec1d8c146105a9578063e84354c5146105b1578063f2fde38b146105b9578063f9537973146105df57610226565b8063b6833c591461053e578063cafab2891461055b578063cf30901214610563578063dc654a731461056b578063dd62ed3e1461057357610226565b806395d89b41116100ff57806395d89b41146104ce578063a457c2d7146104d6578063a69df4b514610502578063a7d59e171461050a578063a9059cbb1461051257610226565b8063715018a61461047b5780637e0d943e146104835780638da5cb5b146104a05780638ff39099146104a857610226565b8063313ce567116101b35780635b7dcaed116101825780635b7dcaed146103ed57806361d027b31461040a57806367a9fca61461041257806370709a7c1461042f57806370a082311461045557610226565b8063313ce5671461039357806339509351146103b15780633cdc5389146103dd57806349bd5a5e146103e557610226565b8063106b9ca1116101fa578063106b9ca1146103215780631694505e1461032957806316d1d9161461034d57806318160ddd1461035557806323b872dd1461035d57610226565b80629a81301461022b57806302dd19d91461024a57806306fdde0314610264578063095ea7b3146102e1575b600080fd5b6102486004803603602081101561024157600080fd5b5035610605565b005b6102526106a8565b60408051918252519081900360200190f35b61026c6106ae565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102a657818101518382015260200161028e565b50505050905090810190601f1680156102d35780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61030d600480360360408110156102f757600080fd5b506001600160a01b038135169060200135610744565b604080519115158252519081900360200190f35b610252610761565b610331610767565b604080516001600160a01b039092168252519081900360200190f35b610252610776565b61025261077c565b61030d6004803603606081101561037357600080fd5b506001600160a01b03813581169160208101359091169060400135610782565b61039b610799565b6040805160ff9092168252519081900360200190f35b61030d600480360360408110156103c757600080fd5b506001600160a01b0381351690602001356107a2565b6103316107f5565b610331610804565b6102486004803603602081101561040357600080fd5b5035610813565b610331610870565b6102486004803603602081101561042857600080fd5b503561087f565b6102486004803603602081101561044557600080fd5b50356001600160a01b0316610922565b6102526004803603602081101561046b57600080fd5b50356001600160a01b03166109a3565b6102486109be565b6102486004803603602081101561049957600080fd5b5035610a60565b610331610b03565b610248600480360360208110156104be57600080fd5b50356001600160a01b0316610b12565b61026c610bd6565b61030d600480360360408110156104ec57600080fd5b506001600160a01b038135169060200135610c37565b610248610c9f565b610248610d03565b61030d6004803603604081101561052857600080fd5b506001600160a01b0381351690602001356110e2565b6102486004803603602081101561055457600080fd5b50356110f6565b610252611153565b61030d611159565b610252611162565b6102526004803603604081101561058957600080fd5b506001600160a01b0381358116916020013516611168565b610252611193565b610331611199565b6102526111a8565b610248600480360360208110156105cf57600080fd5b50356001600160a01b03166111ae565b610248600480360360208110156105f557600080fd5b50356001600160a01b03166112a6565b61060d611388565b6000546001600160a01b0390811691161461065d576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b80156106a357600a8110156106a35760405162461bcd60e51b815260040180806020018281038252602881526020018061192d6028913960400191505060405180910390fd5b600f55565b600f5481565b60048054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561073a5780601f1061070f5761010080835404028352916020019161073a565b820191906000526020600020905b81548152906001019060200180831161071d57829003601f168201915b5050505050905090565b6000610758610751611388565b848461138c565b50600192915050565b60125481565b6007546001600160a01b031681565b60135481565b60035490565b600061078f848484611478565b5060019392505050565b60065460ff1690565b60006107586107af611388565b846107f085600260006107c0611388565b6001600160a01b03908116825260208083019390935260409182016000908120918c168152925290205490611327565b61138c565b6009546001600160a01b031681565b6008546001600160a01b031681565b61081b611388565b6000546001600160a01b0390811691161461086b576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b601355565b600a546001600160a01b031681565b610887611388565b6000546001600160a01b039081169116146108d7576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b801561091d57600a81101561091d5760405162461bcd60e51b81526004018080602001828103825260298152602001806119046029913960400191505060405180910390fd5b600e55565b61092a611388565b6000546001600160a01b0390811691161461097a576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600c60205260409020805460ff19811660ff90911615179055565b6001600160a01b031660009081526001602052604090205490565b6109c6611388565b6000546001600160a01b03908116911614610a16576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b610a68611388565b6000546001600160a01b03908116911614610ab8576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b8015610afe57600a811015610afe5760405162461bcd60e51b815260040180806020018281038252602581526020018061199b6025913960400191505060405180910390fd5b601055565b6000546001600160a01b031690565b610b1a611388565b6000546001600160a01b03908116911614610b6a576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b6016546001600160a01b031615610bb4576040805162461bcd60e51b81526020600482015260096024820152684f6e6c79206f6e636560b81b604482015290519081900360640190fd5b601680546001600160a01b0319166001600160a01b0392909216919091179055565b60058054604080516020601f600260001961010060018816150201909516949094049384018190048102820181019092528281526060939092909183018282801561073a5780601f1061070f5761010080835404028352916020019161073a565b6000610758610c44611388565b846107f085604051806060016040528060258152602001611a096025913960026000610c6e611388565b6001600160a01b03908116825260208083019390935260409182016000908120918d168152925290205491906115c6565b610ca7611388565b6000546001600160a01b03908116911614610cf7576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b6015805460ff19169055565b601154610d0f336109a3565b1015610d62576040805162461bcd60e51b815260206004820152601e60248201527f596f75206172656e277420656e6c69676874656e656420656e6f7567682e0000604482015290519081900360640190fd5b601354601254014211610da8576040805162461bcd60e51b81526020600482015260096024820152682a37b79029b7b7b71760b91b604482015290519081900360640190fd5b426012556000610db7306109a3565b60408051600380825260808201909252919250606091906020820183803683370190505090503081600081518110610deb57fe5b6001600160a01b03928316602091820292909201810191909152600754604080516315ab88c960e31b81529051919093169263ad5c4648926004808301939192829003018186803b158015610e3f57600080fd5b505afa158015610e53573d6000803e3d6000fd5b505050506040513d6020811015610e6957600080fd5b5051815182906001908110610e7a57fe5b6001600160a01b039283166020918202929092010152600954825191169082906002908110610ea557fe5b6001600160a01b039283166020918202929092010152600754610ec9911683610744565b50600780546001600160a01b039081166000908152600c602090815260408083208054600160ff19918216811790925560085486168552828520805490911682179055945460155491516338ed173960e01b8152600481018981526024820188905261010090930486166064820181905242610e10016084830181905260a0604484019081528a5160a48501528a5194909816986338ed1739988c9891978c9794969395919360c49092019288820192909102908190849084905b83811015610f9c578181015183820152602001610f84565b505050509050019650505050505050600060405180830381600087803b158015610fc557600080fd5b505af1158015610fd9573d6000803e3d6000fd5b5050601554600f546016546040805163b09e987b60e01b815260048101939093526001600160a01b039182166024840152516000955061010090930416925063b09e987b91604480830192602092919082900301818787803b15801561103e57600080fd5b505af1158015611052573d6000803e3d6000fd5b505050506040513d602081101561106857600080fd5b50516007546001600160a01b039081166000908152600c60209081526040808320805460ff199081169091556008549094168352918290208054909316909255805183815290519293507f90d2933931b3443e6e589ad5a62f1fe8436be32b290e10a0452dc96b6f5e154a929081900390910190a1505050565b60006107586110ef611388565b8484611478565b6110fe611388565b6000546001600160a01b0390811691161461114e576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b601155565b60145481565b60155460ff1681565b600e5481565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b60105481565b600b546001600160a01b031681565b60115481565b6111b6611388565b6000546001600160a01b03908116911614611206576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b6001600160a01b03811661124b5760405162461bcd60e51b81526004018080602001828103825260268152602001806118bc6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6112ae611388565b6000546001600160a01b039081169116146112fe576040805162461bcd60e51b8152602060048201819052602482015260008051602061197b833981519152604482015290519081900360640190fd5b6001600160a01b03166000908152600d60205260409020805460ff19811660ff90911615179055565b600082820183811015611381576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b3390565b6001600160a01b0383166113d15760405162461bcd60e51b81526004018080602001828103825260248152602001806119e56024913960400191505060405180910390fd5b6001600160a01b0382166114165760405162461bcd60e51b81526004018080602001828103825260228152602001806118e26022913960400191505060405180910390fd5b6001600160a01b03808416600081815260026020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b60155460ff1680156114a857506001600160a01b0383166000908152600d602052604090205460ff161515600114155b80156114d257506001600160a01b0382166000908152600d602052604090205460ff161515600114155b15611524576040805162461bcd60e51b815260206004820152601b60248201527f4c6f636b656420756e74696c20656e64206f662070726573616c650000000000604482015290519081900360640190fd5b600e541580159061154e57506001600160a01b0383166000908152600c602052604090205460ff16155b801561157357506001600160a01b0382166000908152600c602052604090205460ff16155b156115b657600061158f600e548361165d90919063ffffffff16565b905061159c84308361169f565b6115b084846115ab85856117f1565b61169f565b506115c1565b6115c183838361169f565b505050565b600081848411156116555760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561161a578181015183820152602001611602565b50505050905090810190601f1680156116475780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b600061138183836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611833565b6001600160a01b0383166116e45760405162461bcd60e51b81526004018080602001828103825260258152602001806119c06025913960400191505060405180910390fd5b6001600160a01b0382166117295760405162461bcd60e51b81526004018080602001828103825260238152602001806118996023913960400191505060405180910390fd5b61176681604051806060016040528060268152602001611955602691396001600160a01b03861660009081526001602052604090205491906115c6565b6001600160a01b0380851660009081526001602052604080822093909355908416815220546117959082611327565b6001600160a01b0380841660008181526001602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600061138183836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506115c6565b600081836118825760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561161a578181015183820152602001611602565b50600083858161188e57fe5b049594505050505056fe45524332303a207472616e7366657220746f20746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f206164647265737345524332303a20617070726f766520746f20746865207a65726f2061646472657373424c4953533a3a7365744c69717569646974794c6f636b44697669736f723a20746f6f20736d616c6c424c4953533a3a73657443616c6c657252657761726444697669736f723a20746f6f20736d616c6c45524332303a207472616e7366657220616d6f756e7420657863656564732062616c616e63654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572424c4953533a3a736574526562616c616e636544697669736f723a20746f6f20736d616c6c45524332303a207472616e736665722066726f6d20746865207a65726f206164647265737345524332303a20617070726f76652066726f6d20746865207a65726f206164647265737345524332303a2064656372656173656420616c6c6f77616e63652062656c6f77207a65726fa264697066735822122082209f1a220ee8b9b2469fce5873099a546d83d14bc97354581ba0eeea60133a64736f6c634300060c0033

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.