ETH Price: $3,354.98 (-0.37%)

Token

abc (def)
 

Overview

Max Total Supply

1,000,000 def

Holders

215

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 9 Decimals)

Balance
4,958.645460104 def

Value
$0.00
0x9309c9a38cA533814B1CE2A360558bD3468CdF32
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x24903A1e...878FD1A16
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
OperaToken

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
File 1 of 10 : OperaToken.sol
pragma solidity ^0.8.17;
//SPDX-License-Identifier: MIT
import "IERC20.sol";
import "Auth.sol";
import "SafeMath.sol";
import "IDEXRouter.sol";
import "IDEXFactory.sol";
import "OperaRevenue.sol";

contract OperaToken is IERC20, Auth {
    using SafeMath for uint256;

    string _name;
    string _symbol;
    string _telegram;
    string _website;

    uint8 constant _decimals = 9;

    uint256 public _totalSupply;

    uint256 public _maxWalletToken;
    uint256 public _swapThreshold;

    uint256 public _operaTax = 4;
    uint256 public _marketingBuyTax;
    uint256 public _marketingSellTax;
    uint256 public _devBuyTax;
    uint256 public _devSellTax;
    uint256 public _liquidityBuyTax;
    uint256 public _liquiditySellTax;

    mapping(address => uint256) _balances;
    mapping(address => mapping(address => uint256)) _allowances;
    mapping(address => bool) isFeeExempt;

    address public pair;
    address public routerAddress = 0x7a250d5630B4cF539739dF2C5dAcb4c659F2488D;
    // address public routerAddress = 0x10ED43C718714eb63d5aA57B78B54704E256024E;
    address public _devAddress;
    address public _marketingAddress;
    address public _operaRewardAddress;
    address public _operaAddress;
    address public WETHAddress = 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2;
    // address public WETHAddress = 0xbb4CdB9CBd36B01bD1cBaEBF2De08d9173bc095c;
    address public DEAD = 0x000000000000000000000000000000000000dEaD;
    IDEXRouter public router;

    bool inSwap;
    modifier swapping() {
        inSwap = true;
        _;
        inSwap = false;
    }
    event AutoLiquify(uint256 amountETH, uint256 amountCoin);

    constructor(
        string[] memory _stringData,
        address[] memory _addressData,
        uint256[] memory _intData,
        address rewardsAddress
    ) Auth(msg.sender) {
        require(_stringData.length == 4, "String List needs 4 string inputs");
        require(
            _addressData.length == 2,
            "Address List needs 2 address inputs"
        );
        require(_intData.length == 9, "Int List needs 9 int inputs");
        _operaRewardAddress = rewardsAddress;
        _operaAddress = msg.sender;
        router = IDEXRouter(routerAddress);
        pair = IDEXFactory(router.factory()).createPair(
            router.WETH(),
            address(this)
        );

        authorizations[routerAddress] = true;

        _name = _stringData[0];
        _symbol = _stringData[1];
        _telegram = _stringData[2];
        _website = _stringData[3];

        _devAddress = _addressData[0];
        _marketingAddress = _addressData[1];

        require(_intData[0] > 0 && _intData[0] < 999999999999999999);
        _totalSupply = _intData[0] * 10 ** _decimals;
        _balances[msg.sender] = _totalSupply;
        emit Transfer(address(0), msg.sender, _totalSupply);

        _maxWalletToken = _intData[1] * 10 ** _decimals;
        _swapThreshold = _intData[2] * 10 ** _decimals;
        _marketingBuyTax = _intData[3];
        _marketingSellTax = _intData[4];
        _devBuyTax = _intData[5];
        _devSellTax = _intData[6];
        _liquidityBuyTax = _intData[7];
        _liquiditySellTax = _intData[8];

        _allowances[address(this)][address(router)] = _totalSupply;

        requireLimits();
    }

    receive() external payable {}

    function totalSupply() external view override returns (uint256) {
        return _totalSupply;
    }

    function decimals() external pure override returns (uint8) {
        return _decimals;
    }

    function symbol() external view override returns (string memory) {
        return _symbol;
    }

    function name() external view override returns (string memory) {
        return _name;
    }

    function getOwner() external view override returns (address) {
        return owner;
    }

    function balanceOf(address account) public view override returns (uint256) {
        return _balances[account];
    }

    function allowance(
        address holder,
        address spender
    ) external view override returns (uint256) {
        return _allowances[holder][spender];
    }

    function approve(
        address spender,
        uint256 amount
    ) public override returns (bool) {
        _allowances[msg.sender][spender] = amount;
        emit Approval(msg.sender, spender, amount);
        return true;
    }

    function approveMax(address spender) external returns (bool) {
        return approve(spender, _totalSupply);
    }

    function transfer(
        address recipient,
        uint256 amount
    ) external override returns (bool) {
        if (owner == msg.sender) {
            return _basicTransfer(msg.sender, recipient, amount);
        } else {
            return _transferFrom(msg.sender, recipient, amount);
        }
    }

    function _basicTransfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal returns (bool) {
        _balances[sender] = _balances[sender].sub(
            amount,
            "Insufficient Balance"
        );
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external override returns (bool) {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");
        if (_allowances[sender][msg.sender] != _totalSupply) {
            _allowances[sender][msg.sender] = _allowances[sender][msg.sender]
                .sub(amount, "Insufficient Allowance");
        }
        return _transferFrom(sender, recipient, amount);
    }

    function _transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) internal returns (bool) {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        if (
            authorizations[sender] ||
            authorizations[recipient] ||
            recipient == _operaAddress
        ) {
            return _basicTransfer(sender, recipient, amount);
        }

        if (inSwap) {
            return _basicTransfer(sender, recipient, amount);
        }

        checkLimits(sender, recipient, amount);
        if (shouldTokenSwap(recipient)) {
            tokenSwap();
        }

        _balances[sender] = _balances[sender].sub(
            amount,
            "Insufficient Balance"
        );
        uint256 amountReceived = (recipient == pair || sender == pair)
            ? takeFee(sender, recipient, amount)
            : amount;

        _balances[recipient] = _balances[recipient].add(amountReceived);

        emit Transfer(sender, recipient, amountReceived);
        return true;
    }

    function takeFee(
        address sender,
        address recipient,
        uint256 amount
    ) internal returns (uint256) {
        if (isFeeExempt[sender] || isFeeExempt[recipient]) {
            return amount;
        }
        uint256 _totalFee;

        _totalFee = (recipient == pair) ? getSellTax() : getBuyTax();

        uint256 feeAmount = amount.mul(_totalFee).div(1000);

        _balances[address(this)] = _balances[address(this)].add(feeAmount);

        emit Transfer(sender, address(this), feeAmount);

        return amount.sub(feeAmount);
    }

    function getBuyTax() public view returns (uint) {
        return _liquidityBuyTax + _devBuyTax + _marketingBuyTax + _operaTax;
    }

    function getSellTax() public view returns (uint) {
        return _liquiditySellTax + _devSellTax + _marketingSellTax + _operaTax;
    }

    function getTotalTax() public view returns (uint) {
        return getSellTax() + getBuyTax();
    }

    function setBuyFees(
        uint256 _marketingFee,
        uint256 _liquidityFee,
        uint256 _devFee
    ) external authorized {
        _marketingBuyTax = _marketingFee;
        _liquidityBuyTax = _liquidityFee;
        _devBuyTax = _devFee;
        requireLimits();
    }

    function setSellFees(
        uint256 _marketingFee,
        uint256 _liquidityFee,
        uint256 _devFee
    ) external authorized {
        _marketingSellTax = _marketingFee;
        _liquiditySellTax = _liquidityFee;
        _devSellTax = _devFee;
        requireLimits();
    }

    function tokenSwap() internal swapping {
        uint256 amount = _balances[address(this)];

        uint256 amountToLiquify = (_liquidityBuyTax + _liquiditySellTax > 0)
            ? amount
                .mul(_liquidityBuyTax + _liquiditySellTax)
                .div(getTotalTax())
                .div(2)
            : 0;

        uint256 amountToSwap = amount.sub(amountToLiquify);

        address[] memory path = new address[](2);
        path[0] = address(this);
        path[1] = WETHAddress;

        uint256 balanceBefore = address(this).balance;

        router.swapExactTokensForETHSupportingFeeOnTransferTokens(
            amountToSwap,
            0,
            path,
            address(this),
            block.timestamp
        );

        bool tmpSuccess;

        uint256 amountETH = address(this).balance.sub(balanceBefore);
        uint256 totalETHFee = (_liquidityBuyTax + _liquiditySellTax > 0)
            ? getTotalTax().sub((_liquidityBuyTax + _liquiditySellTax).div(2))
            : getTotalTax();

        uint256 amountETHLiquidity = amountETH
            .mul(_liquidityBuyTax + _liquiditySellTax)
            .div(totalETHFee)
            .div(2);
        if (_devBuyTax + _devSellTax > 0) {
            uint256 amountETHDev = amountETH.mul(_devBuyTax + _devSellTax).div(
                totalETHFee
            );
            (tmpSuccess, ) = payable(_devAddress).call{
                value: amountETHDev,
                gas: 100000
            }("");
            tmpSuccess = false;
        }

        if (_marketingBuyTax + _marketingSellTax > 0) {
            uint256 amountETHMarketing = amountETH
                .mul(_marketingBuyTax + _marketingSellTax)
                .div(totalETHFee);
            (tmpSuccess, ) = payable(_marketingAddress).call{
                value: amountETHMarketing,
                gas: 100000
            }("");
            tmpSuccess = false;
        }

        if (amountToLiquify > 0) {
            router.addLiquidityETH{value: amountETHLiquidity}(
                address(this),
                amountToLiquify,
                0,
                0,
                _operaAddress,
                block.timestamp
            );
            emit AutoLiquify(amountETHLiquidity, amountToLiquify);
        }
        uint256 operaFee = amountETH.mul(_operaTax.mul(2)).div(totalETHFee);

        OperaRevenue rewardContract = OperaRevenue(
            payable(_operaRewardAddress)
        );
        rewardContract.recieveRewards{value: operaFee}();
    }

    function shouldTokenSwap(address recipient) internal view returns (bool) {
        return ((recipient == pair) &&
            !inSwap &&
            _balances[address(this)] >= _swapThreshold);
    }

    function setTokenSwapSettings(uint256 _threshold) external authorized {
        _swapThreshold = _threshold * (10 ** _decimals);
        requireLimits();
    }

    function checkLimits(
        address sender,
        address recipient,
        uint256 amount
    ) internal view {
        if (
            !authorizations[sender] &&
            recipient != address(this) &&
            sender != address(this) &&
            recipient != address(DEAD) &&
            recipient != pair &&
            recipient != _marketingAddress &&
            recipient != _devAddress &&
            recipient != _operaAddress
        ) {
            uint256 heldTokens = balanceOf(recipient);
            require(
                (heldTokens + amount) <= _maxWalletToken,
                "Total Holding is currently limited, you can not buy that much."
            );
        }
    }

    function setMaxWallet(uint256 percent) external authorized {
        _maxWalletToken = (_totalSupply * percent) / 1000;
        requireLimits();
    }

    function requireLimits() internal view {
        require(
            _swapThreshold <= (_totalSupply / 20) &&
                _swapThreshold >= (_totalSupply / 500),
            "Swap Threshold must be less than 5% of total supply, or greater than 0.2%."
        );
        require(
            _maxWalletToken >= (_totalSupply / 500),
            "Max Wallet must be greater than 0.2%."
        );
        require(getSellTax() <= 100, "Sell tax can't be greater than 10%.");
        require(getBuyTax() <= 100, "Buy tax can't be greater than 10%.");
        require(
            _devAddress != address(0) && _marketingAddress != address(0),
            "Reciever wallets can't be Zero address."
        );
    }

    function getAddress() external view returns (address) {
        return address(this);
    }

    function aboutMe() external view returns (string memory, string memory) {
        return (_telegram, _website);
    }

    function updateAboutMe(
        string memory telegram,
        string memory website
    ) external authorized {
        _telegram = telegram;
        _website = website;
    }

    function setAddresses(
        address marketingAddress,
        address devAddress
    ) external authorized {
        _marketingAddress = marketingAddress;
        _devAddress = devAddress;
        requireLimits();
    }

    function setFeeExemption(address user, bool status) external authorized {
        isFeeExempt[user] = status;
    }

    function clearStuckBalance() external {
        require(
            msg.sender == _operaAddress,
            "Only Factory Contract can clear balance."
        );
        payable(_operaAddress).transfer(address(this).balance);
    }
}

File 2 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

interface IERC20 {
    function totalSupply() external view returns (uint256);

    function decimals() external view returns (uint8);

    function symbol() external view returns (string memory);

    function name() external view returns (string memory);

    function getOwner() external view returns (address);

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

    function transfer(
        address recipient,
        uint256 amount
    ) external returns (bool);

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

    function approve(address spender, uint256 amount) external returns (bool);

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

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

File 3 of 10 : Auth.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

abstract contract Auth {
    address internal owner;
    mapping(address => bool) internal authorizations;

    constructor(address _owner) {
        owner = _owner;
        authorizations[_owner] = true;
    }

    modifier onlyOwner() {
        require(isOwner(msg.sender), "!OWNER");
        _;
    }

    modifier authorized() {
        require(isAuthorized(msg.sender), "!AUTHORIZED");
        _;
    }

    function authorize(address adr) public onlyOwner {
        authorizations[adr] = true;
    }

    function unauthorize(address adr) public onlyOwner {
        authorizations[adr] = false;
    }

    function isOwner(address account) public view returns (bool) {
        return account == owner;
    }

    function isAuthorized(address adr) public view returns (bool) {
        return authorizations[adr];
    }

    function transferOwnership(address payable adr) public onlyOwner {
        owner = adr;
        authorizations[adr] = true;
        emit OwnershipTransferred(adr);
    }

    event OwnershipTransferred(address owner);
}

File 4 of 10 : SafeMath.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

library SafeMath {
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return div(a, b, "SafeMath: division by zero");
    }

    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        // Solidity only automatically asserts when dividing by 0
        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;
    }
}

File 5 of 10 : IDEXRouter.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

interface IDEXRouter {
    function factory() external pure returns (address);

    function WETH() external pure returns (address);

    function removeLiquidity(
        address tokenA,
        address tokenB,
        uint liquidity,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB);

    function addLiquidity(
        address tokenA,
        address tokenB,
        uint amountADesired,
        uint amountBDesired,
        uint amountAMin,
        uint amountBMin,
        address to,
        uint deadline
    ) external returns (uint amountA, uint amountB, uint liquidity);

    function addLiquidityETH(
        address token,
        uint amountTokenDesired,
        uint amountTokenMin,
        uint amountETHMin,
        address to,
        uint deadline
    )
        external
        payable
        returns (uint amountToken, uint amountETH, uint liquidity);

    function swapExactTokensForTokensSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;

    function swapExactETHForTokensSupportingFeeOnTransferTokens(
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external payable;

    function swapExactTokensForETHSupportingFeeOnTransferTokens(
        uint amountIn,
        uint amountOutMin,
        address[] calldata path,
        address to,
        uint deadline
    ) external;
}

File 6 of 10 : IDEXFactory.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

interface IDEXFactory {
    function createPair(
        address tokenA,
        address tokenB
    ) external returns (address pair);
}

File 7 of 10 : OperaRevenue.sol
pragma solidity ^0.8.17;

//SPDX-License-Identifier: MIT
import "OperaToken.sol";
import "OperaLendingPool.sol";
import "IERC20.sol";
import "Math.sol";

contract OperaRevenue {
    address public owner;
    event rewardsMoved(
        address account,
        uint256 amount,
        uint256 blocktime,
        bool incoming
    );
    event rewardsRequested(address account);

    constructor() {
        owner = msg.sender;
    }

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

    function withdraw() external onlyOwner {
        payable(owner).transfer(address(this).balance);
    }

    function requestReward() external {
        emit rewardsRequested(msg.sender);
    }

    function payoutReward(
        address user,
        uint256 amount
    ) external payable onlyOwner {
        payable(user).transfer(amount);
        emit rewardsMoved(user, amount, block.timestamp, false);
    }

    function getAddressBalance(address _address) public view returns (uint256) {
        return _address.balance;
    }

    receive() external payable {}

    function recieveRewards() external payable {
        emit rewardsMoved(msg.sender, msg.value, block.timestamp, true);
    }
}

File 8 of 10 : OperaLendingPool.sol
pragma solidity ^0.8.17;
//SPDX-License-Identifier: MIT
import "Auth.sol";
import "OperaStaking.sol";

contract OperaPool is Auth {
    uint256 public totalEthLent;
    uint256 public totalAvailableEth;
    uint256 public lendingStakingRequirement;
    uint256 public borrowLimit = 3;
    uint256 public _tokenDecimals = 1 * 10 ** 18;
    bool public borrowingEnable = true;
    address public operaStakingAddress;
    mapping(address => uint256) public usersCurrentLentAmount;
    mapping(address => uint256) public usersPendingReturnAmount;
    mapping(address => bool) public authorizedFactoryAddresses;
    mapping(uint256 => QueuePosition) public withdrawQueue;

    struct QueuePosition {
        address lender;
        uint256 amount;
    }

    event ethMoved(
        address account,
        uint256 amount,
        uint256 code,
        uint256 blocktime
    ); // 1 lent 2 borrowed 3 returned 4 withdrawn

    event factoryStatusChange(address factoryAddress, bool status);

    constructor() Auth(msg.sender) {}

    modifier onlyFactoryAuthorized() {
        require(
            authorizedFactoryAddresses[msg.sender],
            "only factory contracts can borrow eth"
        );
        _;
    }

    function updateFactoryAuthorization(
        address addy,
        bool status
    ) external onlyOwner {
        authorizedFactoryAddresses[addy] = status;
        emit factoryStatusChange(addy, status);
    }

    function updateBorrowLimit(uint256 limit) external onlyOwner {
        borrowLimit = limit;
    }

    function updateLendingStakeRequirement(uint256 limit) external onlyOwner {
        lendingStakingRequirement = limit;
    }

    function updateStakingAddress(address addy) external onlyOwner {
        operaStakingAddress = addy;
    }

    function updateBorrowingEnabled(bool status) external onlyOwner {
        borrowingEnable = status;
    }

    receive() external payable {}

    function lendEth() external payable returns (bool) {
        require(
            msg.value > 0 && msg.value % _tokenDecimals == 0,
            "Only send full ether."
        );
        if (lendingStakingRequirement > 0) {
            OperaStaking operaStaking = OperaStaking(
                payable(operaStakingAddress)
            );
            require(
                operaStaking.getStakedAmount(msg.sender) >=
                    lendingStakingRequirement,
                "You are not staking enough to lend."
            );
        }

        uint256 amountReceived = msg.value / _tokenDecimals;
        emit ethMoved(msg.sender, amountReceived, 1, block.timestamp);
        totalEthLent += amountReceived;

        usersCurrentLentAmount[msg.sender] += amountReceived;
        totalAvailableEth += amountReceived;

        return true;
    }

    function borrowEth(uint256 _amount) external onlyFactoryAuthorized {
        require(_amount <= totalAvailableEth, "Not Enough eth to borrow");
        require(_amount > 0, "Cannot borrow 0");
        require(borrowingEnable, "Borrowing is not enabled.");
        require(_amount <= borrowLimit, "Can't borrow that much.");
        totalAvailableEth -= _amount;
        payable(msg.sender).transfer(_amount * _tokenDecimals);
        emit ethMoved(msg.sender, _amount, 2, block.timestamp);
    }

    function returnLentEth(uint256 amountEth) external payable returns (bool) {
        require(
            (amountEth * _tokenDecimals) - msg.value == 0,
            "Did not send enough eth."
        );

        emit ethMoved(msg.sender, amountEth, 3, block.timestamp);
        totalAvailableEth += amountEth;

        return true;
    }

    function withdrawLentEth(uint256 _amountEther) external payable {
        require(
            usersCurrentLentAmount[msg.sender] >= _amountEther,
            "You Did not lend that much."
        );
        require(_amountEther > 0, "Cant withdraw 0.");
        require(_amountEther <= totalAvailableEth, "Not enough eth available.");
        usersCurrentLentAmount[msg.sender] -= _amountEther;
        totalAvailableEth -= _amountEther;
        totalEthLent -= _amountEther;
        payable(msg.sender).transfer(_amountEther * _tokenDecimals);
        emit ethMoved(msg.sender, _amountEther, 4, block.timestamp);
    }

    function removeExcess() external payable onlyOwner {
        require(
            address(this).balance > totalAvailableEth * _tokenDecimals,
            "There is no excess eth"
        );
        uint256 excessAmount = address(this).balance -
            (totalAvailableEth * _tokenDecimals);
        payable(owner).transfer(excessAmount);
    }
}

File 9 of 10 : OperaStaking.sol
pragma solidity ^0.8.17;

//SPDX-License-Identifier: MIT

import "OperaToken.sol";

contract OperaStaking {
    address public owner;
    address public operaToken;
    bool public lockEnabled = true;

    mapping(address => uint256) public stakedAmountForAddress;
    mapping(address => uint256) public stakedTimerForAddress;

    event stakedTokensMoved(
        address user,
        uint256 amount,
        uint256 blocktime,
        bool beingStaked
    );

    constructor() {
        owner = msg.sender;
    }

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

    function changeLockEnabled(bool locked) external onlyOwner {
        lockEnabled = locked;
    }

    function setOperaToken(address token) external onlyOwner {
        operaToken = token;
    }

    function stakeTokens(uint256 amount) external {
        OperaToken opera = OperaToken(payable(operaToken));
        uint256 balanceBefore = opera.balanceOf(address(this));
        opera.transferFrom(msg.sender, address(this), amount);
        uint256 balanceAfter = opera.balanceOf(address(this));
        require(
            balanceAfter - amount == balanceBefore,
            "Failed to transfer amount of tokens when moving."
        );
        stakedAmountForAddress[msg.sender] += amount;
        stakedTimerForAddress[msg.sender] = block.timestamp + 2629800;
        emit stakedTokensMoved(
            msg.sender,
            stakedAmountForAddress[msg.sender],
            block.timestamp,
            true
        );
    }

    function getStakedAmount(address user) public view returns (uint256) {
        if (stakedTimerForAddress[user] > block.timestamp) {
            return stakedAmountForAddress[user];
        } else {
            return 0;
        }
    }

    function withdrawStaked() external {
        if (lockEnabled) {
            require(
                stakedTimerForAddress[msg.sender] <= block.timestamp,
                "Still locked"
            );
        }

        uint256 usersAmount = stakedAmountForAddress[msg.sender];
        require(usersAmount > 0, "You have no tokens Staked.");
        stakedAmountForAddress[msg.sender] = 0;
        OperaToken opera = OperaToken(payable(operaToken));
        opera.transfer(msg.sender, usersAmount);
        emit stakedTokensMoved(msg.sender, usersAmount, block.timestamp, false);
    }

    function withdrawStakedWithFee() external {
        uint256 usersAmount = stakedAmountForAddress[msg.sender];
        require(usersAmount > 0, "You have no tokens Staked.");
        stakedTimerForAddress[msg.sender] = 0;
        stakedAmountForAddress[msg.sender] = 0;
        OperaToken opera = OperaToken(payable(operaToken));
        uint256 fee = (usersAmount * 15) / 100;
        emit stakedTokensMoved(msg.sender, usersAmount, block.timestamp, false);
        opera.transfer(msg.sender, usersAmount - fee);
        opera.transfer(owner, fee);
    }
}

File 10 of 10 : Math.sol
/// math.sol -- mixin for inline numerical wizardry

// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.

// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.

// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

pragma solidity >0.4.13;

contract DSMath {
    function add(uint x, uint y) internal pure returns (uint z) {
        require((z = x + y) >= x, "ds-math-add-overflow");
    }

    function sub(uint x, uint y) internal pure returns (uint z) {
        require((z = x - y) <= x, "ds-math-sub-underflow");
    }

    function mul(uint x, uint y) internal pure returns (uint z) {
        require(y == 0 || (z = x * y) / y == x, "ds-math-mul-overflow");
    }

    function min(uint x, uint y) internal pure returns (uint z) {
        return x <= y ? x : y;
    }

    function max(uint x, uint y) internal pure returns (uint z) {
        return x >= y ? x : y;
    }

    function imin(int x, int y) internal pure returns (int z) {
        return x <= y ? x : y;
    }

    function imax(int x, int y) internal pure returns (int z) {
        return x >= y ? x : y;
    }

    uint constant WAD = 10 ** 18;
    uint constant RAY = 10 ** 27;

    //rounds to zero if x*y < WAD / 2
    function wmul(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, y), WAD / 2) / WAD;
    }

    //rounds to zero if x*y < WAD / 2
    function rmul(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, y), RAY / 2) / RAY;
    }

    //rounds to zero if x*y < WAD / 2
    function wdiv(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, WAD), y / 2) / y;
    }

    //rounds to zero if x*y < RAY / 2
    function rdiv(uint x, uint y) internal pure returns (uint z) {
        z = add(mul(x, RAY), y / 2) / y;
    }

    // This famous algorithm is called "exponentiation by squaring"
    // and calculates x^n with x as fixed-point and n as regular unsigned.
    //
    // It's O(log n), instead of O(n) for naive repeated multiplication.
    //
    // These facts are why it works:
    //
    //  If n is even, then x^n = (x^2)^(n/2).
    //  If n is odd,  then x^n = x * x^(n-1),
    //   and applying the equation for even x gives
    //    x^n = x * (x^2)^((n-1) / 2).
    //
    //  Also, EVM division is flooring and
    //    floor[(n-1) / 2] = floor[n / 2].
    //
    function rpow(uint x, uint n) internal pure returns (uint z) {
        z = n % 2 != 0 ? x : RAY;

        for (n /= 2; n != 0; n /= 2) {
            x = rmul(x, x);

            if (n % 2 != 0) {
                z = rmul(z, x);
            }
        }
    }
}

Settings
{
  "evmVersion": "istanbul",
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "libraries": {
    "OperaToken.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string[]","name":"_stringData","type":"string[]"},{"internalType":"address[]","name":"_addressData","type":"address[]"},{"internalType":"uint256[]","name":"_intData","type":"uint256[]"},{"internalType":"address","name":"rewardsAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amountETH","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amountCoin","type":"uint256"}],"name":"AutoLiquify","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"owner","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":[],"name":"DEAD","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETHAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_devSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquidityBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_liquiditySellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_marketingSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxWalletToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_operaAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_operaRewardAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_operaTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_swapThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"aboutMe","outputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","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":"spender","type":"address"}],"name":"approveMax","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"authorize","outputs":[],"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":"clearStuckBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBuyTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getSellTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalTax","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"isAuthorized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pair","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"router","outputs":[{"internalType":"contract IDEXRouter","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"routerAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"marketingAddress","type":"address"},{"internalType":"address","name":"devAddress","type":"address"}],"name":"setAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"setBuyFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"status","type":"bool"}],"name":"setFeeExemption","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"percent","type":"uint256"}],"name":"setMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_marketingFee","type":"uint256"},{"internalType":"uint256","name":"_liquidityFee","type":"uint256"},{"internalType":"uint256","name":"_devFee","type":"uint256"}],"name":"setSellFees","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_threshold","type":"uint256"}],"name":"setTokenSwapSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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 payable","name":"adr","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"adr","type":"address"}],"name":"unauthorize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"telegram","type":"string"},{"internalType":"string","name":"website","type":"string"}],"name":"updateAboutMe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526004600955601480546001600160a01b0319908116737a250d5630b4cf539739df2c5dacb4c659f2488d1790915560198054821673c02aaa39b223fe8d0a0e5c4f27ead9083c756cc2179055601a805490911661dead1790553480156200006a57600080fd5b5060405162003685380380620036858339810160408190526200008d9162000b8e565b600080546001600160a01b0319163390811782558152600160208190526040909120805460ff1916909117905583516004146200011b5760405162461bcd60e51b815260206004820152602160248201527f537472696e67204c697374206e65656473203420737472696e6720696e7075746044820152607360f81b60648201526084015b60405180910390fd5b82516002146200017a5760405162461bcd60e51b815260206004820152602360248201527f41646472657373204c697374206e656564732032206164647265737320696e7060448201526275747360e81b606482015260840162000112565b8151600914620001cd5760405162461bcd60e51b815260206004820152601b60248201527f496e74204c697374206e65656473203920696e7420696e707574730000000000604482015260640162000112565b601780546001600160a01b038084166001600160a01b03199283161790925560188054821633179055601454601b8054909216921691821790556040805163c45a015560e01b8152905163c45a0155916004808201926020929091908290030181865afa15801562000243573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000269919062000d1d565b6001600160a01b031663c9c65396601b60009054906101000a90046001600160a01b03166001600160a01b031663ad5c46486040518163ffffffff1660e01b8152600401602060405180830381865afa158015620002cb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620002f1919062000d1d565b6040516001600160e01b031960e084901b1681526001600160a01b0390911660048201523060248201526044016020604051808303816000875af11580156200033e573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000364919062000d1d565b601380546001600160a01b0319166001600160a01b039283161790556014541660009081526001602081905260408220805460ff191690911790558451859190620003b357620003b362000d42565b602002602001015160029081620003cb919062000de7565b5083600181518110620003e257620003e262000d42565b602002602001015160039081620003fa919062000de7565b508360028151811062000411576200041162000d42565b60200260200101516004908162000429919062000de7565b508360038151811062000440576200044062000d42565b60200260200101516005908162000458919062000de7565b50826000815181106200046f576200046f62000d42565b6020026020010151601560006101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600181518110620004b357620004b362000d42565b6020026020010151601660006101000a8154816001600160a01b0302191690836001600160a01b03160217905550600082600081518110620004f957620004f962000d42565b6020026020010151118015620005335750670de0b6b3a763ffff8260008151811062000529576200052962000d42565b6020026020010151105b6200053d57600080fd5b6200054b6009600a62000fc8565b8260008151811062000561576200056162000d42565b602002602001015162000575919062000fd9565b600681905533600081815260106020908152604080832085905551938452919290917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3620005d06009600a62000fc8565b82600181518110620005e657620005e662000d42565b6020026020010151620005fa919062000fd9565b6007556200060b6009600a62000fc8565b8260028151811062000621576200062162000d42565b602002602001015162000635919062000fd9565b60085581518290600390811062000650576200065062000d42565b6020026020010151600a819055508160048151811062000674576200067462000d42565b6020026020010151600b819055508160058151811062000698576200069862000d42565b6020026020010151600c8190555081600681518110620006bc57620006bc62000d42565b6020026020010151600d8190555081600781518110620006e057620006e062000d42565b6020026020010151600e819055508160088151811062000704576200070462000d42565b602090810291909101810151600f55600654306000908152601183526040808220601b546001600160a01b031683529093529190912055620007456200074f565b505050506200102c565b601460065462000760919062000ff3565b600854111580156200078557506101f46006546200077f919062000ff3565b60085410155b6200080c5760405162461bcd60e51b815260206004820152604a60248201527f53776170205468726573686f6c64206d757374206265206c657373207468616e60448201527f203525206f6620746f74616c20737570706c792c206f722067726561746572206064820152693a3430b710181719129760b11b608482015260a40162000112565b6101f46006546200081e919062000ff3565b60075410156200087f5760405162461bcd60e51b815260206004820152602560248201527f4d61782057616c6c6574206d7573742062652067726561746572207468616e20604482015264181719129760d91b606482015260840162000112565b60646200088b620009d3565b1115620008e75760405162461bcd60e51b815260206004820152602360248201527f53656c6c207461782063616e27742062652067726561746572207468616e203160448201526218129760e91b606482015260840162000112565b6064620008f362000a0a565b11156200094e5760405162461bcd60e51b815260206004820152602260248201527f427579207461782063616e27742062652067726561746572207468616e203130604482015261129760f11b606482015260840162000112565b6015546001600160a01b0316158015906200097357506016546001600160a01b031615155b620009d15760405162461bcd60e51b815260206004820152602760248201527f52656369657665722077616c6c6574732063616e2774206265205a65726f206160448201526632323932b9b99760c91b606482015260840162000112565b565b6000600954600b54600d54600f54620009ed919062001016565b620009f9919062001016565b62000a05919062001016565b905090565b6000600954600a54600c54600e54620009ed919062001016565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b038111828210171562000a655762000a6562000a24565b604052919050565b60006001600160401b0382111562000a895762000a8962000a24565b5060051b60200190565b80516001600160a01b038116811462000aab57600080fd5b919050565b600082601f83011262000ac257600080fd5b8151602062000adb62000ad58362000a6d565b62000a3a565b82815260059290921b8401810191818101908684111562000afb57600080fd5b8286015b8481101562000b215762000b138162000a93565b835291830191830162000aff565b509695505050505050565b600082601f83011262000b3e57600080fd5b8151602062000b5162000ad58362000a6d565b82815260059290921b8401810191818101908684111562000b7157600080fd5b8286015b8481101562000b21578051835291830191830162000b75565b6000806000806080858703121562000ba557600080fd5b84516001600160401b038082111562000bbd57600080fd5b818701915087601f83011262000bd257600080fd5b8151602062000be562000ad58362000a6d565b82815260059290921b8401810191818101908b84111562000c0557600080fd5b8286015b8481101562000cb25780518681111562000c2257600080fd5b8701603f81018e1362000c3457600080fd5b848101518781111562000c4b5762000c4b62000a24565b62000c5f601f8201601f1916870162000a3a565b8181528f604083850101111562000c765760008081fd5b60005b8281101562000c975783810160400151828201890152870162000c79565b50600091810187019190915284525091830191830162000c09565b50918a015191985090935050508082111562000ccd57600080fd5b62000cdb8883890162000ab0565b9450604087015191508082111562000cf257600080fd5b5062000d018782880162000b2c565b92505062000d126060860162000a93565b905092959194509250565b60006020828403121562000d3057600080fd5b62000d3b8262000a93565b9392505050565b634e487b7160e01b600052603260045260246000fd5b600181811c9082168062000d6d57607f821691505b60208210810362000d8e57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562000de257600081815260208120601f850160051c8101602086101562000dbd5750805b601f850160051c820191505b8181101562000dde5782815560010162000dc9565b5050505b505050565b81516001600160401b0381111562000e035762000e0362000a24565b62000e1b8162000e14845462000d58565b8462000d94565b602080601f83116001811462000e53576000841562000e3a5750858301515b600019600386901b1c1916600185901b17855562000dde565b600085815260208120601f198616915b8281101562000e845788860151825594840194600190910190840162000e63565b508582101562000ea35787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052601160045260246000fd5b600181815b8085111562000f0a57816000190482111562000eee5762000eee62000eb3565b8085161562000efc57918102915b93841c939080029062000ece565b509250929050565b60008262000f235750600162000fc2565b8162000f325750600062000fc2565b816001811462000f4b576002811462000f565762000f76565b600191505062000fc2565b60ff84111562000f6a5762000f6a62000eb3565b50506001821b62000fc2565b5060208310610133831016604e8410600b841016171562000f9b575081810a62000fc2565b62000fa7838362000ec9565b806000190482111562000fbe5762000fbe62000eb3565b0290505b92915050565b600062000d3b60ff84168362000f12565b808202811582820484141762000fc25762000fc262000eb3565b6000826200101157634e487b7160e01b600052601260045260246000fd5b500490565b8082018082111562000fc25762000fc262000eb3565b612649806200103c6000396000f3fe6080604052600436106102975760003560e01c80635d0044ca1161015a578063b6a5d7de116100c1578063e5f2758f1161007a578063e5f2758f146107c1578063f0b37c04146107e1578063f2fde38b14610801578063f887ea4014610821578063fb4aa58514610841578063fe9fbb801461085757600080fd5b8063b6a5d7de146106ec578063bc7a28981461070c578063caac79341461072f578063dd03bf861461074f578063dd62ed3e14610765578063e4202954146107ab57600080fd5b8063893d20e811610113578063893d20e81461064457806390107afe1461066257806395d89b4114610682578063a8aa1b3114610697578063a9059cbb146106b7578063b0bc85de146106d757600080fd5b80635d0044ca1461057857806360959b56146105985780636af65929146105b857806370a08231146105d8578063751fd1791461060e57806378109e541461062e57600080fd5b8063276ef2d5116101fe578063364333f4116101b7578063364333f4146104e457806338cc4831146104f95780633eaaf86b1461050c57806343e6727014610522578063571ac8b01461053857806357c0192b1461055857600080fd5b8063276ef2d51461042e5780632d2fe717146104435780632f54bf6e14610459578063313ce567146104885780633268cc56146104a457806335c1ac31146104c457600080fd5b80630e5a9231116102505780630e5a9231146103985780630f683e90146103ae57806318160ddd146103ce5780631f1b845b146103e357806323b872dd146103f9578063252d723a1461041957600080fd5b8063010cf559146102a357806303fd2a45146102cc57806306fdde0314610304578063095ea7b3146103265780630af88b24146103565780630d075d9c1461037657600080fd5b3661029e57005b600080fd5b3480156102af57600080fd5b506102b9600d5481565b6040519081526020015b60405180910390f35b3480156102d857600080fd5b50601a546102ec906001600160a01b031681565b6040516001600160a01b0390911681526020016102c3565b34801561031057600080fd5b50610319610877565b6040516102c39190611f52565b34801561033257600080fd5b50610346610341366004611f7a565b610909565b60405190151581526020016102c3565b34801561036257600080fd5b506019546102ec906001600160a01b031681565b34801561038257600080fd5b50610396610391366004611fa6565b610976565b005b3480156103a457600080fd5b506102b960085481565b3480156103ba57600080fd5b506103966103c9366004611fa6565b6109c0565b3480156103da57600080fd5b506006546102b9565b3480156103ef57600080fd5b506102b9600b5481565b34801561040557600080fd5b50610346610414366004611fd2565b6109fc565b34801561042557600080fd5b506102b9610b0c565b34801561043a57600080fd5b506102b9610b3d565b34801561044f57600080fd5b506102b960095481565b34801561046557600080fd5b50610346610474366004612013565b6000546001600160a01b0391821691161490565b34801561049457600080fd5b50604051600981526020016102c3565b3480156104b057600080fd5b506014546102ec906001600160a01b031681565b3480156104d057600080fd5b506017546102ec906001600160a01b031681565b3480156104f057600080fd5b50610396610b4f565b34801561050557600080fd5b50306102ec565b34801561051857600080fd5b506102b960065481565b34801561052e57600080fd5b506102b9600f5481565b34801561054457600080fd5b50610346610553366004612013565b610bf6565b34801561056457600080fd5b506018546102ec906001600160a01b031681565b34801561058457600080fd5b50610396610593366004612030565b610c04565b3480156105a457600080fd5b506103966105b33660046120ec565b610c4f565b3480156105c457600080fd5b506015546102ec906001600160a01b031681565b3480156105e457600080fd5b506102b96105f3366004612013565b6001600160a01b031660009081526010602052604090205490565b34801561061a57600080fd5b50610396610629366004612150565b610c8d565b34801561063a57600080fd5b506102b960075481565b34801561065057600080fd5b506000546001600160a01b03166102ec565b34801561066e57600080fd5b5061039661067d36600461218e565b610cdd565b34801561068e57600080fd5b50610319610d3e565b3480156106a357600080fd5b506013546102ec906001600160a01b031681565b3480156106c357600080fd5b506103466106d2366004611f7a565b610d4d565b3480156106e357600080fd5b506102b9610d7f565b3480156106f857600080fd5b50610396610707366004612013565b610d97565b34801561071857600080fd5b50610721610de8565b6040516102c39291906121bc565b34801561073b57600080fd5b506016546102ec906001600160a01b031681565b34801561075b57600080fd5b506102b9600c5481565b34801561077157600080fd5b506102b961078036600461218e565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b3480156107b757600080fd5b506102b9600e5481565b3480156107cd57600080fd5b506103966107dc366004612030565b610f0f565b3480156107ed57600080fd5b506103966107fc366004612013565b610f55565b34801561080d57600080fd5b5061039661081c366004612013565b610fa0565b34801561082d57600080fd5b50601b546102ec906001600160a01b031681565b34801561084d57600080fd5b506102b9600a5481565b34801561086357600080fd5b50610346610872366004612013565b611036565b606060028054610886906121e1565b80601f01602080910402602001604051908101604052809291908181526020018280546108b2906121e1565b80156108ff5780601f106108d4576101008083540402835291602001916108ff565b820191906000526020600020905b8154815290600101906020018083116108e257829003601f168201915b5050505050905090565b3360008181526011602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906109649086815260200190565b60405180910390a35060015b92915050565b61097f33611036565b6109a45760405162461bcd60e51b815260040161099b9061221b565b60405180910390fd5b600a839055600e829055600c8190556109bb611054565b505050565b6109c933611036565b6109e55760405162461bcd60e51b815260040161099b9061221b565b600b839055600f829055600d8190556109bb611054565b60006001600160a01b038416610a245760405162461bcd60e51b815260040161099b90612240565b6001600160a01b038316610a4a5760405162461bcd60e51b815260040161099b90612285565b6006546001600160a01b038516600090815260116020908152604080832033845290915290205414610af7576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152601182528381203382529091529190912054610ad29184906112c2565b6001600160a01b03851660009081526011602090815260408083203384529091529020555b610b028484846112fc565b90505b9392505050565b6000600954600a54600c54600e54610b2491906122de565b610b2e91906122de565b610b3891906122de565b905090565b6000610b47610b0c565b610b2e610d7f565b6018546001600160a01b03163314610bba5760405162461bcd60e51b815260206004820152602860248201527f4f6e6c7920466163746f727920436f6e74726163742063616e20636c656172206044820152673130b630b731b29760c11b606482015260840161099b565b6018546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610bf3573d6000803e3d6000fd5b50565b600061097082600654610909565b610c0d33611036565b610c295760405162461bcd60e51b815260040161099b9061221b565b6103e881600654610c3a91906122f1565b610c449190612308565b600755610bf3611054565b610c5833611036565b610c745760405162461bcd60e51b815260040161099b9061221b565b6004610c808382612378565b5060056109bb8282612378565b610c9633611036565b610cb25760405162461bcd60e51b815260040161099b9061221b565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b610ce633611036565b610d025760405162461bcd60e51b815260040161099b9061221b565b601680546001600160a01b038085166001600160a01b0319928316179092556015805492841692909116919091179055610d3a611054565b5050565b606060038054610886906121e1565b60008054336001600160a01b0390911603610d7457610d6d338484611528565b9050610970565b610d6d3384846112fc565b6000600954600b54600d54600f54610b2491906122de565b6000546001600160a01b03163314610dc15760405162461bcd60e51b815260040161099b90612438565b6001600160a01b03166000908152600160208190526040909120805460ff19169091179055565b60608060046005818054610dfb906121e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610e27906121e1565b8015610e745780601f10610e4957610100808354040283529160200191610e74565b820191906000526020600020905b815481529060010190602001808311610e5757829003601f168201915b50505050509150808054610e87906121e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb3906121e1565b8015610f005780601f10610ed557610100808354040283529160200191610f00565b820191906000526020600020905b815481529060010190602001808311610ee357829003601f168201915b50505050509050915091509091565b610f1833611036565b610f345760405162461bcd60e51b815260040161099b9061221b565b610f406009600a61253c565b610f4a90826122f1565b600855610bf3611054565b6000546001600160a01b03163314610f7f5760405162461bcd60e51b815260040161099b90612438565b6001600160a01b03166000908152600160205260409020805460ff19169055565b6000546001600160a01b03163314610fca5760405162461bcd60e51b815260040161099b90612438565b600080546001600160a01b0319166001600160a01b038316908117825580825260016020818152604093849020805460ff191690921790915591519081527f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc686163910160405180910390a150565b6001600160a01b031660009081526001602052604090205460ff1690565b60146006546110639190612308565b6008541115801561108557506101f460065461107f9190612308565b60085410155b61110a5760405162461bcd60e51b815260206004820152604a60248201527f53776170205468726573686f6c64206d757374206265206c657373207468616e60448201527f203525206f6620746f74616c20737570706c792c206f722067726561746572206064820152693a3430b710181719129760b11b608482015260a40161099b565b6101f460065461111a9190612308565b60075410156111795760405162461bcd60e51b815260206004820152602560248201527f4d61782057616c6c6574206d7573742062652067726561746572207468616e20604482015264181719129760d91b606482015260840161099b565b6064611183610d7f565b11156111dd5760405162461bcd60e51b815260206004820152602360248201527f53656c6c207461782063616e27742062652067726561746572207468616e203160448201526218129760e91b606482015260840161099b565b60646111e7610b0c565b11156112405760405162461bcd60e51b815260206004820152602260248201527f427579207461782063616e27742062652067726561746572207468616e203130604482015261129760f11b606482015260840161099b565b6015546001600160a01b03161580159061126457506016546001600160a01b031615155b6112c05760405162461bcd60e51b815260206004820152602760248201527f52656369657665722077616c6c6574732063616e2774206265205a65726f206160448201526632323932b9b99760c91b606482015260840161099b565b565b600081848411156112e65760405162461bcd60e51b815260040161099b9190611f52565b5060006112f3848661254b565b95945050505050565b60006001600160a01b0384166113245760405162461bcd60e51b815260040161099b90612240565b6001600160a01b03831661134a5760405162461bcd60e51b815260040161099b90612285565b6001600160a01b03841660009081526001602052604090205460ff168061138957506001600160a01b03831660009081526001602052604090205460ff165b806113a157506018546001600160a01b038481169116145b156113b8576113b1848484611528565b9050610b05565b601b54600160a01b900460ff16156113d5576113b1848484611528565b6113e084848461160e565b6113e98361177c565b156113f6576113f66117c8565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0387166000908152601090915291909120546114489184906112c2565b6001600160a01b038086166000908152601060205260408120929092556013548582169116148061148657506013546001600160a01b038681169116145b611490578261149b565b61149b858585611c63565b6001600160a01b0385166000908152601060205260409020549091506114c19082611d79565b6001600160a01b0380861660008181526010602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906115159085815260200190565b60405180910390a3506001949350505050565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b03861660009081526010909152918220546115799184906112c2565b6001600160a01b0380861660009081526010602052604080822093909355908516815220546115a89083611d79565b6001600160a01b0380851660008181526010602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906115fc9086815260200190565b60405180910390a35060019392505050565b6001600160a01b03831660009081526001602052604090205460ff1615801561164057506001600160a01b0382163014155b801561165557506001600160a01b0383163014155b801561166f5750601a546001600160a01b03838116911614155b801561168957506013546001600160a01b03838116911614155b80156116a357506016546001600160a01b03838116911614155b80156116bd57506015546001600160a01b03838116911614155b80156116d757506018546001600160a01b03838116911614155b156109bb576001600160a01b03821660009081526010602052604090205460075461170283836122de565b11156117765760405162461bcd60e51b815260206004820152603e60248201527f546f74616c20486f6c64696e672069732063757272656e746c79206c696d697460448201527f65642c20796f752063616e206e6f74206275792074686174206d7563682e0000606482015260840161099b565b50505050565b6013546000906001600160a01b0383811691161480156117a65750601b54600160a01b900460ff16155b8015610970575060085430600090815260106020526040902054101592915050565b601b805460ff60a01b1916600160a01b17905530600090815260106020526040812054600f54600e5491929182916117ff916122de565b1161180b57600061183b565b61183b600261183561181b610b3d565b611835600f54600e5461182e91906122de565b8790611dd8565b90611e5a565b905060006118498383611e9c565b604080516002808252606082018352929350600092909160208301908036833701905050905030816000815181106118835761188361255e565b6001600160a01b0392831660209182029290920101526019548251911690829060019081106118b4576118b461255e565b6001600160a01b039283166020918202929092010152601b5460405163791ac94760e01b81524792919091169063791ac947906118fe908690600090879030904290600401612574565b600060405180830381600087803b15801561191857600080fd5b505af115801561192c573d6000803e3d6000fd5b505050506000806119468347611e9c90919063ffffffff16565b9050600080600f54600e5461195b91906122de565b1161196d57611968610b3d565b611993565b6119936119856002600f54600e5461183591906122de565b61198d610b3d565b90611e9c565b905060006119ba600261183584611835600f54600e546119b391906122de565b8890611dd8565b90506000600d54600c546119ce91906122de565b1115611a4f5760006119ed83611835600d54600c5461182e91906122de565b6015546040519192506001600160a01b031690620186a09083906000818181858888f193505050503d8060008114611a41576040519150601f19603f3d011682016040523d82523d6000602084013e611a46565b606091505b50600096505050505b6000600b54600a54611a6191906122de565b1115611ae2576000611a8083611835600b54600a5461182e91906122de565b6016546040519192506001600160a01b031690620186a09083906000818181858888f193505050503d8060008114611ad4576040519150601f19603f3d011682016040523d82523d6000602084013e611ad9565b606091505b50600096505050505b8715611bba57601b5460185460405163f305d71960e01b8152306004820152602481018b905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1158015611b58573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611b7d91906125e5565b505060408051838152602081018b90527f424db2872186fa7e7afa7a5e902ed3b49a2ef19c2f5431e672462495dd6b450692500160405180910390a15b6000611bd98361183561182e6002600954611dd890919063ffffffff16565b90506000601760009054906101000a90046001600160a01b03169050806001600160a01b031663289fe2d5836040518263ffffffff1660e01b81526004016000604051808303818588803b158015611c3057600080fd5b505af1158015611c44573d6000803e3d6000fd5b5050601b805460ff60a01b191690555050505050505050505050505050565b6001600160a01b03831660009081526012602052604081205460ff1680611ca257506001600160a01b03831660009081526012602052604090205460ff165b15611cae575080610b05565b6013546000906001600160a01b03858116911614611cd357611cce610b0c565b611cdb565b611cdb610d7f565b90506000611cef6103e86118358685611dd8565b30600090815260106020526040902054909150611d0c9082611d79565b30600081815260106020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611d5d9085815260200190565b60405180910390a3611d6f8482611e9c565b9695505050505050565b600080611d8683856122de565b905083811015610b055760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161099b565b600082600003611dea57506000610970565b6000611df683856122f1565b905082611e038583612308565b14610b055760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161099b565b6000610b0583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611ede565b6000610b0583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506112c2565b60008183611eff5760405162461bcd60e51b815260040161099b9190611f52565b5060006112f38486612308565b6000815180845260005b81811015611f3257602081850181015186830182015201611f16565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610b056020830184611f0c565b6001600160a01b0381168114610bf357600080fd5b60008060408385031215611f8d57600080fd5b8235611f9881611f65565b946020939093013593505050565b600080600060608486031215611fbb57600080fd5b505081359360208301359350604090920135919050565b600080600060608486031215611fe757600080fd5b8335611ff281611f65565b9250602084013561200281611f65565b929592945050506040919091013590565b60006020828403121561202557600080fd5b8135610b0581611f65565b60006020828403121561204257600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261207057600080fd5b813567ffffffffffffffff8082111561208b5761208b612049565b604051601f8301601f19908116603f011681019082821181831017156120b3576120b3612049565b816040528381528660208588010111156120cc57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156120ff57600080fd5b823567ffffffffffffffff8082111561211757600080fd5b6121238683870161205f565b9350602085013591508082111561213957600080fd5b506121468582860161205f565b9150509250929050565b6000806040838503121561216357600080fd5b823561216e81611f65565b91506020830135801515811461218357600080fd5b809150509250929050565b600080604083850312156121a157600080fd5b82356121ac81611f65565b9150602083013561218381611f65565b6040815260006121cf6040830185611f0c565b82810360208401526112f38185611f0c565b600181811c908216806121f557607f821691505b60208210810361221557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600b908201526a085055551213d49256915160aa1b604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610970576109706122c8565b8082028115828204841417610970576109706122c8565b60008261232557634e487b7160e01b600052601260045260246000fd5b500490565b601f8211156109bb57600081815260208120601f850160051c810160208610156123515750805b601f850160051c820191505b818110156123705782815560010161235d565b505050505050565b815167ffffffffffffffff81111561239257612392612049565b6123a6816123a084546121e1565b8461232a565b602080601f8311600181146123db57600084156123c35750858301515b600019600386901b1c1916600185901b178555612370565b600085815260208120601f198616915b8281101561240a578886015182559484019460019091019084016123eb565b50858210156124285787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526006908201526510a7aba722a960d11b604082015260600190565b600181815b80851115612493578160001904821115612479576124796122c8565b8085161561248657918102915b93841c939080029061245d565b509250929050565b6000826124aa57506001610970565b816124b757506000610970565b81600181146124cd57600281146124d7576124f3565b6001915050610970565b60ff8411156124e8576124e86122c8565b50506001821b610970565b5060208310610133831016604e8410600b8410161715612516575081810a610970565b6125208383612458565b8060001904821115612534576125346122c8565b029392505050565b6000610b0560ff84168361249b565b81810381811115610970576109706122c8565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156125c45784516001600160a01b03168352938301939183019160010161259f565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156125fa57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220b483c85a5fa72df423e174994952d975763695137fda7c1f35ae8440d31b18f264736f6c6343000811003300000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000220000000000000000000000000000000000000000000000000000000000000028000000000000000000000000098efb91029784335ea9205a751d2444f317d06fe0000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000036162630000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000364656600000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003676869000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036a6b6c00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002000000000000000000000000d6265ed5fd18904e7d8043d987dfd64f4a7d3851000000000000000000000000d6265ed5fd18904e7d8043d987dfd64f4a7d3851000000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000000013880000000000000000000000000000000000000000000000000000000000001388000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102975760003560e01c80635d0044ca1161015a578063b6a5d7de116100c1578063e5f2758f1161007a578063e5f2758f146107c1578063f0b37c04146107e1578063f2fde38b14610801578063f887ea4014610821578063fb4aa58514610841578063fe9fbb801461085757600080fd5b8063b6a5d7de146106ec578063bc7a28981461070c578063caac79341461072f578063dd03bf861461074f578063dd62ed3e14610765578063e4202954146107ab57600080fd5b8063893d20e811610113578063893d20e81461064457806390107afe1461066257806395d89b4114610682578063a8aa1b3114610697578063a9059cbb146106b7578063b0bc85de146106d757600080fd5b80635d0044ca1461057857806360959b56146105985780636af65929146105b857806370a08231146105d8578063751fd1791461060e57806378109e541461062e57600080fd5b8063276ef2d5116101fe578063364333f4116101b7578063364333f4146104e457806338cc4831146104f95780633eaaf86b1461050c57806343e6727014610522578063571ac8b01461053857806357c0192b1461055857600080fd5b8063276ef2d51461042e5780632d2fe717146104435780632f54bf6e14610459578063313ce567146104885780633268cc56146104a457806335c1ac31146104c457600080fd5b80630e5a9231116102505780630e5a9231146103985780630f683e90146103ae57806318160ddd146103ce5780631f1b845b146103e357806323b872dd146103f9578063252d723a1461041957600080fd5b8063010cf559146102a357806303fd2a45146102cc57806306fdde0314610304578063095ea7b3146103265780630af88b24146103565780630d075d9c1461037657600080fd5b3661029e57005b600080fd5b3480156102af57600080fd5b506102b9600d5481565b6040519081526020015b60405180910390f35b3480156102d857600080fd5b50601a546102ec906001600160a01b031681565b6040516001600160a01b0390911681526020016102c3565b34801561031057600080fd5b50610319610877565b6040516102c39190611f52565b34801561033257600080fd5b50610346610341366004611f7a565b610909565b60405190151581526020016102c3565b34801561036257600080fd5b506019546102ec906001600160a01b031681565b34801561038257600080fd5b50610396610391366004611fa6565b610976565b005b3480156103a457600080fd5b506102b960085481565b3480156103ba57600080fd5b506103966103c9366004611fa6565b6109c0565b3480156103da57600080fd5b506006546102b9565b3480156103ef57600080fd5b506102b9600b5481565b34801561040557600080fd5b50610346610414366004611fd2565b6109fc565b34801561042557600080fd5b506102b9610b0c565b34801561043a57600080fd5b506102b9610b3d565b34801561044f57600080fd5b506102b960095481565b34801561046557600080fd5b50610346610474366004612013565b6000546001600160a01b0391821691161490565b34801561049457600080fd5b50604051600981526020016102c3565b3480156104b057600080fd5b506014546102ec906001600160a01b031681565b3480156104d057600080fd5b506017546102ec906001600160a01b031681565b3480156104f057600080fd5b50610396610b4f565b34801561050557600080fd5b50306102ec565b34801561051857600080fd5b506102b960065481565b34801561052e57600080fd5b506102b9600f5481565b34801561054457600080fd5b50610346610553366004612013565b610bf6565b34801561056457600080fd5b506018546102ec906001600160a01b031681565b34801561058457600080fd5b50610396610593366004612030565b610c04565b3480156105a457600080fd5b506103966105b33660046120ec565b610c4f565b3480156105c457600080fd5b506015546102ec906001600160a01b031681565b3480156105e457600080fd5b506102b96105f3366004612013565b6001600160a01b031660009081526010602052604090205490565b34801561061a57600080fd5b50610396610629366004612150565b610c8d565b34801561063a57600080fd5b506102b960075481565b34801561065057600080fd5b506000546001600160a01b03166102ec565b34801561066e57600080fd5b5061039661067d36600461218e565b610cdd565b34801561068e57600080fd5b50610319610d3e565b3480156106a357600080fd5b506013546102ec906001600160a01b031681565b3480156106c357600080fd5b506103466106d2366004611f7a565b610d4d565b3480156106e357600080fd5b506102b9610d7f565b3480156106f857600080fd5b50610396610707366004612013565b610d97565b34801561071857600080fd5b50610721610de8565b6040516102c39291906121bc565b34801561073b57600080fd5b506016546102ec906001600160a01b031681565b34801561075b57600080fd5b506102b9600c5481565b34801561077157600080fd5b506102b961078036600461218e565b6001600160a01b03918216600090815260116020908152604080832093909416825291909152205490565b3480156107b757600080fd5b506102b9600e5481565b3480156107cd57600080fd5b506103966107dc366004612030565b610f0f565b3480156107ed57600080fd5b506103966107fc366004612013565b610f55565b34801561080d57600080fd5b5061039661081c366004612013565b610fa0565b34801561082d57600080fd5b50601b546102ec906001600160a01b031681565b34801561084d57600080fd5b506102b9600a5481565b34801561086357600080fd5b50610346610872366004612013565b611036565b606060028054610886906121e1565b80601f01602080910402602001604051908101604052809291908181526020018280546108b2906121e1565b80156108ff5780601f106108d4576101008083540402835291602001916108ff565b820191906000526020600020905b8154815290600101906020018083116108e257829003601f168201915b5050505050905090565b3360008181526011602090815260408083206001600160a01b038716808552925280832085905551919290917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925906109649086815260200190565b60405180910390a35060015b92915050565b61097f33611036565b6109a45760405162461bcd60e51b815260040161099b9061221b565b60405180910390fd5b600a839055600e829055600c8190556109bb611054565b505050565b6109c933611036565b6109e55760405162461bcd60e51b815260040161099b9061221b565b600b839055600f829055600d8190556109bb611054565b60006001600160a01b038416610a245760405162461bcd60e51b815260040161099b90612240565b6001600160a01b038316610a4a5760405162461bcd60e51b815260040161099b90612285565b6006546001600160a01b038516600090815260116020908152604080832033845290915290205414610af7576040805180820182526016815275496e73756666696369656e7420416c6c6f77616e636560501b6020808301919091526001600160a01b0387166000908152601182528381203382529091529190912054610ad29184906112c2565b6001600160a01b03851660009081526011602090815260408083203384529091529020555b610b028484846112fc565b90505b9392505050565b6000600954600a54600c54600e54610b2491906122de565b610b2e91906122de565b610b3891906122de565b905090565b6000610b47610b0c565b610b2e610d7f565b6018546001600160a01b03163314610bba5760405162461bcd60e51b815260206004820152602860248201527f4f6e6c7920466163746f727920436f6e74726163742063616e20636c656172206044820152673130b630b731b29760c11b606482015260840161099b565b6018546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610bf3573d6000803e3d6000fd5b50565b600061097082600654610909565b610c0d33611036565b610c295760405162461bcd60e51b815260040161099b9061221b565b6103e881600654610c3a91906122f1565b610c449190612308565b600755610bf3611054565b610c5833611036565b610c745760405162461bcd60e51b815260040161099b9061221b565b6004610c808382612378565b5060056109bb8282612378565b610c9633611036565b610cb25760405162461bcd60e51b815260040161099b9061221b565b6001600160a01b03919091166000908152601260205260409020805460ff1916911515919091179055565b610ce633611036565b610d025760405162461bcd60e51b815260040161099b9061221b565b601680546001600160a01b038085166001600160a01b0319928316179092556015805492841692909116919091179055610d3a611054565b5050565b606060038054610886906121e1565b60008054336001600160a01b0390911603610d7457610d6d338484611528565b9050610970565b610d6d3384846112fc565b6000600954600b54600d54600f54610b2491906122de565b6000546001600160a01b03163314610dc15760405162461bcd60e51b815260040161099b90612438565b6001600160a01b03166000908152600160208190526040909120805460ff19169091179055565b60608060046005818054610dfb906121e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610e27906121e1565b8015610e745780601f10610e4957610100808354040283529160200191610e74565b820191906000526020600020905b815481529060010190602001808311610e5757829003601f168201915b50505050509150808054610e87906121e1565b80601f0160208091040260200160405190810160405280929190818152602001828054610eb3906121e1565b8015610f005780601f10610ed557610100808354040283529160200191610f00565b820191906000526020600020905b815481529060010190602001808311610ee357829003601f168201915b50505050509050915091509091565b610f1833611036565b610f345760405162461bcd60e51b815260040161099b9061221b565b610f406009600a61253c565b610f4a90826122f1565b600855610bf3611054565b6000546001600160a01b03163314610f7f5760405162461bcd60e51b815260040161099b90612438565b6001600160a01b03166000908152600160205260409020805460ff19169055565b6000546001600160a01b03163314610fca5760405162461bcd60e51b815260040161099b90612438565b600080546001600160a01b0319166001600160a01b038316908117825580825260016020818152604093849020805460ff191690921790915591519081527f04dba622d284ed0014ee4b9a6a68386be1a4c08a4913ae272de89199cc686163910160405180910390a150565b6001600160a01b031660009081526001602052604090205460ff1690565b60146006546110639190612308565b6008541115801561108557506101f460065461107f9190612308565b60085410155b61110a5760405162461bcd60e51b815260206004820152604a60248201527f53776170205468726573686f6c64206d757374206265206c657373207468616e60448201527f203525206f6620746f74616c20737570706c792c206f722067726561746572206064820152693a3430b710181719129760b11b608482015260a40161099b565b6101f460065461111a9190612308565b60075410156111795760405162461bcd60e51b815260206004820152602560248201527f4d61782057616c6c6574206d7573742062652067726561746572207468616e20604482015264181719129760d91b606482015260840161099b565b6064611183610d7f565b11156111dd5760405162461bcd60e51b815260206004820152602360248201527f53656c6c207461782063616e27742062652067726561746572207468616e203160448201526218129760e91b606482015260840161099b565b60646111e7610b0c565b11156112405760405162461bcd60e51b815260206004820152602260248201527f427579207461782063616e27742062652067726561746572207468616e203130604482015261129760f11b606482015260840161099b565b6015546001600160a01b03161580159061126457506016546001600160a01b031615155b6112c05760405162461bcd60e51b815260206004820152602760248201527f52656369657665722077616c6c6574732063616e2774206265205a65726f206160448201526632323932b9b99760c91b606482015260840161099b565b565b600081848411156112e65760405162461bcd60e51b815260040161099b9190611f52565b5060006112f3848661254b565b95945050505050565b60006001600160a01b0384166113245760405162461bcd60e51b815260040161099b90612240565b6001600160a01b03831661134a5760405162461bcd60e51b815260040161099b90612285565b6001600160a01b03841660009081526001602052604090205460ff168061138957506001600160a01b03831660009081526001602052604090205460ff165b806113a157506018546001600160a01b038481169116145b156113b8576113b1848484611528565b9050610b05565b601b54600160a01b900460ff16156113d5576113b1848484611528565b6113e084848461160e565b6113e98361177c565b156113f6576113f66117c8565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b0387166000908152601090915291909120546114489184906112c2565b6001600160a01b038086166000908152601060205260408120929092556013548582169116148061148657506013546001600160a01b038681169116145b611490578261149b565b61149b858585611c63565b6001600160a01b0385166000908152601060205260409020549091506114c19082611d79565b6001600160a01b0380861660008181526010602052604090819020939093559151908716907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906115159085815260200190565b60405180910390a3506001949350505050565b6040805180820182526014815273496e73756666696369656e742042616c616e636560601b6020808301919091526001600160a01b03861660009081526010909152918220546115799184906112c2565b6001600160a01b0380861660009081526010602052604080822093909355908516815220546115a89083611d79565b6001600160a01b0380851660008181526010602052604090819020939093559151908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef906115fc9086815260200190565b60405180910390a35060019392505050565b6001600160a01b03831660009081526001602052604090205460ff1615801561164057506001600160a01b0382163014155b801561165557506001600160a01b0383163014155b801561166f5750601a546001600160a01b03838116911614155b801561168957506013546001600160a01b03838116911614155b80156116a357506016546001600160a01b03838116911614155b80156116bd57506015546001600160a01b03838116911614155b80156116d757506018546001600160a01b03838116911614155b156109bb576001600160a01b03821660009081526010602052604090205460075461170283836122de565b11156117765760405162461bcd60e51b815260206004820152603e60248201527f546f74616c20486f6c64696e672069732063757272656e746c79206c696d697460448201527f65642c20796f752063616e206e6f74206275792074686174206d7563682e0000606482015260840161099b565b50505050565b6013546000906001600160a01b0383811691161480156117a65750601b54600160a01b900460ff16155b8015610970575060085430600090815260106020526040902054101592915050565b601b805460ff60a01b1916600160a01b17905530600090815260106020526040812054600f54600e5491929182916117ff916122de565b1161180b57600061183b565b61183b600261183561181b610b3d565b611835600f54600e5461182e91906122de565b8790611dd8565b90611e5a565b905060006118498383611e9c565b604080516002808252606082018352929350600092909160208301908036833701905050905030816000815181106118835761188361255e565b6001600160a01b0392831660209182029290920101526019548251911690829060019081106118b4576118b461255e565b6001600160a01b039283166020918202929092010152601b5460405163791ac94760e01b81524792919091169063791ac947906118fe908690600090879030904290600401612574565b600060405180830381600087803b15801561191857600080fd5b505af115801561192c573d6000803e3d6000fd5b505050506000806119468347611e9c90919063ffffffff16565b9050600080600f54600e5461195b91906122de565b1161196d57611968610b3d565b611993565b6119936119856002600f54600e5461183591906122de565b61198d610b3d565b90611e9c565b905060006119ba600261183584611835600f54600e546119b391906122de565b8890611dd8565b90506000600d54600c546119ce91906122de565b1115611a4f5760006119ed83611835600d54600c5461182e91906122de565b6015546040519192506001600160a01b031690620186a09083906000818181858888f193505050503d8060008114611a41576040519150601f19603f3d011682016040523d82523d6000602084013e611a46565b606091505b50600096505050505b6000600b54600a54611a6191906122de565b1115611ae2576000611a8083611835600b54600a5461182e91906122de565b6016546040519192506001600160a01b031690620186a09083906000818181858888f193505050503d8060008114611ad4576040519150601f19603f3d011682016040523d82523d6000602084013e611ad9565b606091505b50600096505050505b8715611bba57601b5460185460405163f305d71960e01b8152306004820152602481018b905260006044820181905260648201526001600160a01b0391821660848201524260a482015291169063f305d71990839060c40160606040518083038185885af1158015611b58573d6000803e3d6000fd5b50505050506040513d601f19601f82011682018060405250810190611b7d91906125e5565b505060408051838152602081018b90527f424db2872186fa7e7afa7a5e902ed3b49a2ef19c2f5431e672462495dd6b450692500160405180910390a15b6000611bd98361183561182e6002600954611dd890919063ffffffff16565b90506000601760009054906101000a90046001600160a01b03169050806001600160a01b031663289fe2d5836040518263ffffffff1660e01b81526004016000604051808303818588803b158015611c3057600080fd5b505af1158015611c44573d6000803e3d6000fd5b5050601b805460ff60a01b191690555050505050505050505050505050565b6001600160a01b03831660009081526012602052604081205460ff1680611ca257506001600160a01b03831660009081526012602052604090205460ff165b15611cae575080610b05565b6013546000906001600160a01b03858116911614611cd357611cce610b0c565b611cdb565b611cdb610d7f565b90506000611cef6103e86118358685611dd8565b30600090815260106020526040902054909150611d0c9082611d79565b30600081815260106020526040908190209290925590516001600160a01b038816907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90611d5d9085815260200190565b60405180910390a3611d6f8482611e9c565b9695505050505050565b600080611d8683856122de565b905083811015610b055760405162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015260640161099b565b600082600003611dea57506000610970565b6000611df683856122f1565b905082611e038583612308565b14610b055760405162461bcd60e51b815260206004820152602160248201527f536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f6044820152607760f81b606482015260840161099b565b6000610b0583836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250611ede565b6000610b0583836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506112c2565b60008183611eff5760405162461bcd60e51b815260040161099b9190611f52565b5060006112f38486612308565b6000815180845260005b81811015611f3257602081850181015186830182015201611f16565b506000602082860101526020601f19601f83011685010191505092915050565b602081526000610b056020830184611f0c565b6001600160a01b0381168114610bf357600080fd5b60008060408385031215611f8d57600080fd5b8235611f9881611f65565b946020939093013593505050565b600080600060608486031215611fbb57600080fd5b505081359360208301359350604090920135919050565b600080600060608486031215611fe757600080fd5b8335611ff281611f65565b9250602084013561200281611f65565b929592945050506040919091013590565b60006020828403121561202557600080fd5b8135610b0581611f65565b60006020828403121561204257600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600082601f83011261207057600080fd5b813567ffffffffffffffff8082111561208b5761208b612049565b604051601f8301601f19908116603f011681019082821181831017156120b3576120b3612049565b816040528381528660208588010111156120cc57600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080604083850312156120ff57600080fd5b823567ffffffffffffffff8082111561211757600080fd5b6121238683870161205f565b9350602085013591508082111561213957600080fd5b506121468582860161205f565b9150509250929050565b6000806040838503121561216357600080fd5b823561216e81611f65565b91506020830135801515811461218357600080fd5b809150509250929050565b600080604083850312156121a157600080fd5b82356121ac81611f65565b9150602083013561218381611f65565b6040815260006121cf6040830185611f0c565b82810360208401526112f38185611f0c565b600181811c908216806121f557607f821691505b60208210810361221557634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252600b908201526a085055551213d49256915160aa1b604082015260600190565b60208082526025908201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604082015264647265737360d81b606082015260800190565b60208082526023908201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260408201526265737360e81b606082015260800190565b634e487b7160e01b600052601160045260246000fd5b80820180821115610970576109706122c8565b8082028115828204841417610970576109706122c8565b60008261232557634e487b7160e01b600052601260045260246000fd5b500490565b601f8211156109bb57600081815260208120601f850160051c810160208610156123515750805b601f850160051c820191505b818110156123705782815560010161235d565b505050505050565b815167ffffffffffffffff81111561239257612392612049565b6123a6816123a084546121e1565b8461232a565b602080601f8311600181146123db57600084156123c35750858301515b600019600386901b1c1916600185901b178555612370565b600085815260208120601f198616915b8281101561240a578886015182559484019460019091019084016123eb565b50858210156124285787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526006908201526510a7aba722a960d11b604082015260600190565b600181815b80851115612493578160001904821115612479576124796122c8565b8085161561248657918102915b93841c939080029061245d565b509250929050565b6000826124aa57506001610970565b816124b757506000610970565b81600181146124cd57600281146124d7576124f3565b6001915050610970565b60ff8411156124e8576124e86122c8565b50506001821b610970565b5060208310610133831016604e8410600b8410161715612516575081810a610970565b6125208383612458565b8060001904821115612534576125346122c8565b029392505050565b6000610b0560ff84168361249b565b81810381811115610970576109706122c8565b634e487b7160e01b600052603260045260246000fd5b600060a082018783526020878185015260a0604085015281875180845260c086019150828901935060005b818110156125c45784516001600160a01b03168352938301939183019160010161259f565b50506001600160a01b03969096166060850152505050608001529392505050565b6000806000606084860312156125fa57600080fd5b835192506020840151915060408401519050925092509256fea2646970667358221220b483c85a5fa72df423e174994952d975763695137fda7c1f35ae8440d31b18f264736f6c63430008110033

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.