Contract Address
0x804075813fc537F284233e88784469ea390c25F2

Featured: Wallet-to-wallet instant messaging via Blockscan Chat

Overview
Token
WYScale (WYS)
Creator
0x70cc84–90be00 at 0xd5e6eb–88191e
WYZth Balance
0 WYZ
Tokens
Fetching tokens...
Transactions
10,642 Transactions
Transfers
3 Transfers
More Info
Gas Used
490,273,268
Last Balance Update
6483096
Contract name:
WYScale




Optimization enabled
true
Compiler version
v0.8.18+commit.87f61d96




Optimization runs
200
EVM Version
default




Verified at
2024-01-05T11:52:19.756747Z

Contract source code

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

//import "./IERC20.sol";
//import "./extensions/IERC20Metadata.sol";
//import "../../utils/Context.sol";
contract Context {
    function _msgSender() internal view returns (address) {
        return msg.sender;
    }

    function _msgData() internal pure returns (bytes calldata) {
        return msg.data;
    }
}
interface IERC20 {
    function totalSupply() external view returns (uint256);

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

interface IERC20Metadata is IERC20 {
    function name() external view returns (string memory);

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

    function decimals() external view returns (uint8);
}

contract Ownable is Context {
    address private _owner;
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    constructor() {
        _transferOwnership(_msgSender());
    }

    function owner() public view virtual returns (address) {
        return _owner;
    }

    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

contract WYScale is Context, IERC20, IERC20Metadata, Ownable {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;
    uint8 _decimals = 18;

    event Mint(address indexed to, uint256 value);
    event Burn(address indexed from, uint256 value);

    event Deposit(address indexed dst, uint value);
    event Withdrawal(address indexed from, uint256 value);

    mapping(address => bool) private _exemptedFromBurn;
    uint256 public burnPercentage;

    address public FarmMintingAddrs = 0xc26DedaEa227eEd641607B66586294aEb673f4C8;
    address public HarvestingAddrs = 0x8BDaC21E983dF0EE2fFB31911Dd1A32F82d37786;
    address public RewardsAddrs = 0x65fF214A2A4f4e3dD164e3b169A72AFA5FBf655e;
    address public DevelopmentAddrs = 0x5Cbc130ef128e6AE505836d3DEC5c24a6810E823;

    uint256 public FarmMintingAmnt = 375_000*10**_decimals;
    uint256 public HarvestingAmnt = 1_158_333*10**_decimals;
    uint256 public RewardsAmnt = 112_500*10**_decimals;
    uint256 public DevelopmentAmnt = 20_833*10**_decimals;

    constructor() {
        _name = "WYScale";
        _symbol = "WYS";
        // _decimals = 18;
        burnPercentage = 100; // Set the initial burn to 1%; for 1%, its 100, for 1.1% its 110, for 2 its 200
    }

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

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

    function decimals() public view virtual override returns (uint8) {
        return _decimals;
    }

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

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

    function transfer(address to, uint256 value) public virtual override returns (bool) {
        require(value > 0, "Value must be greater than 0");
        require(_balances[msg.sender] >= value, "Insufficient balance");

        _transfer(msg.sender, to, value);

        return true;
    }

    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        
        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        _transfer(sender, recipient, amount);

        return true;
    }

    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    function mint(address to, uint256 value) external onlyOwner {
        require(to != address(0), "Invalid address");
        require(value > 0, "Value must be greater than 0");

        _mint(to, value);
        emit Mint(to, value);
    }

    function Qtr_mint() external onlyOwner {

        _mint(FarmMintingAddrs, FarmMintingAmnt);
        emit Mint(FarmMintingAddrs, FarmMintingAmnt);

        _mint(HarvestingAddrs, HarvestingAmnt);
        emit Mint(HarvestingAddrs, HarvestingAmnt);

        _mint(RewardsAddrs, RewardsAmnt);
        emit Mint(RewardsAddrs, RewardsAmnt);

        _mint(DevelopmentAddrs, DevelopmentAmnt);
        emit Mint(DevelopmentAddrs, DevelopmentAmnt);

    }

    function burn(address from, uint256 value) external onlyOwner {
        require(from != address(0), "Invalid address");
        _burn(from, value);
    }

    function _transfer(
        address from,
        address to,
        uint256 value
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        require(value > 0, "Value must be greater than 0");
        require(_balances[from] >= value, "Insufficient balance");

        uint256 burnAmount = 0;
        if (!_exemptedFromBurn[from]) {
            burnAmount = (value * burnPercentage) / 10000;
            _burn(from, burnAmount);
        }

        uint256 amount = value - burnAmount;
        _balances[from] -= amount;
        _balances[to] += amount;

        emit Transfer(from, to, amount);

    }

    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

    }

    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

    }

    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        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);
    }
    
    function deposit() public payable {
        _balances[msg.sender] += msg.value;
        emit Deposit(msg.sender, msg.value);
    }

    function withdraw(uint value) payable public {
        address _to = msg.sender;
        require(_balances[_to] >= value);
        _balances[_to] -= value;
        payable(_to).transfer(value);
        emit Withdrawal(_to, value);
    }

    function configureBurnPercentage(uint8 _newPercentage) public onlyOwner {
        require(_newPercentage <= 1000, "Invalid percentage");
        burnPercentage = _newPercentage;
    }

    function exemptFromBurn(address account) external onlyOwner {
        _exemptedFromBurn[account] = true;
    }

    function removeExemptionFromBurn(address account) external onlyOwner {
        _exemptedFromBurn[account] = false;
    }

}
        

Contract ABI

[{"type":"constructor","stateMutability":"nonpayable","inputs":[]},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","internalType":"address","indexed":true},{"type":"address","name":"spender","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Burn","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Deposit","inputs":[{"type":"address","name":"dst","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Mint","inputs":[{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"OwnershipTransferred","inputs":[{"type":"address","name":"previousOwner","internalType":"address","indexed":true},{"type":"address","name":"newOwner","internalType":"address","indexed":true}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"address","name":"to","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"event","name":"Withdrawal","inputs":[{"type":"address","name":"from","internalType":"address","indexed":true},{"type":"uint256","name":"value","internalType":"uint256","indexed":false}],"anonymous":false},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"DevelopmentAddrs","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"DevelopmentAmnt","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"FarmMintingAddrs","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"FarmMintingAmnt","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"HarvestingAddrs","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"HarvestingAmnt","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"Qtr_mint","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"RewardsAddrs","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"RewardsAmnt","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"allowance","inputs":[{"type":"address","name":"owner","internalType":"address"},{"type":"address","name":"spender","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"approve","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"balanceOf","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"burn","inputs":[{"type":"address","name":"from","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"burnPercentage","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"configureBurnPercentage","inputs":[{"type":"uint8","name":"_newPercentage","internalType":"uint8"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint8","name":"","internalType":"uint8"}],"name":"decimals","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"decreaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"subtractedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"deposit","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"exemptFromBurn","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"increaseAllowance","inputs":[{"type":"address","name":"spender","internalType":"address"},{"type":"uint256","name":"addedValue","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"mint","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"name","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"address","name":"","internalType":"address"}],"name":"owner","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"removeExemptionFromBurn","inputs":[{"type":"address","name":"account","internalType":"address"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"renounceOwnership","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"string","name":"","internalType":"string"}],"name":"symbol","inputs":[]},{"type":"function","stateMutability":"view","outputs":[{"type":"uint256","name":"","internalType":"uint256"}],"name":"totalSupply","inputs":[]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transfer","inputs":[{"type":"address","name":"to","internalType":"address"},{"type":"uint256","name":"value","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[{"type":"bool","name":"","internalType":"bool"}],"name":"transferFrom","inputs":[{"type":"address","name":"sender","internalType":"address"},{"type":"address","name":"recipient","internalType":"address"},{"type":"uint256","name":"amount","internalType":"uint256"}]},{"type":"function","stateMutability":"nonpayable","outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner","internalType":"address"}]},{"type":"function","stateMutability":"payable","outputs":[],"name":"withdraw","inputs":[{"type":"uint256","name":"value","internalType":"uint256"}]}]
              

Contract Creation Code

0x60806040526006805460ff19166012908117909155600980546001600160a01b031990811673c26dedaea227eed641607b66586294aeb673f4c817909155600a80548216738bdac21e983df0ee2ffb31911dd1a32f82d37786178155600b805483167365ff214a2a4f4e3dd164e3b169a72afa5fbf655e179055600c8054909216735cbc130ef128e6ae505836d3dec5c24a6810e82317909155620000a5919062000306565b620000b4906205b8d86200031e565b600d55600654620000ca9060ff16600a62000306565b620000d9906211acbd6200031e565b600e55600654620000ef9060ff16600a62000306565b620000fe906201b7746200031e565b600f55600654620001149060ff16600a62000306565b62000122906151616200031e565b6010553480156200013257600080fd5b506200013e33620001a1565b60408051808201909152600781526657595363616c6560c81b60208201526004906200016b9082620003dd565b5060408051808201909152600381526257595360e81b6020820152600590620001959082620003dd565b506064600855620004a9565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052601160045260246000fd5b600181815b80851115620002485781600019048211156200022c576200022c620001f1565b808516156200023a57918102915b93841c93908002906200020c565b509250929050565b600082620002615750600162000300565b81620002705750600062000300565b81600181146200028957600281146200029457620002b4565b600191505062000300565b60ff841115620002a857620002a8620001f1565b50506001821b62000300565b5060208310610133831016604e8410600b8410161715620002d9575081810a62000300565b620002e5838362000207565b8060001904821115620002fc57620002fc620001f1565b0290505b92915050565b60006200031760ff84168362000250565b9392505050565b8082028115828204841417620003005762000300620001f1565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200036357607f821691505b6020821081036200038457634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620003d857600081815260208120601f850160051c81016020861015620003b35750805b601f850160051c820191505b81811015620003d457828155600101620003bf565b5050505b505050565b81516001600160401b03811115620003f957620003f962000338565b62000411816200040a84546200034e565b846200038a565b602080601f831160018114620004495760008415620004305750858301515b600019600386901b1c1916600185901b178555620003d4565b600085815260208120601f198616915b828110156200047a5788860151825594840194600190910190840162000459565b5085821015620004995787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b6116d380620004b96000396000f3fe6080604052600436106101d85760003560e01c80637744f73211610102578063caf4884c11610095578063ec389c9811610064578063ec389c9814610553578063f01f20df14610569578063f2fde38b1461057f578063fd1dd2741461059f57600080fd5b8063caf4884c146104c5578063d0e30db0146104e5578063dd62ed3e146104ed578063e03b74171461053357600080fd5b8063a457c2d7116100d1578063a457c2d71461044f578063a9059cbb1461046f578063ad0c13b11461048f578063c4c686c9146104a557600080fd5b80637744f732146103e75780638da5cb5b146103fc57806395d89b411461041a5780639dc29fac1461042f57600080fd5b8063395093511161017a5780636e637cc5116101495780636e637cc51461035c5780636e7cfe4b1461037c57806370a082311461039c578063715018a6146103d257600080fd5b806339509351146102ce57806340c10f19146102ee5780635d315a811461030e57806360216ae21461032457600080fd5b806318160ddd116101b657806318160ddd1461025a57806323b872dd146102795780632e1a7d4d14610299578063313ce567146102ac57600080fd5b806306fdde03146101dd578063095ea7b31461020857806311db598114610238575b600080fd5b3480156101e957600080fd5b506101f26105b5565b6040516101ff9190611401565b60405180910390f35b34801561021457600080fd5b5061022861022336600461146b565b610647565b60405190151581526020016101ff565b34801561024457600080fd5b50610258610253366004611495565b61065e565b005b34801561026657600080fd5b506003545b6040519081526020016101ff565b34801561028557600080fd5b506102286102943660046114b7565b6106b2565b6102586102a73660046114f3565b61075a565b3480156102b857600080fd5b5060065460405160ff90911681526020016101ff565b3480156102da57600080fd5b506102286102e936600461146b565b610821565b3480156102fa57600080fd5b5061025861030936600461146b565b61085d565b34801561031a57600080fd5b5061026b60105481565b34801561033057600080fd5b50600954610344906001600160a01b031681565b6040516001600160a01b0390911681526020016101ff565b34801561036857600080fd5b50610258610377366004611495565b610922565b34801561038857600080fd5b50600a54610344906001600160a01b031681565b3480156103a857600080fd5b5061026b6103b7366004611495565b6001600160a01b031660009081526001602052604090205490565b3480156103de57600080fd5b50610258610970565b3480156103f357600080fd5b506102586109a6565b34801561040857600080fd5b506000546001600160a01b0316610344565b34801561042657600080fd5b506101f2610b03565b34801561043b57600080fd5b5061025861044a36600461146b565b610b12565b34801561045b57600080fd5b5061022861046a36600461146b565b610b92565b34801561047b57600080fd5b5061022861048a36600461146b565b610c2b565b34801561049b57600080fd5b5061026b600d5481565b3480156104b157600080fd5b50600b54610344906001600160a01b031681565b3480156104d157600080fd5b506102586104e036600461150c565b610cad565b610258610d29565b3480156104f957600080fd5b5061026b61050836600461152f565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561053f57600080fd5b50600c54610344906001600160a01b031681565b34801561055f57600080fd5b5061026b600f5481565b34801561057557600080fd5b5061026b60085481565b34801561058b57600080fd5b5061025861059a366004611495565b610d7f565b3480156105ab57600080fd5b5061026b600e5481565b6060600480546105c490611562565b80601f01602080910402602001604051908101604052809291908181526020018280546105f090611562565b801561063d5780601f106106125761010080835404028352916020019161063d565b820191906000526020600020905b81548152906001019060200180831161062057829003601f168201915b5050505050905090565b6000610654338484610e1a565b5060015b92915050565b6000546001600160a01b031633146106915760405162461bcd60e51b81526004016106889061159c565b60405180910390fd5b6001600160a01b03166000908152600760205260409020805460ff19169055565b6001600160a01b0383166000908152600260209081526040808320338452909152812054828110156107375760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610688565b6107448533858403610e1a565b61074f858585610f3f565b506001949350505050565b3360008181526001602052604090205482111561077657600080fd5b6001600160a01b0381166000908152600160205260408120805484929061079e9084906115e7565b90915550506040516001600160a01b0382169083156108fc029084906000818181858888f193505050501580156107d9573d6000803e3d6000fd5b50806001600160a01b03167f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b658360405161081591815260200190565b60405180910390a25050565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916106549185906108589086906115fa565b610e1a565b6000546001600160a01b031633146108875760405162461bcd60e51b81526004016106889061159c565b6001600160a01b0382166108cf5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610688565b600081116108ef5760405162461bcd60e51b81526004016106889061160d565b6108f9828261118c565b816001600160a01b031660008051602061167e8339815191528260405161081591815260200190565b6000546001600160a01b0316331461094c5760405162461bcd60e51b81526004016106889061159c565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6000546001600160a01b0316331461099a5760405162461bcd60e51b81526004016106889061159c565b6109a4600061126b565b565b6000546001600160a01b031633146109d05760405162461bcd60e51b81526004016106889061159c565b600954600d546109e9916001600160a01b03169061118c565b600954600d546040519081526001600160a01b039091169060008051602061167e8339815191529060200160405180910390a2600a54600e54610a35916001600160a01b03169061118c565b600a54600e546040519081526001600160a01b039091169060008051602061167e8339815191529060200160405180910390a2600b54600f54610a81916001600160a01b03169061118c565b600b54600f546040519081526001600160a01b039091169060008051602061167e8339815191529060200160405180910390a2600c54601054610acd916001600160a01b03169061118c565b600c546010546040519081526001600160a01b039091169060008051602061167e833981519152906020015b60405180910390a2565b6060600580546105c490611562565b6000546001600160a01b03163314610b3c5760405162461bcd60e51b81526004016106889061159c565b6001600160a01b038216610b845760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610688565b610b8e82826112bb565b5050565b3360009081526002602090815260408083206001600160a01b038616845290915281205482811015610c145760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610688565b610c213385858403610e1a565b5060019392505050565b6000808211610c4c5760405162461bcd60e51b81526004016106889061160d565b33600090815260016020526040902054821115610ca25760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610688565b610654338484610f3f565b6000546001600160a01b03163314610cd75760405162461bcd60e51b81526004016106889061159c565b6103e88160ff161115610d215760405162461bcd60e51b8152602060048201526012602482015271496e76616c69642070657263656e7461676560701b6044820152606401610688565b60ff16600855565b3360009081526001602052604081208054349290610d489084906115fa565b909155505060405134815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c90602001610af9565b6000546001600160a01b03163314610da95760405162461bcd60e51b81526004016106889061159c565b6001600160a01b038116610e0e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610688565b610e178161126b565b50565b6001600160a01b038316610e7c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610688565b6001600160a01b038216610edd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610688565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610fa35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610688565b6001600160a01b0382166110055760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610688565b600081116110255760405162461bcd60e51b81526004016106889061160d565b6001600160a01b0383166000908152600160205260409020548111156110845760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610688565b6001600160a01b03831660009081526007602052604081205460ff166110cb57612710600854836110b59190611644565b6110bf919061165b565b90506110cb84826112bb565b60006110d782846115e7565b6001600160a01b0386166000908152600160205260408120805492935083929091906111049084906115e7565b90915550506001600160a01b038416600090815260016020526040812080548392906111319084906115fa565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161117d91815260200190565b60405180910390a35050505050565b6001600160a01b0382166111e25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610688565b80600360008282546111f491906115fa565b90915550506001600160a01b038216600090815260016020526040812080548392906112219084906115fa565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03821661131b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610688565b6001600160a01b0382166000908152600160205260409020548181101561138f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610688565b6001600160a01b03831660009081526001602052604081208383039055600380548492906113be9084906115e7565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610f32565b600060208083528351808285015260005b8181101561142e57858101830151858201604001528201611412565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461146657600080fd5b919050565b6000806040838503121561147e57600080fd5b6114878361144f565b946020939093013593505050565b6000602082840312156114a757600080fd5b6114b08261144f565b9392505050565b6000806000606084860312156114cc57600080fd5b6114d58461144f565b92506114e36020850161144f565b9150604084013590509250925092565b60006020828403121561150557600080fd5b5035919050565b60006020828403121561151e57600080fd5b813560ff811681146114b057600080fd5b6000806040838503121561154257600080fd5b61154b8361144f565b91506115596020840161144f565b90509250929050565b600181811c9082168061157657607f821691505b60208210810361159657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b81810381811115610658576106586115d1565b80820180821115610658576106586115d1565b6020808252601c908201527f56616c7565206d7573742062652067726561746572207468616e203000000000604082015260600190565b8082028115828204841417610658576106586115d1565b60008261167857634e487b7160e01b600052601260045260246000fd5b50049056fe0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885a2646970667358221220b260a7d41661444dd9a2b9636f42584b3daf680cba839409632aa67ff58693f364736f6c63430008120033

Deployed ByteCode

0x6080604052600436106101d85760003560e01c80637744f73211610102578063caf4884c11610095578063ec389c9811610064578063ec389c9814610553578063f01f20df14610569578063f2fde38b1461057f578063fd1dd2741461059f57600080fd5b8063caf4884c146104c5578063d0e30db0146104e5578063dd62ed3e146104ed578063e03b74171461053357600080fd5b8063a457c2d7116100d1578063a457c2d71461044f578063a9059cbb1461046f578063ad0c13b11461048f578063c4c686c9146104a557600080fd5b80637744f732146103e75780638da5cb5b146103fc57806395d89b411461041a5780639dc29fac1461042f57600080fd5b8063395093511161017a5780636e637cc5116101495780636e637cc51461035c5780636e7cfe4b1461037c57806370a082311461039c578063715018a6146103d257600080fd5b806339509351146102ce57806340c10f19146102ee5780635d315a811461030e57806360216ae21461032457600080fd5b806318160ddd116101b657806318160ddd1461025a57806323b872dd146102795780632e1a7d4d14610299578063313ce567146102ac57600080fd5b806306fdde03146101dd578063095ea7b31461020857806311db598114610238575b600080fd5b3480156101e957600080fd5b506101f26105b5565b6040516101ff9190611401565b60405180910390f35b34801561021457600080fd5b5061022861022336600461146b565b610647565b60405190151581526020016101ff565b34801561024457600080fd5b50610258610253366004611495565b61065e565b005b34801561026657600080fd5b506003545b6040519081526020016101ff565b34801561028557600080fd5b506102286102943660046114b7565b6106b2565b6102586102a73660046114f3565b61075a565b3480156102b857600080fd5b5060065460405160ff90911681526020016101ff565b3480156102da57600080fd5b506102286102e936600461146b565b610821565b3480156102fa57600080fd5b5061025861030936600461146b565b61085d565b34801561031a57600080fd5b5061026b60105481565b34801561033057600080fd5b50600954610344906001600160a01b031681565b6040516001600160a01b0390911681526020016101ff565b34801561036857600080fd5b50610258610377366004611495565b610922565b34801561038857600080fd5b50600a54610344906001600160a01b031681565b3480156103a857600080fd5b5061026b6103b7366004611495565b6001600160a01b031660009081526001602052604090205490565b3480156103de57600080fd5b50610258610970565b3480156103f357600080fd5b506102586109a6565b34801561040857600080fd5b506000546001600160a01b0316610344565b34801561042657600080fd5b506101f2610b03565b34801561043b57600080fd5b5061025861044a36600461146b565b610b12565b34801561045b57600080fd5b5061022861046a36600461146b565b610b92565b34801561047b57600080fd5b5061022861048a36600461146b565b610c2b565b34801561049b57600080fd5b5061026b600d5481565b3480156104b157600080fd5b50600b54610344906001600160a01b031681565b3480156104d157600080fd5b506102586104e036600461150c565b610cad565b610258610d29565b3480156104f957600080fd5b5061026b61050836600461152f565b6001600160a01b03918216600090815260026020908152604080832093909416825291909152205490565b34801561053f57600080fd5b50600c54610344906001600160a01b031681565b34801561055f57600080fd5b5061026b600f5481565b34801561057557600080fd5b5061026b60085481565b34801561058b57600080fd5b5061025861059a366004611495565b610d7f565b3480156105ab57600080fd5b5061026b600e5481565b6060600480546105c490611562565b80601f01602080910402602001604051908101604052809291908181526020018280546105f090611562565b801561063d5780601f106106125761010080835404028352916020019161063d565b820191906000526020600020905b81548152906001019060200180831161062057829003601f168201915b5050505050905090565b6000610654338484610e1a565b5060015b92915050565b6000546001600160a01b031633146106915760405162461bcd60e51b81526004016106889061159c565b60405180910390fd5b6001600160a01b03166000908152600760205260409020805460ff19169055565b6001600160a01b0383166000908152600260209081526040808320338452909152812054828110156107375760405162461bcd60e51b815260206004820152602860248201527f45524332303a207472616e7366657220616d6f756e74206578636565647320616044820152676c6c6f77616e636560c01b6064820152608401610688565b6107448533858403610e1a565b61074f858585610f3f565b506001949350505050565b3360008181526001602052604090205482111561077657600080fd5b6001600160a01b0381166000908152600160205260408120805484929061079e9084906115e7565b90915550506040516001600160a01b0382169083156108fc029084906000818181858888f193505050501580156107d9573d6000803e3d6000fd5b50806001600160a01b03167f7fcf532c15f0a6db0bd6d0e038bea71d30d808c7d98cb3bf7268a95bf5081b658360405161081591815260200190565b60405180910390a25050565b3360008181526002602090815260408083206001600160a01b038716845290915281205490916106549185906108589086906115fa565b610e1a565b6000546001600160a01b031633146108875760405162461bcd60e51b81526004016106889061159c565b6001600160a01b0382166108cf5760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610688565b600081116108ef5760405162461bcd60e51b81526004016106889061160d565b6108f9828261118c565b816001600160a01b031660008051602061167e8339815191528260405161081591815260200190565b6000546001600160a01b0316331461094c5760405162461bcd60e51b81526004016106889061159c565b6001600160a01b03166000908152600760205260409020805460ff19166001179055565b6000546001600160a01b0316331461099a5760405162461bcd60e51b81526004016106889061159c565b6109a4600061126b565b565b6000546001600160a01b031633146109d05760405162461bcd60e51b81526004016106889061159c565b600954600d546109e9916001600160a01b03169061118c565b600954600d546040519081526001600160a01b039091169060008051602061167e8339815191529060200160405180910390a2600a54600e54610a35916001600160a01b03169061118c565b600a54600e546040519081526001600160a01b039091169060008051602061167e8339815191529060200160405180910390a2600b54600f54610a81916001600160a01b03169061118c565b600b54600f546040519081526001600160a01b039091169060008051602061167e8339815191529060200160405180910390a2600c54601054610acd916001600160a01b03169061118c565b600c546010546040519081526001600160a01b039091169060008051602061167e833981519152906020015b60405180910390a2565b6060600580546105c490611562565b6000546001600160a01b03163314610b3c5760405162461bcd60e51b81526004016106889061159c565b6001600160a01b038216610b845760405162461bcd60e51b815260206004820152600f60248201526e496e76616c6964206164647265737360881b6044820152606401610688565b610b8e82826112bb565b5050565b3360009081526002602090815260408083206001600160a01b038616845290915281205482811015610c145760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610688565b610c213385858403610e1a565b5060019392505050565b6000808211610c4c5760405162461bcd60e51b81526004016106889061160d565b33600090815260016020526040902054821115610ca25760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610688565b610654338484610f3f565b6000546001600160a01b03163314610cd75760405162461bcd60e51b81526004016106889061159c565b6103e88160ff161115610d215760405162461bcd60e51b8152602060048201526012602482015271496e76616c69642070657263656e7461676560701b6044820152606401610688565b60ff16600855565b3360009081526001602052604081208054349290610d489084906115fa565b909155505060405134815233907fe1fffcc4923d04b559f4d29a8bfc6cda04eb5b0d3c460751c2402c5c5cc9109c90602001610af9565b6000546001600160a01b03163314610da95760405162461bcd60e51b81526004016106889061159c565b6001600160a01b038116610e0e5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610688565b610e178161126b565b50565b6001600160a01b038316610e7c5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610688565b6001600160a01b038216610edd5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610688565b6001600160a01b0383811660008181526002602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038316610fa35760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610688565b6001600160a01b0382166110055760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610688565b600081116110255760405162461bcd60e51b81526004016106889061160d565b6001600160a01b0383166000908152600160205260409020548111156110845760405162461bcd60e51b8152602060048201526014602482015273496e73756666696369656e742062616c616e636560601b6044820152606401610688565b6001600160a01b03831660009081526007602052604081205460ff166110cb57612710600854836110b59190611644565b6110bf919061165b565b90506110cb84826112bb565b60006110d782846115e7565b6001600160a01b0386166000908152600160205260408120805492935083929091906111049084906115e7565b90915550506001600160a01b038416600090815260016020526040812080548392906111319084906115fa565b92505081905550836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef8360405161117d91815260200190565b60405180910390a35050505050565b6001600160a01b0382166111e25760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610688565b80600360008282546111f491906115fa565b90915550506001600160a01b038216600090815260016020526040812080548392906112219084906115fa565b90915550506040518181526001600160a01b038316906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9060200160405180910390a35050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b03821661131b5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610688565b6001600160a01b0382166000908152600160205260409020548181101561138f5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610688565b6001600160a01b03831660009081526001602052604081208383039055600380548492906113be9084906115e7565b90915550506040518281526000906001600160a01b038516907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90602001610f32565b600060208083528351808285015260005b8181101561142e57858101830151858201604001528201611412565b506000604082860101526040601f19601f8301168501019250505092915050565b80356001600160a01b038116811461146657600080fd5b919050565b6000806040838503121561147e57600080fd5b6114878361144f565b946020939093013593505050565b6000602082840312156114a757600080fd5b6114b08261144f565b9392505050565b6000806000606084860312156114cc57600080fd5b6114d58461144f565b92506114e36020850161144f565b9150604084013590509250925092565b60006020828403121561150557600080fd5b5035919050565b60006020828403121561151e57600080fd5b813560ff811681146114b057600080fd5b6000806040838503121561154257600080fd5b61154b8361144f565b91506115596020840161144f565b90509250929050565b600181811c9082168061157657607f821691505b60208210810361159657634e487b7160e01b600052602260045260246000fd5b50919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052601160045260246000fd5b81810381811115610658576106586115d1565b80820180821115610658576106586115d1565b6020808252601c908201527f56616c7565206d7573742062652067726561746572207468616e203000000000604082015260600190565b8082028115828204841417610658576106586115d1565b60008261167857634e487b7160e01b600052601260045260246000fd5b50049056fe0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d4121396885a2646970667358221220b260a7d41661444dd9a2b9636f42584b3daf680cba839409632aa67ff58693f364736f6c63430008120033